/* =====================================================================
   NOX landing page — Dusk (NOX 3.0). Nightfall palette, Inter, rounded.
   Mirrors the app's Dusk tokens (DUSK-DESIGN-SPEC v3): dark only, low
   shine, hairlines at 4.5–8% white, no inner highlights, gradient only on
   one hero surface and as hover feedback.
   ===================================================================== */
@font-face { font-family: "Inter Dusk"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter Dusk"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-700-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF; }

:root {
  /* Nightfall palette inputs */
  --p-bg: #05050c;
  --p-bg-deep: #09091a;
  --p-accent: #8f80d8;
  --p-accent-2: #2aa6c4;
  --p-accent-3: #b8468c;
  --p-button: #5f52b0;
  --p-ok: #3cc58a;
  --p-warn: #ffb84d;

  /* text */
  --ink: #f4f5ff;
  --ink-2: #c4c8e4;
  --ink-3: #8f95b8;
  --accent-ink: #b9aef0;

  /* surfaces (solid twins of the app's glass; static page, so no blur needed below the header) */
  --g-base: #0f0e1d;
  --g2: rgb(18 17 34 / .78);
  --g3: #161528;
  --hair: rgb(255 255 255 / .045);
  --hair-2: rgb(255 255 255 / .08);

  /* shape */
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-2xl: 34px; --r-pill: 999px;
  --leaf-lg: 28px 28px 28px 12px;
  --leaf-xl: 34px 34px 34px 14px;

  /* depth */
  --sh-1: 0 4px 14px rgb(0 0 0 / .30);
  --sh-2: 0 10px 30px rgb(0 0 0 / .40);
  --sh-3: 0 28px 80px rgb(0 0 0 / .55);
  --glow: 0 0 0 1px rgb(143 128 216 / .35), 0 8px 22px rgb(143 128 216 / .22);
  --grad-btn: radial-gradient(90% 120% at 0% 0%, rgb(42 166 196 / .45), transparent 60%), linear-gradient(140deg, #7e71be, #97396f);

  /* motion */
  --e-out: cubic-bezier(.2, 0, 0, 1);
  --e-spring: cubic-bezier(.32, .02, .2, 1);
  --d-press: 90ms; --d-fast: 160ms; --d-med: 240ms; --d-slow: 420ms;

  --font: "Inter Dusk", Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 16px;
  --max: 1160px;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--p-bg); scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--ink);
  font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background: var(--p-bg);
}
[lang="ar"] body { font-family: "Cairo", var(--font); font-feature-settings: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i16 { width: 16px; height: 16px; }
.i24 { width: 24px; height: 24px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; z-index: 2000; inset-inline-start: 12px; top: -60px; padding: 10px 16px; border-radius: var(--r-md); background: var(--p-button); color: #fff; font-weight: 600; transition: top var(--d-fast) var(--e-out); }
.skip-link:focus { top: 12px; }

/* the Dusk ground: gradient + three low-alpha colour blobs, painted once */
.ground {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 8% -6%, rgb(143 128 216 / .09), transparent 62%),
    radial-gradient(48vmax 40vmax at 100% 26%, rgb(42 166 196 / .05), transparent 60%),
    radial-gradient(56vmax 46vmax at 46% 108%, rgb(184 70 140 / .06), transparent 62%),
    linear-gradient(155deg, var(--p-bg), var(--p-bg-deep));
}

/* ---------- buttons: alive but subtle ---------- */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-md); border: 1px solid transparent;
  font: 600 14px/1.1 var(--font); letter-spacing: -.005em; color: var(--ink); white-space: nowrap; cursor: pointer;
  transform: translateY(var(--lift));
  transition: transform var(--d-fast) var(--e-out), box-shadow var(--d-med) var(--e-out), background-color var(--d-fast), border-color var(--d-fast);
}
.btn:hover { --lift: -1px; }
.btn:active { transform: translateY(0) scale(.965); transition-duration: var(--d-press); }
.btn-primary { background-color: var(--p-button); color: #fff; }
.btn-primary:hover { background-image: var(--grad-btn); box-shadow: 0 10px 26px rgb(143 128 216 / .32); }
.btn-secondary { background-color: rgb(255 255 255 / .04); border-color: var(--hair-2); }
.btn-secondary:hover { border-color: rgb(143 128 216 / .45); box-shadow: var(--glow); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 15px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-weight: 600; color: var(--accent-ink); border-radius: 6px; transition: color var(--d-fast); }
.text-link::after { content: ""; width: 7px; height: 7px; border-top: 1.75px solid currentColor; border-inline-end: 1.75px solid currentColor; transform: rotate(45deg); transition: transform var(--d-fast) var(--e-out); }
[dir="rtl"] .text-link::after { transform: rotate(-45deg); }
.text-link:hover { color: var(--ink); }
.text-link:hover::after { transform: translateX(2px) rotate(45deg); }
[dir="rtl"] .text-link:hover::after { transform: translateX(-2px) rotate(-45deg); }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(to bottom, rgb(5 5 12 / .9), rgb(5 5 12 / .72));
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  transition: background-color var(--d-med) var(--e-out), box-shadow var(--d-med) var(--e-out);
}
.topbar[data-stuck] { box-shadow: 0 1px 0 var(--hair), 0 12px 32px rgb(0 0 0 / .28); }
.topbar-inner { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; flex: none; width: 78px; padding: 4px 0; border-radius: 8px; }
.brand img { width: 100%; height: auto; }

