:root {
  color-scheme: dark;
  --bg: #071019;
  --bg-deep: #04090e;
  --panel: #0c1924;
  --panel-soft: #102330;
  --line: rgba(122, 211, 255, 0.18);
  --cyan: #38c6ff;
  --cyan-bright: #77dcff;
  --white: #f4f8fb;
  --muted: #a6b7c4;
  --orange: #ff8a3d;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 2%, rgba(23, 136, 190, 0.2), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(93, 202, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 202, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

a { color: inherit; }

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

code, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  padding: 0.12em 0.35em;
  color: var(--cyan-bright);
  background: rgba(56, 198, 255, 0.08);
  border-radius: 0.25rem;
}

pre {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  color: #dff6ff;
  background: #02070b;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 0.45rem;
  line-height: 1.55;
}

pre code { padding: 0; color: inherit; background: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #001018;
  background: var(--cyan-bright);
  border-radius: 0.3rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 72px;
  padding: 0 4vw;
  background: rgba(4, 10, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  aspect-ratio: 1;
  color: #001018;
  background: var(--cyan);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

nav { display: flex; gap: 1.65rem; }

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible { color: var(--cyan-bright); }

.header-download {
  justify-self: end;
  padding: 0.5rem 1rem;
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 198, 255, 0.45);
  border-radius: 0.25rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.header-download:hover { color: #001018; background: var(--cyan); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  width: min(var(--max), 92vw);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.12; }

h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  letter-spacing: -0.065em;
}

h1 span { color: var(--cyan); }

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  letter-spacing: -0.045em;
}

h3 { margin-bottom: 0.7rem; font-size: 1.15rem; }

.hero-intro {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2.2rem 0 3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 0.28rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary { color: #001018; background: var(--cyan); }
.button.primary:hover { background: var(--cyan-bright); }
.button.secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.button.secondary:hover { border-color: var(--cyan); }

.release-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-facts li { padding-top: 1rem; border-top: 1px solid var(--line); }
.release-facts strong, .release-facts span { display: block; }
.release-facts strong { font-size: 0.86rem; }
.release-facts span { color: var(--muted); font-size: 0.76rem; }

.hero-panel {
  position: relative;
  padding: 2rem;
  background: linear-gradient(150deg, rgba(16, 35, 48, 0.96), rgba(5, 12, 18, 0.96));
  border: 1px solid rgba(56, 198, 255, 0.26);
  border-top: 4px solid var(--cyan);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35);
}

.panel-lights { display: flex; gap: 0.38rem; margin-bottom: 2rem; }
.panel-lights i { width: 0.45rem; height: 0.45rem; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); }
.panel-lights i:nth-child(2) { opacity: 0.55; }
.panel-lights i:nth-child(3) { opacity: 0.22; }
.panel-label { color: var(--muted); font-family: monospace; font-size: 0.75rem; letter-spacing: 0.12em; }

.board-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.board-readout span { color: var(--cyan); font-family: monospace; font-size: 0.78rem; }
.board-readout strong { font-size: 0.87rem; font-weight: 650; }
.text-link { color: var(--cyan-bright); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.legal-callout {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  width: min(var(--max), 92vw);
  margin: -1.5rem auto 5rem;
  padding: 1rem 1.25rem;
  color: var(--muted);
  background: rgba(255, 138, 61, 0.07);
  border: 1px solid rgba(255, 138, 61, 0.26);
  border-left: 3px solid var(--orange);
  font-size: 0.9rem;
}

.legal-callout strong { color: #ffd2b5; white-space: nowrap; }

.section {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading { max-width: 760px; margin-bottom: 3.2rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.board-card {
  position: relative;
  min-height: 250px;
  padding: 2rem;
  overflow: hidden;
  background: rgba(12, 25, 36, 0.72);
  border: 1px solid var(--line);
}

.board-card.featured { background: linear-gradient(140deg, rgba(15, 68, 91, 0.68), rgba(10, 23, 32, 0.78)); }
.board-card p { max-width: 80%; color: var(--muted); }
.card-index { position: absolute; right: 1.2rem; bottom: -1.25rem; color: rgba(56, 198, 255, 0.08); font-size: 8rem; font-weight: 950; line-height: 1; }
.status { display: inline-block; margin-top: 1.2rem; color: var(--cyan-bright); font-family: monospace; font-size: 0.78rem; }

.split-section { display: grid; grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr); gap: clamp(3rem, 8vw, 7rem); }
.sticky-heading { align-self: start; position: sticky; top: 110px; }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.steps li:last-child { margin-bottom: 0; }
.step-number { color: var(--cyan); font-family: monospace; font-size: 0.85rem; }
.steps p { color: var(--muted); }
.fine-print { color: var(--muted); font-size: 0.8rem; }

.instruction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.instruction-grid article { padding: 1.6rem; background: rgba(12, 25, 36, 0.66); border: 1px solid var(--line); }
.instruction-grid p { color: var(--muted); }
.instruction-icon { display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 1.5rem; color: #001018; background: var(--cyan); font-weight: 900; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }

.table-wrap { overflow-x: auto; margin-bottom: 2rem; border: 1px solid var(--line); }
table { width: 100%; min-width: 820px; border-collapse: collapse; background: rgba(3, 10, 15, 0.6); }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--cyan); background: rgba(56, 198, 255, 0.06); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
td { color: var(--muted); font-size: 0.9rem; }
tbody tr:last-child td { border-bottom: 0; }

details { border-bottom: 1px solid var(--line); }
summary { padding: 1.1rem 0; cursor: pointer; color: var(--white); font-weight: 750; }
details p { max-width: 850px; margin-top: 0; color: var(--muted); }

.control-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.control-columns article { padding: 2rem; background: rgba(12, 25, 36, 0.7); border: 1px solid var(--line); }
.key-map { margin: 1.5rem 0 0; }
.key-map div { display: grid; grid-template-columns: minmax(120px, 0.45fr) 1fr; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(122, 211, 255, 0.1); }
.key-map dt { color: var(--cyan-bright); font-family: monospace; }
.key-map dd { margin: 0; color: var(--muted); }
.tip { display: flex; gap: 1.5rem; align-items: baseline; margin-top: 1rem; padding: 1.25rem 1.5rem; background: rgba(56, 198, 255, 0.06); border-left: 3px solid var(--cyan); }
.tip p { margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.gallery figure { margin: 0; background: rgba(12, 25, 36, 0.72); border: 1px solid var(--line); }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery a { display: block; overflow: hidden; background: #020609; }
.gallery img { width: 100%; aspect-ratio: 2.56 / 1; object-fit: cover; transition: transform 250ms ease; }
.gallery a:hover img { transform: scale(1.012); }
.gallery figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.gallery figcaption span { color: var(--muted); font-size: 0.88rem; text-align: right; }

.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list .button { margin-top: 2rem; }

.legal-section { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); }
.legal-section p { color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }

footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 2rem;
  align-items: center;
  padding: 3rem 4vw;
  color: var(--muted);
  background: #02070b;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.footer-brand { grid-row: span 2; color: var(--white); }
footer p { margin: 0; }

:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { max-width: 650px; }
  .split-section, .legal-section { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }
  .instruction-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding-inline: 4vw; }
  .brand > span:last-child { display: none; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .hero { padding: 4rem 0; }
  .release-facts, .board-grid, .control-columns, .gallery { grid-template-columns: 1fr; }
  .gallery figure.wide { grid-column: auto; }
  .release-facts { gap: 1.4rem; }
  .legal-callout, .tip, .gallery figcaption { align-items: flex-start; flex-direction: column; }
  .legal-callout strong { white-space: normal; }
  .board-card p { max-width: 100%; }
  .key-map div { grid-template-columns: 1fr; gap: 0.2rem; }
  .gallery figcaption span { text-align: left; }
  footer { grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

