:root {
  color-scheme: dark;
  --bg: #03080d;
  --bg-elevated: #071018;
  --surface: #0a1520;
  --surface-2: #0f1f2c;
  --text: #f2f8f7;
  --muted: #8fa3aa;
  --faint: #5f737a;
  --line: rgba(150, 210, 205, 0.12);
  --line-strong: rgba(150, 210, 205, 0.28);
  --mint: #5eead4;
  --mint-dim: rgba(94, 234, 212, 0.12);
  --mint-deep: #14b8a6;
  --amber: #f5c76b;
  --red: #ff6b61;
  --safe: #6fd89a;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --font: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", "JetBrains Mono", Consolas, monospace;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(20, 184, 166, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(245, 199, 107, 0.06), transparent 45%),
    linear-gradient(180deg, #040b12 0%, var(--bg) 35%, #020507 100%);
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--mint);
}

/* —— Skip / header —— */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 8, 13, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 8px 28px rgba(20, 184, 166, 0.2);
}

.brand-mark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--mint-dim);
  outline: none;
}

.nav-links .nav-github {
  margin-left: 8px;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

/* —— Shared section shell —— */
.hero,
.start-section,
.channels-section,
.gallery-section,
.features-section,
.hotkey-section,
.trust-section,
.docs-section,
.faq-section,
.cta-band,
.site-footer {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section-label,
.kicker {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: end;
}

.section-aside-text,
.section-lede,
.hero-lede,
.hotkey-copy > p:not(.section-label),
.channel p,
.channel li,
.feat p,
.trust-grid p,
.download-panel p,
.faq-list p {
  color: var(--muted);
}

.section-aside-text {
  margin: 0;
  font-size: 15px;
  max-width: 36ch;
}

.section-lede {
  max-width: 52ch;
  font-size: 17px;
  margin: 0;
}

/* —— Buttons —— */
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid rgba(94, 234, 212, 0.4);
  outline-offset: 3px;
}

.button.primary {
  background: var(--mint);
  color: #04201c;
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #7ff0dc;
  box-shadow: 0 20px 48px rgba(20, 184, 166, 0.32);
}

.button.secondary {
  border-color: rgba(94, 234, 212, 0.4);
  background: var(--mint-dim);
  color: var(--mint);
}

.button.ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button.large {
  min-height: 58px;
  padding-inline: 28px;
  font-size: 15px;
}

.button-arrow {
  font-size: 1.1em;
  transition: transform 160ms ease;
}

.button:hover .button-arrow,
.button:focus-visible .button-arrow {
  transform: translateX(4px);
}

.text-link {
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* —— HERO —— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  min-height: min(92vh, 920px);
  padding: clamp(56px, 10vh, 120px) 0 clamp(64px, 8vh, 100px);
}

.hero-bg {
  position: absolute;
  inset: -8% -20% auto auto;
  width: min(68vw, 820px);
  aspect-ratio: 16 / 10;
  z-index: 0;
  opacity: 0.55;
  mask-image: linear-gradient(225deg, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

#hero-title {
  margin: 0 0 28px;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 900;
  text-wrap: balance;
}

.hero-line {
  display: block;
}

.hero-line-em {
  color: var(--mint);
  text-shadow: 0 0 60px rgba(94, 234, 212, 0.25);
}

.hero-line-soft {
  color: var(--text);
  opacity: 0.88;
  font-size: 0.72em;
  letter-spacing: -0.04em;
  margin-top: 0.08em;
}

.hero-lede {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.25);
}

.hero-aside {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: end;
}

.stat-block {
  padding: 22px 22px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 40, 48, 0.85), rgba(7, 16, 24, 0.92));
  box-shadow: var(--shadow);
}

.stat-block.dim {
  background: rgba(7, 16, 24, 0.7);
  border-color: var(--line);
  box-shadow: none;
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.stat-value {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--mint);
}

.stat-value.mono {
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

.stat-hint {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

/* —— Marquee —— */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--faint);
  text-transform: uppercase;
}

.marquee-track span::after {
  content: "//";
  margin-left: 48px;
  color: var(--mint);
  opacity: 0.35;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* —— Sections —— */
.start-section,
.channels-section,
.gallery-section,
.features-section,
.hotkey-section,
.trust-section,
.docs-section,
.faq-section {
  padding: clamp(72px, 12vw, 140px) 0;
  border-top: 1px solid var(--line);
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps li {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 31, 44, 0.5), rgba(3, 8, 13, 0.2));
  min-height: 220px;
}