.navlinks { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; font-size: 14px; font-weight: 500; }
.navlinks > a, .nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px;
  color: var(--ink-2); background: transparent; border: 0; font: inherit; cursor: pointer;
  transition: color var(--d-fast), background-color var(--d-fast);
}
.navlinks > a:hover, .nav-dropdown-trigger:hover, .nav-dropdown.is-open .nav-dropdown-trigger { color: var(--ink); background: rgb(255 255 255 / .06); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger .i { transition: transform var(--d-med) var(--e-spring); }
.nav-dropdown.is-open .nav-dropdown-trigger .i { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 50%; z-index: 1100; width: 220px; padding: 6px;
  border-radius: var(--r-lg); border: 1px solid var(--hair-2); background: var(--g3); box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translate(-50%, -4px) scale(.98); transform-origin: top center;
  transition: opacity var(--d-fast) var(--e-out), transform var(--d-fast) var(--e-out), visibility var(--d-fast);
}
[dir="rtl"] .nav-dropdown-menu { transform: translate(50%, -4px) scale(.98); }
.nav-dropdown.is-open .nav-dropdown-menu, .nav-dropdown-menu:focus-within { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
[dir="rtl"] .nav-dropdown.is-open .nav-dropdown-menu, [dir="rtl"] .nav-dropdown-menu:focus-within { transform: translate(50%, 0) scale(1); }
.nav-dropdown-menu a { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; transition: background-color var(--d-fast), color var(--d-fast); }
.nav-dropdown-menu a:hover { background: rgb(143 128 216 / .18); color: var(--ink); }

.lang-switcher { position: relative; flex: none; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--hair-2); background: rgb(255 255 255 / .03); color: var(--ink-2);
  font: 600 12px/1 var(--font); letter-spacing: .02em; cursor: pointer; transition: color var(--d-fast), border-color var(--d-fast);
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { color: var(--ink); border-color: rgb(143 128 216 / .4); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 1100; min-width: 168px; padding: 6px;
  border-radius: var(--r-md); border: 1px solid var(--hair-2); background: var(--g3); box-shadow: var(--sh-3);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex; width: 100%; min-height: 36px; align-items: center; padding: 0 12px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-2); font: 400 14px/1 var(--font); text-align: start; cursor: pointer;
}
.lang-menu button:hover { background: rgb(143 128 216 / .18); color: var(--ink); }
.lang-menu button.active { color: var(--ink); font-weight: 600; }

.topbar-cta { flex: none; }

.nav-menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav-menu-toggle {
    order: 3; display: inline-grid; place-content: center; gap: 5px; width: 44px; height: 44px; flex: none;
    border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer;
  }
  .nav-menu-toggle span { display: block; width: 18px; height: 1.75px; border-radius: 2px; background: var(--ink); transition: transform var(--d-med) var(--e-spring); }
  .nav-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
  .nav-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
  .lang-switcher { margin-inline-start: auto; }
  .navlinks {
    position: absolute; top: 64px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px; border-radius: var(--r-lg); border: 1px solid var(--hair-2); background: var(--g3); box-shadow: var(--sh-3);
    font-size: 16px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--d-fast) var(--e-out), transform var(--d-fast) var(--e-out), visibility var(--d-fast);
  }
  .navlinks[data-open] { opacity: 1; visibility: visible; transform: none; }
  .navlinks > a, .nav-dropdown-trigger { min-height: 48px; width: 100%; justify-content: space-between; }
  .nav-dropdown-menu, [dir="rtl"] .nav-dropdown-menu { position: static; width: auto; display: none; padding: 0 0 4px 12px; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.is-open .nav-dropdown-menu, [dir="rtl"] .nav-dropdown.is-open .nav-dropdown-menu { display: block; transform: none; }
  .nav-dropdown-menu a { min-height: 44px; }
}
@media (max-width: 380px) {
  .brand { width: 64px; }
  .topbar-cta { padding: 0 10px; }
  .topbar-inner { gap: 8px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(48px, 8vw, 104px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy { max-width: 600px; }
.version-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 14px 0 12px; border-radius: var(--r-pill);
  border: 1px solid var(--hair-2); background: rgb(255 255 255 / .035); color: var(--ink-2); font-size: 13px; font-weight: 500;
  transition: border-color var(--d-fast), color var(--d-fast), box-shadow var(--d-med) var(--e-out);
}
.version-pill:hover { color: var(--ink); border-color: rgb(143 128 216 / .4); box-shadow: var(--glow); }
.version-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p-ok); box-shadow: 0 0 0 3px rgb(60 197 138 / .18); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.032em; }
.hero-sub { margin-top: 20px; max-width: 540px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero-note a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgb(196 200 228 / .35); text-underline-offset: 3px; transition: color var(--d-fast), text-decoration-color var(--d-fast); }
.hero-note a:hover { color: var(--ink); text-decoration-color: currentColor; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: rgb(255 255 255 / .04); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.trust .i { color: var(--accent-ink); }

/* phone frames around real Dusk screenshots */
.phone {
  position: relative; margin: 0; padding: 8px; border-radius: 40px;
  background: linear-gradient(180deg, #17162a, #0c0b17);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07), var(--sh-3);
}
.phone-screen { position: relative; overflow: hidden; border-radius: 32px; padding-top: 30px; background: #0a0915; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 74px; height: 20px; margin-left: -37px; border-radius: var(--r-pill); background: #000; }
.phone-screen img { width: 100%; height: auto; }

.hero-stage { position: relative; height: clamp(460px, 48vw, 600px); }
.stage-glow {
  position: absolute; inset: 6% -10% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(143 128 216 / .22), rgb(42 166 196 / .07) 55%, transparent 100%);
}
.hero-stage .phone { position: absolute; }
.phone-front { width: clamp(230px, 24vw, 310px); inset-inline-start: 2%; top: 0; z-index: 2; }
.phone-back { width: clamp(200px, 21vw, 270px); inset-inline-end: -2%; top: 12%; z-index: 1; }
.phone-back .phone-screen img { filter: brightness(.78) saturate(.95); }

/* single orchestrated load-in */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s var(--e-spring) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .22s; }
.hero-copy > :nth-child(6) { animation-delay: .26s; }
.phone-front { animation: rise-phone .9s var(--e-spring) .15s both; }
.phone-back { animation: rise-phone .9s var(--e-spring) .3s both; }
.stage-glow { animation: rise .9s var(--e-out) .1s both; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .privacy-copy h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.024em; }
.section-head p, .privacy-copy p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }

