/* ============================================================
   Swift Client — shared site styles
   ============================================================ */

/* -------- Tokens -------- */
:root {
  --brand-50:  #f1ebff;
  --brand-200: #c9b4ff;
  --brand-400: #8a55ff;
  --brand-500: #6b2ff0;
  --brand-600: #5b21d6;
  --brand-700: #4b1fb3;
  --brand-900: #1d0a52;
  --brand-glow: rgba(107, 47, 240, 0.55);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2,.7,.2,1);

  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
}

html[data-theme="dark"] {
  --bg:        #07050d;
  --bg-2:      #0d0918;
  --surface:   #110b1f;
  --surface-2: #17102a;
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(255,255,255,0.12);
  --text:      #f4f1ff;
  --text-dim:  #a9a2c2;
  --text-mute: #6e6688;
  --hero-grad: radial-gradient(60% 60% at 50% 20%, rgba(107,47,240,0.28), transparent 60%),
               radial-gradient(80% 50% at 80% 90%, rgba(75,31,179,0.22), transparent 70%),
               linear-gradient(180deg, #0a0712 0%, #07050d 60%);
  --card-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
  --grid-line: rgba(255,255,255,0.04);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg:        #f7f5ff;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #f3eeff;
  --line:      rgba(20,10,50,0.09);
  --line-2:    rgba(20,10,50,0.15);
  --text:      #0f0a25;
  --text-dim:  #524869;
  --text-mute: #7d749a;
  --hero-grad: radial-gradient(60% 60% at 50% 20%, rgba(107,47,240,0.18), transparent 60%),
               radial-gradient(80% 50% at 80% 90%, rgba(75,31,179,0.12), transparent 70%),
               linear-gradient(180deg, #efeaff 0%, #f7f5ff 60%);
  --card-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 20px 40px -22px rgba(40,18,90,0.18);
  --grid-line: rgba(20,10,50,0.05);
  color-scheme: light;
}

/* -------- Reset -------- */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: color-mix(in oklab, var(--brand-500) 60%, transparent); color: var(--text); }

/* -------- Layout -------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-block;
}
.eyebrow b { color: var(--brand-400); font-weight: 500; }
h1,h2,h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 64px; max-width: 680px; }
.section-head p { color: var(--text-dim); font-size: 17px; max-width: 56ch; }

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 16px;
  white-space: nowrap;
}
.brand > span { white-space: nowrap; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: url("icon.png") center/contain no-repeat;
  box-shadow: 0 10px 24px -10px var(--brand-glow);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
}
.nav-links a {
  padding: 8px 16px; border-radius: 999px;
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 10px; justify-self: end; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn svg { width: 16px; height: 16px; }
html[data-theme="dark"] .sun { display: none; }
html[data-theme="light"] .moon { display: none; }

.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .download-btn .lbl { display: none; }
  .menu-btn { display: inline-flex; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600; font-size: 14px;
  transition: transform .15s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--brand-500);
  color: white;
  box-shadow:
    0 6px 20px -8px var(--brand-glow),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  background: var(--brand-400);
  box-shadow: 0 10px 28px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--surface-2); }
.btn-lg { padding: 16px 24px; font-size: 15px; border-radius: 14px; }
.btn-xl { padding: 20px 28px; font-size: 16px; border-radius: 16px; }

.btn-glow {
  box-shadow:
    0 0 0 1px rgba(138,85,255,0.3),
    0 10px 30px -10px var(--brand-glow);
}
.badge-detected {
  position: absolute; top: -10px; right: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  background: var(--brand-500); color: white; padding: 3px 8px; border-radius: 999px;
  text-transform: uppercase;
}

/* -------- Hero (home) -------- */
.hero {
  min-height: min(100vh, 920px);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 80px;
  background: var(--hero-grad);
  overflow: hidden;
}
.hero canvas,
.page-hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.9;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, black 0%, transparent 80%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 22px; height: 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: 11px; font-weight: 700;
}
.hero-tag b { color: var(--text); font-weight: 600; }
.hero h1 {
  font-size: clamp(48px, 8.5vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 auto;
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand-600) 100%);
  -webkit-background-clip: text; background-clip: text;
  font-style: italic;
  color: transparent;
  font-style: italic;
  font-weight: 800;
}
.hero-sub {
  margin: 32px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-dim);
}
.hero-cta {
  margin-top: 44px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  position: relative;
}
.hero-stats {
  margin: 64px auto 0;
  display: flex; gap: 0; justify-content: center; align-items: stretch;
  flex-wrap: wrap;
  width: max-content; max-width: 100%;
  padding: 18px 8px;
  border-radius: 18px;
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stat { padding: 4px 32px; min-width: 150px; border-left: 1px solid var(--line); text-align: left; transition: color .2s var(--ease); }
.stat:hover .v { color: var(--brand-200); }
.stat:first-child { border-left: 0; }
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); font-feature-settings: "tnum"; line-height: 1; }
.stat .v .pct { color: var(--brand-400); }
.stat .l { font-size: 12px; color: var(--text-mute); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
@media (max-width: 640px) {
  .hero-stats { padding: 4px; border-radius: 14px; }
  .stat { padding: 12px 16px; border-left: 0; border-top: 1px solid var(--line); min-width: 0; flex: 1 0 50%; text-align: center; }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
}

/* Hero kicker — small label sitting above the headline */
.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 auto 32px;
  padding: 8px 18px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-dim); letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-kicker .pulse {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--brand-400);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand-400) 60%, transparent);
  animation: heroPulse 2.4s var(--ease) infinite;
}
.hero-kicker .sep { width: 1px; height: 12px; background: var(--line); }
.hero-kicker b { color: var(--text); font-weight: 600; letter-spacing: 0.04em; }
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand-400) 60%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--brand-400) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand-400) 0%, transparent); }
}

