/* Site-only tokens on top of the generated HeyFable Primary tokens (tokens.css). Add new site values here, never inline. */
:root {
  --nav-height: 64px;
  --section-space: var(--space-9);
  --gutter: var(--space-5);
  --hero-lead-max: 620px;
  --signup-max: 480px;
  /* The sign-up row with the free badge beside the button: keeps the field as wide as before */
  --signup-row-max: 640px;
  --hairline: 1px;
  --focus-width: 2px;
  --focus-offset: 2px;

  --duration-hover: 160ms;
  --duration-panel: 240ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* The nav sits on surface-100 at 88% so the page scrolls softly beneath it */
  --nav-bg: rgba(251, 249, 251, 0.88);

  --film-ratio: 16 / 9;
  --input-text: 16px;
  --signup-help-min: 40px;
}
@media (max-width: 767px) {
  :root { --section-space: var(--space-8); --gutter: var(--space-4); }
}


/* Full 21st pass (styles/hero.css) */
:root {
  --nav-capsule-max: 1000px;
  --nav-compact-max: 560px;
  --nav-capsule-bg: rgba(251, 249, 251, 0.78);
  --nav-progress-h: 2px;
  --ease-spring: cubic-bezier(0.34, 1.2, 0.5, 1);
  --duration-morph: 380ms;
  --hero-copy-max: 680px;
}


/* The site is light only. If a host page (for example a claude.ai preview in dark mode)
   sets data-theme="dark" on the root, keep the light values. */
html[data-theme="dark"] {
  color-scheme: light;
  --surface-000: #ffffff; --surface-100: #fbf9fb; --surface-200: #f1ecff; --line-100: #ebe5f5; --line-200: #857e96;
  --ink-900: #301c57; --ink-600: #514e5f; --ink-500: #6a6578; --brand-500: #4a27d6; --brand-600: #2c1890; --brand-100: #ece6ff;
  --on-brand: #ffffff; --accent-500: #5a2fe0; --spark-300: #c9b8f5; --on-spark: #301c57; --sky-100: #e7f0ff;
  --wash-a: #f1ecff; --wash-b: #fcf0f7; --ember-500: #ff5b1a; --success-600: #067a4f; --warning-600: #9a5200; --danger-600: #c8261c;
  --chart-2: #ff5b1a; --chart-3: #301c57; --chart-4: #0b7f7a; --chart-5: #857e96;
  --shadow-1: 0 1px 2px rgba(48,28,87,0.06); --shadow-2: 0 4px 12px -2px rgba(48,28,87,0.10), 0 2px 4px rgba(48,28,87,0.05);
  --shadow-3: 0 24px 48px -12px rgba(48,28,87,0.18);
  --shadow-stage: inset 0 1px 0 rgba(255,255,255,0.18), 0 32px 64px -24px rgba(59,31,194,0.5);
  --shadow-glow: inset 0 1px 0 rgba(255,255,255,0.2), 0 12px 28px -10px rgba(106,60,245,0.6);
}

/* Hero lead: 20px text (18px on phones) */
:root {
  --hero-lead-size: 20px;
  --hero-lead-size-sm: 18px;
  --hero-lead-leading: 1.55;
  --hero-lead-start: 250ms;
  --duration-reveal: 560ms;
  --reveal-rise: var(--space-3);
}

/* FAQ (styles/faq.css) */
:root {
  --faq-max: 760px;
  --faq-icon: 20px;
  /* Lucide chevron-down, 1.5px stroke, used as a mask so it takes the text colour */
  --faq-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* Sign-up: the message line takes no room until there's something to say */
:root { --signup-help-min-quiet: 20px; }


/* The glow on "story" (styles/illuminated.css, filter #glow-light in index.html) */
:root {
  --glow-filter: url(#glow-light);
  --glow-delay: 700ms;      /* after the accent letters settle (src/hero.tsx) */
  --glow-duration: 1s;
}