.steps li:last-child {
  border-right: 0;
}

.step-index {
  display: block;
  margin-bottom: 48px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.steps h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.steps p {
  margin: 0;
  font-size: 14px;
}

/* —— Download —— */
.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(20, 70, 72, 0.55), rgba(7, 16, 24, 0.92)),
    url("assets/art/section-streak.jpg") center / cover;
  background-blend-mode: multiply, normal;
  box-shadow: var(--shadow);
}

.download-copy,
.release-files {
  padding: clamp(28px, 4vw, 40px);
}

.release-files {
  border-left: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.28);
}

.download-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.download-cdn-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
  max-width: 36rem;
}

.download-cdn-note strong {
  color: var(--muted);
  font-weight: 650;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.release-files-label {
  margin: 0 0 14px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.release-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.release-assets a,
.release-assets span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  background: rgba(0, 0, 0, 0.25);
}

.release-assets a:hover,
.release-assets a:focus-visible {
  border-color: var(--mint);
  color: var(--mint);
  outline: none;
}

/* —— Channels —— */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.channel {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.channel.featured {
  border-color: rgba(94, 234, 212, 0.45);
  background:
    linear-gradient(160deg, rgba(20, 80, 78, 0.4), rgba(10, 21, 32, 0.95));
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.08), var(--shadow);
  transform: scale(1.02);
}

.channel-tag {
  display: block;
  margin-bottom: 40px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.channel h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.channel-blurb {
  margin: 0 0 auto;
  font-size: 14px;
  line-height: 1.5;
}

.channel ul,
.boundary-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.channel li,
.boundary-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  margin-top: 8px;
}

.channel li::before,
.boundary-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 1px;
}

/* —— Gallery shots ——
   Rule: once a real screenshot loads, the <img> is width:100% / height:auto.
   Never force a frame aspect-ratio or object-fit:cover on product shots —
   that crops maps and wide nav strips. */
.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gallery-row {
  display: grid;
  gap: 16px;
  align-items: start;
}

.gallery-row--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 56rem;
  margin-inline: auto;
  width: 100%;
}

.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.shot--hero {
  width: 100%;
}

.shot--launcher {
  width: min(100%, 36rem);
  margin-inline: auto;
}

.shot--strip {
  width: 100%;
}

.shot-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050b10;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  line-height: 0;
}

/* Placeholder only (image not loaded yet) */
.shot:not(.is-loaded) .shot-frame {
  background:
    linear-gradient(145deg, rgba(15, 40, 48, 0.5), rgba(5, 12, 18, 0.95)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(94, 234, 212, 0.03) 12px,
      rgba(94, 234, 212, 0.03) 13px
    );
  min-height: 180px;
}

.shot:not(.is-loaded) .shot--strip .shot-frame,
.shot--strip:not(.is-loaded) .shot-frame {
  min-height: 100px;
}

/* Natural image geometry — no cover crop, no forced box */
.shot-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
  background: #050b10;
}

.shot.is-loaded .shot-empty {
  display: none;
}

.shot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px;
  line-height: 1.35;
  background:
    radial-gradient(circle at 80% 20%, rgba(94, 234, 212, 0.1), transparent 40%),
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.55) 100%);
}

.shot-meta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.shot-empty strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.shot-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.shot-empty code {
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.85;
}

.shot figcaption {
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* —— Features bento —— */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.feat {
  position: relative;
  grid-column: span 2;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.feat-hero {
  grid-column: span 3;
  min-height: 360px;
}

.feat:nth-child(2),
.feat:nth-child(3) {
  grid-column: span 3;
}

.feat-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 240ms ease, transform 480ms ease;
}

.feat:hover .feat-art,
.feat:focus-within .feat-art {
  opacity: 0.72;
  transform: scale(1.04);
}

.feat-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 13, 0.92) 35%);
}

.feat-plain {
  padding: 28px;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, rgba(15, 31, 44, 0.9), rgba(3, 8, 13, 0.95));
}

