@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/PublicSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("assets/fonts/PublicSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("assets/fonts/PublicSans-Bold.ttf") format("truetype"); }
@font-face { font-family: "Public Sans"; font-weight: 800; font-display: swap; src: url("assets/fonts/PublicSans-ExtraBold.ttf") format("truetype"); }

/* The apps' palette (android/src/theme/colors.ts): deep teal → teal → mint, mint as the accent,
   lilac for the mascot. Light sections use a mint-tinted white so the page breathes. */
:root {
  --teal-900: #0B2524;
  --teal-800: #0E2B2A;
  --teal-700: #163F3E;
  --teal-500: #2F7A72;
  --teal-300: #7ED0B4;
  --mint: #BFF0DC;
  --mint-soft: rgba(191, 240, 220, 0.14);
  --paper: #F3FAF6;
  --paper-2: #E6F4EC;
  --ink: #0F2E2D;
  --ink-2: rgba(15, 46, 45, 0.64);
  --white-2: rgba(255, 255, 255, 0.68);
  --glass: rgba(255, 255, 255, 0.1);
  /* The app's background (ios/Ainoch/App/RootView.swift): #163F3E → #2F7A72 (55%) → #7ED0B4. */
  --app-gradient: linear-gradient(160deg, #163F3E 0%, #2F7A72 55%, #7ED0B4 100%);
  --glass-line: rgba(255, 255, 255, 0.16);
  --radius-l: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.2, 1.35, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(72px * var(--zoom, 1)); }
body {
  margin: 0;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--teal-800);
  color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Set by fitScreen() in app.js: on large screens the whole composition grows with the window. */
  zoom: var(--zoom, 1);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--mint); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* The page spans the window: a gutter on phones, 4.5% a side from there up. */
.wrap { width: min(100% - 40px, 91%); margin-inline: auto; }
.narrow { width: min(900px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--teal-300); }
.light .eyebrow { color: var(--teal-500); }
.display {
  margin: 0; white-space: pre-line;
  font-size: clamp(52px, 7.4vw, 108px); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fff 30%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display-2 { margin: 0; font-size: clamp(44px, 7vw, 88px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.headline { margin: 0; white-space: pre-line; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.sub { margin: 18px auto 0; max-width: 34em; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; font-weight: 600; color: var(--white-2); }
.light .sub { color: var(--ink-2); }
.lead { margin: 24px 0 0; max-width: 30em; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--white-2); }
.lead-strong { margin: 10px 0 0; font-size: clamp(19px, 2vw, 22px); font-weight: 700; color: var(--mint); }
.body-lg { margin: 22px 0 0; max-width: 36em; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--white-2); }
.center .body-lg { margin-inline: auto; max-width: 36em; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 37, 36, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-color: rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; width: min(100% - 32px, 91%); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 10px; }
.nav .brand img { width: 42px; height: 42px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 0.2s var(--ease), background 0.2s; }
.pill:active { transform: scale(0.97); }
.pill-mint { background: var(--mint); color: var(--ink); }
.pill-mint:hover { background: #d4f7e8; }
.pill-small { height: 34px; padding: 0 16px; font-size: 14px; }

.language { position: relative; }
.flag-button { display: grid; place-items: center; width: 40px; height: 34px; border-radius: 999px; cursor: pointer; background: var(--glass); border: 1px solid var(--glass-line); }
.flag-button img { border-radius: 2px; }
.language-list {
  position: absolute; right: 0; top: 44px; margin: 0; padding: 6px; list-style: none; min-width: 230px;
  background: rgba(14, 43, 42, 0.92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--glass-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.language-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: #fff; font-size: 15px; text-align: left; cursor: pointer; }
.language-list button:hover, .language-list button[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); }
.language-list img { width: 24px; height: 17px; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; align-items: center; padding: 96px 0 44px; overflow: hidden;
  background: radial-gradient(60% 40% at 50% 0%, rgba(191, 240, 220, 0.12), transparent 70%), var(--app-gradient); }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 240, 220, 0.18), transparent 65%); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.hero-copy { container-type: inline-size; }

/* Hero copy: every piece (.w word, .ch letter) waits for its own --d milliseconds, then lands. */
.kicker { margin: 0 0 20px; font-size: clamp(19px, 3.5cqi, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.86); }
.kicker-lead { display: block; opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease) 0.1s, transform 0.8s var(--ease) 0.1s; }
.play .kicker-lead { opacity: 1; transform: none; }
.kicker-brand { font-weight: 800; color: #fff; }
/* The "that" drifts off the sentence and flickers like a signal locking on, with a terminal caret. */
.kicker-that { display: inline-block; margin-left: 0.55em; padding: 0.22em 0.5em 0.2em 0.62em; transform: translateY(-0.2em) rotate(-3deg);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.6em; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mint); border: 1px solid rgba(191, 240, 220, 0.45); border-radius: 0.5em; background: rgba(191, 240, 220, 0.08);
  text-shadow: 0 0 12px rgba(191, 240, 220, 0.9); box-shadow: 0 0 18px rgba(191, 240, 220, 0.22), inset 0 0 10px rgba(191, 240, 220, 0.12);
  animation: signal 3.6s linear infinite; }
.kicker-that::after { content: ""; display: inline-block; width: 0.5em; height: 1em; margin-left: 0.1em; vertical-align: -0.16em; background: var(--mint); animation: caret 0.9s steps(1) infinite; }
.rotator { display: grid; margin-top: 0.12em; font-size: 1.16em; font-weight: 800; letter-spacing: -0.03em; color: var(--mint); }
.role { grid-area: 1 / 1; }
.role .w { display: inline-block; opacity: 0; transform: translateY(0.75em) rotate(5deg); filter: blur(8px);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--spring), filter 0.55s var(--ease); }
.role.on .w { opacity: 1; transform: none; filter: none; transition-delay: calc(var(--d) * 1ms + 180ms); }
.role.off .w { transform: translateY(-0.75em) rotate(-5deg); transition-duration: 0.35s; transition-delay: calc(var(--d) * 0.4ms); }
.rotator-bars { display: flex; gap: 6px; margin-top: 14px; }
.rotator-bars i { position: relative; width: 28px; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.22); }
.rotator-bars i::after { content: ""; position: absolute; inset: 0; background: var(--mint); transform: scaleX(0); transform-origin: left; }
.rotator-bars i.on::after { animation: bar-fill 2.8s linear forwards; }

