/* BharatChat landing. Tokens mirror lib/core/theme/tokens.dart. */

/* English: Poppins, self-hosted and limited to Latin letters. Poppins also has
   Devanagari; leaving that out keeps Hindi in Anek/Hind like the other scripts.
   Files from Google Fonts, SIL OFL 1.1 (fonts/OFL-Poppins.txt). */
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-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; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500-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; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-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; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-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; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins Latin"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800-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; }

:root {
  /* Each colour is light-dark(light, dark). The page follows the system theme
     until the visitor picks one; data-theme then pins color-scheme. */
  color-scheme: light dark;
  --paper: light-dark(#F6F4EF, #0E1113);
  --surface: light-dark(#FFFFFF, #171B1F);
  --chat: light-dark(#EFEAE0, #0B0E10);
  --ink: light-dark(#15171C, #ECEAE4);
  --ink-2: light-dark(#555B66, #A6ACB4);
  --ink-3: light-dark(#8A8F98, #7C838C);
  --line: light-dark(#E6E1D7, #262B30);
  --peacock: light-dark(#0B5C63, #5FC1B8);
  --peacock-900: light-dark(#08464C, #0B5C63);
  --peacock-100: light-dark(#DCEDEA, #13302F);
  --sent: light-dark(#D5EBE6, #15454A);
  --marigold: light-dark(#F2A93B, #F2B04D);
  --marigold-100: light-dark(#FCEDD3, #2E2412);
  --online: light-dark(#1E7B4B, #3FBF7F);
  --on-primary: light-dark(#FFFFFF, #0E1113);
  --avatar-bg: light-dark(#F7DCE6, #4D2A38);
  --avatar-fg: light-dark(#8A2F52, #F7DCE6);
  --avatar-warm-bg: light-dark(#FBE3C2, #4D3A1E);
  --avatar-warm-fg: light-dark(#8A5A12, #FBE3C2);
  --try-bg: light-dark(#DCEDEA, #111A1B);
  --privacy-bg: light-dark(#08464C, #0B2F33);
  --shadow-1: light-dark(rgb(21 23 28 / .06), rgb(0 0 0 / .4));
  --shadow-2: light-dark(rgb(21 23 28 / .18), rgb(0 0 0 / .6));
  --shadow-3: light-dark(rgb(8 70 76 / .35), rgb(0 0 0 / .7));
  --shadow: 0 1px 2px var(--shadow-1), 0 12px 32px -12px var(--shadow-2);
  --shadow-lg: 0 2px 4px var(--shadow-1), 0 40px 80px -24px var(--shadow-3);

  /* Poppins for English; Anek has one design per script, and listing them lets
     each glyph find its own. */
  --display: "Poppins Latin", "Anek Devanagari", "Anek Bangla", "Anek Tamil", "Anek Telugu", "Anek Kannada", "Anek Gujarati", "Anek Malayalam", "Anek Odia", "Anek Gurmukhi", system-ui, sans-serif;
  /* Hind has no Kannada, Malayalam, Odia or Gurmukhi; Anek covers those. */
  --body: "Poppins Latin", "Hind", "Hind Siliguri", "Hind Madurai", "Hind Guntur", "Hind Vadodara", "Anek Kannada", "Anek Malayalam", "Anek Odia", "Anek Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Logo stays in the app's brand fonts. */
  --brand-word: "Bricolage Grotesque", system-ui, sans-serif;
  --brand-glyph: "Mukta", sans-serif;

  --r-tile: 12px;
  --r-input: 16px;
  --r-bubble: 20px;
  --r-card: 24px;
  --r-sheet: 28px;

  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0, 0, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: clamp(16px, 4vw, 32px);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.012em; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; font-weight: 800; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
.muted { color: var(--ink-2); }
.br-lg { display: none; }
@media (min-width: 760px) { .br-lg { display: inline; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark {
  --s: 36px;
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: var(--s); height: var(--s); border-radius: calc(var(--s) * .28);
  background: #0B5C63;
  color: #fff; font: 800 calc(var(--s) * .5)/1.1 var(--brand-glyph);
}
.mark::after {
  content: ""; position: absolute; top: 14%; right: 14%;
  width: 13%; height: 13%; border-radius: 50%; background: var(--marigold);
  animation: blink 4s var(--ease) infinite;
}
.mark--xs { --s: 28px; }
.mark--sm { --s: 30px; }
.mark--xl { --s: 88px; box-shadow: var(--shadow-lg); }
@keyframes blink { 0%, 86%, 100% { transform: scale(1); } 92% { transform: scale(1.6); } }

.wordmark { font: 800 22px/1 var(--brand-word); letter-spacing: -.03em; color: var(--ink); }
.wordmark em { font-style: normal; color: var(--peacock); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--peacock); color: var(--on-primary);
  font: 600 17px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
  box-shadow: 0 8px 20px -10px var(--peacock);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--peacock); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--ghost span { transition: transform .24s var(--ease); }
.btn--ghost:hover span { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 16px; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--marigold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 820px) { .nav__links { display: none; } .nav__actions { margin-left: auto; } }

/* Theme toggle: a sun whose rays fold away as a bite turns it into a moon. */
.nav__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.theme-toggle:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 20px; height: 20px; overflow: visible; }
.theme-toggle__core { fill: currentColor; transform-origin: 12px 12px; transition: transform .5s var(--ease-spring); }
.theme-toggle__cut { transition: transform .5s var(--ease); }
.theme-toggle__rays { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; transform-origin: 12px 12px; transition: transform .5s var(--ease), opacity .3s var(--ease); }
:root[data-theme="dark"] .theme-toggle__core { transform: scale(1.6); }
:root[data-theme="dark"] .theme-toggle__cut { transform: translate(-7px, 7px); }
:root[data-theme="dark"] .theme-toggle__rays { transform: rotate(90deg) scale(.4); opacity: 0; }

/* Narrow phones: Poppins runs wide, so tighten the nav to keep it on one line. */
@media (max-width: 420px) {
  .nav__inner { gap: 12px; }
  .nav__actions { gap: 8px; }
  .nav .btn--sm { padding: 0 14px; font-size: 14px; }
  .theme-toggle { width: 40px; height: 40px; }
  .nav .wordmark { font-size: 20px; }
}
/* Web login is for computers; phones keep only "Get the app". */
@media (max-width: 560px) { .nav__web { display: none; } }
/* Smallest phones: the hero already has "Get the app" right below. */
@media (max-width: 359px) { .nav .btn--sm { display: none; } }

/* Theme switch reveal: the new theme grows out of the toggle (see main.js). */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__glyph {
  position: absolute; right: -2vw; top: -2vw; z-index: 0;
  font: 800 min(50vw, 680px)/1 var(--body);
  color: var(--peacock-100); opacity: .55; pointer-events: none; user-select: none;
  will-change: transform;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 0 var(--marigold); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--marigold) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }

.hero__title {
  margin: 22px 0 22px;
  font-size: clamp(48px, 8.2vw, 104px); line-height: 1; font-weight: 800; letter-spacing: -.025em;
}
.hero__line { display: block; }
/* The rolling greeting: each script gets its turn on the first line. */
.roll {
  --h: 1.4em;
  display: block; height: var(--h); overflow: hidden;
  color: var(--peacock);
  font-family: var(--display); letter-spacing: -.01em; font-weight: 800;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.roll__track { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.roll__track > span { height: var(--h); line-height: var(--h); white-space: nowrap; }
.roll__track.no-anim { transition: none; }

.hero__lede { max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Title entrance */
.hero__line, .hero .roll { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease-enter) forwards; }
.hero .roll { animation-delay: .05s; }
.hero__line { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Phone ---------- */
.hero__phone { position: relative; justify-self: center; perspective: 1400px; }
.phone {
  position: relative; width: min(340px, 86vw); height: 640px;
  border-radius: 44px; padding: 12px;
  background: #0f1214;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2f34;
  transform: rotateY(-10deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.hero__phone:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
@media (max-width: 920px) { .phone { transform: none; height: 600px; } }
@media (max-width: 520px) { .phone { height: 540px; width: min(310px, 84vw); } }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 3; }
.phone > *:not(.phone__notch) { position: relative; }

.chat__head, .chat__body, .chat__input { background: var(--chat); }
.chat__head {
  display: flex; align-items: center; gap: 10px;
  padding: 50px 16px 12px; border-radius: 32px 32px 0 0;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.chat__head strong { display: block; font-size: 16px; line-height: 1.1; }
.chat__head small { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--online); }
.chat__lang {
  margin-left: auto; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--peacock-100); color: var(--peacock);
}
.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 15px;
  background: var(--avatar-bg); color: var(--avatar-fg);
}
.avatar--warm { background: var(--avatar-warm-bg); color: var(--avatar-warm-fg); }

.chat__body {
  height: calc(100% - 94px - 64px);
  padding: 14px 12px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
}
.chat__input {
  display: flex; align-items: center; gap: 8px;
  height: 64px; padding: 10px 12px 14px; border-radius: 0 0 32px 32px;
}
.chat__field {
  flex: 1; height: 42px; padding: 0 16px; border-radius: 21px;
  display: flex; align-items: center;
  background: var(--surface); color: var(--ink-3); font-size: 15px; white-space: nowrap; overflow: hidden;
}
.chat__field.is-typing { color: var(--ink); }
.chat__field.is-typing::after { content: ""; width: 2px; height: 18px; margin-left: 2px; background: var(--peacock); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__send { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--peacock); flex: none; }
.chat__send svg { width: 20px; fill: var(--on-primary); }

/* Messages inside the phone */
.msg {
  max-width: 82%; padding: 9px 13px 7px; border-radius: 18px;
  font-size: 15.5px; line-height: 1.38;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 1px rgb(0 0 0 / .05);
  transform-origin: bottom left;
  animation: pop .42s var(--ease-spring) both;
  position: relative;
}
.msg--out { align-self: flex-end; background: var(--sent); transform-origin: bottom right; border-bottom-right-radius: 6px; }
.msg--in { align-self: flex-start; border-bottom-left-radius: 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.msg__text { display: block; transition: opacity .28s var(--ease), filter .28s var(--ease), transform .28s var(--ease); }
.msg__text.is-out { opacity: 0; filter: blur(6px); transform: translateY(-4px); }
.msg__meta { display: flex; gap: 6px; align-items: center; margin-top: 3px; font-size: 11.5px; color: var(--ink-3); }
.msg__meta b { font-weight: 600; color: var(--peacock); }
.msg__meta .ticks { color: var(--peacock); letter-spacing: -3px; }
.msg.is-translating .msg__text {
  background: linear-gradient(100deg, var(--ink-3) 30%, var(--peacock) 50%, var(--ink-3) 70%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 1.1s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
.msg__react {
  position: absolute; right: 8px; bottom: -14px;
  padding: 1px 6px; border-radius: 12px; font-size: 13px;
  background: var(--surface); box-shadow: 0 0 0 2px var(--chat);
  animation: pop .5s var(--ease-spring) both;
}
.msg--react-space { margin-bottom: 12px; }

.typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); animation: pop .3s var(--ease-spring) both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.voice { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.voice__play { width: 30px; height: 30px; border-radius: 50%; background: var(--peacock); display: grid; place-items: center; flex: none; }
.voice__play::before { content: ""; border-left: 9px solid var(--on-primary); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.voice__bars { display: flex; align-items: center; gap: 2px; height: 24px; flex: 1; }
.voice__bars span { flex: 1; border-radius: 2px; background: var(--ink-3); height: var(--h); transition: background .2s; }
.voice__bars span.on { background: var(--peacock); }

/* Floating tags around the phone */
.float-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 14px; background: var(--surface);
  box-shadow: var(--shadow); font-weight: 600; font-size: 14px; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-tag span { color: var(--peacock); }
.float-tag svg { width: 15px; fill: var(--marigold); }
.float-tag--a { left: -56px; top: 150px; }
.float-tag--b { right: -40px; bottom: 120px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .float-tag--a { left: -6px; top: 110px; } .float-tag--b { right: -6px; } }

/* ---------- Ribbon ---------- */
.ribbon { padding: 28px 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ribbon__row { display: flex; width: max-content; }
.ribbon__row + .ribbon__row { margin-top: 10px; }
.ribbon ul { display: flex; margin: 0; padding: 0; list-style: none; flex: none; }
.ribbon li {
  padding: 0 28px; font: 700 clamp(28px, 4vw, 44px)/1.3 var(--display); color: var(--ink);
  display: flex; align-items: center; white-space: nowrap;
}
.ribbon li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); margin-left: 56px; }
.ribbon__row--rev li { color: var(--ink-3); font-weight: 500; }
.ribbon__row--rev li::after { background: var(--line); }
.ribbon__row { animation: marquee 48s linear infinite; }
.ribbon__row--rev { animation-direction: reverse; animation-duration: 56s; }
.ribbon:hover .ribbon__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.eyebrow { font: 700 14px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--peacock); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--marigold); border-radius: 2px; }
.eyebrow--light { color: var(--marigold); }

/* How it works */
.how { position: relative; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; padding-top: 10px; }
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line);
  font: 800 16px/1 var(--display); color: var(--ink-3); margin-bottom: 28px;
  position: relative; z-index: 1;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.step.is-lit .step__n { background: var(--peacock); color: var(--on-primary); box-shadow: 0 0 0 6px var(--peacock-100); }
.step h3 { margin: 28px 0 8px; }
.step p { color: var(--ink-2); max-width: 32ch; }
.steps__rail { position: relative; height: 2px; background: var(--line); margin-top: -2px; display: none; }
@media (min-width: 821px) {
  .steps::before { content: ""; position: absolute; top: 30px; left: 20px; right: 20px; height: 2px; background: var(--line); }
  .steps::after { content: ""; position: absolute; top: 30px; left: 20px; height: 2px; width: calc((100% - 40px) * var(--p, 0)); background: linear-gradient(90deg, var(--peacock), var(--marigold)); transition: width .15s linear; }
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 48px; } }

.bubble {
  display: inline-block; max-width: 100%;
  padding: 12px 16px; border-radius: var(--r-bubble);
  font-size: 18px; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / .04);
}
.bubble--out { background: var(--sent); border-bottom-right-radius: 6px; }
.bubble--in { background: var(--surface); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.bubble--work { background: var(--marigold-100); color: var(--ink); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.spark { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--marigold); border-top-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Try it */
.try { background: var(--try-bg); }
.try__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .try__grid { grid-template-columns: 1fr; } }
.try__copy .muted { margin: 20px 0 28px; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--ink); font: 600 17px/1 var(--body);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chips button:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--peacock); }
.chips button[aria-checked="true"] { background: var(--peacock); color: var(--on-primary); box-shadow: none; }
.fine { margin-top: 24px; font-size: 14px; color: var(--ink-3); max-width: 52ch; }

.try__card {
  position: relative; padding: 28px; border-radius: var(--r-sheet);
  background: var(--chat); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
}
.try__sender { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.try__sender strong { display: block; line-height: 1.1; }
.try__sender small { color: var(--ink-3); font-size: 14px; }
.bubble--lg { display: block; padding: 18px 20px 12px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; min-height: 150px; }
.morph { transition: opacity .3s var(--ease), filter .3s var(--ease), transform .3s var(--ease); }
.morph.is-out { opacity: 0; filter: blur(8px); transform: translateY(6px) scale(.98); }
.bubble__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-3); }
.link { border: 0; background: none; padding: 6px 0; cursor: pointer; color: var(--peacock); font: 600 14px/1 var(--body); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.reactions { position: absolute; right: 36px; bottom: 8px; display: flex; gap: 2px; padding: 4px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 16px; }
.reactions span { display: inline-block; }
.try__card.is-in .reactions span { animation: pop .5s var(--ease-spring) both; }
.try__card.is-in .reactions span:nth-child(2) { animation-delay: .1s; }
.try__card.is-in .reactions span:nth-child(3) { animation-delay: .2s; }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  grid-column: span 2; min-height: 320px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--r-card); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-2); font-size: 16.5px; }
.card--voice { grid-column: span 4; }
.card--fast { grid-column: span 6; min-height: 240px; }
.card--fast .meter { right: auto; width: min(460px, 100% - 56px); }
@media (min-width: 961px) {
  .card--fast { justify-content: center; padding-left: calc(50% + 14px); }
  .card--fast .meter { top: 50%; transform: translateY(-50%); }
}
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .card, .card--voice { grid-column: span 1; } .card--fast { grid-column: 1 / -1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .card { min-height: 280px; } .card--fast .meter { width: auto; right: 28px; } }

.wave { position: absolute; inset: 28px 28px auto; height: 120px; display: flex; align-items: center; gap: 5px; }
.wave span { flex: 1; height: 100%; border-radius: 4px; background: linear-gradient(var(--peacock), color-mix(in srgb, var(--peacock) 55%, var(--marigold))); transform: scaleY(.15); animation: wave 1.6s ease-in-out infinite; }
.wave span:nth-child(3n) { animation-duration: 1.2s; }
.wave span:nth-child(4n+1) { animation-duration: 1.9s; }
.wave span:nth-child(5n+2) { animation-duration: 1.4s; }
@keyframes wave { 50% { transform: scaleY(var(--amp, .8)); } }

.stack { position: absolute; top: 34px; left: 50%; width: 150px; height: 130px; margin-left: -75px; }
.ph { position: absolute; inset: 0; border-radius: 14px; border: 5px solid var(--surface); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.ph--1 { background: linear-gradient(160deg, #F2A93B, #E0663A 60%, #8A2F52); transform: rotate(-9deg) translateX(-26px); }
.ph--2 { background: linear-gradient(170deg, #9ED8D0, #0B5C63); transform: rotate(7deg) translateX(24px); }
.ph--3 { background: radial-gradient(circle at 70% 30%, #FCEDD3 0 12%, transparent 13%), linear-gradient(180deg, #F7C873, #D5EBE6 55%, #2E6B2A 56%, #1E4A1C); }
.card--photos:hover .ph--1 { transform: rotate(-16deg) translate(-46px, 6px); }
.card--photos:hover .ph--2 { transform: rotate(14deg) translate(44px, 6px); }
.card--photos:hover .ph--3 { transform: translateY(-8px); }

.mini-chat { position: absolute; top: 34px; left: 28px; right: 28px; }
.mini { display: inline-block; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: var(--chat); font-size: 16px; }
.mini__reply { display: block; padding: 4px 10px; margin-bottom: 6px; border-left: 3px solid var(--marigold); border-radius: 6px; background: color-mix(in srgb, var(--marigold) 14%, transparent); font-size: 13.5px; color: var(--ink-2); }
.mini-pop { display: inline-flex; gap: 4px; margin: 10px 0 0 18px; padding: 6px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 22px; }
.mini-pop span { display: inline-block; transition: transform .25s var(--ease-spring); }
.mini-pop span.is-hot { transform: translateY(-6px) scale(1.35); }

.card--dark { transition: background .6s var(--ease), color .6s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.card--dark.is-night { background: #0E1113; color: #ECEAE4; box-shadow: inset 0 0 0 1px #262B30; }
.card--dark.is-night p { color: #A6ACB4; }
.toggle { position: absolute; top: 32px; left: 28px; width: 76px; height: 42px; border-radius: 21px; background: var(--peacock-100); transition: background .6s var(--ease); }
.toggle span { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 18px var(--marigold); transition: transform .6s var(--ease-spring), background .6s var(--ease), box-shadow .6s var(--ease); }
.is-night .toggle { background: #15454A; }
.is-night .toggle span { transform: translateX(34px); background: #ECEAE4; box-shadow: inset -9px -3px 0 0 #A6ACB4; }

.meter { position: absolute; top: 40px; left: 28px; right: 28px; }
.meter__bar { display: block; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; position: relative; }
.meter__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--peacock), var(--marigold)); transform: translateX(-100%); }
.card--fast.is-in .meter__bar::after { animation: fill 2.8s var(--ease) infinite; }
@keyframes fill { 0% { transform: translateX(-100%); } 30%, 80% { transform: none; } 100% { transform: none; opacity: 0; } }
.meter__label { display: block; margin-top: 12px; font: 800 30px/1.1 var(--display); letter-spacing: -.02em; }

.notif { position: absolute; top: 36px; left: 20px; right: 20px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--chat); box-shadow: var(--shadow); transform: translateY(-120%); opacity: 0; }
.card--notif.is-in .notif { animation: drop 4s var(--ease) infinite; }
.notif strong { display: block; font-size: 15px; line-height: 1.2; }
.notif div span { font-size: 15px; color: var(--ink-2); }
@keyframes drop { 0% { transform: translateY(-120%); opacity: 0; } 15%, 75% { transform: none; opacity: 1; } 90%, 100% { transform: translateY(-20%); opacity: 0; } }

/* ---------- Privacy ---------- */
.privacy { background: var(--privacy-bg); color: #F6F4EF; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.privacy__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .privacy__grid { grid-template-columns: 1fr; } .privacy__art { order: 2; } }
.privacy h2 { color: #fff; margin-bottom: 20px; }
.privacy__copy > p { color: rgb(246 244 239 / .82); max-width: 50ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #F6F4EF; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #F2A93B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4z' fill='%2308464C'/%3E%3C/svg%3E") center/16px no-repeat; }

.orbit { position: relative; width: min(380px, 80vw); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgb(246 244 239 / .25); animation: spin 40s linear infinite; }
.orbit__ring--2 { inset: 18%; border-style: solid; border-color: rgb(246 244 239 / .12); animation-duration: 28s; animation-direction: reverse; }
.orbit__core { position: absolute; inset: 36%; border-radius: 30%; background: #0B5C63; display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(95 193 184 / .12), 0 0 80px rgb(95 193 184 / .35); }
.orbit__core svg { width: 42%; fill: #F2A93B; }
.orbit__sat {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px;
  display: grid; place-items: center; border-radius: 16px;
  background: #F6F4EF; color: #08464C; font: 700 26px/1 var(--body);
  animation: orbit 18s linear infinite;
}
.orbit__sat--2 { animation-delay: -6s; }
.orbit__sat--3 { animation-delay: -12s; }
@keyframes orbit {
  from { transform: rotate(0) translateX(min(190px, 40vw)) rotate(0); }
  to { transform: rotate(360deg) translateX(min(190px, 40vw)) rotate(-360deg); }
}

/* ---------- CTA ---------- */
.cta__inner { text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta h2 { font-size: clamp(40px, 7vw, 88px); letter-spacing: -.02em; margin-top: 12px; }
.cta .muted { max-width: 44ch; }
.cta__web { font-size: 15px; color: var(--ink-2); max-width: 48ch; }
.cta__web a { color: var(--ink); font-weight: 500; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px;
  border-radius: 16px; background: var(--ink); color: var(--paper); text-decoration: none;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.store:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store--soon { opacity: .72; cursor: default; }
.store--soon:hover { transform: none; box-shadow: none; }
.store svg { width: 26px; fill: currentColor; }
.store span { display: grid; text-align: left; font: 700 19px/1.05 var(--display); }
.store small { font: 500 12px/1.2 var(--body); opacity: .75; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 15px; color: var(--ink-3); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer .wordmark { font-size: 19px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
@media (max-width: 620px) { .footer nav { margin-left: 0; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-enter), transform .8s var(--ease-enter); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Reduced motion: fades replace slides, loops stop ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { transform: none; }
  .ribbon__row { flex-wrap: wrap; width: auto; }
  .ribbon__row ul + ul { display: none; }
  .ribbon ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .notif { transform: none; opacity: 1; }
  .wave span { transform: scaleY(var(--amp, .6)); }
}

/* ================= Help and legal pages ================= */

/* Reading progress along the top edge. */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px;
  background: linear-gradient(90deg, var(--peacock), var(--marigold));
  transform-origin: left; transform: scaleX(0);
}

.page-head { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .hero__glyph { right: -4vw; top: -10vw; font-size: min(38vw, 460px); opacity: .45; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 14px; }
.page-head .lede { max-width: 56ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 15px; color: var(--ink-3); }

/* Fields still to fill in before publishing. */
.fill { background: var(--marigold-100); color: var(--ink); padding: 0 4px; border-radius: 4px; box-shadow: inset 0 -1.5px 0 var(--marigold); white-space: nowrap; }
.draft-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; max-width: 760px;
  padding: 14px 18px; border-radius: 14px; background: var(--marigold-100); color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--marigold) 45%, transparent); font-size: 15px;
}
.draft-note::before { content: "!"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--marigold); color: #15171C; font-weight: 800; font-size: 14px; }

.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 128px); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } }

.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc p { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a {
  position: relative; display: block; padding: 7px 0 7px 16px; margin-left: -2px;
  border-left: 2px solid transparent; font-size: 15px; line-height: 1.35;
  color: var(--ink-2); text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.toc a:hover { color: var(--ink); transform: translateX(2px); }
.toc a.is-active { color: var(--peacock); border-left-color: var(--marigold); font-weight: 600; }
@media (max-width: 900px) {
  .toc { position: static; max-height: none; padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
}

.prose { max-width: 72ch; font-size: 17.5px; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; margin-top: 56px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--marigold); }
.prose a { color: var(--peacock); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: var(--marigold); }

.summary { padding: 24px 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.summary h2 { margin-top: 0; font-size: 20px; }
.summary ul { margin: 12px 0 0; }

.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: var(--ink-2); }

.callout { padding: 18px 20px; border-radius: 16px; background: var(--peacock-100); color: var(--ink); }
.callout p { color: var(--ink); }
.callout--warn { background: var(--marigold-100); }

/* Help page */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--peacock); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--peacock-100); color: var(--peacock); font-size: 18px; transition: transform .3s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; }
.faq .answer > * + * { margin-top: 10px; }
.faq details[open] .answer { animation: answer-in .35s var(--ease-enter) both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.contact-cards > div { padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.contact-cards strong { display: block; margin-bottom: 4px; }
.contact-cards p { font-size: 15.5px; }

@media (prefers-reduced-motion: reduce) { .progress { display: none; } }

/* Marketing additions extend the existing palette, typography and motion. */
[hidden] { display: none !important; }
.brand-image { background: none; overflow: hidden; }
.brand-image::after { display: none; }
.brand-image img { width: 100%; height: 100%; object-fit: contain; }
.language-link { font-size: 15px; text-decoration: none; padding: 10px 4px; white-space: nowrap; }
.hero .stores { justify-content: flex-start; margin-top: 24px; gap: 10px; }
.hero .store { padding: 10px 16px; }
.hero .store span { font-size: 19px; }
.hero__secondary { margin-top: 16px; font-size: 15px; }
.hero__secondary a { text-underline-offset: 4px; }
.nav__links { gap: 20px; }
.nav__inner { gap: 18px; }
.hero__lede { max-width: 42ch; }
.hero__title { font-size: clamp(46px, 7vw, 88px); }
.text-link { display: inline-block; margin-top: 22px; color: var(--peacock); font-weight: 600; text-underline-offset: 4px; }
.section-lede { margin-top: 22px; max-width: 58ch; color: var(--ink-2); }
.preview__grid, .business-hero__grid, .demo-grid, .faq-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 80px); }
.product-preview { background: var(--try-bg); }
.preview-tabs { display: flex; gap: 8px; margin: 26px 0 20px; flex-wrap: wrap; }
.preview-tabs button { border: 1px solid var(--peacock); background: transparent; color: var(--ink); border-radius: 999px; padding: 12px 20px; font: 600 16px/1.2 var(--body); cursor: pointer; }
.preview-tabs button[aria-selected="true"] { background: var(--peacock); color: var(--on-primary); }
.preview-panels figure, .business-screen { margin: 0; text-align: center; }
.preview-panels img, .business-screen img { width: auto; height: 530px; max-width: 100%; object-fit: contain; margin: auto; border-radius: 24px; box-shadow: var(--shadow-lg); }
figcaption { font-size: 13px; margin-top: 16px; color: var(--ink-2); }
.business-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.business-links a { text-decoration: none; background: var(--surface); padding: 26px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease); }
.business-links a:hover { transform: translateY(-4px); }
.business-links .eyebrow { display: block; margin-bottom: 16px; }
.business-links p { color: var(--ink-2); font-size: 16px; margin-top: 12px; }
.business-links a > span:last-child { display: block; color: var(--peacock); margin-top: 20px; }
.privacy-detail { display: inline-block; margin-top: 22px; color: #fff; text-underline-offset: 4px; }
.faq-grid { align-items: start; grid-template-columns: .8fr 1.2fr; }
.home-faq .answer { color: var(--ink-2); font-size: 16px; }
.home-faq summary { font-size: 16px; min-height: 60px; }
.download-qr { margin: 28px auto 0; font-size: 14px; width: fit-content; text-align: center; }
.download-qr img { background: white; border-radius: 12px; margin: 0 auto 12px; }
.download-qr a { display: inline-block; margin-top: 6px; color: var(--peacock); }
.analytics-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: 100%; color: var(--ink-2); font-size: 12px; }
.analytics-choice button { font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; cursor: pointer; background: var(--surface); }
.analytics-choice button:disabled { cursor: default; }
.analytics-choice a { text-underline-offset: 3px; }
.business-hero h1, .download-page h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.08; }
.business-hero { padding-bottom: 32px; }
.business-screen img { height: 510px; }
.business-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.business-benefits .step__n { position: static; margin-bottom: 20px; }
.business-benefits p { color: var(--ink-2); font-size: 16px; margin-top: 14px; }
.demo-section { background: var(--try-bg); }
.demo-section .fine { margin-top: 20px; }
.flow-demo { padding: clamp(20px, 4vw, 36px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.sample-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 10px; }
.flow-progress { display: flex; gap: 20px; list-style-position: inside; padding: 18px 0; margin: 16px 0; border-block: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.flow-progress [aria-current] { color: var(--peacock); font-weight: 700; }
.demo-item { font-size: 20px; font-weight: 600; margin: 16px 0 8px; }
.flow-demo .muted { font-size: 15px; }
.flow-demo .btn { border: 0; cursor: pointer; margin-top: 24px; white-space: normal; text-align: center; }
.demo-amount { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.sample-status { display: inline-block; background: var(--peacock-100); color: var(--peacock); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.demo-reset { margin-top: 24px; }
.download-page { text-align: center; }
.download-page .section-lede { margin-inline: auto; }
.download-page .cta { padding-top: 36px; padding-bottom: 0; }
.download-page .cta h2, .download-page .cta .muted, .download-page .cta .mark { display: none; }
section[id] { scroll-margin-top: 88px; }
:root[lang="hi"] h1, :root[lang="hi"] h2 { line-height: 1.2; }
:root[lang="hi"] .hero__title { line-height: 1.12; }
@media (max-width: 1100px) { .nav__links { gap: 12px; } .nav__links a { font-size: 14px; } .nav__inner { gap: 12px; } }
@media (max-width: 960px) { .nav__links { display: none; } .nav__actions { margin-left: auto; } }
@media (max-width: 760px) {
  .preview__grid, .business-hero__grid, .demo-grid, .faq-grid { grid-template-columns: 1fr; }
  .business-links, .business-benefits { grid-template-columns: 1fr; }
  .preview-panels img, .business-screen img { height: auto; width: min(270px, 100%); }
  .preview-panels { min-height: 630px; }
  .preview-panels #panel-calls img { width: min(340px, 100%); }
  .business-benefits { gap: 28px; }
  .business-benefits article { border-top: 1px solid var(--line); padding-top: 24px; }
  .business-screen { margin-top: 16px; }
  .business-links a { padding: 24px; }
}
@media (max-width: 560px) {
  .marketing-nav .btn--sm { display: none; }
  .nav__inner { gap: 8px; }
  .nav .brand { gap: 6px; }
  .nav .wordmark { font-size: 20px; }
  .nav .mark { --s: 32px; }
  .language-link { padding: 10px 2px; }
  .hero .stores { gap: 10px; }
  .hero .store { padding: 10px 12px; gap: 8px; }
  .hero .store span { font-size: 17px; }
  .hero .store small { font-size: 11px; }
  .hero .store svg { width: 25px; height: 25px; }
  .download-qr { display: none; }
  .flow-progress { gap: 12px; flex-wrap: wrap; }
  .hero__ctas .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .business-links a:hover { transform: none; } }
.no-js [role="tablist"], .no-js [data-flow-next], .no-js [data-flow-reset], .no-js .analytics-choice { display: none; }
.no-js [role="tabpanel"][hidden], .no-js [data-flow-state][hidden] { display: block !important; }
.no-js [role="tabpanel"] + [role="tabpanel"], .no-js [data-flow-state] + [data-flow-state] { margin-top: 28px; }
.business-sample { text-align: left; padding: 36px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-lg); border-top: 8px solid var(--peacock); }
.business-sample h3 { font-size: 26px; margin: 20px 0 32px; }
.business-sample__row { display: grid; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.business-sample__row span { font-size: 16px; color: var(--ink-2); }
.business-sample .sample-status { margin-top: 20px; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .motion-ready .reveal:not(.is-in) { opacity: 1; transform: none; } }
/* Let legal-page tables scroll inside their wrapper on narrow screens. */
.doc > * { min-width: 0; }

/* A static, centred closing greeting uses the active theme’s brand colour. */
.closing-title { max-width: 100%; min-width: 0; }
.closing-lead { display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 .25em; max-width: 100%; }
.closing-ending { display: block; white-space: nowrap; }
.closing-ending:empty { display: none; }
.closing-greeting { display: inline-block; color: var(--peacock); white-space: nowrap; line-height: 1.4; }
@media (max-width: 359px) { .cta .closing-title { font-size: 36px; } }
@media (max-width: 560px) {
  :root[lang="hi"] .closing-lead { flex-direction: column; align-items: center; }
}
