:root {
  color-scheme: dark;
  --bg: #05070c;
  --bg-soft: #090d14;
  --panel: #0d1320;
  --panel-2: #101826;
  --text: #f4f7fb;
  --muted: #aeb7c2;
  --dim: #71808f;
  --line: rgba(116, 244, 255, 0.22);
  --cyan: #20e8ff;
  --pink: #ff3a8c;
  --yellow: #ffe84d;
  --green: #4dff82;
  --orange: #ff9d3a;
  --blue: #75a7ff;
  --shadow: rgba(0, 0, 0, 0.5);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(32, 232, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 232, 255, 0.055) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  font-family: "IBM Plex Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.1), rgba(5, 7, 12, 0.68)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
  z-index: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

p {
  line-height: 1.65;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border: 1px solid var(--cyan);
  background: #010409;
  color: var(--text);
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  background: rgba(5, 7, 12, 0.76);
  border-bottom: 1px solid rgba(32, 232, 255, 0.13);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 0;
  align-items: center;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span:nth-child(1) {
  color: var(--cyan);
}

.brand span:nth-child(2) {
  color: var(--pink);
}

.brand span:nth-child(3) {
  color: #fbffff;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.header-cta {
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
}

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

.header-cta {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(32, 232, 255, 0.38);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(32, 232, 255, 0.08);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(32, 232, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(9, 13, 20, 0.88);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cyan);
  transition: opacity 160ms ease, transform 160ms ease;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 126px 28px 78px;
  border-bottom: 1px solid rgba(32, 232, 255, 0.16);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 58, 140, 0.12), transparent 34%),
    linear-gradient(260deg, rgba(32, 232, 255, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.1), #05070c 86%);
  opacity: 0.95;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 54px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  line-height: 1.06;
}

.hero h1 {
  max-width: 780px;
  font-size: 4.25rem;
  text-wrap: balance;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: #d4dbe4;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  border: 1px solid rgba(32, 232, 255, 0.72);
  background: var(--cyan);
  color: #001116;
  box-shadow: 0 0 30px rgba(32, 232, 255, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 58, 140, 0.62);
  background: rgba(255, 58, 140, 0.08);
  color: #ffeaf4;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.nowrap {
  white-space: nowrap;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 42px 0 0;
}

.stat-strip div {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(32, 232, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(8, 14, 22, 0.72);
}

.stat-strip dt {
  color: var(--yellow);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-strip dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  min-height: 650px;
}

.cover-shell {
  position: relative;
  width: min(78%, 430px);
  margin-left: auto;
  border: 1px solid rgba(32, 232, 255, 0.25);
  border-radius: var(--radius);
  background: #020408;
  box-shadow: 0 32px 74px var(--shadow), 0 0 46px rgba(32, 232, 255, 0.2);
  overflow: hidden;
}

.evidence-card {
  position: absolute;
  width: min(52%, 300px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 56px var(--shadow);
  overflow: hidden;
}

.evidence-card-one {
  left: 0;
  top: 86px;
  transform: rotate(-3deg);
}

.evidence-card-two {
  left: 62px;
  bottom: 38px;
  transform: rotate(2deg);
}

.section {
  padding: 92px 28px;
  border-bottom: 1px solid rgba(32, 232, 255, 0.13);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.two-column,
.availability-layout,
.author-layout,
.strip-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 54px;
  align-items: start;
}

.section h2 {
  max-width: 740px;
  font-size: 2.55rem;
}

.prose p,
.availability p,
.author p,
.strip-layout p,
.spec-note {
  color: #d3dbe5;
  font-size: 1.04rem;
}

.note,
.spec-note {
  padding: 16px 18px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 232, 77, 0.08);
}

.proof-band {
  padding-top: 74px;
  padding-bottom: 74px;
  background: rgba(255, 255, 255, 0.02);
}

.wide-proof {
  margin: 0;
}

.wide-proof img {
  border: 1px solid rgba(32, 232, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px var(--shadow);
}

figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.wide-proof figcaption {
  margin-top: 14px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.sample-card,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.92), rgba(9, 13, 20, 0.92));
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.26);
}

