/* Ahoy product page (/ahoy and /ahoy/el) — the app's own night theme.
   Loaded only by ahoy.html and ahoy-el.html; the shared /styles.css stays with the other pages. */

:root {
  color-scheme: dark;
  --bg: #15121c;
  --bg-2: #1a1623;
  --surface: #221d2e;
  --surface-2: #2a2439;
  --line: rgba(246, 243, 248, 0.09);
  --line-2: rgba(246, 243, 248, 0.16);
  --text: #f6f3f8;
  --dim: #b3acc0;
  --faint: #8f88a0;
  --green: #3be8a8;
  --green-2: #8ff3cd;
  --green-soft: rgba(59, 232, 168, 0.14);
  --ember: #ff7a45;
  --ember-soft: rgba(255, 122, 69, 0.14);
  --yellow: #ffd23f;
  --cream: #fff6dc;
  --ink: #1d1b26;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --maxw: 1160px;
  --gutter: 16px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }
p { margin: 0 0 16px; }
strong { color: var(--text); font-weight: 650; }
code { font-size: .9em; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--text); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(44px, 11.5vw, 78px); font-weight: 900; letter-spacing: -0.045em; line-height: .96; }
h2 { font-size: clamp(32px, 6vw, 54px); font-weight: 900; letter-spacing: -0.04em; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--dim); max-width: 56ch; line-height: 1.55; }
.dim { color: var(--dim); }
.small { font-size: 14.5px; }
.grad {
  background: linear-gradient(100deg, var(--green) 10%, var(--green-2) 60%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.kicker.ember { color: var(--ember); }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

section { padding: 72px 0; scroll-margin-top: 64px; position: relative; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head .lead { margin-top: 18px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 56px; } }

/* ---------- wordmark ---------- */
.brand {
  display: inline-flex; align-items: center;
  font-weight: 900; font-size: 21px; letter-spacing: .14em; color: var(--text);
  line-height: 1;
}
.brand:hover { color: var(--text); }
.brand .mark {
  width: .68em; height: .68em; border-radius: 50%; background: var(--green); flex: none;
  margin: 0 .16em 0 .02em;
  box-shadow: 0 0 0 4px var(--green-soft), 0 0 18px rgba(59, 232, 168, .55);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 18, 28, .72);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.nav .links { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav .links a { color: var(--dim); white-space: nowrap; }
.nav .links a:hover { color: var(--text); }
.nav .links .lang {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 700; color: var(--text);
}
.nav .links .nav-cta {
  background: var(--green); color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 999px;
}
.nav .links .nav-cta:hover { color: var(--ink); background: var(--green-2); }
@media (max-width: 879px) { .nav .links .hide-sm { display: none; } }
@media (min-width: 880px) { .nav .links { gap: 26px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 16px;
  font: 700 16.5px/1.2 var(--font); letter-spacing: -0.01em;
  border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  text-align: center;
}
.btn:hover { color: var(--text); border-color: var(--green); transform: translateY(-1px); }
.btn-green { background: var(--green); border-color: transparent; color: var(--ink); box-shadow: 0 10px 30px -8px rgba(59, 232, 168, .55); }
.btn-green:hover { background: var(--green-2); color: var(--ink); box-shadow: 0 14px 34px -8px rgba(59, 232, 168, .7); }
.btn svg { width: 20px; height: 20px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 519px) {
  .cta-row > .btn, .cta-row > .store-pill { flex: 1 1 100%; justify-content: center; }
}

/* Our own "coming soon" store pill — deliberately not Google's badge artwork. */
.store-pill {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 9px 22px 9px 16px; border-radius: 16px;
  background: #0b0a0f; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .26);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.store-pill:hover { color: #fff; border-color: var(--green); transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(59, 232, 168, .45); }
.store-pill svg { width: 30px; height: 30px; flex: none; }
.store-pill .t { display: grid; line-height: 1.1; text-align: left; }
.store-pill .t small { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #d9d4e0; }
.store-pill .t b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- phone frame ---------- */
.phone {
  position: relative; width: var(--pw, 260px); flex: none;
  padding: calc(var(--pw, 260px) * .032);
  border-radius: calc(var(--pw, 260px) * .15);
  background: linear-gradient(155deg, #3a3449 0%, #1c1824 38%, #120f18 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    inset 0 0 0 4px #0b0a0f,
    0 0 0 1px rgba(0, 0, 0, .6),
    0 40px 80px -24px rgba(0, 0, 0, .85),
    0 18px 36px -18px rgba(0, 0, 0, .7);
}
.phone img {
  width: 100%; height: auto; aspect-ratio: 1 / 2;
  border-radius: calc(var(--pw, 260px) * .12);
  background: #15121c;
}
/* side buttons */
.phone::before, .phone::after {
  content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #2a2534, #4a4359);
}
.phone::before { top: 22%; height: 9%; }
.phone::after { top: 34%; height: 15%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(59, 232, 168, .16), transparent 70%),
    radial-gradient(40% 40% at 100% 0%, rgba(255, 122, 69, .14), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(108, 92, 231, .10), transparent 70%);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 64px 0 104px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 48px; }
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--dim);
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  margin-bottom: 24px;
}
.status .pip { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.status .pip::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green);
  animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 26px; }
.hero .lead em { font-style: normal; color: var(--text); font-weight: 600; }
.nots { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.nots li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--text);
  padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.nots svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.also { margin-top: 18px; font-size: 15px; color: var(--dim); }
.also a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(59, 232, 168, .4); text-underline-offset: 3px; }

/* the stage: radar rings, three phones */
.stage {
  position: relative; display: grid; place-items: center;
  min-height: 0; padding: 36px 0 20px;
  --pw: clamp(208px, 58vw, 292px);
}
.rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; }
.rings span {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(59, 232, 168, .22);
}
.rings .r1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(59, 232, 168, .16), transparent 70%); }
.rings .r2 { width: 480px; height: 480px; border-color: rgba(59, 232, 168, .15); }
.rings .r3 { width: 660px; height: 660px; border-color: rgba(255, 122, 69, .13); border-style: dashed; }
.rings .r4 { width: 860px; height: 860px; border-color: rgba(59, 232, 168, .07); }
.rings .pulse {
  width: 240px; height: 240px; border: 2px solid rgba(59, 232, 168, .5);
  animation: sonar 5.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.rings .pulse.p2 { animation-delay: 1.8s; }
.rings .pulse.p3 { animation-delay: 3.6s; }
@keyframes sonar {
  0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(3.6); opacity: 0; }
}
.stage .phone.main { z-index: 2; animation: float 7s ease-in-out infinite; }
.stage .phone.back {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  --pw: calc(clamp(208px, 58vw, 292px) * .78);
  opacity: .92;
}
.stage .phone.back.l { transform: translate(-112%, -46%) rotate(-10deg); }
.stage .phone.back.r { transform: translate(12%, -46%) rotate(10deg); }
.stage .phone.back img { filter: saturate(.9) brightness(.82); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* comic pop-up, as in the app: cream card, thick ink border, hard yellow shadow */
.comic {
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 6px 6px 0 var(--yellow), 6px 6px 0 3px var(--ink);
}
.bubble {
  position: absolute; z-index: 3; left: 4%; top: 14%;
  padding: 8px 16px 9px; font-weight: 900; font-size: 20px; letter-spacing: -0.01em;
  transform: rotate(-6deg);
  animation: bob 5s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; left: 26px; bottom: -14px; width: 18px; height: 18px;
  background: var(--cream); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: skewY(30deg) rotate(30deg);
}
.bubble .ember { color: var(--ember); font-style: italic; }
@keyframes bob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-6px); } }
.chip-glass {
  position: absolute; z-index: 3; right: 2%; bottom: 13%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 14px;
  background: rgba(34, 29, 46, .82); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 700; color: var(--text);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8);
}
.chip-glass svg { width: 16px; height: 16px; color: var(--green); flex: none; }
@media (max-width: 420px) {
  .bubble { font-size: 16px; left: 0; top: 10%; }
  .chip-glass { font-size: 12px; right: 0; padding: 7px 11px; }
}

