/* AutoTube Design System (ADS) base: layout-affecting tokens and typography.
 Linked statically in every page <head> so headings render at final size on first paint.
 Animation rules stay in components/head.html. */
:root {
  --ads-breakpoint-xs: 380px;
  --ads-page-px: 1rem;
  --ads-page-px-sm: 1.5rem;
  --ads-page-px-lg: 2rem;
  --ads-radius-card: 0.75rem;
  --ads-radius-modal: 1rem;
  --ads-duration-fast: 150ms;
  --ads-duration-base: 200ms;
  --ads-duration-slow: 300ms;
  --ads-font-display: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --ads-font-h1: clamp(1.625rem, 1.35rem + 1.1vw, 2.5rem);
  --ads-font-h2: clamp(1.375rem, 1.15rem + 0.85vw, 2rem);
  --ads-font-h3: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  --ads-font-body-lg: clamp(1rem, 0.95rem + 0.15vw, 1.125rem);
}
@media (min-width: 640px) {
  :root { --ads-page-px: var(--ads-page-px-sm); }
}
@media (min-width: 1024px) {
  :root { --ads-page-px: var(--ads-page-px-lg); }
}
.container-ads {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ads-page-px);
  padding-right: var(--ads-page-px);
}
.touch-target {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.t-display { font-size: var(--ads-font-display); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.t-h1 { font-size: var(--ads-font-h1); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.t-h2 { font-size: var(--ads-font-h2); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.t-h3 { font-size: var(--ads-font-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
.t-body-lg { font-size: var(--ads-font-body-lg); line-height: 1.6; }

/* Metric-matched fallback: system Arial scaled to Inter's proportions, so text wraps the
   same before and after the web font swaps in (prevents font-swap layout shift). */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto');
  size-adjust: 107.06%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}
body { font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.gradient-text { background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.glass-effect { background: rgba(8, 8, 10, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header-nav a { letter-spacing: 0.01em; }