/* features: alternating rows, one real screenshot each */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
.feature-flip .feature-copy { order: 2; }
.feature-copy { max-width: 480px; }
.feature-copy h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.018em; }
.feature-copy > p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.facts { display: grid; gap: 10px; margin-top: 26px; }
.facts li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink); }
.facts .i { box-sizing: content-box; padding: 9px; border-radius: var(--r-sm); background: rgb(143 128 216 / .13); color: var(--accent-ink); }

.feature-shot {
  position: relative; margin: 0; height: clamp(400px, 40vw, 480px); overflow: hidden;
  display: flex; justify-content: center; padding-top: clamp(32px, 4vw, 48px);
  border-radius: var(--leaf-xl); border: 1px solid var(--hair);
  background: radial-gradient(90% 70% at 50% 0%, var(--tint, rgb(143 128 216 / .14)), transparent 70%), rgb(255 255 255 / .02);
}
.feature:nth-of-type(2) .feature-shot { --tint: rgb(42 166 196 / .12); }
.feature:nth-of-type(3) .feature-shot { --tint: rgb(184 70 140 / .13); }
.feature-shot .phone { width: clamp(236px, 24vw, 290px); align-self: flex-start; }
.feature-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 72px; background: linear-gradient(to bottom, transparent, rgb(7 7 16 / .85)); pointer-events: none; }
.feature-shot--end { align-items: flex-end; padding-top: 0; padding-bottom: clamp(32px, 4vw, 48px); }
.feature-shot--end .phone { align-self: flex-end; }
.feature-shot--end::after { inset: 0 0 auto; background: linear-gradient(to top, transparent, rgb(7 7 16 / .85)); }

/* privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.privacy-copy { max-width: 460px; position: sticky; top: 104px; }
.privacy-list { display: grid; gap: 8px; padding: 8px; border-radius: var(--r-xl); background: var(--g2); border: 1px solid var(--hair); }
.privacy-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border-radius: 20px; background: rgb(255 255 255 / .025); }
.privacy-list li > span:last-child { display: grid; gap: 4px; }
.privacy-list b { font-size: 16px; line-height: 1.35; color: var(--ink); }
.privacy-list b + span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.privacy-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: rgb(143 128 216 / .13); color: var(--accent-ink); }
.privacy-later .privacy-icon { background: rgb(255 184 77 / .12); color: var(--p-warn); }

/* compare */
.compare-card { padding: 6px; border-radius: var(--r-xl); background: var(--g2); border: 1px solid var(--hair); }
.compare-scroll { overflow-x: auto; border-radius: 22px; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .14) transparent; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.compare-table caption { padding: 14px 16px 10px; text-align: start; font-size: 13px; color: var(--ink-3); }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: start; vertical-align: top; }
.compare-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.compare-table tbody th { font-weight: 500; color: var(--ink); min-width: 190px; }
.compare-table td { color: var(--ink-2); }
.compare-table tbody tr { border-top: 1px solid var(--hair); }
.compare-table .nox-col { min-width: 150px; background: rgb(143 128 216 / .1); color: var(--ink); font-weight: 600; }
.compare-table thead .nox-col { color: var(--ink); border-radius: 14px 14px 0 0; }
.compare-table tbody tr:last-child .nox-col { border-radius: 0 0 14px 14px; }
.compare-table .good { color: #7fe0b2; }
.compare-table .muted { color: var(--ink-3); }
.fine { margin-top: 18px; max-width: 760px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.fine a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgb(196 200 228 / .35); text-underline-offset: 3px; }
.fine a:hover { color: var(--ink); }

/* roadmap: a real sequence */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.roadmap-step { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-xl); background: var(--g2); border: 1px solid var(--hair); }
.roadmap-step.is-now { border-radius: var(--leaf-lg); border-color: rgb(143 128 216 / .28); }
.roadmap-when { align-self: flex-start; padding: 5px 11px; border-radius: var(--r-pill); background: rgb(255 255 255 / .06); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.is-now .roadmap-when { background: rgb(143 128 216 / .2); color: var(--ink); }
.roadmap-step h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.012em; }
.roadmap-step p { color: var(--ink-2); font-size: 15px; }
.roadmap-status { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--ink-3); }

/* download: the one closing hero surface */
.section-download { padding-top: 0; }
.download-panel {
  padding: clamp(28px, 5vw, 56px); border-radius: var(--leaf-xl); border: 1px solid var(--hair);
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(42 166 196 / .12), transparent 60%),
    radial-gradient(80% 100% at 0% 100%, rgb(184 70 140 / .1), transparent 60%),
    linear-gradient(140deg, rgb(143 128 216 / .14), rgb(15 14 29 / .9));
}
.download-panel .section-head { margin-bottom: 32px; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.platform {
  --lift: 0px;
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; border-radius: 18px;
  border: 1px solid var(--hair-2); background: rgb(5 5 12 / .45); transform: translateY(var(--lift));
  transition: transform var(--d-fast) var(--e-out), border-color var(--d-fast), box-shadow var(--d-med) var(--e-out), background-color var(--d-fast);
}
.platform:hover { --lift: -1px; border-color: rgb(143 128 216 / .45); box-shadow: var(--glow); background-color: rgb(5 5 12 / .6); }
.platform:active { transform: scale(.965); transition-duration: var(--d-press); }
.platform img, .platform .i { width: 24px; height: 24px; flex: none; color: var(--ink); }
.platform span { display: grid; gap: 2px; }
.platform b { font-size: 15px; line-height: 1.25; }
.platform small { font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.download-panel .fine { margin-top: 22px; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { padding-block: 40px 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--ink-3); font-size: 14px; }
.footer-brand img { width: 62px; height: auto; opacity: .9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-inline-start: auto; }
.footer-links a { padding: 6px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; transition: color var(--d-fast), background-color var(--d-fast); }
.footer-links a:hover { color: var(--ink); background: rgb(255 255 255 / .05); }
.copyright { width: 100%; color: var(--ink-3); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .feature, .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: none; }
  .hero-stage { height: clamp(400px, 92vw, 560px); max-width: 520px; width: 100%; margin-inline: auto; }
  .phone-front { width: clamp(200px, 52vw, 270px); inset-inline-start: 4%; }
  .phone-back { width: clamp(176px, 45vw, 236px); }
  .feature-flip .feature-copy { order: 0; }
  .feature-copy { max-width: 560px; }
  .feature-shot { height: clamp(360px, 90vw, 460px); }
  .feature-shot .phone { width: clamp(220px, 60vw, 280px); }
  .privacy-copy { position: static; max-width: 560px; }
  .roadmap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .compare-table { min-width: 680px; }
  .compare-table tbody th { min-width: 150px; }
  .privacy-list li { padding: 16px 14px; gap: 14px; }
  .footer-links { margin-inline-start: 0; }
}

/* ---------- reduced motion / transparency ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .btn:hover, .platform:hover { --lift: 0px; }
  .btn:active, .platform:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar { background: var(--p-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
