/* Copyright (C) 2026 Verlintas · SPDX-License-Identifier: GPL-3.0-or-later */
:root {
  --bg: #0b101c;
  --bg-soft: #101728;
  --card: rgba(22, 29, 50, 0.66);
  --card-solid: #141b2e;
  --card-border: rgba(140, 155, 255, 0.16);
  --text: #eef1fb;
  --text-dim: #9fa9c4;
  --text-faint: #6f7a98;
  --accent: #4f6bed;
  --accent-2: #8fa2ff;
  --accent-rgb: 79, 107, 237;
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1160px;
  --font: "Inter", "SF Pro Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ---------- background ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -2;
  transition: background 0.6s ease;
}
.orb-a {
  width: 52vw; height: 52vw; left: -14vw; top: -18vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.30), transparent 68%);
}
.orb-b {
  width: 46vw; height: 46vw; right: -16vw; top: 12vw;
  background: radial-gradient(circle, rgba(179, 136, 255, 0.20), transparent 68%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 155, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 155, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 55% at 50% 0%, #000 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(80% 55% at 50% 0%, #000 0%, transparent 82%);
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 16, 28, 0.66);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled {
  background: rgba(11, 16, 28, 0.86);
  border-bottom-color: rgba(140, 155, 255, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.5);
  position: relative;
  flex: none;
  transition: background 0.4s ease;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-mark::before {
  content: "";
  position: absolute; left: 11px; top: 9px;
  border-left: 7px solid #fff;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  z-index: 1;
}
.nav-version {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.12);
  border-radius: 999px;
  padding: 1px 9px;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-links > a { color: var(--text-dim); text-decoration: none; font-size: 14.5px; transition: color 0.18s ease; }
.nav-links > a:hover { color: var(--text); }
.nav-gh {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 5px 14px;
  color: var(--text) !important;
  background: rgba(140, 155, 255, 0.07);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-gh:hover { background: rgba(140, 155, 255, 0.16); border-color: rgba(var(--accent-rgb), 0.45); }
.lang-toggle {
  border: 1px solid var(--card-border);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.lang-toggle:hover { background: rgba(var(--accent-rgb), 0.22); }
.lang-toggle:active { transform: scale(0.96); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 26px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
}
.version-badge .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.version-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero h1 {
  font-size: clamp(46px, 7.5vw, 78px);
  margin: 20px 0 4px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(115deg, #ffffff 12%, var(--accent-2) 58%, #dcc6ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline { color: var(--text-dim); max-width: 560px; margin: 12px 0 28px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  list-style: none; padding: 0; margin: 26px 0 0;
  color: var(--text-faint); font-size: 13px;
}
.hero-meta li { position: relative; }
.hero-meta li + li::before {
  content: "";
  position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-faint);
}

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone {
  position: relative;
  width: min(292px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  border: 10px solid #1b2236;
  background: #05070d;
  box-shadow:
    0 30px 80px rgba(5, 8, 18, 0.85),
    0 0 0 1px rgba(140, 155, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-island {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 22px;
  background: #05070d;
  border-radius: 999px;
  z-index: 2;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20, 27, 46, 0.82);
  border: 1px solid rgba(140, 155, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 14px 34px rgba(5, 8, 18, 0.6);
  animation: floaty 6s ease-in-out infinite;
  white-space: nowrap;
}
.chip-a { top: 12%; left: 2%; animation-delay: -1.4s; }
.chip-b { top: 38%; right: 0; animation-delay: -3.2s; }
.chip-c { bottom: 9%; left: 6%; animation-delay: -2.2s; }
.swatch-row { display: inline-flex; gap: 4px; }
.swatch-row i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c, #fff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 54px 0 0;
  padding: 0;
}
.stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stat dt {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-2);
  line-height: 1.2;
}
.stat dd { margin: 4px 0 0; color: var(--text-dim); font-size: 13px; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(16, 23, 40, 0.55), rgba(16, 23, 40, 0.15));
  border-top: 1px solid rgba(140, 155, 255, 0.07);
  border-bottom: 1px solid rgba(140, 155, 255, 0.07);
}
.section-head { max-width: 640px; margin-bottom: 34px; }
.section h2 { font-size: clamp(27px, 4vw, 36px); margin: 0 0 8px; letter-spacing: -0.02em; }
.section-sub { color: var(--text-dim); margin: 0; }

/* ---------- features ---------- */
.grid { display: grid; gap: 16px; }
.features { grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 18px 44px rgba(6, 9, 18, 0.62);
}
.card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.95), rgba(179, 136, 255, 0.85));
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.28);
  margin-bottom: 14px;
  transition: background 0.4s ease;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------- showcase ---------- */
.show-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
  padding: 40px 0;
}
.show-row + .show-row { border-top: 1px dashed rgba(140, 155, 255, 0.12); }
.show-row.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.show-row.reverse .show-media { order: 2; }
.show-row.reverse .show-copy { order: 1; }
.show-media { display: flex; justify-content: center; }
.show-media img {
  cursor: zoom-in;
  max-height: 520px;
  width: auto;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 26px 60px rgba(5, 8, 18, 0.7);
}
.show-media.dual { flex-direction: column; align-items: center; gap: 16px; }
.show-media.dual img { max-height: none; width: 100%; height: auto; border-radius: 18px; }
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.show-copy h3 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 14px; letter-spacing: -0.01em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dim);
  font-size: 14.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.16);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 8.5px;
  width: 8px; height: 4.5px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ---------- tech ---------- */