.feature-card {
  min-height: 246px;
  padding: 24px;
}

.feature-card h3 {
  margin: 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.accent-cyan {
  border-top: 3px solid var(--cyan);
}

.accent-yellow {
  border-top: 3px solid var(--yellow);
}

.accent-pink {
  border-top: 3px solid var(--pink);
}

.accent-green {
  border-top: 3px solid var(--green);
}

.accent-blue {
  border-top: 3px solid var(--blue);
}

.accent-orange {
  border-top: 3px solid var(--orange);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sample-card {
  margin: 0;
  overflow: hidden;
}

.sample-card a {
  display: block;
  min-height: 0;
  background: #f5f7fb;
}

.sample-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.sample-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.sample-card strong {
  color: var(--text);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.schematic-strip {
  background: rgba(32, 232, 255, 0.035);
}

.strip-layout {
  align-items: center;
}

.strip-layout img {
  border: 1px solid rgba(32, 232, 255, 0.22);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 60px var(--shadow);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(32, 232, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  min-height: 72px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 18, 29, 0.84);
}

.spec-row:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.spec-row span {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.spec-row strong {
  color: var(--text);
  font-size: 1.02rem;
}

.spec-note {
  max-width: 900px;
  margin: 24px 0 0;
}

.availability {
  background: linear-gradient(90deg, rgba(255, 58, 140, 0.06), rgba(32, 232, 255, 0.04));
}

.cta-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.cta-panel .button {
  width: 100%;
}

.cta-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
}

.author-layout {
  align-items: center;
}

.author-mark {
  display: grid;
  width: 176px;
  height: 176px;
  place-items: center;
  border: 1px solid rgba(32, 232, 255, 0.35);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 2.4rem;
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(32, 232, 255, 0.12), transparent 45%),
    rgba(9, 13, 20, 0.92);
  box-shadow: 0 0 42px rgba(32, 232, 255, 0.12);
}

.site-footer {
  padding: 34px 28px 42px;
  background: rgba(2, 4, 8, 0.92);
}

.footer-inner {
  display: flex;
  width: min(100%, var(--max));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a:not(.brand) {
  color: var(--cyan);
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header[data-open="true"] .site-nav,
  .site-header[data-open="true"] .header-cta {
    display: flex;
  }

  .site-header[data-open="true"] {
    grid-template-columns: 1fr auto;
    align-items: start;
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    background: rgba(5, 7, 12, 0.97);
  }

  .site-header[data-open="true"] .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header[data-open="true"] .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header[data-open="true"] .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header[data-open="true"] .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-header[data-open="true"] .site-nav a {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .site-header[data-open="true"] .header-cta {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .hero-inner,
  .two-column,
  .availability-layout,
  .author-layout,
  .strip-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 44px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-media {
    min-height: 620px;
  }

  .cover-shell {
    margin: 0 auto;
  }

  .evidence-card-one {
    left: 0;
    top: 70px;
  }

  .evidence-card-two {
    left: auto;
    right: 0;
    bottom: 28px;
  }

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

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

  .spec-row:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero,
  .section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero h1 {
    font-size: 2.3rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1.03rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

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

  .hero-media {
    min-height: 560px;
  }

  .cover-shell {
    width: min(84%, 340px);
  }

  .evidence-card {
    width: min(52%, 210px);
  }

  .evidence-card-one {
    top: 50px;
  }

  .evidence-card-two {
    bottom: 36px;
  }

  .feature-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

@media (max-width: 430px) {
  .hero h1 {
    font-size: 2rem;
  }

  .stat-strip dt {
    font-size: 1.5rem;
  }

  .hero-media {
    min-height: 500px;
  }

  .evidence-card {
    width: 185px;
  }

  .author-mark {
    width: 140px;
    height: 140px;
    font-size: 2rem;
  }
}

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