/* =============================================================
   Shelf — landing site styles
   Aesthetic: native Windows 11 "Fluent / acrylic", elevated.
   Tokens mirror the actual app theme (Fluent blue accent, yellow S,
   translucent surfaces, hairline borders, Segoe fallback).
   ============================================================= */

/* ---------- Fonts ---------- */
/* Geist (display + body) + Geist Mono (keycaps / labels). Segoe fallback keeps it native on Windows. */

/* ---------- Design tokens ---------- */
:root {
  /* Dark is the primary, app-matching look. Light overrides below. */
  --bg: #0a0a0c;
  --bg-elev: #121216;
  --bg-grid: rgba(255, 255, 255, 0.025);
  --surface-card: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.60);
  --text-tertiary: rgba(255, 255, 255, 0.40);

  --accent: #60cdff;
  --accent-hover: #78d4ff;
  --accent-soft: rgba(96, 205, 255, 0.14);
  --on-accent: #04141f;
  --brand: #ffd60a;
  --danger: #ff6b6b;
  --ok: #4ade80;

  --glow: rgba(96, 205, 255, 0.20);
  --glow-2: rgba(255, 214, 10, 0.08);

  --font-sans: "Geist", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "Cascadia Code", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.8);

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

:root[data-theme="light"],
:root[data-theme="light"] body {
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { color-scheme: light; }
}

/* --- Light token block (system-light OR manual light) --- */
:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-elev: #ffffff;
  --bg-grid: rgba(0, 0, 0, 0.03);
  --surface-card: rgba(255, 255, 255, 0.75);
  --surface-hover: rgba(0, 0, 0, 0.04);
  --surface-strong: #ffffff;
  --border: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.16);

  --text-primary: rgba(0, 0, 0, 0.92);
  --text-secondary: rgba(0, 0, 0, 0.58);
  --text-tertiary: rgba(0, 0, 0, 0.42);

  --accent: #0078d4;
  --accent-hover: #106ebe;
  --accent-soft: rgba(0, 120, 212, 0.10);
  --on-accent: #ffffff;
  --brand: #b98c00;

  --glow: rgba(0, 120, 212, 0.16);
  --glow-2: rgba(255, 214, 10, 0.10);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow: 0 18px 50px -20px rgba(20, 30, 50, 0.28);
  --shadow-lg: 0 40px 90px -34px rgba(20, 30, 50, 0.34);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f6f7f9; --bg-elev: #ffffff; --bg-grid: rgba(0,0,0,0.03);
    --surface-card: rgba(255,255,255,0.75); --surface-hover: rgba(0,0,0,0.04); --surface-strong: #ffffff;
    --border: rgba(0,0,0,0.10); --border-strong: rgba(0,0,0,0.16);
    --text-primary: rgba(0,0,0,0.92); --text-secondary: rgba(0,0,0,0.58); --text-tertiary: rgba(0,0,0,0.42);
    --accent: #0078d4; --accent-hover: #106ebe; --accent-soft: rgba(0,120,212,0.10); --on-accent: #fff; --brand: #b98c00;
    --glow: rgba(0,120,212,0.16); --glow-2: rgba(255,214,10,0.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.08); --shadow: 0 18px 50px -20px rgba(20,30,50,0.28); --shadow-lg: 0 40px 90px -34px rgba(20,30,50,0.34);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmospheric background: subtle grid + fixed glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -8%, var(--glow), transparent 60%),
    radial-gradient(720px 480px at 8% 4%, var(--glow-2), transparent 55%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 100px;
  background: var(--surface-card); backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08; letter-spacing: -0.03em; font-weight: 600;
  margin-top: 18px;
}
.section-head p { margin-top: 18px; color: var(--text-secondary); font-size: clamp(1rem, 1.4vw, 1.15rem); }

.lede { color: var(--text-secondary); }

/* ---------- Keycap motif ---------- */
.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 8px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  color: var(--text-primary);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-card));
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
  line-height: 1;
  vertical-align: middle;
}
.kbd-group { display: inline-flex; align-items: center; gap: 5px; }
.kbd-group .plus { color: var(--text-tertiary); font-size: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  --_pad: 13px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-size: 0.98rem; font-weight: 500;
  padding: var(--_pad); border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 6px 20px -6px var(--glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 30px -8px var(--glow); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface-card); color: var(--text-primary);
  border-color: var(--border-strong); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--surface-hover); }
