:root {
  --bg: #f4f1ea;
  --bg-2: #ece8de;
  --panel: #fcfbf8;
  --text: #1a1a19;
  --muted: #6b6a66;
  --faint: #9b9993;
  --border: #e3dfd5;
  --black: #1b1b1b;
  --dark: #161615;
  --lavender: #ebe0ff;
  --lav-ink: #4a2f9e;
  --accent: #7c5cd6;
  --peach: #f0a35e;
  --peach-soft: #fde7d1;
  --mint-soft: #dcefe4;
  --sky-soft: #dde9f7;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --deva: "Noto Sans Devanagari", var(--sans);
  --radius: 22px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[lang="hi"], [lang="sa"] { font-family: var(--deva); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
kbd {
  font-family: var(--sans);
  font-size: .85em;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--panel);
}
em { font-style: italic; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.mark {
  width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 50%, var(--panel) 0 3.4px, transparent 3.9px),
    conic-gradient(from 210deg, var(--accent), var(--peach), var(--accent));
}
.mark-lg { width: 56px; height: 56px; border-radius: 17px; background:
    radial-gradient(circle at 50% 50%, var(--panel) 0 8px, transparent 8.6px),
    conic-gradient(from 210deg, var(--accent), var(--peach), var(--accent)); margin-bottom: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 500; font-size: 15px; line-height: 1;
  padding: 13px 22px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--black); color: #fff; box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--text); }
.btn-ghost { background: transparent; border-color: #cfcabe; color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.6); }
.btn small { display: block; font-size: 12px; font-weight: 400; opacity: .7; margin-top: 4px; }
.btn > span { text-align: left; }
.is-disabled { opacity: .55; cursor: default; }
.is-disabled:hover { transform: none; background: transparent; }
.os-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg .os-icon { width: 20px; height: 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: #3d3c39; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9vw, 120px); line-height: .95; letter-spacing: -.025em;
  margin: 0;
}
.display em { color: var(--accent); }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.02em;
  margin: 0 0 48px;
}
.h2 em { color: var(--accent); }
.light { color: #fff; }
.h2.light em, .display.light em { color: #c9b8ff; }
.center { text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #4a4945; max-width: 620px; margin: 28px auto 0; }
.lede.light { color: rgba(255,255,255,.72); }
.body-lg { font-size: 18px; color: #4a4945; margin: 0 0 24px; }
.fine { font-size: 13px; color: var(--faint); margin: 16px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 820px; z-index: -1;
  background:
    radial-gradient(520px 340px at 18% 30%, rgba(240,163,94,.18), transparent 70%),
    radial-gradient(560px 380px at 85% 20%, rgba(124,92,214,.16), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: #4a4945; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.6); border: 1px solid var(--border); margin: 0 0 32px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(124,92,214,.18); }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- demo ---------- */
.demo { position: relative; max-width: 880px; margin: 64px auto 0; padding-top: 62px; }
.window {
  position: relative; text-align: left; background: var(--panel);
  border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 50px 100px -40px rgba(60, 40, 20, .35), 0 20px 40px -30px rgba(0,0,0,.25);
  overflow: hidden;
}
.win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border); background: #f7f5f0; }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #e2ded5; }
.win-title { font-size: 13px; font-weight: 500; color: var(--muted); }
.win-body { display: grid; grid-template-columns: 230px 1fr; min-height: 330px; }
.win-side { border-right: 1px solid var(--border); padding: 12px; background: #faf8f4; }
.side-item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; }
.side-item.active { background: var(--lavender); }
.side-item b { display: block; font-size: 14px; font-weight: 600; }
.side-item small { display: block; font-size: 12.5px; color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; flex-shrink: 0; }
.a1 { background: #7c5cd6; } .a2 { background: #e08a4a; } .a3 { background: #4f8f74; }
.win-main { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; gap: 20px; }
.bubble { max-width: 70%; padding: 11px 15px; border-radius: 18px; font-size: 15px; }
.bubble.in { background: var(--bg-2); border-bottom-left-radius: 6px; }
.composer {
  min-height: 92px; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px;
  background: #fff; font-size: 16px; line-height: 1.5;
  box-shadow: 0 0 0 4px rgba(124,92,214,.0); transition: box-shadow .3s;
}
.demo[data-active="1"] .composer { box-shadow: 0 0 0 4px rgba(124,92,214,.12); border-color: #cdbff3; }
.typed .w { animation: wordIn .35s ease both; }
@keyframes wordIn { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* the floating pill, like the app's overlay */
.pill {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, 0); z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 10px; border-radius: 999px;
  background: #121212; color: #fff; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.55);
  transition: padding .3s ease;
}
.pill-static { position: relative; top: auto; left: auto; transform: none; }
.orb {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, #fff 0 8%, #c9b8ff 30%, #7c5cd6 62%, #f0a35e 100%);
  box-shadow: 0 0 16px rgba(160, 130, 255, .55);
}
.pill[data-state="listening"] .orb { animation: orb 1.6s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(1.12); box-shadow: 0 0 24px rgba(160,130,255,.9); } }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.85); }
.pill[data-state="listening"] .wave i, .mini-pill .wave i { animation: bar 1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s !important; }
.wave i:nth-child(3n) { animation-delay: -.55s !important; }
.wave i:nth-child(5n) { animation-delay: -.8s !important; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.pill[data-state="idle"] .wave, .pill[data-state="done"] .wave { display: none; }
.pill[data-state="done"] .orb { background: radial-gradient(circle, #fff 0 20%, #7fcfa4 45%, #2f7a55 100%); box-shadow: 0 0 14px rgba(127,207,164,.6); }

.keycap {
  position: absolute; right: -14px; bottom: -26px; z-index: 4;
  width: 76px; height: 70px; border-radius: 14px;
  background: linear-gradient(#fff, #f1eee7); border: 1px solid #d8d3c8;
  box-shadow: 0 6px 0 #d4cfc4, 0 18px 30px -12px rgba(0,0,0,.3);
  display: grid; place-items: center; font-size: 18px; color: #3d3c39;
  transition: transform .12s, box-shadow .12s;
}
.keycap.down { transform: translateY(5px); box-shadow: 0 1px 0 #d4cfc4, 0 8px 20px -12px rgba(0,0,0,.3); background: linear-gradient(#f4f0ff, #e6dcff); color: var(--lav-ink); }

/* ---------- strip ---------- */
.strip { padding: 64px 0 24px; text-align: center; }
.strip-title { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: inline-flex; gap: 14px; animation: marquee 40s linear infinite; white-space: nowrap; }
.marquee-track span { padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.5); font-size: 15px; color: #3d3c39; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 28px; }
.step-art { height: 210px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; overflow: hidden; position: relative; }
.art-hold { background: linear-gradient(160deg, #efe7ff, #f8f4ec); }
.art-speak { background: linear-gradient(160deg, #1b1b1b, #2a2540); align-content: center; gap: 16px; }
.art-done { background: linear-gradient(160deg, #fdeedd, #f6f2ea); }
.big-key {
  width: 104px; height: 96px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(#fff, #f1eee7); border: 1px solid #d8d3c8; font-size: 24px; color: #3d3c39;
  box-shadow: 0 7px 0 #d4cfc4, 0 22px 30px -14px rgba(0,0,0,.35);
  animation: press 2.4s ease-in-out infinite;
}
@keyframes press { 0%, 20%, 100% { transform: translateY(0); box-shadow: 0 7px 0 #d4cfc4, 0 22px 30px -14px rgba(0,0,0,.35); } 30%, 80% { transform: translateY(6px); box-shadow: 0 1px 0 #d4cfc4, 0 10px 20px -14px rgba(0,0,0,.35); } }
.mini-pill { display: inline-flex; gap: 10px; align-items: center; padding: 9px 16px 9px 10px; border-radius: 999px; background: #0d0d0d; border: 1px solid rgba(255,255,255,.08); margin: 0 auto; }
.mini-pill .orb { animation: orb 1.6s ease-in-out infinite; }
.live { color: rgba(255,255,255,.8); font-size: 15px; margin: 0; text-align: center; padding: 0 20px; }
.mini-field { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 15px; width: 82%; box-shadow: 0 14px 30px -18px rgba(60,40,20,.35); }
.step-n { font-family: var(--serif); font-size: 22px; color: var(--accent); padding: 0 8px; }
.step h3 { font-size: 21px; font-weight: 600; margin: 6px 8px 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); margin: 0 8px; }

/* stats */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--panel); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 20px; text-align: center; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.card h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 44px; }
.card-wide h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; margin-bottom: 14px; }
.card-wide p { font-size: 17px; }
.card-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.card-dark p { color: rgba(255,255,255,.65); }
.card-art { border-radius: 18px; min-height: 230px; display: grid; place-items: center; }
.live-art { background: linear-gradient(150deg, #efe7ff, #fdeedd); align-content: center; gap: 22px; padding: 30px; }
.live-words { margin: 0; font-size: 22px; font-weight: 500; text-align: center; color: var(--text) !important; }
.live-words .dim { color: var(--faint); }
.icon-chip { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; }
.icon-chip svg { width: 24px; height: 24px; }
.lav { background: var(--lavender); color: var(--lav-ink); }
.peach { background: var(--peach-soft); color: #8a4b12; }
.mint { background: var(--mint-soft); color: #2f6b50; }
.sky { background: var(--sky-soft); color: #2d5a8f; }

.insights-art { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); grid-template-columns: auto 1fr; gap: 28px; padding: 28px; }
.gauge { position: relative; width: 170px; text-align: center; }
.gauge svg { width: 170px; }
.gauge-fill { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.in-view .gauge-fill { stroke-dashoffset: 26; }
.gauge b { display: block; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; margin-top: -34px; }
.gauge small { color: rgba(255,255,255,.55); font-size: 13px; }
.streak { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; width: 100%; }
.streak i { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.08); }
.streak i.l1 { background: #5c4b96; } .streak i.l2 { background: #7459c6; } .streak i.l3 { background: #9478e8; } .streak i.l4 { background: #bfadf7; }

/* languages */
.lang-section { background: linear-gradient(180deg, var(--bg), #efe9dd); }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lang-grid .h2 { margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%234a2f9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.lang-cards { display: grid; gap: 16px; }
.say { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.say p { margin: 6px 0 14px; color: var(--muted); font-style: italic; }
.say p.out { margin-bottom: 0; color: var(--text); font-style: normal; font-weight: 500; }
.say p[lang="hi"] { font-style: normal; }
.tag { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.tag-out { color: var(--accent); }

/* dark band */
.dark-band { background: var(--dark); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(124,92,214,.35), transparent 65%); }
.dark-inner { position: relative; }
.dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dark-item { border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; }
.dark-num { display: block; font-family: var(--serif); font-size: 32px; margin-bottom: 10px; }
.dark-item p { color: rgba(255,255,255,.65); margin: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 600; margin: 0; }
.price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.price span { color: var(--muted); }
.plan-sub { color: var(--muted); margin: 0 0 26px; }
.plan .checks { margin-bottom: 32px; flex: 1; }
.plan-pro { background: linear-gradient(165deg, #f1eaff 0%, var(--panel) 55%); border-color: #d9cdf7; }
.badge { position: absolute; top: 30px; right: 30px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--black); color: #fff; }

/* download */
.download { padding-top: 40px; }
.dl-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: 32px; padding: 64px;
  background-image: radial-gradient(500px 300px at 0% 0%, rgba(124,92,214,.10), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(240,163,94,.12), transparent 70%);
}
.dl-card .h2 { margin-bottom: 14px; }
.dl-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.install { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.install li { counter-increment: s; position: relative; padding-left: 46px; color: var(--muted); }
.install li b { color: var(--text); font-weight: 600; }
.install li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--lavender); color: var(--lav-ink);
}

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 620px; }

/* final */
.final { background: var(--dark); padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 600px; background: radial-gradient(600px 300px at 30% 50%, rgba(240,163,94,.22), transparent 70%), radial-gradient(600px 300px at 70% 50%, rgba(124,92,214,.32), transparent 70%); }
.final-inner { position: relative; }
.final .btn { margin-top: 40px; }

/* footer */
.footer { background: var(--dark); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.08); padding: 40px 0; }
.footer .brand { color: #fff; }
.footer .mark { background: radial-gradient(circle at 50% 50%, var(--dark) 0 3.4px, transparent 3.9px), conic-gradient(from 210deg, var(--accent), var(--peach), var(--accent)); }
.foot-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.foot-dev { margin: 6px 0 0; font-size: 13px; }
.foot-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-copy { font-size: 13px; margin: 0; width: 100%; color: rgba(255,255,255,.45); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
  .nav-links a { padding: 12px 0; }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: grid; gap: 6px; place-content: center; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; margin-left: -12px; }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav .btn-sm { margin-left: auto; }
  .steps, .dark-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-template-columns: 1fr; padding: 32px; }
  .lang-grid, .faq-wrap, .dl-card { grid-template-columns: 1fr; gap: 40px; }
  .dl-card { padding: 40px 28px; }
  .plans { grid-template-columns: 1fr; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .section, .dark-band { padding: 80px 0; }
  .hero { padding-top: 48px; }
  .eyebrow { font-size: 12px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide h3 { font-size: 32px; }
  .insights-art { grid-template-columns: 1fr; justify-items: center; }
  .streak { width: 100%; }
  .keycap { right: 6px; width: 60px; height: 56px; font-size: 15px; }
  .pill-label { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stat b { font-size: 42px; }
  .final { padding: 100px 0; }
  .foot-links { margin-left: 0; flex-wrap: wrap; }
  .nav .btn-sm .js-dl-label { display: none; }
}

/* ---------- account ---------- */
.nav-account { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: inline-grid; place-items: center; font-weight: 600; color: var(--lav-ink); background: var(--lavender); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 26px; height: 26px; font-size: 12px; }
.avatar-lg { width: 72px; height: 72px; font-size: 28px; }
.btn-google { background: #fff; color: var(--text); border-color: #d9d4c8; box-shadow: 0 10px 24px -16px rgba(60,40,20,.45); }
.btn-google:hover { background: #fff; border-color: #bdb7aa; }
.btn-google:disabled { opacity: .6; cursor: default; transform: none; }
.g-logo { width: 20px; height: 20px; flex-shrink: 0; }

.account-page { display: flex; flex-direction: column; min-height: 100vh; }
.acct-main { flex: 1; padding: 64px 0 96px; background:
  radial-gradient(520px 340px at 10% 0%, rgba(240,163,94,.16), transparent 70%),
  radial-gradient(560px 380px at 95% 10%, rgba(124,92,214,.14), transparent 70%); }
.acct-card { background: var(--panel); border: 1px solid var(--border); border-radius: 26px; padding: 36px; }
.acct-center { max-width: 480px; margin: 40px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 52px 40px; box-shadow: 0 40px 80px -50px rgba(60,40,20,.45); }
.acct-center .mark-lg { margin-bottom: 26px; }
.acct-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 52px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 12px; }
.acct-title em, .acct-hello em { color: var(--accent); }
.acct-muted { color: var(--muted); margin: 0 0 28px; }
.acct-center .btn { width: 100%; }
.acct-error { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: #fbe4df; color: #9c2f1c; font-size: 14px; }
.acct-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--lavender); border-top-color: var(--accent); animation: acctSpin .8s linear infinite; margin-bottom: 16px; }
@keyframes acctSpin { to { transform: rotate(360deg); } }
.acct-hello { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -.02em; margin: 0 0 36px; }
.acct-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.acct-profile { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; grid-row: span 2; align-content: start; }
.acct-who h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.acct-who .acct-muted { margin: 2px 0 0; overflow-wrap: anywhere; }
.acct-plan { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-2); }
.acct-plan.pro { background: var(--black); color: #fff; }
.acct-facts { grid-column: 1 / -1; margin: 12px 0 8px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.acct-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.acct-facts dt { color: var(--muted); }
.acct-facts dd { margin: 0; font-weight: 500; text-align: right; }
.acct-profile .btn { grid-column: 1 / -1; justify-self: start; }
.acct-sub { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0 0 20px; }
.acct-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.acct-dark .install li { color: rgba(255,255,255,.65); }
.acct-dark .install li b { color: #fff; }
.acct-dark .install { margin-bottom: 28px; }
.acct-pro { position: relative; background: linear-gradient(165deg, #f1eaff 0%, var(--panel) 60%); border-color: #d9cdf7; }
.acct-pro .acct-muted { margin: 0; }
.acct-pro .badge { top: 26px; right: 26px; }
.account-page .footer .foot-copy { width: auto; margin-left: auto; }
code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--bg-2); }
@media (max-width: 860px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-profile { grid-row: auto; }
}
@media (max-width: 600px) {
  .acct-card { padding: 26px 22px; }
  .acct-center { padding: 40px 24px; }
  .acct-profile { grid-template-columns: auto 1fr; }
  .acct-plan { grid-column: 1 / -1; justify-self: start; }
}
