/* ==========================================================================
   Postvox — marketing site styles
   Plain CSS, no build step. Colours and type live in the tokens below.
   ========================================================================== */

/* ---------- 0. Fonts ---------- */
/* Self-hosted Google Fonts (SIL Open Font License, see assets/fonts/OFL.txt).
   Each file only downloads when the page uses characters in its unicode-range. */
/* Bricolage Grotesque 600 800 — latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bricolage Grotesque 600 800 — latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 400 700 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Mukta 400 — devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/mukta-400-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* Mukta 600 — devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/mukta-600-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}

/* ---------- 1. Design tokens ---------- */
:root {
  color-scheme: light dark;

  /* Surfaces */
  --bg: #FBF7F1;
  --bg-soft: #F4EDE3;
  --surface: #FFFFFF;
  --surface-2: #FDFAF5;

  /* Text */
  --ink: #16130F;
  --ink-2: #463F37;
  --ink-3: #675E54;

  /* Lines */
  --line: #E9E0D4;
  --line-strong: #D6C9B8;

  /* Brand */
  --accent: #FF6B2C;            /* saffron-orange: fills, buttons */
  --accent-hover: #FF5A16;
  --accent-ink: #AD3B08;        /* orange for text on light surfaces */
  --accent-soft: #FFE9DD;
  --on-accent: #16130F;
  --indigo: #2D2A87;            /* deep indigo: fills */
  --indigo-ink: #2D2A87;        /* indigo for text/icons */
  --indigo-soft: #ECEBFB;
  --on-indigo: #FFFFFF;

  /* Feedback */
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --success: #17724A;

  /* Dark band (tech section, CTA) */
  --band-bg: #16130F;
  --band-surface: rgba(255, 255, 255, 0.06);
  --band-line: rgba(255, 255, 255, 0.12);
  --band-ink: #F7F2EA;
  --band-ink-2: #CBC3B7;

  /* Phone mockup */
  --chat-bg: #EEE5D8;
  --chat-dots: rgba(22, 19, 15, 0.06);
  --bubble-in: #FFFFFF;
  --bubble-out: #FFDCC9;
  --chat-header: #FFFFFF;

  /* Focus */
  --focus: #2D2A87;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 15, 0.05), 0 2px 8px rgba(22, 19, 15, 0.04);
  --shadow-md: 0 2px 4px rgba(22, 19, 15, 0.04), 0 12px 32px -8px rgba(22, 19, 15, 0.12);
  --shadow-lg: 0 4px 8px rgba(22, 19, 15, 0.04), 0 32px 64px -24px rgba(22, 19, 15, 0.28);

  /* Type */
  --font-display: "Bricolage Grotesque", "Mukta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", "Mukta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-deva: "Mukta", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --section-y: clamp(72px, 10vw, 128px);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0E14;
    --bg-soft: #14131B;
    --surface: #1A1922;
    --surface-2: #1F1E28;

    --ink: #F5F0E8;
    --ink-2: #D2CBC0;
    --ink-3: #A79F94;

    --line: #2B2934;
    --line-strong: #3B3846;

    --accent: #FF7A3D;
    --accent-hover: #FF8D59;
    --accent-ink: #FF9C6B;
    --accent-soft: #33190D;
    --on-accent: #16130F;
    --indigo: #3B37A8;
    --indigo-ink: #ABA7FF;
    --indigo-soft: #201E44;

    --danger: #FF8B80;
    --danger-soft: #3A1714;
    --success: #5DD39E;

    --band-bg: #17161F;
    --band-surface: rgba(255, 255, 255, 0.05);
    --band-line: rgba(255, 255, 255, 0.1);

    --chat-bg: #121119;
    --chat-dots: rgba(255, 255, 255, 0.04);
    --bubble-in: #24232E;
    --bubble-out: #4A2414;
    --chat-header: #1B1A23;

    --focus: #ABA7FF;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.3), 0 32px 64px -24px rgba(0, 0, 0, 0.8);
  }
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}