/* -------- Page hero (sub-pages) -------- */
.page-hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(50px, 6vw, 80px);
  background: var(--hero-grad);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-grid { opacity: 0.6; }
.page-hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
  max-width: 820px;
}
.page-hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 0.98;
  margin: 0;
}
.page-hero h1 .accent {
  background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.page-hero p { color: var(--text-dim); font-size: 18px; max-width: 600px; }

/* -------- Sections -------- */
.alt-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.feature {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .2s var(--ease);
  overflow: hidden;
}
.feature:hover { border-color: var(--line-2); }
.feature .ico {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(180deg, rgba(138,85,255,0.18), rgba(75,31,179,0.08));
  border: 1px solid rgba(138,85,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-400);
  margin-bottom: 18px;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 14px; }
.feature .meta {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute);
  display: flex; gap: 16px; flex-wrap: wrap;
}

/* Screenshots */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--surface);
}
.shot:nth-child(1) { grid-row: span 2; }
.shot:nth-child(4) { grid-column: span 2; }
.shot img, .shot .ph {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.shot:hover img, .shot:hover .ph { transform: scale(1.04); }
.shot .ph {
  background:
    repeating-linear-gradient(135deg, rgba(138,85,255,0.10) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #1a1130, #0a0712);
  display: flex; align-items: end; justify-content: start;
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  padding: 16px; text-transform: uppercase;
}
.shot .ph::before {
  content: ""; position: absolute; top: 14px; left: 14px;
  width: 8px; height: 8px; border-radius: 999px; background: var(--brand-400);
  box-shadow: 0 0 12px var(--brand-glow);
}
.shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  font-size: 13px; color: white;
  display: flex; justify-content: space-between; align-items: end;
  pointer-events: none;
}
.shot .cap .num { font-family: var(--font-mono); font-size: 11px; opacity: .7; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .shot:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .shot:nth-child(4) { grid-column: span 2; }
}

/* Download cards */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px;
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.dl-card:hover { border-color: var(--line-2); }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
}
.dl-icon svg { width: 28px; height: 28px; }
.dl-title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.dl-meta { font-size: 13px; color: var(--text-mute); font-family: var(--font-mono); margin-top: 2px; }
.dl-reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dl-reqs li { display: flex; gap: 12px; font-size: 14px; color: var(--text-dim); }
.dl-reqs li::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand-400); margin-top: 8px; flex: 0 0 auto;
  box-shadow: 0 0 8px var(--brand-glow);
}
.dl-card .btn { width: 100%; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 4px; transition: background .2s; }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .15s var(--ease);
}
.faq summary:hover { color: var(--brand-400); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s;
  flex: 0 0 auto;
}
.faq details[open] .plus { transform: rotate(45deg); background: var(--brand-500); color: white; border-color: var(--brand-500); }
.faq .ans { color: var(--text-dim); font-size: 15px; padding-top: 14px; max-width: 680px; }