.btn-lg { --_pad: 16px 28px; font-size: 1.05rem; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; color: var(--text-secondary);
  font-size: 0.94rem; font-weight: 450; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--surface-hover); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface-card); border: 1px solid var(--border); color: var(--text-secondary);
  cursor: pointer; transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .sun { display: block; }
  :root:not([data-theme]) .theme-toggle .moon { display: none; }
}

.menu-btn { display: none; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-card); border: 1px solid var(--border); color: var(--text-primary); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.85rem);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  margin-top: 22px;
}
.hero h1 .hl { color: var(--accent); }
.hero .sub { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-secondary); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-line { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--text-tertiary); font-size: 0.88rem; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line svg { width: 15px; height: 15px; color: var(--accent); }

.hero-hint { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.9rem; }

/* Hero product frame (acrylic app window) */
.app-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-card));
  box-shadow: var(--shadow-lg);
  padding: 12px;
  backdrop-filter: blur(12px);
}
.app-frame::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.28), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.app-frame img { border-radius: 14px; width: 100%; }
.hero-visual { position: relative; }
.hero-visual .float-kbd {
  position: absolute; z-index: 3;
  padding: 10px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--bg-elev) 82%, transparent);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: var(--text-secondary);
  animation: floaty 6s ease-in-out infinite;
}
.float-kbd.tl { top: -18px; left: -26px; }
.float-kbd.br { bottom: 26px; right: -30px; animation-delay: -3s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.stat { background: var(--bg-elev); padding: 26px 22px; text-align: center; }
.stat .num { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; }
.stat .num.accent { color: var(--accent); }
.stat .lbl { margin-top: 6px; color: var(--text-tertiary); font-size: 0.85rem; }

/* ---------- Screenshot showcase ---------- */
.shots { display: grid; grid-template-columns: 1.4fr 1fr; grid-auto-rows: 1fr; gap: 20px; }
.shot {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--bg-elev);
  box-shadow: var(--shadow); transition: transform 0.3s var(--ease), border-color 0.3s;
}
.shot:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.shot--wide { grid-column: span 1; }
.shot-media { position: relative; background: #0d0d10; display: flex; align-items: center; justify-content: center; padding: 22px; min-height: 200px; }
:root[data-theme="light"] .shot-media { background: #eef0f4; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .shot-media { background: #eef0f4; } }
.shot-media img { border-radius: 10px; box-shadow: var(--shadow-sm); max-height: 420px; width: auto; }
.shot-cap { padding: 16px 20px; border-top: 1px solid var(--border); }
.shot-cap .t { font-weight: 550; font-size: 0.98rem; }
.shot-cap .d { color: var(--text-tertiary); font-size: 0.86rem; margin-top: 3px; }
.shot .tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border); backdrop-filter: blur(6px); }
.shots-note { margin-top: 18px; color: var(--text-tertiary); font-size: 0.85rem; text-align: center; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface-card);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.feature::after { content:""; position:absolute; inset:0; background: radial-gradient(340px 180px at var(--mx,50%) 0%, var(--accent-soft), transparent 70%); opacity:0; transition: opacity 0.4s; pointer-events:none; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature:hover::after { opacity: 1; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border);
  margin-bottom: 20px;
}
.feature .icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.02em; }
.feature p { margin-top: 10px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.62; }
.feature .keys { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.feature.brand-accent .icon { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }

/* ---------- Comparison ---------- */
.compare-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-elev); box-shadow: var(--shadow); }
.compare-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.02em; position: sticky; top: 0; background: var(--bg-elev); }
table.compare thead th.col-shelf { color: var(--accent); }
table.compare .col-shelf { background: var(--accent-soft); }
table.compare tbody th { font-weight: 450; color: var(--text-primary); font-size: 0.94rem; }
table.compare td { text-align: center; }
table.compare td:first-of-type, table.compare th:first-child { text-align: left; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: none; }
.tick { color: var(--accent); display: inline-flex; }
.tick.brand { color: var(--ok); }
.dash { color: var(--text-tertiary); }
.partial { color: var(--text-tertiary); font-size: 0.82rem; }
.compare-head-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-primary); }
.compare-head-brand img { width: 18px; height: 18px; }

