/* Future Starships — marketing site */

:root {
  color-scheme: dark;
  --bg: #04070c;
  --bg-2: #070c14;
  --surface: #0b121c;
  --surface-2: #101a27;
  --line: rgba(130, 200, 255, 0.12);
  --line-strong: rgba(130, 200, 255, 0.28);
  --text: #dce7f2;
  --text-strong: #f4f8fc;
  --muted: #8d9db2;
  --accent: #66e0ff;
  --accent-deep: #1f8fff;
  --accent-glow: rgba(102, 224, 255, 0.35);
  --hot: #ff8a3d;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #001018; padding: 10px 16px; font: 600 14px var(--head);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ type */

h1, h2, h3, h4 { font-family: var(--head); color: var(--text-strong); margin: 0; line-height: 1.1; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--head); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 10px var(--accent-glow); }

.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }

/* ------------------------------------------------------------------ buttons */

.btn {
  --cut: 12px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font: 700 16px/1 var(--head); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-strong); background: rgba(255, 255, 255, 0.04);
  border: 0; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--line-strong), var(--line-strong)) top left / 100% 1px no-repeat,
              linear-gradient(var(--line-strong), var(--line-strong)) bottom left / 100% 1px no-repeat;
}
.btn:hover { background: rgba(102, 224, 255, 0.12); color: var(--text-strong); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary {
  color: #00121b;
  background: linear-gradient(180deg, #8beaff 0%, var(--accent) 45%, #2bb8ec 100%);
  box-shadow: 0 0 0 1px rgba(102, 224, 255, 0.4), 0 10px 40px -10px var(--accent-glow);
}
.btn-primary::after { display: none; }
.btn-primary:hover { color: #00121b; background: linear-gradient(180deg, #b3f2ff 0%, #7fe6ff 45%, #3fc4f2 100%); transform: translateY(-1px); }
.btn-primary .btn-sub { font: 500 12px/1 var(--body); letter-spacing: 0; text-transform: none; opacity: 0.75; }
.btn-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }

.btn-small { min-height: 40px; padding: 0 18px; font-size: 13px; --cut: 9px; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 7, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1360px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex: none; color: var(--text-strong); }
.nav-logo img { height: 40px; width: 40px; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.nav-logo span { font: 700 15px/1 var(--head); letter-spacing: 0.2em; text-transform: uppercase; }
.nav-logo:hover { color: var(--text-strong); }
.nav-links { display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  font: 600 13px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  padding: 8px 0; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-strong); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.nav .btn-small { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text-strong); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .nav .btn-small { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(4, 7, 12, 0.97); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-links a { display: block; padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav.open { background: rgba(4, 7, 12, 0.97); border-bottom-color: var(--line); }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 40px) 0 120px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.92) 0%, rgba(4, 7, 12, 0.7) 32%, rgba(4, 7, 12, 0.1) 62%, rgba(4, 7, 12, 0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4, 7, 12, 0) 26%),
    linear-gradient(180deg, rgba(4, 7, 12, 0.6) 0%, rgba(4, 7, 12, 0) 18%);
}
.hero .wrap { max-width: 1360px; }
.hero-content { max-width: 620px; }
.hero-logo { width: min(520px, 88%); height: auto; margin: 0 0 26px -8px; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6)); }
.hero-tagline {
  font: 700 clamp(26px, 3.4vw, 42px)/1.12 var(--head); text-transform: uppercase; color: var(--text-strong);
  margin: 0 0 18px; letter-spacing: 0.01em;
}
.hero-tagline em { font-style: normal; color: var(--accent); text-shadow: 0 0 24px var(--accent-glow); }
.hero p.lede { color: #b4c3d4; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-meta { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ''; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); opacity: 0.8; }

.hero-video-toggle {
  position: absolute; right: var(--gutter); bottom: 32px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(4, 7, 12, 0.5); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.hero-video-toggle svg { width: 16px; height: 16px; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.paused .icon-play { display: block; }
.hero-video-toggle.paused .icon-pause { display: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font: 600 11px/1 var(--head); letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-bottom: 72px; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 6%, rgba(4, 7, 12, 0.82) 48%, rgba(4, 7, 12, 0.25) 78%, rgba(4, 7, 12, 0.55) 100%);
  }
  .scroll-cue { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ------------------------------------------------------------------ stats */

.stats { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.stats li { padding: 30px 12px; text-align: center; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font: 700 clamp(30px, 3.6vw, 44px)/1 var(--head); color: var(--text-strong); }
.stats span { display: block; margin-top: 8px; font: 600 12px/1.3 var(--head); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li { border-left: 0; border-top: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:last-child { grid-column: 1 / -1; border-left: 0; }
}

/* ------------------------------------------------------------------ sections */

section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 + .lede { margin-top: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 10px var(--accent-glow); }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 14%, var(--bg-2) 86%, var(--bg) 100%); }

/* framed screenshot with HUD corner brackets */
.frame { position: relative; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.frame::before, .frame::after {
  content: ''; position: absolute; width: 26px; height: 26px; pointer-events: none;
  border: 2px solid var(--accent); filter: drop-shadow(0 0 6px var(--accent-glow));
}
.frame::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }
.frame figcaption {
  position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: rgba(4, 7, 12, 0.75);
  font: 600 11px/1 var(--head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* ------------------------------------------------------------------ features */

.feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(80px, 10vw, 130px); }
.feature.flip .feature-media { order: 2; }
.feature-copy h3 { margin-bottom: 18px; }
.feature-copy p { color: #a9b8c9; }
.feature-num { font: 700 13px/1 var(--head); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 22px; color: var(--text); font-size: 15.5px; }
.feature-list li::before {
  content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px;
  background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 8px var(--accent-glow);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font: 600 12px/1 var(--head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
  padding: 8px 11px; border: 1px solid var(--line-strong); background: rgba(102, 224, 255, 0.04);
}
.chip.hot { color: var(--hot); border-color: rgba(255, 138, 61, 0.4); background: rgba(255, 138, 61, 0.06); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
}

/* ------------------------------------------------------------------ battlefields */

.maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.map-card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  isolation: isolate; min-height: 360px; display: flex; align-items: flex-end;
}
.map-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.map-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(4, 7, 12, 0.95) 0%, rgba(4, 7, 12, 0.6) 38%, rgba(4, 7, 12, 0) 70%);
}
.map-card:hover img { transform: scale(1.04); }
.map-card.wide { grid-column: 1 / -1; }
.map-card .map-copy { padding: 28px; }
.map-card h3 { margin-bottom: 10px; }
.map-card p { margin: 0; color: #b4c3d4; font-size: 15.5px; max-width: 52ch; }
.map-tag {
  position: absolute; top: 18px; left: 18px; font: 600 11px/1 var(--head); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); background: rgba(4, 7, 12, 0.7); padding: 7px 10px; border: 1px solid var(--line-strong);
}
@media (max-width: 860px) { .maps { grid-template-columns: 1fr; } .map-card { min-height: 300px; } }

/* ------------------------------------------------------------------ modes */

.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mode {
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.mode:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.mode img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mode div { padding: 18px 18px 20px; }
.mode h3 { font-size: 17px; letter-spacing: 0.08em; margin-bottom: 8px; }
.mode p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1060px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ tech */

.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tech-card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tech-card > img { width: 100%; height: auto; min-height: 0; flex: none; aspect-ratio: 16 / 10; object-fit: cover; }
.tech-card > .compare { flex: none; }
.tech-card .tech-copy { padding: 22px 22px 24px; flex: 1; }
.tech-card h3 { font-size: 19px; margin-bottom: 10px; }
.tech-card p { margin: 0; font-size: 15px; color: var(--muted); }
.badge {
  display: inline-block; margin-bottom: 12px; font: 700 11px/1 var(--head); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 9px; color: #00121b; background: var(--accent);
}
.badge.next { color: var(--hot); background: rgba(255, 138, 61, 0.1); border: 1px solid rgba(255, 138, 61, 0.45); }
@media (max-width: 960px) { .tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tech { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ gallery */

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery button {
  grid-column: span 4; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; position: relative; overflow: hidden;
}
.gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 8; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s; }
.gallery button:hover img { transform: scale(1.03); filter: brightness(1.1); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button, .gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 1; grid-row: auto; }
  .gallery button:nth-child(1) { grid-column: 1 / -1; }
}

.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(2, 4, 8, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(96vw, calc(100vw - 150px)); max-height: 86vh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.lightbox p { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(4, 7, 12, 0.7); color: var(--text-strong); cursor: pointer; display: grid; place-items: center;
}
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lightbox img { max-width: 96vw; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}

/* ------------------------------------------------------------------ update + download */

.update {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start;
}
.update-card {
  background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px);
  max-height: 560px; overflow: auto; scrollbar-color: var(--line-strong) transparent;
}
.update-card h4 { font: 700 14px/1 var(--head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 26px 0 12px; }
.update-card h4:first-child { margin-top: 0; }
.update-card ul { margin: 0; padding-left: 20px; }
.update-card li { margin: 0 0 9px; font-size: 15px; color: #b4c3d4; }
.update-card li strong { color: var(--text-strong); font-weight: 600; }
.update-card ul ul { margin-top: 8px; }
.update-title { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--head); text-transform: uppercase; color: var(--text-strong); margin: 0 0 6px; }
.update-date { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
@media (max-width: 860px) { .update { grid-template-columns: 1fr; } }

.download {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(90px, 12vw, 150px) 0;
}
.download-bg { position: absolute; inset: 0; z-index: -2; }
.download-bg img { width: 100%; height: 100%; object-fit: cover; }
.download::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(4, 7, 12, 0.55) 0%, rgba(4, 7, 12, 0.88) 70%),
              linear-gradient(180deg, var(--bg) 0%, rgba(4, 7, 12, 0) 20%, rgba(4, 7, 12, 0) 80%, var(--bg) 100%);
}
.download h2 { margin-bottom: 18px; }
.download .lede { margin: 0 auto 36px; color: #b4c3d4; }
.download .hero-meta { justify-content: center; margin-top: 22px; }

.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 64px; text-align: left; }
.platform h3 { flex-wrap: wrap; row-gap: 8px; }
.platform { background: rgba(11, 18, 28, 0.82); border: 1px solid var(--line); padding: 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.platform h3 { font-size: 16px; letter-spacing: 0.1em; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.platform p { margin: 0; font-size: 14.5px; color: var(--muted); }
.status { font: 700 10.5px/1 var(--head); letter-spacing: 0.16em; padding: 5px 7px; text-transform: uppercase; }
.status.live { color: #00121b; background: var(--accent); }
.status.beta { color: var(--accent); border: 1px solid var(--line-strong); }
.status.dev { color: var(--hot); border: 1px solid rgba(255, 138, 61, 0.45); }
@media (max-width: 1100px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .platforms { grid-template-columns: 1fr; } }

.reqs { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: rgba(11, 18, 28, 0.82); text-align: left; }
.reqs div { padding: 18px 20px; border-left: 1px solid var(--line); }
.reqs div:first-child { border-left: 0; }
.reqs dt { font: 600 11px/1 var(--head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.reqs dd { margin: 0; font-size: 14.5px; color: var(--text); }
@media (max-width: 860px) {
  .reqs { grid-template-columns: 1fr 1fr; }
  .reqs div:nth-child(3) { border-left: 0; }
  .reqs div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 460px) { .reqs { grid-template-columns: 1fr; } .reqs div { border-left: 0; } .reqs div + div { border-top: 1px solid var(--line); } }

/* ------------------------------------------------------------------ faq */

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 600 18px/1.3 var(--head); color: var(--text-strong); letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: #a9b8c9; margin: 0 0 22px; max-width: 70ch; }

/* ------------------------------------------------------------------ footer */

.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; background: var(--bg); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { display: block; font: 700 15px/1.2 var(--head); letter-spacing: 0.14em; color: var(--text-strong); text-transform: uppercase; }
.footer-brand span { font-size: 13.5px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { font: 600 12.5px/1 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer nav a:hover { color: var(--text-strong); }

/* ------------------------------------------------------------------ reveal */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
  .map-card img, .gallery img, .mode { transition: none; }
}

/* mode glyphs */
.mode-icon { width: 42px; height: 42px; margin-bottom: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--accent-glow)); }
.mode-icon .fill { fill: var(--accent); stroke: none; }
.mode div { padding: 24px 22px 26px; }

/* gallery: fixed tiles, two feature shots span 2x2 (dense packing fills around them) */
.gallery { grid-auto-flow: dense; }
.gallery button { aspect-ratio: 16 / 9; }
.gallery button img { position: absolute; inset: 0; aspect-ratio: auto; }
.gallery button:nth-child(1), .gallery button:nth-child(6) { aspect-ratio: auto; }
.gallery button:nth-child(6) { grid-column: 5 / span 8; }
@media (max-width: 760px) {
  .gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* before / after slider */
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.compare-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); pointer-events: none;
}
.compare input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.compare input:focus-visible ~ .compare-label, .compare:hover .compare-label { opacity: 1; }
.compare-label {
  position: absolute; bottom: 10px; padding: 5px 8px; background: rgba(4, 7, 12, 0.75); pointer-events: none;
  font: 600 10.5px/1 var(--head); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); opacity: 0.85;
}
.compare-off { left: 10px; }
.compare-on { right: 10px; color: var(--accent); }
.compare:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 360px) { .nav-logo span { font-size: 13px; letter-spacing: 0.14em; } }

/* ------------------------------------------------------------------ document pages (support, privacy, terms) */

.nav.nav-solid { background: rgba(4, 7, 12, 0.92); border-bottom-color: var(--line); }
.doc-page { padding: calc(var(--nav-h) + clamp(40px, 7vw, 72px)) 0 clamp(72px, 10vw, 110px); }
.doc { max-width: 780px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 5.2vw, 54px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 14px; }
.doc-meta { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.doc h2 {
  font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  margin: 52px 0 14px; padding-top: 18px; border-top: 1px solid var(--line);
}
.doc h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 30px 0 10px; color: var(--text-strong); }
.doc p, .doc li { color: #b4c3d4; font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1.1em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text-strong); font-weight: 600; }
.doc a { text-decoration: underline; text-decoration-color: rgba(102, 224, 255, 0.4); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: currentColor; }
.doc code { font: 500 14px/1.5 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--text-strong); background: var(--surface-2); padding: 2px 6px; border: 1px solid var(--line); word-break: break-word; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 22px 26px 8px; margin: 0 0 12px; }
.doc .summary h2 { border: 0; margin: 0 0 12px; padding: 0; font-size: 15px; letter-spacing: 0.2em; color: var(--accent); }
.doc .table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); }
.doc table { width: 100%; border-collapse: collapse; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: #b4c3d4; }
.doc th { font: 600 11.5px/1.3 var(--head); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { color: var(--text-strong); font-weight: 500; }
.doc .faq { max-width: none; margin: 0 0 1em; }
.doc .faq summary { font-size: 17px; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  background: var(--surface); border: 1px solid var(--line-strong); padding: 26px 28px; margin: 8px 0 12px;
}
.contact-card p { margin: 0; }
.contact-card .contact-email { font: 700 clamp(18px, 2.4vw, 22px)/1.2 var(--head); color: var(--text-strong); letter-spacing: 0.02em; }
.doc .contact-card a.btn { text-decoration: none; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; }
.faq-more { max-width: 860px; margin: 28px auto 0; text-align: center; color: var(--muted); }