/* As wide as its column allows, but never so tall that the hero stops fitting one screen. */
#hero-title { font-size: clamp(52px, min(14cqi, var(--screen-h, 800px) * 0.155), 200px); background: none; }
.title-line { display: block; }
.title-word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; padding-block: 0.16em; margin-block: -0.16em;
  background: linear-gradient(180deg, #fff 30%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(0.55em) rotate(8deg) scale(0.82); filter: blur(14px);
  transition: opacity 0.6s var(--ease), transform 0.95s var(--spring), filter 0.6s var(--ease); transition-delay: calc(var(--d) * 1ms); }
.play .ch { opacity: 1; transform: none; filter: none; }
.title-check { display: inline-block; width: 0.46em; height: 0.46em; margin-left: 0.16em; vertical-align: 0.04em;
  transform: scale(0) rotate(-50deg); transition: transform 0.75s var(--spring); transition-delay: calc(var(--d) * 1ms); }
.play .title-check { transform: none; }
.title-check svg { width: 100%; height: 100%; overflow: visible; }
.title-check circle { fill: var(--mint); }
.title-check path { fill: none; stroke: var(--ink); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 32; stroke-dashoffset: 32; transition: stroke-dashoffset 0.5s var(--ease); transition-delay: calc(var(--d) * 1ms + 320ms); }
.play .title-check path { stroke-dashoffset: 0; }
#hero-sub .w { display: inline-block; opacity: 0; transform: translateY(0.6em); filter: blur(6px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), filter 0.6s var(--ease); transition-delay: calc(var(--d) * 1ms); }
.play #hero-sub .w { opacity: 1; transform: none; filter: none; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-row.center { justify-content: center; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 176px; height: 58px; padding: 0 22px;
  border-radius: 16px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.store-small { font-size: 11px; line-height: 1.2; opacity: 0.8; }