a { color: inherit; }
a:not([class]) {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:not([class]):hover { text-decoration-thickness: 2px; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:lang(hi), :lang(mr) {
  font-family: var(--font-deva);
  line-height: 1.7;
}


::selection { background: var(--accent); color: var(--on-accent); }

/* Focus: always visible for keyboard users */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(840px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
/* Skip rendering work for sections until they are near the viewport (big win on phones).
   main.js adds .render-all before any in-page jump so anchors land exactly. */
html:not(.render-all) main > .section:not(.hero),
html:not(.render-all) main > .cta,
html:not(.render-all) .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}
.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Crect x='0' y='5' width='3' height='4' rx='1.5'/%3E%3Crect x='5' y='1' width='3' height='12' rx='1.5'/%3E%3Crect x='10' y='3' width='3' height='8' rx='1.5'/%3E%3Crect x='15' y='5.5' width='3' height='3' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Crect x='0' y='5' width='3' height='4' rx='1.5'/%3E%3Crect x='5' y='1' width='3' height='12' rx='1.5'/%3E%3Crect x='10' y='3' width='3' height='8' rx='1.5'/%3E%3Crect x='15' y='5.5' width='3' height='3' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-title {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.section-lead {
  text-wrap: pretty;
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 64ch;
}
.section-head--center .section-lead { margin-inline: auto; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 24px); }
@media (min-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 959px) {
  /* Centre the odd card out in two-column rows */
  .grid--3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - clamp(16px, 2.4vw, 24px)) / 2);
  }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.fineprint {
  font-size: 0.875rem;
  color: var(--ink-3);
}

/* ---------- 4. Components ---------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -10px rgba(255, 107, 44, 0.75);
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 399px) {
  .status-badge { font-size: 0.78rem; padding: 6px 12px 6px 10px; gap: 8px; }
}
.status-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* Generic card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}
.card h3:not([class]) { font-size: 1.25rem; margin-bottom: 10px; }
.card p:not([class]) { color: var(--ink-2); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.icon-tile--indigo { background: var(--indigo-soft); color: var(--indigo-ink); }

/* Small labels */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--indigo-soft);
  color: var(--indigo-ink);
  white-space: nowrap;
}
.tag--accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag--line { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.notice .icon { color: var(--accent-ink); margin-top: 1px; }
.notice strong { color: var(--ink); }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  border-radius: 8px;
}
.brand svg { height: 34px; width: auto; }

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.header__cta { display: none; }
@media (min-width: 400px) { .header__cta { display: inline-flex; } }

.nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  padding: 12px var(--gutter) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.nav__menu.is-open { display: block; animation: menu-in 0.22s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

.nav__links { display: grid; gap: 2px; }
.nav__links a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__menu .btn { margin-top: 18px; width: 100%; }

@media (min-width: 960px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex;
    align-items: center;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav__links { display: flex; gap: 4px; }
  .nav__links a {
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: color 0.2s ease, background-color 0.2s ease;
  }
  .nav__links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
  .nav__menu .btn { display: none; }
  .header__inner { gap: 24px; }
  .header__cta { order: 3; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px) clamp(64px, 8vw, 104px);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42rem 30rem at 88% 8%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(36rem 26rem at 2% 96%, color-mix(in srgb, var(--indigo) 14%, transparent), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 7vw, 72px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(2.6rem, 1rem + 4.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
}
@media (min-width: 1000px) {
  .hero__title { font-size: min(4.5rem, 5.4vw); }
}
.hero__title .line { display: block; }
.hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hl__wave {
  position: absolute;
  left: 0; right: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.24em;
  overflow: visible;
  color: var(--accent);
}
.hl__wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
  animation: draw 1.4s 0.4s var(--ease-out) both;
}
@keyframes draw { from { stroke-dashoffset: 420; } }

.hero__lead {
  text-wrap: pretty;
  margin-top: 28px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}

.hero__note {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.hero__formats-wrap {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__formats li {
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero__formats-label {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- 7. Phone mockup (Preview) ---------- */
.hero__visual { position: relative; display: grid; justify-items: center; }

.preview-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.preview-tag strong {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--indigo);
  color: var(--on-indigo);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-wrap {
  position: relative;
  width: min(100%, 318px);
}

.phone {
  position: relative;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #34302A 0%, #121010 55%, #2A2622 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 580px;
  border-radius: 36px;
  overflow: hidden;
  contain: strict;
  background-color: var(--chat-bg);
  background-image: radial-gradient(var(--chat-dots) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.phone__island {
  position: absolute;
  top: 10px; left: 50%;
  width: 92px; height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0B0A09;
  z-index: 3;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 46px;
  padding: 0 24px 0 28px;
  background: var(--chat-header);
  font-size: 13px;
  font-weight: 600;
}
.phone__status-icons { display: flex; align-items: center; gap: 5px; }
.signal { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.signal i { display: block; width: 3px; border-radius: 1px; background: currentColor; }
.signal i:nth-child(1) { height: 4px; }
.signal i:nth-child(2) { height: 6px; }
.signal i:nth-child(3) { height: 8px; }
.signal i:nth-child(4) { height: 10px; }
.battery {
  position: relative;
  width: 22px; height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 3.5px;
  opacity: 0.9;
}
.battery::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  right: 5px;
  border-radius: 1.5px;
  background: currentColor;
}

.chat__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 10px;
  background: var(--chat-header);
  border-bottom: 1px solid var(--line);
}
.chat__back { width: 18px; height: 18px; color: var(--ink-3); }
.chat__avatar {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
}
.chat__avatar svg { width: 22px; height: 22px; }
.chat__name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.chat__sub { font-size: 11.5px; color: var(--ink-3); }

.chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 12px 10px;
  overflow: hidden;
}

.msg {
  position: relative;
  max-width: 86%;
  padding: 8px 10px 6px;
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.msg--out {
  align-self: flex-end;
  background: var(--bubble-out);
  border-bottom-right-radius: 5px;
}
.msg--in {
  align-self: flex-start;
  background: var(--bubble-in);
  border-bottom-left-radius: 5px;
}
.msg__meta {
  display: block;
  margin-top: 2px;
  text-align: right;
  font-size: 10px;
  color: var(--ink-3);
}
.msg__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}
.msg__label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.msg p + p { margin-top: 4px; }

/* Voice note bubble */
.voice {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 196px;
  max-width: 100%;
  padding-top: 2px;
}
.voice__play {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.voice__play svg { width: 12px; height: 12px; margin-left: 2px; }
.wave {
  position: relative;
  flex: 1;
  height: 24px;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' width='100' height='24'%3E%3Crect x='0' y='9' width='2.4' height='6' rx='1.2'/%3E%3Crect x='4' y='7' width='2.4' height='10' rx='1.2'/%3E%3Crect x='8' y='4' width='2.4' height='16' rx='1.2'/%3E%3Crect x='12' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='16' y='2' width='2.4' height='20' rx='1.2'/%3E%3Crect x='20' y='5' width='2.4' height='14' rx='1.2'/%3E%3Crect x='24' y='8' width='2.4' height='8' rx='1.2'/%3E%3Crect x='28' y='3' width='2.4' height='18' rx='1.2'/%3E%3Crect x='32' y='1' width='2.4' height='22' rx='1.2'/%3E%3Crect x='36' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='40' y='8' width='2.4' height='8' rx='1.2'/%3E%3Crect x='44' y='5' width='2.4' height='14' rx='1.2'/%3E%3Crect x='48' y='2' width='2.4' height='20' rx='1.2'/%3E%3Crect x='52' y='4' width='2.4' height='16' rx='1.2'/%3E%3Crect x='56' y='7' width='2.4' height='10' rx='1.2'/%3E%3Crect x='60' y='9' width='2.4' height='6' rx='1.2'/%3E%3Crect x='64' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='68' y='3' width='2.4' height='18' rx='1.2'/%3E%3Crect x='72' y='5' width='2.4' height='14' rx='1.2'/%3E%3Crect x='76' y='8' width='2.4' height='8' rx='1.2'/%3E%3Crect x='80' y='7' width='2.4' height='10' rx='1.2'/%3E%3Crect x='84' y='4' width='2.4' height='16' rx='1.2'/%3E%3Crect x='88' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='92' y='9' width='2.4' height='6' rx='1.2'/%3E%3Crect x='96' y='10' width='2.4' height='4' rx='1.2'/%3E%3C/svg%3E") left center / auto 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' width='100' height='24'%3E%3Crect x='0' y='9' width='2.4' height='6' rx='1.2'/%3E%3Crect x='4' y='7' width='2.4' height='10' rx='1.2'/%3E%3Crect x='8' y='4' width='2.4' height='16' rx='1.2'/%3E%3Crect x='12' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='16' y='2' width='2.4' height='20' rx='1.2'/%3E%3Crect x='20' y='5' width='2.4' height='14' rx='1.2'/%3E%3Crect x='24' y='8' width='2.4' height='8' rx='1.2'/%3E%3Crect x='28' y='3' width='2.4' height='18' rx='1.2'/%3E%3Crect x='32' y='1' width='2.4' height='22' rx='1.2'/%3E%3Crect x='36' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='40' y='8' width='2.4' height='8' rx='1.2'/%3E%3Crect x='44' y='5' width='2.4' height='14' rx='1.2'/%3E%3Crect x='48' y='2' width='2.4' height='20' rx='1.2'/%3E%3Crect x='52' y='4' width='2.4' height='16' rx='1.2'/%3E%3Crect x='56' y='7' width='2.4' height='10' rx='1.2'/%3E%3Crect x='60' y='9' width='2.4' height='6' rx='1.2'/%3E%3Crect x='64' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='68' y='3' width='2.4' height='18' rx='1.2'/%3E%3Crect x='72' y='5' width='2.4' height='14' rx='1.2'/%3E%3Crect x='76' y='8' width='2.4' height='8' rx='1.2'/%3E%3Crect x='80' y='7' width='2.4' height='10' rx='1.2'/%3E%3Crect x='84' y='4' width='2.4' height='16' rx='1.2'/%3E%3Crect x='88' y='6' width='2.4' height='12' rx='1.2'/%3E%3Crect x='92' y='9' width='2.4' height='6' rx='1.2'/%3E%3Crect x='96' y='10' width='2.4' height='4' rx='1.2'/%3E%3C/svg%3E") left center / auto 100% repeat-x;
}
.wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-ink);
  transform-origin: left center;
  transform: scaleX(0.35);
}
.is-playing .wave::after { animation: wave-progress 2.6s linear both; }
@keyframes wave-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.voice__time { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* Typing indicator */
.typing {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typing 1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 1; } }

/* Mini carousel inside chat */
.mini-slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.mini-slide {
  aspect-ratio: 4 / 5;
  padding: 7px 6px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  overflow: hidden;
}
.mini-slide b { display: block; margin-bottom: 2px; font-size: 9px; color: var(--accent-ink); }
.mini-slide--hook {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-size: 10.5px;
}
.mini-slide:lang(hi) { line-height: 1.35; }
.post-snippet { font-size: 12px; color: var(--ink-2); }
.post-snippet span { color: var(--ink-3); }

.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }
.chat__chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bubble-in);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.chat__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 16px;
}
.chat__field {
  flex: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bubble-in);
  color: var(--ink-3);
  font-size: 12.5px;
}
.chat__mic {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.chat__mic svg { width: 18px; height: 18px; }

/* Message reveal sequence (JS adds .is-animating) */
.chat__body.is-animating [data-step]:not(.is-shown) { display: none; }
.chat__body.is-animating .typing.is-shown { display: flex; }
.chat__body.is-animating [data-step].is-shown { animation: msg-in 0.4s var(--ease-out) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

.replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
}
.replay:hover { color: var(--ink); border-color: var(--ink); }
.replay[hidden] { display: none; }

/* Floating chips around the phone */
.float-chip {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip .icon { width: 18px; height: 18px; }
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.float-chip__icon--indigo { background: var(--indigo-soft); color: var(--indigo-ink); }
.float-chip small { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-3); }
.float-chip--a { top: 23%; left: -156px; }
.float-chip--b { bottom: 13%; right: -156px; animation-delay: -3s; }
@media (min-width: 700px) { .float-chip { display: inline-flex; } }
@media (min-width: 1000px) {
  .float-chip--a { left: -64px; }
  .float-chip--b { right: -64px; }
}
@media (min-width: 1280px) {
  .float-chip--a { left: -100px; }
  .float-chip--b { right: -100px; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 8. Wave-to-post strip ---------- */
.wave-strip {
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: var(--container);
}
.wave-strip svg { width: 100%; height: auto; overflow: visible; }
.ws-bar, .ws-morph { fill: url(#ws-gradient); }
.ws-bar {
  transform-box: fill-box;
  transform-origin: center;
  animation: bar-pulse 1.8s ease-in-out infinite alternate;
}
.ws-bar:nth-child(3n+1) { animation-delay: -0.3s; }
.ws-bar:nth-child(3n+2) { animation-delay: -0.9s; }
.ws-bar:nth-child(4n) { animation-delay: -1.4s; animation-duration: 1.4s; }
.ws-bar:nth-child(5n) { animation-delay: -0.6s; animation-duration: 2.1s; }
@keyframes bar-pulse { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
.ws-morph { opacity: 0.92; }
.ws-line { fill: var(--indigo); opacity: 0.85; }
.ws-card { animation: float 6s ease-in-out infinite; }
.ws-card--2 { animation-delay: -2s; }
.ws-card--3 { animation-delay: -4s; }
.ws-card__bg { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.ws-card__media--1 { fill: var(--accent); }
.ws-card__media--2 { fill: var(--indigo); }
.ws-card__media--3 { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.ws-card__line { fill: var(--line-strong); }
.ws-stop-1 { stop-color: var(--accent); }
.ws-stop-2 { stop-color: var(--indigo); }
.wave-strip__labels {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}
@media (min-width: 960px) { .wave-strip__labels { display: grid; } }

/* ---------- 9. Problem & steps ---------- */
.pain .icon-tile { margin-bottom: 18px; }

.steps { counter-reset: step; }
.step { position: relative; }
.step__num::before {
  content: attr(data-num);
}
.step__num {
  position: absolute;
  top: clamp(22px, 3vw, 30px);
  right: clamp(22px, 3vw, 30px);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
}
.step h3 { padding-right: 48px; }

/* ---------- 10. Sample section ---------- */
.sample-flag { margin: 0 auto clamp(28px, 4vw, 40px); max-width: 760px; }

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.tab span:lang(hi), .tab span:lang(mr) { font-weight: 500; opacity: 0.85; line-height: 1; }

.tablist--lang {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 640px;
  margin: 0 auto clamp(24px, 3vw, 32px);
  padding: 6px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tablist--lang .tab { border-color: transparent; min-height: 48px; }
@media (min-width: 640px) {
  .tablist--lang { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 999px; }
}
.tablist--out { margin-bottom: 16px; }
.tablist--out .tab { min-height: 40px; padding: 6px 14px; font-size: 0.875rem; }

.sample__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1000px) {
  .sample__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 28px; }
}

.sample__persona {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.voice-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.voice-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
}
.voice-card__top .voice__play { width: 36px; height: 36px; }
.voice-card__top .wave { height: 28px; }
.voice-card__top .wave::after { transform: scaleX(1); }
.voice-card__top .voice__time { font-size: 0.8125rem; color: var(--ink-2); font-weight: 600; }
.voice-card__label {
  margin: 18px 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.voice-card__text {
  font-size: 1.0625rem;
  color: var(--ink);
}
.voice-card__text:lang(hi), .voice-card__text:lang(mr) { font-size: 1.125rem; line-height: 1.75; }
.voice-card__text p::before { content: "“"; }
.voice-card__text p::after { content: "”"; }
.sample__route {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.out {
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.out:focus-visible { outline-offset: 2px; }
.out__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 16px;
}
.out__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }

/* Carousel slides */
.slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 72%);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 14px;
  margin: -2px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
@media (min-width: 640px) { .slides { grid-auto-columns: minmax(220px, 44%); } }
.slide {
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 4 / 5;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  overflow: hidden;
}
.slide__n {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-3);
  font-family: var(--font-body);
}
.slide__kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.slide__big {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.slide__big:lang(hi), .slide__big:lang(mr), .slides:lang(hi) .slide__big, .slides:lang(mr) .slide__big {
  font-family: var(--font-deva);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
.slide p:not(.slide__big) { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.slides:lang(hi) .slide p:not(.slide__big), .slides:lang(mr) .slide p:not(.slide__big) { line-height: 1.6; }
.slide ul { padding: 0; list-style: none; display: grid; gap: 4px; font-weight: 600; }
.slide--hook {
  justify-content: space-between;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.slide--hook .slide__n, .slide--hook p:not(.slide__big) { color: var(--on-accent); }
.slide--hook .slide__big { font-size: 1.625rem; }
.slide--cta {
  justify-content: space-between;
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--on-indigo);
}
.slide--cta .slide__n, .slide--cta p:not(.slide__big) { color: rgba(255, 255, 255, 0.86); }
.slide .slide__swipe { font-size: 0.875rem; font-weight: 700; }
.slides-hint { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-3); }

/* Post mockup (caption / LinkedIn) */
.post {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.post__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  flex-shrink: 0;
}
.post__who { font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.post__who small { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--ink-3); }
.post__body { display: grid; gap: 12px; font-size: 0.9688rem; }
.post__body:lang(hi), .post__body:lang(mr) { font-size: 1.0313rem; }
.post__divider {
  margin: 18px 0 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hashtags { color: var(--indigo-ink); font-weight: 600; }

/* Reel script */
.script { display: grid; gap: 0; counter-reset: none; }
.script li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.script li:first-child { border-top: 0; padding-top: 4px; }
.script__time {
  grid-row: span 3;
  align-self: start;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.script__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.script__line { font-weight: 600; color: var(--ink); }
.script__note { font-size: 0.875rem; color: var(--ink-3); }
.script__note:lang(hi), .script__note:lang(mr) { font-size: 0.9375rem; }

/* X thread */
.thread { display: grid; gap: 0; }
.thread li {
  position: relative;
  padding: 0 0 18px 50px;
}
.thread li::before {
  content: "";
  position: absolute;
  left: 17px; top: 38px; bottom: 2px;
  width: 2px;
  background: var(--line);
}
.thread li:last-child { padding-bottom: 0; }
.thread li:last-child::before { display: none; }
.thread__dot {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-2);
}
.thread p { padding-top: 6px; }

/* ---------- 11. Features ---------- */
.feature { position: relative; overflow: hidden; }
.feature .tag { position: absolute; top: clamp(22px, 3vw, 30px); right: clamp(22px, 3vw, 30px); }

/* ---------- 12. Languages ---------- */
.lang-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1000px) { .lang-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lang-layout .section-head { margin-bottom: 32px; }

.chips-title {
  margin: 28px 0 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lang-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.lang-chips li span { font-weight: 500; color: var(--ink-3); line-height: 1.3; }
.lang-chips--now li {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--accent-soft);
}
.lang-chips--now li .icon { color: var(--accent-ink); width: 16px; height: 16px; stroke-width: 2.4; }
.lang-chips--now li span { color: var(--ink-2); }
.lang-chips--soon li { border-style: dashed; background: transparent; color: var(--ink-2); }

.translate {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.translate__label { position: absolute; top: 18px; right: 18px; }
.translate__in {
  padding: 16px;
  margin-right: 72px;
  border-radius: 18px;
  background: var(--accent-soft);
}
.translate__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}
.translate__meta .icon { width: 16px; height: 16px; color: var(--accent-ink); }
.translate__in p:lang(mr) { font-size: 1.0625rem; }
.translate__arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 14px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-3);
}
.translate__arrow::before {
  content: "";
  width: 2px; height: 28px;
  background: linear-gradient(var(--accent), var(--indigo));
  border-radius: 2px;
}
.translate__outs { display: grid; gap: 10px; }
.translate__out {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.translate__out .translate__meta .icon { color: var(--indigo-ink); }
.translate__out p:not([class]) { font-size: 0.9375rem; color: var(--ink); }
.translate__out p:not([class]):lang(hi), .translate__out p:not([class]):lang(mr) { font-size: 1rem; }

/* ---------- 13. Audience ---------- */
.audience-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.audience-cta h3 { color: var(--bg); }
.audience-cta p:not([class]) { color: color-mix(in srgb, var(--bg) 80%, var(--ink)); }
.audience-cta .btn { align-self: flex-start; }

/* ---------- 14. Technology (dark band) ---------- */
.section--band {
  background: var(--band-bg);
  color: var(--band-ink);
  overflow: clip;
  isolation: isolate;
}
.section--band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 26rem at 100% 0%, rgba(59, 55, 168, 0.45), transparent 70%),
    radial-gradient(34rem 22rem at 0% 100%, rgba(255, 107, 44, 0.18), transparent 70%);
}
.section--band .eyebrow { color: #FFA477; }
.section--band .section-lead { color: var(--band-ink-2); }
.section--band :focus-visible { outline-color: #ABA7FF; }

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  counter-reset: flow;
}
@media (min-width: 1000px) {
  .flow { grid-template-columns: 1fr 1fr 1.5fr 1fr; gap: 48px; align-items: stretch; }
}
.flow__node {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--band-surface);
  border: 1px solid var(--band-line);
}
.flow__node h3 { font-size: 1.125rem; margin-bottom: 6px; color: var(--band-ink); }
.flow__node p { color: var(--band-ink-2); font-size: 0.9375rem; }
.flow__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFA477;
}
.flow__step {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--band-ink-2);
  letter-spacing: 0.08em;
}
.flow__node--claude {
  background: linear-gradient(160deg, rgba(59, 55, 168, 0.55), rgba(59, 55, 168, 0.18));
  border-color: rgba(171, 167, 255, 0.35);
}
.flow__node--claude .flow__icon { background: rgba(171, 167, 255, 0.18); color: #CFCCFF; }
.flow__caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.flow__caps li {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--band-ink);
}
/* Connectors: down on mobile, right on desktop */
.flow__node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 40px;
  transform: translateX(-50%);
  background-image: linear-gradient(to bottom, rgba(255, 164, 119, 0.9) 50%, transparent 50%);
  background-size: 2px 8px;
  animation: dash-y 1s linear infinite;
}
@keyframes dash-y { to { background-position: 0 8px; } }
@media (min-width: 1000px) {
  .flow__node:not(:last-child)::after {
    left: 100%;
    top: 50%;
    width: 48px;
    height: 2px;
    transform: translateY(-50%);
    background-image: linear-gradient(to right, rgba(255, 164, 119, 0.9) 50%, transparent 50%);
    background-size: 8px 2px;
    animation-name: dash-x;
  }
  @keyframes dash-x { to { background-position: 8px 0; } }
}

.privacy-note {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 56px);
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--band-surface);
  border: 1px solid var(--band-line);
}
@media (min-width: 760px) { .privacy-note { grid-template-columns: auto 1fr; align-items: start; gap: 22px; } }
.privacy-note .flow__icon { margin: 0; color: #7EE0B3; background: rgba(126, 224, 179, 0.12); }
.privacy-note h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--band-ink); }
.privacy-note p { color: var(--band-ink-2); }
.privacy-note a { color: var(--band-ink); }
.band-fineprint { margin-top: 24px; font-size: 0.875rem; color: var(--band-ink-2); }

/* ---------- 15. Pricing ---------- */
.pricing-flag { display: flex; justify-content: center; margin: -12px 0 clamp(32px, 4vw, 44px); }
.pricing-flag .tag { font-size: 0.8125rem; padding: 7px 14px; }

.plans { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan__name { font-size: 1.375rem; margin-bottom: 4px; }
.card .plan__desc { color: var(--ink-3); font-size: 0.9375rem; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 4px;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.plan__per { font-size: 0.9375rem; color: var(--ink-3); font-weight: 600; }
.card .plan__planned { font-size: 0.8125rem; color: var(--ink-3); }
.plan__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.plan__list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-ink); stroke-width: 2.4; }
.plan .btn { margin-top: auto; }
.plan--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.card .plan__badge {
  position: absolute;
  top: -14px;
  left: clamp(22px, 3vw, 30px);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media (max-width: 959px) { .plans .plan--featured { margin-top: 12px; } }
.pricing-notes {
  display: grid;
  gap: 6px;
  margin-top: 32px;
  text-align: center;
  color: var(--ink-2);
}
.pricing-notes strong { color: var(--ink); }

/* ---------- 16. Roadmap ---------- */
.roadmap { counter-reset: road; }
.road {
  position: relative;
  padding-top: 26px;
}
.card .road__phase {
  display: inline-flex;
  color: var(--ink);
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.road__marker {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--line-strong);
}
.road--now .road__marker { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.road--next .road__marker { background: var(--indigo); box-shadow: 0 0 0 5px var(--indigo-soft); }
.road--later .road__marker { background: transparent; border: 2px dashed var(--ink-3); }
.road .tag { position: absolute; top: clamp(22px, 3vw, 30px); right: clamp(22px, 3vw, 30px); }
.road h3 { font-size: 1.1875rem; }
.road ul { display: grid; gap: 8px; margin-top: 16px; padding-left: 0; list-style: none; }
.road li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 0.9688rem; }
.road li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.road--now { border-top: 4px solid var(--accent); }
.road--next { border-top: 4px solid var(--indigo); }
.road--later { border-top: 4px dashed var(--line-strong); }
.roadmap-note { margin-top: 28px; text-align: center; }

/* ---------- 17. Founder ---------- */
.founder {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
}
.founder::before {
  content: "“";
  position: absolute;
  top: clamp(0px, 0.5vw, 6px);
  right: clamp(16px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
}
.founder blockquote { display: grid; gap: 16px; padding-right: clamp(0px, 5vw, 56px); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--ink); }
.founder blockquote p { color: var(--ink); }
.founder figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.founder__who { display: grid; line-height: 1.4; margin-right: auto; }
.founder__who strong { font-size: 1.0625rem; }
.founder__who span { color: var(--ink-3); font-size: 0.9375rem; }

/* ---------- 18. Waitlist form ---------- */
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .waitlist { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.waitlist .section-head { margin-bottom: 28px; }
@media (min-width: 1000px) { .waitlist__intro { position: sticky; top: calc(var(--header-h) + 32px); } }

.checklist { display: grid; gap: 14px; margin-bottom: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist .check {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  flex-shrink: 0;
}
.checklist .check .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.checklist small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.9375rem; }

.form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend {
  padding: 0;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.field > legend { margin-bottom: 8px; }
.req { color: var(--accent-ink); }
.optional { font-weight: 500; color: var(--ink-3); }
.hint { font-size: 0.8125rem; color: var(--ink-3); }

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--ink-3); opacity: 0.85; }
.input:hover { border-color: color-mix(in srgb, var(--ink) 40%, var(--line-strong)); }
.input:focus { outline: none; border-color: var(--indigo-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo-ink) 22%, transparent); }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23857B6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
select.input option { background: var(--surface); color: var(--ink); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.9063rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  pointer-events: none;
}
.choice span::before {
  content: "";
  width: 0; height: 14px;
  margin-right: -6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: width 0.15s ease, margin 0.15s ease;
}
.choice:hover span { border-color: var(--ink-3); color: var(--ink); }
.choice input:checked + span {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
}
.choice input:checked + span::before { width: 14px; margin-right: 0; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field--consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
}
.field--consent input {
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.field--consent label { font-size: 0.9375rem; color: var(--ink-2); font-weight: 500; }
.field--consent .field__error { grid-column: 2; }

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--danger);
}
.field__error[hidden] { display: none; }
.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--surface);
  font-size: 0.6875rem;
  font-weight: 800;
  flex-shrink: 0;
}
.has-error .input { border-color: var(--danger); background: var(--danger-soft); }
.has-error .input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 22%, transparent); }