/* ---------- steps ---------- */
.steps { display: grid; gap: 56px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { display: grid; justify-items: center; align-content: start; text-align: center; }
.step .phone { --pw: 230px; margin-bottom: 30px; }
.step .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--ink); font-weight: 900; font-size: 18px;
  margin-bottom: 14px; box-shadow: 0 0 0 6px var(--green-soft);
}
.step:nth-child(2) .num { background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 210, 63, .14); }
.step:nth-child(3) .num { background: var(--ember); box-shadow: 0 0 0 6px var(--ember-soft); }
.step .tag { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--dim); max-width: 36ch; margin: 0 auto; }
.radar-note {
  display: flex; gap: 14px; align-items: center; margin: 56px auto 0; max-width: 680px;
  padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  color: var(--dim); font-size: 15.5px;
}
.radar-note svg { width: 40px; height: 40px; flex: none; }
.radar-note p { margin: 0; }

/* ---------- features bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .bento .tile.mega { grid-row: span 2; }
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--surface) 0%, #1d1927 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 22px;
}
@media (min-width: 640px) { .tile { padding: 34px; } }
.tile .tag { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; color: var(--green); }
.tile h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.tile p { color: var(--dim); }
.tile p:last-child { margin-bottom: 0; }
.tile.mega::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 55% at 50% 100%, rgba(255, 122, 69, .26), transparent 70%);
}
.tile.mega .tag { color: var(--ember); }
.tile.mega .shot { display: flex; justify-content: center; margin-top: 30px; margin-bottom: -120px; }
.tile.mega .phone { --pw: 250px; }
@media (min-width: 900px) { .tile.mega .phone { --pw: 280px; } .tile.mega .shot { margin-bottom: -150px; } }
.tile.super { border-color: rgba(255, 210, 63, .26); }
.tile.super::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 100% 0%, rgba(255, 210, 63, .14), transparent 70%);
}
.tile.super .tag { color: var(--yellow); }
.stat-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.ring-y {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; border: 3px solid var(--yellow);
  color: var(--yellow); box-shadow: 0 0 24px rgba(255, 210, 63, .3);
}
.ring-y svg { width: 30px; height: 30px; }
.stat-row b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat-row span { color: var(--dim); font-size: 14.5px; }
.tile.modes .switches { margin-top: 24px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.tile.modes .switches img { width: 100%; height: auto; }

/* ---------- privacy ---------- */
.priv-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .priv-grid { grid-template-columns: 1fr 300px; gap: 64px; } }
.priv-list { display: grid; gap: 14px; }
@media (min-width: 700px) { .priv-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.priv-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px;
}
.priv-item .ic {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 14px;
}
.priv-item .ic svg { width: 22px; height: 22px; }
.priv-item h3 { font-size: 19px; margin-bottom: 8px; }
.priv-item p { color: var(--dim); font-size: 15.5px; margin: 0; }
.priv-aside { display: grid; justify-items: center; gap: 18px; margin: 0; }
@media (min-width: 980px) { .priv-aside { position: sticky; top: 96px; } }
.priv-aside .phone { --pw: 250px; }
.priv-aside figcaption { color: var(--faint); font-size: 14px; text-align: center; max-width: 30ch; }
.legal-links { margin-top: 26px; color: var(--dim); font-size: 15px; }
.legal-links a { font-weight: 600; }
.badge-18 {
  display: inline-grid; place-items: center; min-width: 40px; height: 26px; padding: 0 8px; margin-left: 6px;
  border-radius: 8px; background: var(--ember); color: var(--ink); font-weight: 900; font-size: 13px; vertical-align: 2px;
}