/* FAQ categories sidebar */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }
.faq-cats { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 90px; }
@media (max-width: 900px) { .faq-cats { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } }
.faq-cats a {
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.faq-cats a::before { content:""; width:6px; height:6px; border-radius:999px; background: var(--line-2); }
.faq-cats a:hover { color: var(--text); background: var(--surface); }

/* Footer */
footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.foot-meta { font-size: 13px; color: var(--text-mute); margin-top: 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-glow { animation: none; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,3,12,0.86);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox .box {
  width: min(1100px, 100%); max-height: 86vh; aspect-ratio: 16/9;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  position: relative;
}
.lightbox .box img, .lightbox .box .ph { width:100%; height:100%; object-fit:cover; }
.lightbox .ph {
  background:
    repeating-linear-gradient(135deg, rgba(138,85,255,0.10) 0 18px, transparent 18px 36px),
    linear-gradient(135deg, #1a1130, #0a0712);
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: 13px;
  display: flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: 0.1em;
}
.lightbox .close {
  position: absolute; top: -42px; right: 0;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.lightbox .nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
}
.lightbox .nav-arrow.left { left: 12px; }
.lightbox .nav-arrow.right { right: 12px; }

/* Mobile menu sheet */
.sheet {
  position: fixed; inset: 68px 0 0 0; z-index: 40;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 24px var(--pad);
  display: none;
  flex-direction: column; gap: 4px;
}
.sheet.open { display: flex; }
.sheet a {
  padding: 14px 8px; border-radius: 10px;
  font-size: 18px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.sheet a:last-of-type { border-bottom: 0; }

/* Section openers — quieter alternative to .section-head */
.sec-lead {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 640px; margin-bottom: 48px;
}
.sec-lead h2 { font-size: clamp(30px, 3.4vw, 44px); }
.sec-lead p { color: var(--text-dim); font-size: 16px; }
.sec-lead kbd {
  display: inline-block;
  padding: 1px 8px; border-radius: 6px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(0,0,0,.4);
  vertical-align: 1px;
}
.foot-note {
  color: var(--text-mute); font-size: 13px;
}

/* Hero facts — inline list under CTAs */
.hero-facts {
  list-style: none; padding: 0;
  margin: 56px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 28px;
  color: var(--text-mute);
  font-size: 14px;
  max-width: 720px;
}
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand-400);
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .hero-facts { flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
}

/* Closer block */
.closer {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; gap: 18px; align-items: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.closer h2 { font-size: clamp(28px, 3.2vw, 40px); text-wrap: balance; }
.closer p { color: var(--text-dim); max-width: 540px; text-wrap: pretty; }
.closer-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* CTA banner */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(107,47,240,0.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; max-width: 540px; }
.cta-banner .cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; }

/* Channels (downloads page) */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.channel {
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.channel .tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-dim);
  border: 1px solid var(--line);
}
.channel.stable .tag { color: var(--brand-200); border-color: rgba(138,85,255,0.3); background: rgba(107,47,240,0.12); }
.channel h3 { font-size: 16px; }
.channel p { color: var(--text-dim); font-size: 14px; flex: 1; }
.channel a.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-400); font-weight: 600; font-size: 14px;
}
.channel a.link svg { width: 14px; height: 14px; }

/* Install steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--brand-400);
  background: var(--surface-2); border: 1px solid var(--line);
  width: 56px; height: 56px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* Two-column feature row (features page) */
.feature-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-child { border-top: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 820px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.feature-row .copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.feature-row .copy p { color: var(--text-dim); font-size: 16px; max-width: 480px; }
.feature-row .copy .eyebrow { margin-bottom: 14px; }
.feature-row .visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(138,85,255,0.10) 0 18px, transparent 18px 36px),
    linear-gradient(135deg, #1a1130, #0a0712);
  position: relative; overflow: hidden;
  display: flex; align-items: end; padding: 20px;
}
html[data-theme="light"] .feature-row .visual {
  background:
    repeating-linear-gradient(135deg, rgba(107,47,240,0.07) 0 18px, transparent 18px 36px),
    linear-gradient(135deg, #efeaff, #ffffff);
}
.feature-row .visual::before {
  content: ""; position: absolute; top: 18px; left: 18px;
  width: 10px; height: 10px; border-radius: 999px; background: var(--brand-400);
  box-shadow: 0 0 14px var(--brand-glow);
}
.feature-row .visual .label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}