.tech-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 18px;
  margin-bottom: 18px;
}
.arch-card, .eng-stats {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}
.arch-card h3 { margin: 0 0 16px; font-size: 16px; }
.arch { display: flex; flex-direction: column; gap: 8px; }
.arch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arch-box {
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.arch-app {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.16);
}
.arch-box strong {
  display: block;
  font-size: 14px;
  color: var(--accent-2);
  font-family: "SF Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  font-weight: 600;
}
.arch-box span { font-size: 12.5px; color: var(--text-dim); }
.arch-arrow { color: var(--text-faint); font-size: 11.5px; text-align: center; letter-spacing: 0.08em; }
.stack { margin-top: 18px; }
.stack-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.stack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-chips span {
  font-size: 12px;
  color: var(--text-dim);
  border: 1px solid var(--card-border);
  background: rgba(8, 12, 22, 0.5);
  border-radius: 999px;
  padding: 3px 10px;
}
.eng-stats { display: grid; gap: 12px; align-content: start; }
.eng-stats .stat { background: rgba(8, 12, 22, 0.45); }

.tech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.tech-cards .card h3 { font-size: 15.5px; }
.tech-cards .card p { font-size: 13.5px; }

.code-card {
  margin-top: 18px;
  background: #0a0f1d;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px 0;
  border-bottom: 1px solid rgba(140, 155, 255, 0.12);
  background: rgba(16, 23, 40, 0.6);
}
.code-tab {
  border: 0;
  background: none;
  color: var(--text-faint);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.code-tab:hover { color: var(--text-dim); }
.code-tab.active { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.code-panel {
  display: none;
  margin: 0;
  padding: 18px 20px 20px;
  overflow-x: auto;
}
.code-panel.active { display: block; }
.code-panel code {
  font-family: "SF Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: #c6d0ef;
  white-space: pre;
}
.c-com { color: #5d6b8f; }
.c-str { color: #9ecbff; }
.c-kw { color: var(--accent-2); }

@media (max-width: 980px) {
  .tech-top { grid-template-columns: 1fr; }
  .eng-stats { grid-template-columns: repeat(2, 1fr); }
}
/* ---------- download ---------- */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.dl-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dl-card h4 { margin: 0; font-size: 17px; }
.tag {
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
}
.tag.hot { color: #4ade80; background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.3); }
.dl-card p { margin: 0 0 4px; color: var(--text-dim); font-size: 13.5px; }
.dl-card .btn { width: 100%; margin-top: auto; }
.dl-card .size { opacity: 0.8; font-size: 13px; margin-left: 6px; }
.sha {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 12, 22, 0.7);
  border: 1px solid rgba(140, 155, 255, 0.12);
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 6px;
}
.sha code {
  flex: 1;
  font-size: 11.5px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sha .copy {
  border: 0;
  background: none;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 2px 4px;
  flex: none;
}
.sha .copy:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.34);
}
.btn.primary:hover { box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.48); }
.btn.ghost {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(140, 155, 255, 0.08);
}
.btn.ghost:hover { background: rgba(140, 155, 255, 0.16); }

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  margin-top: 22px;
}
.release-side, .release-notes {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}
.release-title { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 14px; }
.release-title span:first-child { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--accent-2); }
.release-date { color: var(--text-faint); font-size: 13px; }
.steps { list-style: none; counter-reset: step; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding-left: 34px; color: var(--text-dim); font-size: 14px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.16);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}
.release-notes h4 { margin: 0 0 12px; font-size: 16px; }
.notes-body {
  max-height: 260px;
  overflow: auto;
  padding-right: 8px;
  color: var(--text-dim);
  font-size: 13.5px;
  scrollbar-width: thin;
}
.notes-body h5 { color: var(--text); margin: 14px 0 6px; font-size: 13.5px; }
.notes-body ul { margin: 0; padding-left: 18px; }
.notes-body li { margin: 4px 0; }
.notes-body p { margin: 6px 0; }
.notes-body strong { color: var(--text); }
.notes-body a { color: var(--accent-2); text-decoration: none; }
.notes-body a:hover { text-decoration: underline; }
.notes-link { display: inline-block; margin-top: 12px; color: var(--accent-2); font-size: 13.5px; text-decoration: none; }
.notes-link:hover { text-decoration: underline; }
.download-note { color: var(--text-dim); font-size: 13px; margin-top: 16px; }
.download-note a { color: var(--accent-2); text-decoration: none; }
.download-note.center { text-align: center; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(var(--accent-rgb), 0.4); }
.faq summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-size: 18px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--text-dim); font-size: 14px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid rgba(140, 155, 255, 0.1); margin-top: 40px; padding: 46px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: 30px;
}
.footer-brand p { color: var(--text-dim); font-size: 13.5px; margin: 12px 0 4px; max-width: 320px; }
.footer-note { color: var(--text-faint) !important; font-size: 12.5px !important; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h5 { margin: 0 0 2px; font-size: 13px; color: var(--text-faint); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 13.5px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 12.5px;
  border-top: 1px solid rgba(140, 155, 255, 0.08);
  margin-top: 36px;
  padding-top: 18px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox.show { opacity: 1; }
.lightbox img {
  max-width: min(94vw, 980px);
  max-height: 88vh;
  width: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 27, 46, 0.8);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(140, 155, 255, 0.25); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .show-row, .show-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .show-row.reverse .show-media { order: 0; }
  .show-row.reverse .show-copy { order: 0; }
  .release-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 24px 20px;
    background: rgba(11, 16, 28, 0.97);
    border-bottom: 1px solid rgba(140, 155, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a { padding: 10px 0; width: 100%; font-size: 15px; }
  .nav-links .nav-gh { justify-content: center; }
  .nav-burger { display: flex; }
  .nav-version { display: none; }
  .section { padding: 58px 0; }
  .hero { padding-top: 46px; }
  .float-chip { font-size: 12px; padding: 7px 11px; }
  .chip-c { display: none; }
  .show-media img { max-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .float-chip, .version-badge .pulse { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