/* ---------- free forever ---------- */
.free-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .free-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.free-card { padding: 30px 24px 26px; transform: rotate(-1deg); }
@media (min-width: 640px) { .free-card { padding: 38px 36px 32px; } }
.free-card h2 { color: var(--ink); font-size: clamp(32px, 5vw, 46px); margin-bottom: 4px; }
.free-card .sub { font-weight: 700; color: #5b4f2a; margin-bottom: 22px; font-size: 17px; }
.free-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.free-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 17px; line-height: 1.45; }
.free-list li svg { width: 24px; height: 24px; flex: none; margin-top: 0; }
.free-card .punch {
  margin: 0; padding-top: 18px; border-top: 3px dashed rgba(29, 27, 38, .25);
  font-weight: 900; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25;
}
.never { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 22px; padding: 0; list-style: none; }
.never li {
  padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, .03);
}
.never li.y { border-color: rgba(59, 232, 168, .5); color: var(--green); }

/* ---------- closed test ---------- */
.play-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; border: 1px solid rgba(59, 232, 168, .28);
  background: linear-gradient(160deg, #1f2a28 0%, #1c1826 45%, #1a1622 100%);
  padding: 34px 22px 0;
  display: grid; gap: 32px;
}
.play-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 85% 100%, rgba(59, 232, 168, .2), transparent 70%);
}
@media (min-width: 640px) { .play-card { padding: 48px 44px 0; } }
@media (min-width: 960px) { .play-card { grid-template-columns: 1.25fr .75fr; padding: 60px 0 0 60px; gap: 40px; } }
.play-card h2 { margin-bottom: 18px; }
.play-card .lead { color: #c9c3d3; }
.tally { display: flex; align-items: stretch; gap: 12px; margin: 26px 0 30px; max-width: 420px; }
.tally .n { flex: 1 1 0; min-width: 0; }
.tally .x { align-self: center; }
.tally .n {
  display: grid; padding: 12px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2);
}
.tally .n b { font-size: 40px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--green); }
.tally .n span { font-size: 13.5px; color: var(--dim); font-weight: 600; margin-top: 4px; }
.tally .x { font-size: 28px; font-weight: 900; color: var(--faint); }
.play-card .copy { padding-bottom: 44px; }
.play-card .note { margin: 26px 0 0; }
.play-card .shot { display: flex; justify-content: center; align-items: flex-end; margin-bottom: -40px; }
.play-card .shot .phone { --pw: 240px; }
@media (min-width: 960px) { .play-card .shot { margin-bottom: -60px; } .play-card .shot .phone { --pw: 270px; } }

