/* Stylesheet for index.html and downloads.html. Older pages still use
   styles.css; this file is self-contained so changes here cannot break them.
   Brand colours are sampled from flash-icon.png. The bright --teal/--orange
   are for fills and glows; the darker --*-ink versions are for text, because
   the bright ones are too light to read on a white page. */

:root {
  --bg: #fbfdfc;
  --bg-2: #f2f8f6;
  --card: #ffffff;
  --surface: rgba(16, 52, 44, 0.03);
  --surface-2: rgba(16, 52, 44, 0.06);
  --line: rgba(16, 52, 44, 0.09);
  --line-2: rgba(16, 52, 44, 0.16);
  --text: #10221f;
  --muted: #5a6e6a;
  --dim: #8a9b98;
  --teal: #52cf9f;
  --teal-2: #4ecdc4;
  --orange: #ff7300;
  --orange-2: #ff9a3d;
  --teal-ink: #0f9a6c;
  --orange-ink: #e2620a;
  --grad: linear-gradient(100deg, var(--teal) 0%, var(--teal-2) 35%, var(--orange-2) 70%, var(--orange) 100%);
  --grad-ink: linear-gradient(100deg, #0f9a6c 0%, #14a69c 35%, #f07a1a 70%, #e05800 100%);
  --shadow: 0 1px 2px rgba(16, 52, 44, .04), 0 12px 40px -12px rgba(16, 52, 44, .14);
  --radius: 22px;
  --display: 'Bricolage Grotesque', 'IBM Plex Sans', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Things that imitate a real app window stay dark on the light page. */
.dark-scope, .stage, .proof__frame, .smartscreen {
  --text: #eef3f2;
  --muted: #8d9a98;
  --dim: #5b6664;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* The design was tuned at 80% browser zoom on laptop screens, so desktop renders
   at that scale by default. Phones and tablets keep 100% (text would get too small).
   home.js divides pointer offsets by this zoom; keep the two in sync. */
@media (min-width: 1100px) { html { zoom: 0.8; } }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--text); font-weight: 500; }
::selection { background: var(--orange); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }

.grad {
  background: var(--grad-ink);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  animation: gradShift 8s ease-in-out infinite;
}
.grad--alt { background-image: linear-gradient(100deg, #e05800 0%, #f07a1a 40%, #14a69c 80%, #0f9a6c 100%); }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ── Ambient background ───────────────────────────────────── */
.bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(82, 207, 159, .14), rgba(255, 115, 0, .06) 40%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  border-radius: 999px; padding: 13px 24px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--glow {
  color: #0b1f1a;
  background: linear-gradient(100deg, var(--teal), var(--orange-2) 60%, var(--orange));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 10px 30px -8px rgba(255, 115, 0, .5), 0 0 40px -16px rgba(82, 207, 159, .7);
}
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 16px 40px -8px rgba(255, 115, 0, .6), 0 0 60px -10px rgba(82, 207, 159, .7); }
.btn--ghost { color: var(--text); background: var(--card); box-shadow: 0 0 0 1px var(--line-2) inset, var(--shadow); }
.btn--ghost:hover { background: #fff; box-shadow: 0 0 0 1px var(--teal) inset, var(--shadow); }
.btn--off { color: var(--dim); background: var(--surface-2); cursor: not-allowed; pointer-events: none; }
.play-ico { width: 0; height: 0; border-left: 9px solid var(--orange); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.dl-ico { width: 16px; height: 16px; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 16px; }
.nav__shell {
  max-width: 1200px; margin: 0 auto; height: 62px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(160%);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-scrolled .nav__shell { background: rgba(255, 255, 255, .9); border-color: var(--line-2); box-shadow: 0 16px 40px -18px rgba(16, 52, 44, .25); }
.nav__brand { display: flex; align-items: center; gap: 4px; text-decoration: none; flex-shrink: 0; }
.nav__icon { width: 30px; height: 30px; }
.nav__word { width: 96px; height: 34px; object-fit: cover; object-position: center; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav__login:hover { background: var(--surface-2); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 22px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ── Chips / eyebrows ─────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
a.chip:hover { border-color: var(--teal); color: var(--text); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(82, 207, 159, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(82, 207, 159, 0); } }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em;
  margin: 22px 0 22px;
}
.hero__row { display: block; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__meta { display: flex; gap: 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 480px; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.hero__meta span { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ── Demo stage (fake desktop window) ─────────────────────── */
.hero__stage { position: relative; perspective: 1400px; scroll-margin-top: 110px; }
.hero__stage::before {
  content: ""; position: absolute; inset: 8% 4% -6%; z-index: -1; filter: blur(70px);
  background: radial-gradient(circle at 30% 30%, rgba(82, 207, 159, .45), transparent 55%), radial-gradient(circle at 75% 70%, rgba(255, 115, 0, .35), transparent 55%);
}
.stage {
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #151b21, #0b0f13);
  border: 1px solid rgba(16, 52, 44, .2);
  box-shadow: 0 40px 90px -30px rgba(16, 52, 44, .55), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.stage__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.stage__dots { display: flex; gap: 6px; }
.stage__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3138; }
.stage__dots i:first-child { background: #ff5f57; } .stage__dots i:nth-child(2) { background: #febc2e; } .stage__dots i:nth-child(3) { background: #28c840; }
.stage__title { font-family: var(--mono); font-size: .74rem; color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage__badge { font-family: var(--mono); font-size: .68rem; color: var(--teal); padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(82, 207, 159, .3); background: rgba(82, 207, 159, .08); }
.stage__body { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; }
.stage__screen { position: relative; padding: 18px; border-right: 1px solid var(--line); overflow: hidden; }
.code { font-family: var(--mono); font-size: .76rem; line-height: 1.75; color: #b7c3c1; white-space: pre-wrap; }
.code .k { color: #ff9a3d; } .code .s { color: #52cf9f; } .code .c { color: #5b6664; } .code .n { color: #7cc7ff; }
.code .hl { display: inline-block; width: 100%; background: rgba(255, 70, 70, .12); box-shadow: inset 2px 0 0 #ff5f57; transition: background .3s; }
.code .ok { background: rgba(82, 207, 159, .12); box-shadow: inset 2px 0 0 var(--teal); }
.scanline {
  position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(82, 207, 159, .16) 70%, rgba(82, 207, 159, .55) 98%, transparent);
}
.scanline.run { animation: scan 1.5s var(--ease) forwards; }
@keyframes scan { 0% { top: -30%; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.flash-panel { display: flex; flex-direction: column; align-items: center; padding: 22px 16px 16px; gap: 14px; min-width: 0; }
.orb { position: relative; width: 74px; height: 74px; flex-shrink: 0; }
.orb__core {
  position: absolute; inset: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #9ff3d0 18%, var(--teal) 45%, var(--orange) 100%);
  box-shadow: 0 0 30px rgba(82, 207, 159, .6), 0 0 60px rgba(255, 115, 0, .35);
  animation: breathe 3.2s ease-in-out infinite;
}
.orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(82, 207, 159, .35); animation: ring 3.2s ease-out infinite; }
.orb__ring--2 { border-color: rgba(255, 115, 0, .3); animation-delay: 1.6s; }
.orb.is-listening .orb__core { animation-duration: .8s; }
.orb.is-thinking .orb__core { animation: spinCore 1.1s linear infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spinCore { to { transform: rotate(360deg) scale(1.05); } }

.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--teal); opacity: .5; }
.wave.is-on i { opacity: 1; animation: bar .9s ease-in-out infinite; }
.wave.is-on i:nth-child(odd) { background: var(--orange-2); }
.wave i:nth-child(2) { animation-delay: -.1s; } .wave i:nth-child(3) { animation-delay: -.5s; } .wave i:nth-child(4) { animation-delay: -.3s; }
.wave i:nth-child(5) { animation-delay: -.7s; } .wave i:nth-child(6) { animation-delay: -.2s; } .wave i:nth-child(7) { animation-delay: -.6s; }
.wave i:nth-child(8) { animation-delay: -.4s; } .wave i:nth-child(9) { animation-delay: -.8s; } .wave i:nth-child(10) { animation-delay: -.15s; }
.wave i:nth-child(11) { animation-delay: -.55s; } .wave i:nth-child(12) { animation-delay: -.35s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 22px; } }

.chat { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.msg { font-size: .8rem; line-height: 1.5; padding: 9px 12px; border-radius: 14px; max-width: 100%; animation: msgIn .4s var(--ease) both; }
.msg--user { align-self: flex-end; background: rgba(255, 115, 0, .12); border: 1px solid rgba(255, 115, 0, .25); border-bottom-right-radius: 4px; }
.msg--flash { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg__who { display: block; font-family: var(--mono); font-size: .64rem; color: var(--dim); margin-bottom: 3px; }
.msg--flash .msg__who { color: var(--teal); }
.caret { display: inline-block; width: 6px; height: 1em; vertical-align: -2px; background: var(--teal); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.stage__caption { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; color: var(--dim); }
.stage__pips { display: flex; gap: 6px; }
.stage__pips button { width: 22px; height: 4px; border-radius: 4px; border: 0; background: var(--line-2); cursor: pointer; transition: background .3s, width .3s; }
.stage__pips button.is-active { width: 36px; background: var(--orange); }

/* ── Marquee ──────────────────────────────────────────────── */
.marquee { margin-top: 110px; border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: rgba(255, 255, 255, .5); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--muted); white-space: nowrap; }
.marquee b { color: var(--orange); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Manifesto ────────────────────────────────────────────── */
.manifesto { padding: 140px 0 100px; text-align: center; }
.manifesto__text {
  font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.15; max-width: 1000px; margin: 0 auto;
}
.manifesto__text .w { color: rgba(16, 34, 31, .12); transition: color .35s; }
.manifesto__text .w.on { color: var(--text); }
.manifesto__text .w.ai.on { color: var(--orange-ink); }
.manifesto__sign { display: block; margin-top: 26px; color: var(--dim); }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 40px 0 110px; }
.section--tint { background: linear-gradient(180deg, transparent, var(--bg-2) 15%, var(--bg-2) 85%, transparent); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; margin-top: 14px;
}
.section__title--left { text-align: left; }
.section__sub { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.section__sub--left { max-width: 460px; }
.tiny { font-size: .74rem; color: var(--dim); margin-top: 10px; }

/* ── Bento ────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .4s;
}
.card:hover { border-color: rgba(82, 207, 159, .55); transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(16, 52, 44, .25); }
.card--xl { grid-column: span 2; }
.card--wide { grid-column: span 3; flex-direction: row; align-items: center; }
.card--wide .card__visual { flex: 1.2; height: 170px; border-bottom: 0; border-right: 1px solid var(--line); }
.card--wide .card__text { flex: 1; }
.card__visual { position: relative; height: 170px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), #fff); }
.card--xl .card__visual { height: 220px; }
.card__text { padding: 22px 24px 26px; }
.card__num { color: var(--dim); }
.card h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 8px; }
.card p { color: var(--muted); font-size: .94rem; }

/* Mouse-following highlight; --mx/--my are set by home.js. */
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(82, 207, 159, .12), transparent 45%);
}
.spot:hover::after { opacity: 1; }

.vis-scan__win { position: absolute; left: 8%; right: 8%; top: 26px; bottom: -20px; border-radius: 12px; border: 1px solid rgba(16, 52, 44, .2); background: #111619; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 40px -20px rgba(16, 52, 44, .5); }
.vis-scan__win .l { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.vis-scan__win .err { background: rgba(255, 95, 87, .55); box-shadow: 0 0 20px rgba(255, 95, 87, .35); }
.vis-scan__beam { position: absolute; left: 8%; right: 8%; height: 60px; top: 0; background: linear-gradient(180deg, transparent, rgba(82, 207, 159, .3), transparent); animation: beam 3.2s ease-in-out infinite; }
@keyframes beam { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(150px); } }
.vis-scan__tag { position: absolute; right: 12%; top: 84px; font-family: var(--mono); font-size: .7rem; color: #ffc2bd; padding: 4px 10px; border-radius: 8px; background: rgba(255, 95, 87, .18); border: 1px solid rgba(255, 95, 87, .45); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.vis-voice { display: flex; align-items: center; justify-content: center; gap: 5px; }
.vis-voice i { width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--teal), var(--orange)); animation: bar2 1.2s ease-in-out infinite; height: 20px; }
.vis-voice i:nth-child(3n) { animation-delay: -.4s; } .vis-voice i:nth-child(3n+1) { animation-delay: -.8s; } .vis-voice i:nth-child(4n) { animation-duration: .9s; }
@keyframes bar2 { 0%, 100% { height: 12px; } 50% { height: 80px; } }

.vis-files { display: flex; align-items: center; justify-content: center; }
.vis-files .f { position: absolute; width: 84px; height: 108px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow); display: flex; align-items: flex-end; padding: 10px; font-family: var(--mono); font-size: .7rem; font-weight: 500; transition: transform .6s var(--ease); }
.vis-files .f1 { transform: rotate(-12deg) translateX(-50px); color: #d8443a; }
.vis-files .f2 { transform: translateY(-6px); color: #2b7fd0; z-index: 1; }
.vis-files .f3 { transform: rotate(12deg) translateX(50px); color: var(--teal-ink); }
.card:hover .vis-files .f1 { transform: rotate(-18deg) translateX(-74px); }
.card:hover .vis-files .f3 { transform: rotate(18deg) translateX(74px); }

.vis-cmd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.vis-cmd__q { color: var(--orange-ink); padding: 6px 12px; border-radius: 8px; background: rgba(255, 115, 0, .08); border: 1px solid rgba(255, 115, 0, .25); }
.vis-cmd__apps { display: flex; gap: 12px; }
.vis-cmd__apps i { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); }
.vis-cmd__apps i.on { background: radial-gradient(circle, var(--teal), #1f8e68); border-color: transparent; box-shadow: 0 0 30px rgba(82, 207, 159, .55); animation: pop 2.4s var(--ease) infinite; }
@keyframes pop { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.18); } }

.vis-learn { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 0 20px; }
.vis-learn span { font-family: var(--mono); font-size: .74rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); animation: float 5s ease-in-out infinite; }
.vis-learn span:nth-child(2) { animation-delay: -1s; color: var(--teal-ink); border-color: rgba(82, 207, 159, .5); }
.vis-learn span:nth-child(3) { animation-delay: -2s; }
.vis-learn span:nth-child(4) { animation-delay: -3s; color: var(--orange-ink); border-color: rgba(255, 115, 0, .4); }
.vis-learn span:nth-child(5) { animation-delay: -4s; }

.vis-lock { display: flex; align-items: center; gap: 34px; padding: 0 34px; }
.vis-lock__shield { width: 86px; height: 100px; flex-shrink: 0; position: relative; border-radius: 44px 44px 50px 50px / 30px 30px 70px 70px; background: linear-gradient(160deg, rgba(82, 207, 159, .3), rgba(255, 115, 0, .18)); border: 1px solid rgba(82, 207, 159, .55); box-shadow: 0 0 50px rgba(82, 207, 159, .25); }
.vis-lock__key { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--text); transform: translate(-50%, -70%); }
.vis-lock__key::after { content: ""; position: absolute; left: 50%; top: 14px; width: 3px; height: 14px; background: var(--text); transform: translateX(-50%); }
.vis-lock__rows { display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.vis-lock__rows span { display: flex; align-items: center; gap: 10px; }
.ok-tick { width: 16px; height: 16px; border-radius: 50%; background: rgba(82, 207, 159, .15); border: 1px solid var(--teal-ink); position: relative; flex-shrink: 0; display: inline-block; }
.ok-tick::after { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border-right: 1.5px solid var(--teal-ink); border-bottom: 1.5px solid var(--teal-ink); transform: rotate(45deg); }

/* ── Proof ────────────────────────────────────────────────── */
.proof__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.proof__tab {
  position: relative; overflow: hidden;
  font-family: var(--body); font-size: .86rem; font-weight: 500; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; transition: color .25s, border-color .25s, background .25s;
}
.proof__tab:hover { color: var(--text); border-color: var(--line-2); }
.proof__tab.is-active { color: var(--text); border-color: rgba(255, 115, 0, .5); background: rgba(255, 115, 0, .07); }
.proof__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.proof__tab.is-active .proof__bar { animation: fill var(--dur, 4s) linear forwards; }
.proof.is-paused .proof__tab.is-active .proof__bar { animation: none; width: 100%; }
@keyframes fill { to { width: 100%; } }
.proof__frame {
  max-width: 940px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(16, 52, 44, .2); background: #0f1418;
  box-shadow: 0 50px 100px -40px rgba(16, 52, 44, .5);
}
.proof__panels { position: relative; display: grid; }
.proof__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .5s, transform .6s var(--ease), visibility .5s; }
.proof__panel.is-active { opacity: 1; visibility: visible; transform: none; }
.proof__panel img { width: 100%; height: auto; background: #fff; }
.proof__panel figcaption { padding: 16px 22px; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ── Learn ────────────────────────────────────────────────── */
.learn { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.learn__sticky { position: sticky; top: 130px; }
.learn__meter { margin-top: 40px; height: 3px; width: 100%; max-width: 360px; background: var(--line); border-radius: 3px; overflow: hidden; }
.learn__meter-fill { height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.learn__list { list-style: none; display: flex; flex-direction: column; }
.learn__item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.learn__item:first-child { padding-top: 0; }
.learn__idx { color: var(--orange-ink); padding-top: 6px; }
.learn__item h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.learn__item p { color: var(--muted); }

/* ── Steps ────────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps__line { position: absolute; left: 16%; right: 16%; top: 36px; width: 68%; height: 20px; overflow: visible; }
.steps__line path { fill: none; stroke: rgba(16, 52, 44, .18); stroke-width: 1.5; stroke-dasharray: 6 8; }
.steps.is-in .steps__line path { stroke: var(--teal); animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.step { text-align: center; padding: 0 10px; }
.step__orb {
  width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; position: relative;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.step__orb::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid transparent; background: var(--grad) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; }
.step__orb span { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.step h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; max-width: 280px; margin: 0 auto; }

/* ── Pool ─────────────────────────────────────────────────── */
.pool { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pool__math { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 36px 0 26px; }
.pool__price { padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.pool__price > span { display: block; color: var(--dim); }
.pool__price strong { white-space: nowrap; font-family: var(--display); font-size: 2rem; letter-spacing: -.02em; }
.pool__price--hl { border-color: rgba(82, 207, 159, .6); background: rgba(82, 207, 159, .08); box-shadow: 0 0 50px -20px rgba(82, 207, 159, .8); }
.pool__price--hl strong { color: var(--teal-ink); }
.pool__op { font-family: var(--display); font-size: 1.4rem; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-ink); text-decoration: none; font-weight: 600; }
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.pool__viz { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; }
.pool__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.pool__links line { stroke: rgba(15, 154, 108, .5); stroke-width: 1.2; stroke-dasharray: 4 7; animation: dash 1.4s linear infinite reverse; }
.pool__center {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2;
  border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 0 80px rgba(82, 207, 159, .35), 0 0 140px rgba(255, 115, 0, .2);
}
.pool__center::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(16, 52, 44, .18); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pool__center img { width: 62%; }
.pool__node {
  position: absolute; width: 17%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; transform: translate(-50%, -50%);
  background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.n1 { left: 17.5%; top: 17.5%; color: var(--teal-ink); }
.n2 { left: 82.5%; top: 17.5%; color: var(--orange-ink); animation-delay: -1.2s; }
.n3 { left: 17.5%; top: 82.5%; color: var(--orange-ink); animation-delay: -2.4s; }
.n4 { left: 82.5%; top: 82.5%; color: var(--teal-ink); animation-delay: -3.6s; }

/* ── Platform cards (homepage download section) ───────────── */
.platforms { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; }
.platform { position: relative; overflow: hidden; padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.platform--live { border-color: rgba(82, 207, 159, .55); }
.platform--live::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; z-index: 0; background: radial-gradient(circle, rgba(82, 207, 159, .22), transparent 60%); }
.platform > * { position: relative; }
.platform__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.platform__os { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.platform__os svg { width: 26px; height: 26px; }
.platform h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -.025em; }
.platform p { color: var(--muted); font-size: .95rem; }
.platform__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.platform__note { font-size: .78rem; color: var(--dim); }
.platform__note strong { color: var(--orange-ink); font-weight: 600; }

.tag { font-family: var(--mono); font-size: .68rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag--live { color: var(--teal-ink); border-color: rgba(15, 154, 108, .35); background: rgba(82, 207, 159, .1); }
.tag--opt { color: var(--muted); }
.tag--req { color: var(--orange-ink); border-color: rgba(226, 98, 10, .3); background: rgba(255, 115, 0, .07); }

.notify { display: flex; gap: 8px; max-width: 500px; margin-top: 4px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.notify input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; padding: 0 16px; }
.notify input::placeholder { color: var(--dim); }
.notify:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(82, 207, 159, .15); }

.install-note { margin-top: 6px; }
.install-note summary { cursor: pointer; font-size: .85rem; color: var(--muted); list-style: none; }
.install-note summary::-webkit-details-marker { display: none; }
.install-note summary::before { content: "+ "; color: var(--orange-ink); font-weight: 700; }
.install-note[open] summary::before { content: "\2212  "; }
.smartscreen { margin: 16px 0 0; max-width: 320px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .2); box-shadow: 0 16px 36px rgba(16, 52, 44, .3); }
.smartscreen__bar { background: #2b2b2b; font-weight: 700; font-size: .85rem; padding: 10px 14px; }
.smartscreen__body { background: #1b1b1b; padding: 12px 14px 14px; font-size: .78rem; color: #ccc; }
.smartscreen__app { margin-top: 10px; color: #999; }
.smartscreen__btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.smartscreen__btns span { padding: 5px 12px; border-radius: 4px; font-size: .75rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); }
.smartscreen__btns .is-primary { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(82, 207, 159, .5); }

/* ── Memes ────────────────────────────────────────────────── */
.memes {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; text-align: left;
  padding: 30px 36px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow);
  color: var(--text); font: inherit; cursor: pointer; transition: border-color .3s, background .3s;
}
.memes:hover { border-color: rgba(255, 115, 0, .5); background: #fffaf5; }
.memes strong { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -.02em; grid-column: 1; }
.memes__arrow { grid-row: 1 / span 2; grid-column: 2; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .4s var(--ease), background .3s, color .3s; }
.memes__arrow::after { content: "\2197"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.3rem; }
.memes:hover .memes__arrow { transform: rotate(45deg); background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── Footer ───────────────────────────────────────────────── */
.footer { position: relative; padding: 40px 0 30px; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, transparent, var(--bg-2)); }
.footer__big {
  font-family: var(--display); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center;
  font-size: clamp(5rem, 22vw, 19rem); user-select: none;
  background: linear-gradient(180deg, rgba(16, 52, 44, .1), rgba(16, 52, 44, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 40px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; align-content: flex-start; }
.footer__brand p { flex-basis: 100%; color: var(--muted); font-size: .9rem; margin-top: 12px; padding-right: 30%; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col .mono { color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.footer__col a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__copy { padding-top: 22px; color: var(--dim); font-size: .82rem; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1000; transform: translate(-50%, 90px); opacity: 0;
  padding: 13px 22px; border-radius: 14px; max-width: min(92vw, 440px); text-align: center; font-size: .92rem;
  background: #10221f; color: #eef3f2; box-shadow: 0 20px 50px rgba(16, 52, 44, .35);
  transition: transform .4s var(--ease), opacity .4s; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ═══════════════ Downloads page ═══════════════ */
.dl-hero { padding: 150px 0 40px; }
.dl-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.dl-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.dl-hero__facts .tag { font-size: .74rem; padding: 6px 12px; background: #fff; }

/* Install walkthrough */
.install { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.install__step { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.install__step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: .76rem; color: var(--orange-ink); }
.install__step h3 { font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
.install__step p { color: var(--muted); font-size: .9rem; }

/* Android-style dialog mocks */
.dlg { margin-top: auto; border-radius: 18px; padding: 16px; background: #f1f4f3; border: 1px solid var(--line); font-size: .78rem; color: #1d2b28; }
.dlg__title { font-weight: 600; font-size: .86rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.dlg__title svg { width: 18px; height: 18px; flex-shrink: 0; }
.dlg p { color: #4d5e5a; font-size: .76rem; }
.dlg__btns { display: flex; justify-content: flex-end; gap: 14px; margin-top: 12px; font-weight: 600; font-size: .76rem; }
.dlg__btns span { color: #4d5e5a; }
.dlg__btns .is-go { color: var(--teal-ink); position: relative; }
.dlg__btns .is-go::after { content: ""; position: absolute; inset: -5px -8px; border-radius: 8px; border: 1.5px solid var(--orange); animation: ping2 1.8s infinite; }
@keyframes ping2 { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.reason__k { font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: 1; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason h3 { font-family: var(--display); font-size: 1.2rem; margin: 14px 0 8px; letter-spacing: -.01em; }
.reason p { color: var(--muted); font-size: .92rem; }

.callout { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; padding: 22px 26px; border-radius: var(--radius); background: rgba(255, 115, 0, .06); border: 1px solid rgba(255, 115, 0, .25); }
.callout__ico { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 115, 0, .15); color: var(--orange-ink); font-weight: 800; font-family: var(--display); }
.callout h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
.callout p { color: var(--muted); font-size: .92rem; }
.callout code, .perm code { font-family: var(--mono); font-size: .8em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); }

/* Permissions */
.perm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.perm { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .3s, transform .4s var(--ease); }
.perm:hover { border-color: rgba(82, 207, 159, .55); transform: translateY(-2px); }
.perm__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(82, 207, 159, .2), rgba(255, 115, 0, .12)); color: var(--teal-ink); }
.perm__ico svg { width: 22px; height: 22px; }
.perm__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.perm h3 { font-family: var(--display); font-size: 1.08rem; letter-spacing: -.01em; }
.perm p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.perm__off { margin-top: 10px; font-size: .82rem; color: var(--dim); padding-top: 10px; border-top: 1px dashed var(--line-2); }
.perm__off b { color: var(--text); font-weight: 600; }

.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.howto__card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.howto__card h3 { font-family: var(--display); font-size: 1.15rem; margin-bottom: 12px; }
.howto__card ol { padding-left: 20px; color: var(--muted); font-size: .92rem; display: flex; flex-direction: column; gap: 6px; }
.path { font-family: var(--mono); font-size: .78rem; color: var(--text); }

/* Scenarios */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene { position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.scene:hover { transform: translateY(-4px); border-color: rgba(255, 115, 0, .4); }
.scene__when { font-family: var(--mono); font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.scene__say { font-family: var(--display); font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.scene__say::before { content: "\201C"; color: var(--orange); }
.scene__say::after { content: "\201D"; color: var(--orange); }
.scene p { color: var(--muted); font-size: .9rem; }

/* Comparison */
.versus { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.versus__col { padding: 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.versus__col--flash { border-color: rgba(82, 207, 159, .55); background: linear-gradient(170deg, rgba(82, 207, 159, .08), #fff 50%); }
.versus__col h3 { font-family: var(--display); font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 18px; }
.versus__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.versus__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.versus__list li .ok-tick { margin-top: 3px; }
.versus__list strong { display: block; font-weight: 600; }
.versus__list span { color: var(--muted); font-size: .9rem; }
.dot-warn { width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 1px solid var(--orange-ink); background: rgba(255, 115, 0, .12); position: relative; }
.dot-warn::after { content: ""; position: absolute; left: 6px; top: 3px; width: 2px; height: 5px; background: var(--orange-ink); box-shadow: 0 7px 0 var(--orange-ink); border-radius: 1px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .3s; }
.faq details[open] { border-color: rgba(82, 207, 159, .55); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--orange-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ── Reveal ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; filter: none; }

.mobile-only { display: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1060px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 16px; right: 16px;
    padding: 12px; border-radius: 22px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line-2);
    box-shadow: 0 30px 60px -20px rgba(16, 52, 44, .3); backdrop-filter: blur(18px);
  }
  .nav__links.is-open a { padding: 12px 14px; font-size: 1rem; }
  .hero__grid, .dl-hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__copy, .dl-hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__ctas, .dl-hero__facts { justify-content: center; }
  .hero__meta { justify-content: center; }
  .hero__stage { max-width: 680px; width: 100%; margin: 0 auto; }
  .learn, .pool { grid-template-columns: 1fr; gap: 50px; }
  .learn__sticky { position: static; }
  .install { grid-template-columns: 1fr 1fr; }
  .scenes { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl, .card--wide { grid-column: span 2; }
  .card--wide { flex-direction: column; align-items: stretch; }
  .card--wide .card__visual { flex: none; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .platforms, .reasons, .perm-grid, .howto, .versus { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav { top: 10px; padding: 0 10px; }
  .nav__login { display: none; }
  .hero, .dl-hero { padding-top: 120px; }
  .hero__meta { gap: 22px; }
  .stage__body { grid-template-columns: 1fr; min-height: 0; }
  .stage__screen { border-right: 0; border-bottom: 1px solid var(--line); max-height: 190px; }
  .bento, .install, .scenes { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .vis-lock { padding: 0 20px; gap: 18px; }
  .vis-lock__shield { width: 60px; height: 72px; }
  .section { padding: 80px 0; }
  .platform { padding: 26px 22px; }
  .notify { flex-direction: column; border-radius: 20px; }
  .notify input { padding: 12px 14px; }
  .memes { padding: 24px; }
  .learn__item { grid-template-columns: 44px 1fr; }
  .perm { grid-template-columns: 1fr; }
  .footer__brand p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