.store-big { font-size: 20px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.watch { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--mint); font-weight: 700; text-decoration: none; }
.watch::after { content: "↓"; transition: transform 0.3s var(--ease); }
.watch:hover::after { transform: translateY(3px); }

.hero-stage { position: relative; justify-self: center; width: 400px; max-width: 100%; height: 640px; }
.hero-mascot { position: absolute; left: -60px; bottom: -30px; width: 290px; height: 290px; z-index: 2; cursor: pointer; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25)); }
.hero-stage .phone { position: absolute; right: 0; top: 0; }

/* ---------- Phone mock (mirrors the app's chat) ---------- */
.phone {
  --w: 300px;
  width: var(--w); aspect-ratio: 9 / 19.3; border-radius: calc(var(--w) * 0.17); padding: calc(var(--w) * 0.035);
  background: linear-gradient(145deg, #3a4a49, #0c1616 40%, #1c2a29);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 50px 100px rgba(0, 0, 0, 0.45), 0 20px 40px rgba(0, 0, 0, 0.3);
}
.phone-large { --w: 330px; margin-inline: auto; }
.screen {
  position: relative; height: 100%; border-radius: calc(var(--w) * 0.14); overflow: hidden;
  background: linear-gradient(165deg, #163F3E 0%, #2F7A72 55%, #7ED0B4 100%);
  display: flex; flex-direction: column; font-size: 13px;
}
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 32%; height: 24px; border-radius: 20px; background: #000; z-index: 5; }
.app-header { display: flex; align-items: center; gap: 8px; padding: 44px 16px 10px; }
.app-header .mini { width: 34px; height: 34px; }
.app-header strong { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.app-header small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.65); font-weight: 600; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 8px 12px 14px; overflow: hidden; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 18px; line-height: 1.35; animation: msg-in 0.45s var(--ease) both; }
.msg.user { align-self: flex-end; background: #fff; color: #123F3E; border-bottom-right-radius: 6px; }
.msg.user .wave { display: inline-flex; gap: 2px; align-items: center; margin-right: 6px; vertical-align: -2px; }
.msg.user .wave i { width: 3px; border-radius: 3px; background: #2F7A72; animation: eq 0.9s ease-in-out infinite; }
.msg.user .wave i:nth-child(1) { height: 8px; } .msg.user .wave i:nth-child(2) { height: 14px; animation-delay: -0.3s; } .msg.user .wave i:nth-child(3) { height: 10px; animation-delay: -0.6s; }
.msg.bot { align-self: flex-start; background: rgba(22, 63, 62, 0.38); border: 1px solid rgba(255, 255, 255, 0.16); border-bottom-left-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
.card {
  align-self: stretch; padding: 14px; border-radius: 18px; animation: msg-in 0.5s var(--ease) both;
  background: rgba(22, 63, 62, 0.34); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: var(--mint); }
.card-title { margin-top: 4px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.card-sub { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.card-body { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.12); font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.card-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; gap: 10px; }
.card-price { font-size: 22px; font-weight: 800; color: var(--mint); letter-spacing: -0.02em; }
.card-button { flex: 1; text-align: center; padding: 9px 10px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 800; font-size: 12.5px; transition: transform 0.2s; }
.card-button.pressed { transform: scale(0.94); }
.card-done { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--mint); font-size: 12.5px; }
.card-done::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.5 8.2 7 10.6l4.6-5" stroke="%23123F3E" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 100%; }
.inputbar { display: flex; align-items: center; gap: 8px; margin: 0 12px 16px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(22, 63, 62, 0.3); border: 1px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.8); font-size: 12px; }
.inputbar span { flex: 1; }
.mic { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; transition: transform 0.3s; }
.mic.on { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(191, 240, 220, 0.25); }
.mic::before { content: ""; width: 8px; height: 13px; border-radius: 5px; background: var(--ink); }

/* Payment sheet with Face ID */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 18px 16px 22px; border-radius: 24px 24px 0 0;
  background: rgba(14, 43, 42, 0.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transform: translateY(105%); transition: transform 0.5s var(--ease); }
.sheet.open { transform: none; }
.sheet .grab { width: 36px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.3); margin: 0 auto 14px; }
.sheet .rows { display: grid; gap: 8px; margin: 12px 0 14px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; }
.sheet .rows div { display: flex; justify-content: space-between; gap: 10px; color: rgba(255, 255, 255, 0.7); }
.sheet .rows b { color: #fff; }
.sheet .rows .total b { color: var(--mint); font-size: 18px; }
.opening { display: grid; justify-items: center; gap: 12px; padding: 10px 0 8px; }
.store-mark { padding: 10px 18px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.2); border-top-color: var(--mint); animation: spin 0.8s linear infinite; }
.opening-text { font-weight: 700; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
@keyframes spin { to { transform: rotate(360deg); } }
.faceid-mini { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 800; font-size: 13px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.dark { background: var(--app-gradient); }
.light { background: var(--paper); color: var(--ink); color-scheme: light; }
.light :focus-visible { outline-color: var(--teal-500); }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.number { padding: 28px 24px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 rgba(15, 46, 45, 0.06), 0 16px 40px rgba(15, 46, 45, 0.06); }
.number strong { display: block; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em;
  background: linear-gradient(120deg, var(--teal-700), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.number span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.35; }

.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 44px auto 0; padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.tab { position: relative; overflow: hidden; border: 0; padding: 10px 18px; border-radius: 999px; background: none; color: rgba(255, 255, 255, 0.72); font-weight: 700; font-size: 15px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); }
.tab .progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--teal-500); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 18px; padding: 22px; border-radius: 24px; border: 1px solid transparent; opacity: 0.45; transition: opacity 0.4s, background 0.4s, border-color 0.4s; }
.step.active { opacity: 1; background: var(--glass); border-color: var(--glass-line); }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--ink); font-weight: 800; }
.step h3 { margin: 4px 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--white-2); font-size: 16px; }
.scene-caption { margin: 12px 0 0; min-height: 3em; font-size: 18px; font-weight: 600; color: var(--mint); }