.form__status {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 600;
  font-size: 0.9375rem;
}
.form__status[hidden] { display: none; }
.form__fine { font-size: 0.8125rem; color: var(--ink-3); text-align: center; }

/* ---------- 19. FAQ ---------- */
.faq {
  border-top: 1px solid var(--line-strong);
}
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q { font-size: inherit; margin: 0; }
.faq__q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.faq__q button:hover { color: var(--accent-ink); }
.faq__chev {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}
.faq__chev .icon { width: 18px; height: 18px; }
.faq__q button[aria-expanded="true"] .faq__chev { transform: rotate(180deg); background: var(--accent-soft); border-color: transparent; }
.faq__a { padding: 0 4px 24px; max-width: 68ch; color: var(--ink-2); }
.faq__a p + p { margin-top: 12px; }
.faq__a[hidden] { display: none; }

/* ---------- 20. Final CTA band ---------- */
.cta { padding-block: 0 var(--section-y); }
.cta__inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 7vw, 88px) clamp(22px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1C1A45 0%, #16130F 65%);
  color: #F7F2EA;
  text-align: center;
}
.cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(34rem 20rem at 50% 120%, rgba(255, 107, 44, 0.45), transparent 70%);
}
.cta__bars {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(6px, 1.2vw, 12px);
  height: 46%;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.cta__bars i {
  display: block;
  width: clamp(6px, 1vw, 10px);
  height: 40%;
  border-radius: 999px 999px 0 0;
  background: #FF8A50;
  transform-origin: bottom;
  animation: bar-pulse 1.6s ease-in-out infinite alternate;
}
.cta__bars i:nth-child(2n) { height: 70%; animation-delay: -0.4s; }
.cta__bars i:nth-child(3n) { height: 55%; animation-delay: -0.8s; }
.cta__bars i:nth-child(5n) { height: 90%; animation-delay: -1.2s; }
.cta__bars i:nth-child(7n) { height: 30%; }
.cta__deva {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  color: #FFB48F;
  margin-bottom: 10px;
}
.cta__title {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.cta__text { margin: 18px auto 30px; max-width: 46ch; color: #D8D0C4; font-size: 1.0625rem; }
.cta__inner :focus-visible { outline-color: #ABA7FF; }

/* ---------- 21. Footer ---------- */
.site-footer {
  padding-block: clamp(48px, 7vw, 72px) 28px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 340px) and (max-width: 719px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand, .footer__grid > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .brand { margin-bottom: 14px; }
.footer__brand p { color: var(--ink-2); max-width: 32ch; }
.footer__brand .footer__status { max-width: none; }
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-3);
}
.footer__h {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__links { display: grid; gap: 4px; }
.footer__links a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-2);
  text-decoration: none;
}
.footer__links a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.875rem;
}

/* ---------- 22. Legal & utility pages ---------- */
.page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -0.035em; }
.page-hero p:not([class]) { margin-top: 14px; color: var(--ink-3); }