.feat-code {
  display: block;
  margin-bottom: 18px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feat h3 {
  font-size: 1.45rem;
}

.feat p {
  margin: 0;
  font-size: 14px;
  max-width: 36ch;
}

/* —— Hotkeys —— */
.hotkey-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hotkey-visual {
  position: absolute;
  inset: 0 -10% auto;
  height: 42%;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, #000, transparent);
}

.hotkey-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotkey-copy,
.permission-flow {
  position: relative;
  z-index: 1;
}

.boundary-list {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.boundary-list li {
  color: var(--muted);
  margin: 0;
}

.hotkey-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.permission-flow {
  display: grid;
  gap: 0;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 16, 24, 0.85);
  box-shadow: var(--shadow);
}

.flow-node {
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.02);
}

.flow-node small,
.flow-node strong,
.flow-node span {
  display: block;
}

.flow-node small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow-node strong {
  margin: 6px 0 4px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.flow-node span {
  color: var(--muted);
  font-size: 13px;
}

.flow-node.broker {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(20, 80, 78, 0.28);
}

.flow-join {
  height: 28px;
  width: 1px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, var(--mint), transparent);
}

/* —— Trust —— */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-grid article {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  background: rgba(10, 21, 32, 0.55);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-num {
  display: block;
  margin-bottom: 28px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.trust-grid h3 {
  font-size: 1.35rem;
}

.trust-grid p {
  margin: 0;
  font-size: 14px;
}

/* —— Docs —— */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.docs-grid a {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.docs-grid a:hover,
.docs-grid a:focus-visible {
  border-color: var(--mint);
  background: rgba(20, 80, 78, 0.2);
  transform: translateY(-3px);
  outline: none;
}

.docs-k {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.docs-grid strong {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.docs-grid a > span:last-child {
  color: var(--muted);
  font-size: 13px;
}

/* —— FAQ —— */
.faq-list {
  max-width: 920px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--mint);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0 0 22px;
  padding-right: 48px;
  max-width: 62ch;
}

/* —— CTA —— */
.cta-band {
  padding: 0 0 clamp(72px, 10vw, 120px);
}

.cta-inner {
  padding: clamp(48px, 8vw, 80px);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(15, 60, 62, 0.65), rgba(3, 8, 13, 0.92)),
    url("assets/art/hero-atmosphere.jpg") center / cover;
  background-blend-mode: multiply, normal;
  text-align: left;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  max-width: 12ch;
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

/* —— Footer —— */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0 64px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.footer-brand img {
  border-radius: 10px;
}

.footer-brand p,
.footer-brand strong,
.footer-brand span {
  display: block;
  margin: 0;
}

.footer-brand span,
.footer-note {
  color: var(--faint);
  font-size: 12px;
}

.footer-note {
  max-width: 48rem;
  margin: 0;
  text-align: right;
  line-height: 1.55;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .gallery-row--pair {
    max-width: none;
  }

  .feature-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feat,
  .feat-hero,
  .feat:nth-child(2),
  .feat:nth-child(3) {
    grid-column: span 1;
  }

  .feat:first-child {
    grid-column: 1 / -1;
  }

  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header {
    position: relative;
  }

  .nav-links a:not(.nav-github) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-bg {
    width: min(100%, 640px);
    opacity: 0.35;
    inset: 0 auto auto 50%;
    transform: translateX(-20%);
  }

  .section-head.split {
    grid-template-columns: 1fr;
  }

  .steps,
  .channel-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    border: 0;
    gap: 10px;
    background: transparent;
  }

  .steps li {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 0;
  }

  .channel.featured {
    transform: none;
  }

  .download-panel,
  .hotkey-section {
    grid-template-columns: 1fr;
  }

  .release-files {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .trust-grid {
    border: 0;
    gap: 10px;
  }

  .trust-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
}

@media (max-width: 640px) {
  .hero-aside {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .download-actions,
  .hotkey-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .gallery-row--pair,
  .feature-bento,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .feat,
  .feat-hero,
  .feat:first-child,
  .feat:nth-child(2),
  .feat:nth-child(3) {
    grid-column: 1;
    min-height: 240px;
  }

  .shot--portrait,
  .shot--launcher {
    max-width: 22rem;
    margin-inline: auto;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    text-align: left;
  }

  .cta-inner {
    padding: 36px 24px;
  }

  .marquee-track {
    gap: 28px;
    animation-duration: 22s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .kicker-dot {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