.voice { background: var(--app-gradient); }
.voice-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.voice-mascot { width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; max-width: 40em; display: grid; gap: 14px; font-size: 18px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path d="M6.5 11.3 9.6 14.3l6-6.6" stroke="%23123F3E" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 100%; }

.family-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.family-body { color: var(--ink-2); }
.family-ticks li { color: var(--ink); }
.family-note { margin: 22px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.family-stage { position: relative; min-height: 420px; display: grid; place-items: center; border-radius: var(--radius-l);
  background: var(--app-gradient); box-shadow: 0 30px 60px rgba(15, 46, 45, 0.18); overflow: hidden; }
.family-mascot { width: 280px; height: 280px; }
.notif { position: absolute; left: 20px; right: 20px; top: 22px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: notif-in 6s var(--ease) infinite; }
.notif img { border-radius: 10px; flex: none; }
.notif p { margin: 0; }
.notif-who { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.notif-text { margin-top: 2px !important; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
@keyframes notif-in { 0%, 8% { opacity: 0; transform: translateY(-16px); } 16%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-16px); } }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.bento .tile { grid-column: span 2; }
.bento .tile:nth-child(4), .bento .tile:nth-child(5) { grid-column: span 3; }
.tile { padding: 34px; border-radius: var(--radius-l); background: #fff; box-shadow: 0 1px 0 rgba(15, 46, 45, 0.06), 0 20px 50px rgba(15, 46, 45, 0.07); }
.tile h3 { margin: 0; font-size: 26px; line-height: 1.12; letter-spacing: -0.025em; }
.tile p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }
.bento .tile-wide { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; }
.tile-dark { background: linear-gradient(160deg, var(--teal-700), var(--teal-500)); color: #fff; }
.tile-dark p { color: var(--white-2); }
.tile-dark h3 { font-size: clamp(30px, 3.4vw, 44px); }
.faceid { position: relative; width: 132px; height: 132px; margin-bottom: auto; color: var(--mint); overflow: hidden; border-radius: 20px; }
.faceid svg { width: 100%; height: 100%; }
.tile-dark { position: relative; overflow: hidden; }
.tile-sheet { position: absolute; top: 34px; right: 34px; width: 260px; padding: 18px; border-radius: 22px; color: #fff;
  background: rgba(11, 37, 36, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); transform: rotate(3deg); }
.ts-row { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.ts-row b { color: var(--mint); font-size: 20px; }
.faceid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(191, 240, 220, 0.5), transparent) 0 -120px / 100% 60px no-repeat; animation: scanline 2.4s var(--ease) infinite; }


.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.compare-col { position: relative; padding: 36px; border-radius: var(--radius-l); overflow: hidden; }
.compare-mascot { position: absolute; right: 18px; bottom: 6px; width: 190px; height: 190px; }
.compare-col.old { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.compare-col.new { background: linear-gradient(160deg, rgba(191, 240, 220, 0.2), rgba(126, 208, 180, 0.08)); border: 1px solid rgba(191, 240, 220, 0.35); }
.compare-label { margin: 0; font-weight: 800; font-size: 15px; letter-spacing: 0.01em; color: var(--white-2); }
.compare-col.new .compare-label { color: var(--mint); }
.compare ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.compare li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; font-size: 18px; }
.compare li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, 0.1); }
.old li { color: rgba(255, 255, 255, 0.55); }
.new li { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.new li::before { background: var(--mint); color: var(--ink); }
.compare-total { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-weight: 700; color: var(--white-2); }
.new .compare-total { color: var(--mint); }

.languages { overflow: hidden; }
.marquee { margin-top: 56px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.hello { display: flex; align-items: center; gap: 14px; padding: 18px 26px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(15, 46, 45, 0.07); white-space: nowrap; }
.hello img { width: 34px; height: 24px; border-radius: 4px; }
.hello b { font-size: 22px; letter-spacing: -0.02em; }
.hello span { color: var(--ink-2); font-weight: 600; }

.privacy { background: var(--app-gradient); }
.lock { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 24px; background: linear-gradient(160deg, var(--mint), var(--teal-300)); display: grid; place-items: center; }
.lock svg { width: 40px; height: 40px; }

.faq { width: min(100%, 900px); margin: 48px auto 0; border-top: 1px solid rgba(15, 46, 45, 0.12); }
.faq details { border-bottom: 1px solid rgba(15, 46, 45, 0.12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: 20px; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 4px 26px; max-width: 42em; color: var(--ink-2); font-size: 17px; }

.final { background: var(--app-gradient); }
.final-mascot { width: 320px; height: 320px; margin: 0 auto 10px; cursor: pointer; }

.footer { background: var(--teal-900); color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 28px 0 40px; }
.footer .brand { font-size: 15px; color: #fff; }
.footer p { margin: 0; }
.footnote { flex: 1 1 320px; text-align: center; }


/* ---------- Hero chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 9px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-line); }
.chips li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.5 8.2 7 10.6l4.6-5" stroke="%23123F3E" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 100%; }

/* ---------- Calls ---------- */
.calls-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.calls-body { color: var(--ink-2); }
.call-modes { display: grid; gap: 12px; margin-top: 30px; }
.call-mode { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(15, 46, 45, 0.06), 0 14px 36px rgba(15, 46, 45, 0.07); }
.call-mode h3 { margin: 2px 0 4px; font-size: 19px; letter-spacing: -0.015em; }
.call-mode p { margin: 0; color: var(--ink-2); font-size: 16px; }
.call-icon { flex: none; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: linear-gradient(160deg, var(--teal-700), var(--teal-500)); color: var(--mint); }
.call-phone { margin-inline: auto; }
.call-screen { color: #fff; }
.call-top { display: grid; justify-items: center; gap: 2px; padding: 58px 16px 8px; text-align: center; }
.call-avatar { width: 92px; height: 92px; margin-bottom: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 0 rgba(191, 240, 220, 0.5); }
.call-phone.ringing .call-avatar { animation: ring 1.2s var(--ease) infinite; }
.call-top strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.call-who { font-size: 13px; color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.call-status { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--mint); min-height: 1.4em; }
.call-lines { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 8px 14px; overflow: hidden; }
.call-lines p { margin: 0; padding: 9px 12px; border-radius: 16px; background: rgba(22, 63, 62, 0.42); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 12.5px; line-height: 1.35; animation: msg-in 0.45s var(--ease) both; }
.call-keys { display: flex; justify-content: center; gap: 26px; padding: 12px 0 30px; }
.call-key { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; background: rgba(255, 255, 255, 0.16); transition: background 0.2s, transform 0.2s, color 0.2s; }
.call-key.pressed { background: var(--mint); color: var(--ink); transform: scale(0.92); }
.call-toast { position: absolute; left: 12px; right: 12px; top: 44px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink); font-weight: 700; font-size: 13px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  opacity: 0; transform: translateY(-14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.call-toast img { border-radius: 8px; flex: none; }
.call-toast.show { opacity: 1; transform: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(191, 240, 220, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(191, 240, 220, 0); } }

/* ---------- Who it's for ---------- */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 64px 0 44px; }
.persona { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-l); background: var(--glass); border: 1px solid var(--glass-line); }
.persona h3 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.persona p { margin: 10px 0 18px; color: var(--white-2); font-size: 17px; }
.persona q { margin-top: auto; quotes: none; font-weight: 800; font-size: 18px; color: var(--mint); letter-spacing: -0.01em; }
.pill-big { height: 56px; padding: 0 30px; font-size: 18px; }

/* ---------- Sticky call to action (phones) ---------- */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 10px; border-radius: 20px; background: rgba(11, 37, 36, 0.86); border: 1px solid var(--glass-line);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(140%); transition: transform 0.45s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta img { border-radius: 9px; }
  .sticky-cta span { flex: 1; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
  .footer { padding-bottom: 80px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.6; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes eq { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1.2); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes signal { 0%, 6%, 10%, 14%, 58%, 62%, 100% { opacity: 1; } 4%, 8% { opacity: 0.15; } 12% { opacity: 0.5; } 60% { opacity: 0.3; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes bar-fill { to { transform: scaleX(1); } }
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.12); } }
@keyframes scanline { 0% { background-position: 0 -60px; } 60%, 100% { background-position: 0 140px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .notif { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .kicker-lead, .ch, .title-check, #hero-sub .w { opacity: 1; transform: none; filter: none; transition: none; }
  .title-check path { stroke-dashoffset: 0; transition: none; }
  .role .w { transform: none; filter: none; transition: opacity 0.3s; transition-delay: 0s !important; }
  .rotator-bars i.on::after { animation: none; transform: none; }
  .hero-glow, .kicker-that, .kicker-that::after,
  .marquee-track, .faceid::after, .msg.user .wave i, .typing i, .call-phone.ringing .call-avatar { animation: none; }
}

/* ---------- Responsive ---------- */
/* Wide windows: the hero is one full screen, and the questions use both halves of the page. */
@media (min-width: 981px) {
  .hero { min-height: var(--screen-h, 100vh); }
}
@media (min-width: 1100px) {
  .faq { width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; border-top: 0; }
  .faq details { border-top: 1px solid rgba(15, 46, 45, 0.12); border-bottom: 0; }
}
@media (max-width: 980px) {
  .hero-grid, .how-grid, .voice-grid, .family-grid, .calls-grid { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-stage { height: 600px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-mascot { left: -20px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile, .bento .tile:nth-child(4), .bento .tile:nth-child(5) { grid-column: span 1; }
  .bento .tile-wide { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .how-grid .phone { order: -1; }
  .voice-mascot { width: min(340px, 80%); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }

  .hero-stage .phone { --w: 262px; right: 0; }
  .hero-stage { height: 620px; }
  .hero-mascot { width: 150px; height: 150px; left: -8px; bottom: -6px; }
  .tile-sheet { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .number { padding: 22px 18px; }
  .bento, .compare { grid-template-columns: 1fr; }
  .bento .tile, .bento .tile-wide, .bento .tile:nth-child(4), .bento .tile:nth-child(5) { grid-column: auto; }
  .compare-mascot { width: 130px; height: 130px; }
  .tile { padding: 28px; }
  .compare-col { padding: 26px; }
  .phone-large { --w: 290px; }
  .store { min-width: 0; flex: 1 1 150px; }
}