.prose {
  padding-block: clamp(36px, 5vw, 56px) var(--section-y);
  max-width: 72ch;
  color: var(--ink-2);
  font-size: 1.0313rem;
}
.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  color: var(--ink);
}
.prose h3 { margin: 28px 0 10px; font-size: 1.125rem; color: var(--ink); }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.prose .notice { margin-bottom: 28px; }
.toc {
  margin: 0 0 32px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.toc p { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 220px; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }

.simple-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-block: clamp(56px, 10vw, 120px);
  text-align: center;
}
.simple-page__card { max-width: 620px; margin-inline: auto; }
.simple-page__icon {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 28px;
  border-radius: 28px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.simple-page__icon .icon { width: 40px; height: 40px; stroke-width: 2; }
.simple-page h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); letter-spacing: -0.035em; }
.simple-page p:not([class]) { margin-top: 18px; color: var(--ink-2); font-size: 1.0625rem; }
.simple-page .hero__actions { justify-content: center; }
.simple-page .eyebrow { margin-bottom: 12px; }
.big-404::before { content: attr(data-text); }
.big-404 {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--accent);
}
.steps-mini {
  display: grid;
  gap: 12px;
  margin: 36px auto 0;
  max-width: 480px;
  text-align: left;
}
.steps-mini li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.steps-mini b {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ---------- 23. Motion helpers ---------- */
/* Decorative loops pause while off-screen (set by main.js) to save battery and CPU. */
.anim-paused *,
.anim-paused *::before,
.anim-paused *::after { animation-play-state: paused !important; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 24. Reduced motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

@media print {
  main > .section, .site-footer { content-visibility: visible !important; }
  .site-header, .cta, .hero__visual, .wave-strip, .nav__toggle { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
}