/* ---------- Privacy ---------- */
.privacy-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface-card); backdrop-filter: blur(10px);
  padding: clamp(32px, 5vw, 56px);
}
.privacy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.privacy-points { display: grid; gap: 14px; }
.privacy-points li { list-style: none; display: flex; gap: 13px; align-items: flex-start; color: var(--text-secondary); font-size: 0.96rem; }
.privacy-points .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-top: 1px; }
.privacy-points .ic svg { width: 15px; height: 15px; }
.privacy-points b { color: var(--text-primary); font-weight: 550; }
.path-chip { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-secondary); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 3px 8px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin-inline: auto; }
.plan {
  position: relative; padding: clamp(28px, 3vw, 38px); border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface-card); backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface-card)); box-shadow: var(--shadow); }
.plan .plan-badge { position: absolute; top: -12px; right: 24px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.25rem; font-weight: 600; }
.plan .price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.plan .price .amount { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; }
.plan .price .per { color: var(--text-tertiary); font-size: 0.92rem; }
.plan .price .strike { color: var(--text-tertiary); text-decoration: line-through; font-size: 1.1rem; }
.plan .plan-sub { margin-top: 8px; color: var(--text-secondary); font-size: 0.94rem; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 26px 0; }
.plan li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-secondary); font-size: 0.95rem; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--text-tertiary); font-size: 0.86rem; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-card);
  overflow: hidden; transition: border-color 0.25s, background 0.25s;
}
.faq details[open] { border-color: var(--border-strong); background: var(--surface-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 500; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 20px; height: 20px; color: var(--text-tertiary); transition: transform 0.3s var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--accent); }
.faq .answer { padding: 0 24px 22px; color: var(--text-secondary); font-size: 0.96rem; line-height: 1.65; }

/* ---------- Download CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 50% -40%, var(--accent-soft), transparent 70%),
    var(--bg-elev);
  padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; font-weight: 600; }
.cta-band p { margin: 16px auto 0; color: var(--text-secondary); max-width: 560px; }
.cta-band .btn { margin-top: 30px; }
.cta-band .fine { margin-top: 18px; color: var(--text-tertiary); font-size: 0.82rem; }
.cta-band .fine a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: clamp(48px, 7vw, 96px); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-tertiary); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.92rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-tertiary); font-size: 0.85rem; }
.footer-bottom .badge { font-family: var(--font-mono); }

/* ---------- Sub-page hero ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(24px, 3vw, 40px); text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -0.035em; font-weight: 600; margin-top: 18px; }
.page-hero p { margin: 18px auto 0; color: var(--text-secondary); max-width: 620px; font-size: 1.08rem; }

/* Legal / prose pages */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { font-size: 1.08rem; font-weight: 600; margin-top: 26px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-secondary); line-height: 1.75; }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--surface-card); border: 1px solid var(--border); border-radius: 6px; padding: 2px 6px; }
.prose .updated { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-tertiary); }
.callout { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface-card); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 24px; }
.callout p { margin: 0; color: var(--text-primary); }

/* Download page specifics */
.dl-card { max-width: 720px; margin-inline: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-card); backdrop-filter: blur(10px); padding: clamp(32px, 5vw, 48px); text-align: center; box-shadow: var(--shadow); }
.dl-logo { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 22px; box-shadow: var(--shadow); }
.dl-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; color: var(--text-tertiary); font-size: 0.88rem; }
.dl-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dl-meta svg { width: 15px; height: 15px; color: var(--accent); }
.req-list { max-width: 520px; margin: 30px auto 0; text-align: left; display: grid; gap: 12px; }
.req-list li { list-style: none; display: flex; gap: 11px; color: var(--text-secondary); font-size: 0.94rem; }
.req-list svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

/* ---------- Contact form ---------- */
.contact-card { max-width: 620px; margin-inline: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); backdrop-filter: blur(10px); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field.row2 { grid-template-columns: 1fr; } }
.field label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
.input, .textarea {
  width: 100%; font-family: var(--font-sans); font-size: 0.96rem; color: var(--text-primary);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 11px;
  padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 130px; line-height: 1.6; }
.form-status { min-height: 20px; font-size: 0.88rem; color: var(--text-secondary); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }
.contact-alt { text-align: center; color: var(--text-tertiary); font-size: 0.9rem; margin-top: 20px; }
.contact-alt a { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Mobile nav sheet ---------- */
.mobile-nav { display: none; position: fixed; inset: 68px 0 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(20px); padding: 24px; flex-direction: column; gap: 6px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.1rem; color: var(--text-primary); border: 1px solid transparent; }
.mobile-nav a:hover { background: var(--surface-hover); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .float-kbd.tl { left: -8px; } .float-kbd.br { right: -8px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
