/* tasko.works homepage. Follows the system theme; the nav toggle overrides it (data-theme on <html>). */
:root {
  --bg: #FAFAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F0F6;
  --text: #0B0B10;
  --muted: #5F5F6B;
  --hair: rgba(11, 11, 16, 0.08);
  --hair-strong: rgba(11, 11, 16, 0.16);
  --accent: #5A36E3;
  --accent-text: #4A28C9;
  --accent-soft: #F1EDFF;
  --g1: #5B8CFF; --g2: #8466FF; --g3: #B06BFF; --g4: #FF6FB0;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-br: rgba(11, 11, 16, 0.08);
  --glass-shadow: 0 20px 50px -24px rgba(40, 24, 110, 0.35);
  --glow: rgba(108, 71, 255, 0.10);
  --device-bg: #0C0C12;
  --device-shadow: 0 60px 100px -40px rgba(40, 24, 110, 0.45), 0 20px 40px -24px rgba(11, 11, 16, 0.3);
  --store-bg: #0B0B10;
  --store-fg: #FFFFFF;
  --logo-light: inline-block;
  --logo-dark: none;
  --hero-grad: radial-gradient(60% 50% at 50% 92%, rgba(132, 102, 255, 0.62), rgba(132, 102, 255, 0) 70%), radial-gradient(45% 45% at 8% 96%, rgba(91, 140, 255, 0.62), rgba(91, 140, 255, 0) 70%), radial-gradient(45% 45% at 92% 96%, rgba(255, 111, 176, 0.5), rgba(255, 111, 176, 0) 70%);
  --hero-top-glow: radial-gradient(45% 40% at 50% -5%, rgba(132, 102, 255, 0.12), transparent 70%);
  --hero-dots: url(assets/pattern-dark-dots.webp);
  --hero-dots-op: 0.17;
  --reflect-op: 0.22;
  --max: 1200px;
  --gutter: 20px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --display: "Outfit", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light dark;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  --bg: #07070B; --surface: #101016; --surface-2: #17171F; --text: #F4F4F7; --muted: #A3A3AF;
  --hair: rgba(255, 255, 255, 0.08); --hair-strong: rgba(255, 255, 255, 0.16);
  --accent-text: #B9A2FF; --accent-soft: rgba(132, 102, 255, 0.18);
  --glass: rgba(16, 16, 24, 0.6); --glass-br: rgba(255, 255, 255, 0.1); --glass-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  --glow: rgba(132, 102, 255, 0.18);
  --device-shadow: 0 60px 110px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --store-bg: #F4F4F7; --store-fg: #0B0B10;
  --logo-light: none; --logo-dark: inline-block;
  --hero-grad: url(assets/hero-gradient.webp); --hero-dots: url(assets/pattern-light-dots.webp); --hero-dots-op: 0.14; --reflect-op: 0.3; --hero-top-glow: radial-gradient(55% 45% at 50% -8%, rgba(132, 102, 255, 0.32), transparent 70%);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07070B; --surface: #101016; --surface-2: #17171F; --text: #F4F4F7; --muted: #A3A3AF;
    --hair: rgba(255, 255, 255, 0.08); --hair-strong: rgba(255, 255, 255, 0.16);
    --accent-text: #B9A2FF; --accent-soft: rgba(132, 102, 255, 0.18);
    --glass: rgba(16, 16, 24, 0.6); --glass-br: rgba(255, 255, 255, 0.1); --glass-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
    --glow: rgba(132, 102, 255, 0.18);
    --device-shadow: 0 60px 110px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --store-bg: #F4F4F7; --store-fg: #0B0B10;
    --logo-light: none; --logo-dark: inline-block;
    --hero-grad: url(assets/hero-gradient.webp); --hero-dots: url(assets/pattern-light-dots.webp); --hero-dots-op: 0.14; --reflect-op: 0.3; --hero-top-glow: radial-gradient(55% 45% at 50% -8%, rgba(132, 102, 255, 0.32), transparent 70%);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[lang="ur"] { font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", "Geeza Pro", var(--font); }
[lang="ar"] { font-family: "Noto Naskh Arabic", "Geeza Pro", var(--font); }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--accent); color: #fff; border-radius: 10px; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.logo { height: auto; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }
.grad-text { background: linear-gradient(120deg, var(--g1), var(--g3) 55%, var(--g4)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap; transition: transform .2s var(--ease), filter .2s, box-shadow .3s;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-grad { color: #fff; background: linear-gradient(120deg, var(--g2), var(--g3)); box-shadow: 0 10px 28px -12px rgba(132, 102, 255, 0.8); }
.btn-grad:hover { filter: brightness(1.07); box-shadow: 0 14px 34px -12px rgba(132, 102, 255, 0.9); }
.btn-white { color: #2A1C6B; background: #fff; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.4); }
.btn-white:hover { filter: brightness(0.97); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; font-size: 16px; color: var(--accent-text); }
.text-link span { transition: transform .25s var(--ease); display: inline-block; }
.text-link:hover span { transform: translateX(4px); }
.text-link.light { color: #C9B8FF; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 14px; border-radius: 16px;
  background: var(--store-bg); color: var(--store-fg); font-weight: 600; font-size: 17px; line-height: 1.1; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .3s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: .75; letter-spacing: 0; }
.store.soon small { opacity: 1; color: #A993FF; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.cta-row.center { justify-content: center; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--glass-br); border-radius: 18px; box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 12px var(--gutter); pointer-events: none; }
.nav-pill {
  pointer-events: auto; width: min(1120px, 100%); height: 58px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 16px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-br);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.nav.scrolled .nav-pill { box-shadow: 0 12px 40px -18px rgba(20, 10, 60, 0.45); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.brand .logo { width: 26px; }
.nav-links { display: flex; margin-left: 10px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); font-size: 14px; font-weight: 500; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--accent-soft); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.theme-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--text); background: var(--accent-soft); }
.theme-toggle svg { width: 20px; height: 20px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(118px, 17vh, 176px) 0 clamp(120px, 20vw, 260px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: var(--hero-top-glow); }
.hero-grad { position: absolute; inset: -12% 0; background: var(--hero-grad) center bottom / cover no-repeat; will-change: transform; }
.hero-dots { position: absolute; inset: 0; background: var(--hero-dots) center 70% / 1600px auto no-repeat; opacity: var(--hero-dots-op); -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 78%); mask-image: linear-gradient(to top, #000 15%, transparent 78%); will-change: transform; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 1000px; }
.pill.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--hair-strong); background: var(--glass); font-size: 13px; font-weight: 500; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22A355; box-shadow: 0 0 0 0 rgba(34, 163, 85, 0.55); }
.hero h1 { font-size: clamp(58px, 12.5vw, 140px); line-height: 0.92; letter-spacing: -0.048em; margin: 20px auto 22px; }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); max-width: 38em; margin: 0 auto 30px; text-wrap: pretty; }
.hero .cta-row { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px auto 0; font-size: 14px; color: var(--muted); }
.hero-facts li::before { content: "✓"; margin-right: 7px; color: var(--accent-text); font-weight: 600; }

.stage { position: relative; z-index: 1; margin-top: clamp(44px, 7vw, 84px); display: flex; justify-content: center; perspective: 1800px; }
.stage-phone { position: relative; width: min(372px, 64vw); transform-style: preserve-3d; will-change: transform; }
.device { position: relative; background: var(--device-bg); padding: 3%; border-radius: 12% / 5.6%; box-shadow: var(--device-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.device img { width: 100%; height: auto; border-radius: 10% / 4.6%; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; font-size: 14px; line-height: 1.25; }
.float b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.float small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.float .orb-wrap { width: 32px; height: 32px; display: grid; place-items: center; }
.float .orb-wrap canvas { transform: scale(1.4); }
.f1 { left: calc(50% - 420px); top: 14%; }
.f2 { right: calc(50% - 440px); top: 6%; }
.f3 { left: calc(50% - 460px); top: 62%; }
.mini-ring { width: 40px; height: 40px; transform: rotate(-90deg); flex: none; }
.mini-ring circle { fill: none; stroke: var(--surface-2); stroke-width: 4.5; }
.mini-ring .val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: calc(113.1 * (1 - var(--p, 0) / 100)); transition: stroke-dashoffset 1.6s var(--ease); }
.flag { width: 10px; height: 10px; border-radius: 50%; flex: none; margin: 0 6px; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.flag.red { color: #E8484A; background: #E8484A; }
.flag.green { color: #22A355; background: #22A355; }
.flag.amber { color: #E0A020; background: #E0A020; }
.flag.purple { color: #8466FF; background: #8466FF; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding: 16px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track > span { display: inline-flex; align-items: center; gap: 10px; padding-right: 56px; white-space: nowrap; font-size: 15px; color: var(--muted); }
.ticker-track i { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); }
.motion .ticker-track { animation: ticker 52s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { padding: clamp(76px, 10vw, 150px) 0; }
.sec-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.label span { color: var(--muted); }
.label.light { color: #fff; } .label.light span { color: rgba(255, 255, 255, 0.72); }
h2 { font-size: clamp(36px, 5.8vw, 68px); line-height: 1.0; letter-spacing: -0.04em; }
.sub { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; color: var(--muted); margin-top: 18px; text-wrap: pretty; }
.sub a { color: var(--accent-text); font-weight: 500; }
.feature-kicker, .card-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.facts { margin-top: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.facts li::before { content: "—"; margin-right: 8px; color: var(--accent-text); }

/* ---------- Voice console ---------- */
.console {
  position: relative; overflow: hidden; color: #F4F4F7; background: #0A0A12; border-radius: 30px; padding: clamp(22px, 4vw, 40px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(22px, 4vw, 48px); min-height: 440px;
  box-shadow: 0 70px 130px -60px rgba(60, 30, 160, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.console-said, .console-plan { position: relative; z-index: 2; display: flex; flex-direction: column; }
.console-tag { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: #B9B9C6; margin-bottom: 18px; }
.console-tag .muted { color: #6E6E7D; }
.orb-wrap { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; }
.rec { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.rec i { width: 3px; height: 6px; border-radius: 2px; background: #FF6FB0; }
.motion .console:not(.planned):not(.thinking) .rec i { animation: rec 0.9s ease-in-out infinite; }
.rec i:nth-child(2) { animation-delay: .12s; } .rec i:nth-child(3) { animation-delay: .24s; } .rec i:nth-child(4) { animation-delay: .36s; }
.console.planned .rec i, .console.thinking .rec i { background: #8466FF; }
.transcript { font-size: clamp(21px, 2.7vw, 31px); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; min-height: 5.4em; color: #F4F4F7; text-wrap: pretty; }
.transcript[dir="rtl"] { text-align: right; font-size: clamp(22px, 2.9vw, 33px); }
.transcript .clause { transition: color .35s, text-shadow .35s; }
.transcript .clause.on { color: #D9CCFF; text-shadow: 0 0 28px rgba(132, 102, 255, 0.7); }
.motion .console:not(.planned) .transcript::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -0.15em; background: #B9A2FF; animation: blink 1s steps(1) infinite; }
.console.thinking .console-plan .console-tag { color: #D9CCFF; }
.rows { display: grid; gap: 10px; margin-top: auto; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.motion .row { opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.row.in { opacity: 1 !important; transform: none !important; }
.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-main b { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.row-main small { font-size: 12.5px; color: #B9B9C6; }
.due { margin-left: auto; font-size: 13px; color: #B9B9C6; white-space: nowrap; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.av-pink { background: #FCE7F3; color: #9D174D; } .av-teal { background: #E3F4F1; color: #0F6B5F; } .av-amber { background: #FDF4DA; color: #7A4F00; } .av-purple { background: #EDE7FF; color: #4C2DB8; }
.console .av-pink { background: rgba(236, 72, 153, 0.22); color: #F9A8D4; } .console .av-teal { background: rgba(15, 159, 140, 0.22); color: #5EEAD4; } .console .av-amber { background: rgba(212, 160, 23, 0.22); color: #FCD34D; }
.demo-note { text-align: center; color: var(--muted); font-size: 15px; max-width: 46em; margin: 28px auto 0; }

/* ---------- Scroll story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-sticky { position: sticky; top: 96px; height: calc(100svh - 120px); min-height: 520px; display: flex; align-items: center; justify-content: center; }
.story-scene { position: relative; width: min(320px, 78%); }
.story-device { aspect-ratio: 1000 / 2103; }
.story-device img { position: absolute; inset: 3%; width: 94%; height: auto; opacity: 0; transform: scale(0.96) translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.story-device img.show { opacity: 1; transform: none; }
.callout { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; font-size: 13.5px; line-height: 1.25; opacity: 0; transform: translateY(14px) scale(0.95); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.callout b { display: block; font-weight: 600; } .callout small { display: block; color: var(--muted); font-size: 12px; }
.callout.show { opacity: 1; transform: none; }
.c-a { left: -22%; top: 18%; } .c-b { right: -24%; bottom: 24%; }
.story-steps { padding: 6vh 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
.step h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 10px 0 14px; }
.step p:not(.feature-kicker) { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.motion .step { opacity: 0.32; transform: translateX(10px); transition: opacity .5s, transform .5s var(--ease); }
.motion .step.on { opacity: 1; transform: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-12 { grid-column: span 12; }
.bento-card, .panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 30px);
  background: var(--surface); border: 1px solid var(--hair); border-radius: 26px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.bento-card::before, .panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%); }
.bento-card:hover, .panel:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(40, 24, 110, 0.4); border-color: var(--hair-strong); }
.bento-card:hover::before, .panel:hover::before { opacity: 1; }
.bento-card > *, .panel > * { position: relative; }
.bento-card h3, .panel h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.03em; line-height: 1.15; }
.card-foot { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cap { display: flex; align-items: center; gap: 22px; margin-top: 4px; }
.ring { width: 110px; height: 110px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--surface-2); stroke-width: 10; }
.ring .val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: calc(314.16 * (1 - var(--p, 0) / 100)); transition: stroke-dashoffset 1.8s var(--ease); }
.cap-big { font: 700 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: -0.04em; }
.cap-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.people { display: grid; gap: 12px; margin-top: 10px; }
.people li { display: grid; grid-template-columns: 30px 64px 1fr 52px; align-items: center; gap: 12px; font-size: 14.5px; }
.pct { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pct.red { color: #D92D20; } .pct.amber { color: #B06B00; } .pct.green { color: #157F3B; }
.track { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.5s var(--ease); }
.bar.red { background: linear-gradient(90deg, #FF6FB0, #E8484A); } .bar.amber { background: #E0A020; } .bar.green { background: #22A355; } .bar.dark { background: var(--text); }
.pill.tiny { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill.tiny.red { background: #FDECEC; color: #C81E1E; } .pill.tiny.amber { background: #FDF4DA; color: #8A5A00; } .pill.tiny.orange { background: #FDEFE6; color: #B93E0B; } .pill.tiny.purple { background: #F1ECFE; color: #6D3FD6; } .pill.tiny.green { background: #E5F5EA; color: #157F3B; }
.risks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.risks li:last-child { border-bottom: 0; }
.health { display: grid; gap: 14px; margin-top: 6px; }
.health > div { display: grid; grid-template-columns: 88px 1fr 44px; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.health b { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.split-viz { display: grid; justify-items: center; gap: 0; margin-top: 4px; }
.sv-parent { padding: 8px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 14px; }
.sv-lines { width: 100%; max-width: 240px; height: 40px; }
.sv-lines path { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .8; }
.sv-kids { display: flex; gap: 10px; width: 100%; max-width: 240px; justify-content: space-between; }
.sv-kids span { flex: 1; text-align: center; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--hair); font-size: 13px; font-weight: 500; background: var(--surface-2); }
.sv-kids small { display: block; color: var(--muted); font-size: 11.5px; }
.review-viz { display: grid; gap: 10px; margin-top: 4px; }
.review-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--hair); background: var(--surface-2); }
.review-card .row-main small { color: var(--muted); }
.review-actions { display: flex; gap: 8px; }
.rv-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 999px; border: 1px solid var(--hair-strong); font-size: 13.5px; font-weight: 600; }
.rv-btn.primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px rgba(108, 71, 255, 0.8); }
.check { width: 12px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-2px); }
.ask { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.ask-q { display: flex; flex-direction: column; gap: 12px; }
.ask-q h3 { font-size: clamp(24px, 3vw, 36px); }
.ask-a { padding: 22px; border-radius: 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.ask-a .console-tag { color: var(--muted); margin-bottom: 10px; }
.ask-a b { color: var(--text); }
[data-stagger] > li { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion [data-stagger]:not(.in) > li { opacity: 0; transform: translateY(10px); }
[data-stagger] > li:nth-child(2) { transition-delay: .08s; } [data-stagger] > li:nth-child(3) { transition-delay: .16s; } [data-stagger] > li:nth-child(4) { transition-delay: .24s; }
[data-draw] { transition: stroke-dashoffset 1.3s var(--ease); }

/* ---------- Languages + privacy ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel-sub { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.langs { display: grid; gap: 14px; margin-top: 10px; }
.langs li { display: flex; align-items: center; gap: 14px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -0.01em; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); }
.langs [dir="rtl"] { margin-left: auto; text-align: right; }
.lang-tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-text); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--hair); align-self: flex-start; }
.seg span { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.seg .on { background: var(--surface); color: var(--text); box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.3); }
.options { display: grid; gap: 14px; margin-top: 6px; }
.options li { display: grid; gap: 3px; padding-left: 16px; border-left: 2px solid var(--accent-soft); }
.options b { font-weight: 600; font-size: 16px; }
.options span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.options a { color: var(--accent-text); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-line { position: absolute; left: 0; right: 0; top: 24px; width: 100%; height: 40px; pointer-events: none; }
.steps-line path { fill: none; stroke: var(--hair-strong); stroke-width: 2; stroke-dasharray: 2 8; }
.steps li { position: relative; padding: 0 clamp(16px, 2vw, 28px); text-align: center; }
.steps .n { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, var(--g1), var(--g3)); color: #fff; font: 700 18px/1 var(--display); box-shadow: 0 12px 30px -12px rgba(132, 102, 255, 0.9); }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.price {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(30px, 5vw, 60px);
  border-radius: 32px; color: #fff; background: linear-gradient(120deg, #5B8CFF 0%, #8466FF 40%, #B06BFF 72%, #FF6FB0 100%);
  box-shadow: 0 60px 120px -60px rgba(108, 71, 255, 0.7);
}
.price-pattern { position: absolute; inset: 0; background: url(assets/pattern-light-dots.webp) center / 1400px auto; opacity: .5; -webkit-mask-image: linear-gradient(100deg, #000 30%, transparent 85%); mask-image: linear-gradient(100deg, #000 30%, transparent 85%); }
.price-copy, .price .btn { position: relative; }
.price-line { font: 700 clamp(26px, 3.6vw, 44px)/1.1 var(--display); letter-spacing: -0.03em; max-width: 16em; text-wrap: balance; }
.price-sub { margin-top: 12px; color: rgba(255, 255, 255, 0.85); font-size: 16px; max-width: 36em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-grid .sec-head { text-align: left; margin: 0; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--hair-strong); transition: transform .35s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--text); transform: translate(-50%, -50%); }
.faq summary i::before { width: 10px; height: 1.5px; } .faq summary i::after { width: 1.5px; height: 10px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent-soft); }
.faq details > div { overflow: hidden; transition: height .45s var(--ease); }
.faq details p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; font-size: 15.5px; }
.faq details a { color: var(--accent-text); font-weight: 500; }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; margin-top: clamp(20px, 4vw, 40px); padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); background: #07070B; color: #F4F4F7; text-align: center; border-radius: 40px 40px 0 0; }
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.final-grad { position: absolute; inset: -14% 0; background: url(assets/hero-gradient.webp) center bottom / cover no-repeat; will-change: transform; }
.final-inner { position: relative; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final-logo { width: clamp(72px, 9vw, 108px); height: auto; filter: drop-shadow(0 24px 40px rgba(132, 102, 255, 0.55)); }
.motion .final-logo.in { animation: float 6s ease-in-out infinite alternate; }
.final h2 { font-size: clamp(40px, 7.5vw, 92px); letter-spacing: -0.045em; }
.final p { font-size: clamp(16px, 1.9vw, 19px); color: #B9B9C6; max-width: 38em; }
.final .store { background: #F4F4F7; color: #0B0B10; }

/* ---------- Footer ---------- */
.footer { padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); background: #07070B; color: #B9B9C6; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer .brand { color: #F4F4F7; font-size: 17px; }
.footer .brand .logo-light { display: none; } .footer .brand .logo-dark { display: inline-block; width: 22px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.footer nav a:hover { color: #fff; }
.footer .copy { margin-left: auto; font-size: 13px; }

/* ---------- Motion ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion-ready [data-words] .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(8px); transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.motion-ready [data-words].in .w { opacity: 1; transform: none; filter: none; }
.motion .live-dot { animation: pulse 2.2s ease-out infinite; }
.motion .float { animation: float 6s ease-in-out infinite alternate; }
.motion .f2 { animation-delay: -2s; } .motion .f3 { animation-delay: -4s; }
.motion .hero .stage.in .float { animation-play-state: running; }
@keyframes float { from { translate: 0 -6px; } to { translate: 0 8px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 163, 85, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(34, 163, 85, 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
@keyframes rec { 0%, 100% { height: 5px; } 50% { height: 14px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .f1 { left: 2%; } .f2 { right: 2%; } .f3 { left: 4%; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .nav-pill { height: 54px; }
  .console { grid-template-columns: 1fr; min-height: 0; }
  .transcript { min-height: 4.4em; }
  .rows { margin-top: 0; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-sticky { position: sticky; top: 64px; z-index: 2; height: 50svh; min-height: 380px; background: linear-gradient(to bottom, var(--bg) 70%, transparent); }
  .story-scene { width: min(200px, 46%); }
  .callout { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .c-a { left: -26%; top: 14%; } .c-b { right: -30%; bottom: 20%; }
  .story-steps { padding: 2vh 0 0; }
  .step { min-height: 0; padding: 32px 0 40px; }
  .motion .step { transform: translateY(8px); opacity: .5; }
  .span-7, .span-5 { grid-column: span 12; }
  .span-4 { grid-column: span 6; }
  .ask { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps-line { display: none; }
  .steps li { text-align: left; padding: 0; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; }
  .steps .n { grid-row: 1 / span 2; margin: 0; }
  .price { grid-template-columns: 1fr; }
  .price .btn { justify-self: start; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 104px; padding-bottom: 150px; }
  .hero h1 { font-size: clamp(54px, 17vw, 76px); }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .store { justify-content: center; }
  .hero .text-link { justify-content: center; }
  .stage { margin-top: 36px; }
  .stage-phone { width: 70vw; }
  .f1 { left: -6px; top: 10%; } .f2 { right: -6px; top: 50%; } .f3 { display: none; }
  .float { padding: 10px 12px 10px 10px; font-size: 13px; }
  .span-4 { grid-column: span 12; }
  .people li { grid-template-columns: 28px 56px 1fr 46px; gap: 10px; }
  .health > div { grid-template-columns: 76px 1fr 40px; }
  .final { border-radius: 28px 28px 0 0; }
  .final .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .final .store { justify-content: center; }
  .footer .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none !important; }
}

/* ---------- Voice section: the brand gradient, like the closing section ---------- */
.voice-sec { position: relative; overflow: hidden; background: #07070B; color: #F4F4F7; border-radius: 40px; margin: clamp(32px, 5vw, 64px) clamp(0px, 1.5vw, 16px) 0; }
.voice-bg { position: absolute; inset: 0; pointer-events: none; }
.voice-grad { position: absolute; inset: -14% 0; background: url(assets/hero-gradient.webp) center bottom / cover no-repeat; opacity: .9; will-change: transform; }
.voice-sec .wrap { position: relative; }
.voice-sec .label { color: #C9B8FF; } .voice-sec .label span { color: rgba(255, 255, 255, 0.6); }
.voice-sec .sub, .voice-sec .demo-note { color: #C4C4D0; }
.voice-sec .console { background: rgba(8, 8, 14, 0.72); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.voice-sec + .ticker, .ticker + .voice-sec { margin-top: 0; }
@media (max-width: 640px) { .voice-sec { border-radius: 28px; margin: 0 8px; } }
