:root {
  color-scheme: dark;
  --ink: #f4f2ea;
  --muted: #a9aaa0;
  --dim: #74756d;
  --paper: #111210;
  --panel: #1a1b18;
  --panel-2: #24251f;
  --line: #3a3c34;
  --acid: #eaff00;
  --violet: #6f35ff;
  --crimson: #df3c1c;
  --radius: 8px;
  --max: 1160px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(234, 255, 0, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(234, 255, 0, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 96px 96px;
  color: var(--ink);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(234, 255, 0, 0.16);
  background: rgba(17, 18, 16, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--acid);
  background: linear-gradient(135deg, var(--acid) 0 48%, transparent 49% 100%);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 13px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--acid);
}

main {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100svh - 64px);
  padding: 54px 0 72px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.05;
}

.lead {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 760;
}

.summary {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-shot,
.screen-frame,
.theme-grid figure {
  margin: 0;
  border: 1px solid rgba(234, 255, 0, 0.18);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.hero-shot {
  justify-self: end;
}

.hero-shot img,
.screen-frame img {
  width: 100%;
}

figcaption {
  padding: 12px 14px;
  border-top: 1px solid rgba(234, 255, 0, 0.14);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section,
.feature-pair {
  padding: clamp(58px, 8vw, 104px) 0;
  border-top: 1px solid rgba(234, 255, 0, 0.13);
}

.section-compact {
  padding-top: 72px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.mode-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--panel);
}

.mode-grid p,
.spec-list dd,
.callout p {
  color: var(--muted);
  line-height: 1.72;
}

.feature-pair {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(380px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.feature-pair-reverse .feature-copy {
  order: 2;
}

.feature-pair-reverse .screen-frame {
  order: 1;
}

.feature-copy {
  max-width: 520px;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 30px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec-list div {
  padding: 18px;
  background: var(--panel);
}

.spec-list dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 760;
}

.spec-list dd {
  margin: 0;
}

.callout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding-right: clamp(20px, 5vw, 58px);
  padding-left: clamp(20px, 5vw, 58px);
  border: 1px solid rgba(234, 255, 0, 0.26);
  background:
    linear-gradient(135deg, rgba(234, 255, 0, 0.12), transparent 42%),
    var(--panel-2);
}

.callout p {
  margin-bottom: 0;
  font-size: 18px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.theme-grid figcaption {
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(234, 255, 0, 0.13);
  color: var(--dim);
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .feature-pair,
  .callout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-shot {
    justify-self: stretch;
  }

  .feature-pair-reverse .feature-copy,
  .feature-pair-reverse .screen-frame {
    order: initial;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-grid article {
    min-height: 0;
  }

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

@media (max-width: 560px) {
  main,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding: 14px 12px;
  }

  .site-nav {
    gap: 16px;
    font-size: 12px;
  }

  h1 {
    font-size: 62px;
  }

  .lead {
    font-size: 22px;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }
}