.note {
  border-left: 3px solid var(--yellow); background: rgba(255, 210, 63, .06);
  padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--dim); font-size: 15.5px;
}
.note strong { color: var(--text); }

/* ---------- download ---------- */
.dl-steps { display: grid; gap: 14px; margin: 34px 0 24px; list-style: none; padding: 0; }
@media (min-width: 800px) { .dl-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.dl-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.dl-steps h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.dl-steps h3 .i {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  background: var(--surface-2); color: var(--green); font-size: 14px; font-weight: 900; flex: none;
}
.dl-steps p { color: var(--dim); font-size: 15.5px; margin: 0; }
.version { margin-top: 22px; color: var(--dim); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(59, 232, 168, .35); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233BE8A8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .body { padding: 0 22px 20px; color: var(--dim); }
.faq .body p { margin: 0; }

/* ---------- closing band ---------- */
.closing { text-align: center; overflow: hidden; isolation: isolate; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 60% at 50% 100%, rgba(59, 232, 168, .18), transparent 70%);
}
.closing h2 { max-width: 15ch; margin: 0 auto 18px; }
.closing .lead { margin: 0 auto 30px; }
.closing .cta-row { justify-content: center; }
.closing .brand { font-size: 30px; margin-bottom: 26px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--dim); font-size: 14.5px; }
footer .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
footer .row .tag { color: var(--dim); }
footer .row nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
@media (min-width: 900px) { footer .row nav { margin-left: auto; } }
footer .row nav a { color: var(--dim); }
footer .row nav a:hover { color: var(--text); }
footer .fine { margin-top: 22px; color: var(--faint); font-size: 14px; }
footer .fine a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveal on scroll (only when the script ran; nothing hides without it) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rings .pulse { display: none; }
}
