﻿:root {
  --ink: #080d0e;
  --ink-2: #111819;
  --ink-3: #182223;
  --paper: #f2f1ea;
  --paper-2: #e7e7de;
  --surface: #ffffff;
  --text: #152021;
  --muted: #4a5556;
  --muted-dark: #c5d0cf;
  --overlay: rgba(8, 13, 14, 0.72);
  --overlay-heavy: rgba(8, 13, 14, 0.9);
  --cache-bust: 5;
  --ratio-square: 1 / 1;
  --ratio-card: 4 / 3;
  --ratio-wide: 16 / 9;
  --ratio-hero-object: 1 / 1;
  --line: #cad0c9;
  --line-dark: #2b3737;
  --signal: #b8f34a;
  --signal-dark: #17200d;
  --aero: #7dc9d4;
  --warning: #ff9a52;
  --error: #d14343;
  --font-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  --container: min(1240px, calc(100vw - 48px));
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --radius-sm: 4px;
  --radius-md: 10px;
  --ease: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Filled media frames override intrinsic/auto height */
.sub-hero-media img,
.priority-image img,
.map-visual img,
.media-visual img,
.test-visual img,
.application-horizon > img,
.blog-card-img img,
.article-cover img {
  height: 100%;
  max-width: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.7rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--signal);
  color: var(--signal-dark);
  transform: translateY(-150%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--signal);
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

.section {
  padding: var(--space-7) 0;
  position: relative;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-alt {
  background: var(--paper-2);
}

.eyebrow,
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-dark .tech-label {
  color: var(--aero);
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-5);
}

.section-header h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.section-header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-header p {
  color: var(--muted-dark);
}

.btn {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: #0b1408 !important;
  border-color: var(--signal);
}

.btn-primary:hover {
  background: #d4ff6e;
  border-color: #d4ff6e;
  color: #0b1408 !important;
}

.btn-outline {
  border-color: var(--text);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.section-dark .btn-outline,
.hero .btn-outline,
.sub-hero .btn-outline,
.spec-panel .btn-outline,
.site-footer .btn-outline {
  border-color: rgba(242, 241, 234, 0.75);
  color: var(--paper);
}

.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.sub-hero .btn-outline:hover,
.spec-panel .btn-outline:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: #0b1408;
}

.section-dark .btn-primary,
.hero .btn-primary,
.sub-hero .btn-primary,
.spec-panel .btn-primary,
.modal-aside .btn-primary {
  background: var(--signal);
  color: #0b1408 !important;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(242, 241, 234, 0.12);
  background: rgba(8, 13, 14, 0.92);
  color: var(--paper);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--container);
  max-width: 100%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--signal);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 26px 0 24px;
  color: #c6cfce;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease);
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn)[aria-current="page"] {
  color: var(--paper);
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .btn-primary,
.site-nav .btn-primary {
  background: var(--signal);
  color: #0b1408 !important;
  border-color: var(--signal);
}

.site-header .btn-primary:hover,
.site-nav .btn-primary:hover {
  background: #d4ff6e;
  border-color: #d4ff6e;
  color: #0b1408 !important;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
}

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(184, 243, 74, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 243, 74, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  color: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
}

.hero-grid > *,
.sub-hero-grid > *,
.section-header > *,
.media-split > *,
.test-layout > *,
.spec-panel-inner > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 26px;
}

.hero-copy h1 span {
  color: var(--signal);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #aeb9b8;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-meta strong {
  display: block;
  margin-bottom: 5px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.hero-meta span {
  color: #7e8c8b;
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: clamp(300px, 38vw, 520px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  justify-self: end;
}

.hero-visual::before {
  position: absolute;
  inset: 10% 6%;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  position: absolute;
  inset: 20% 15%;
  border: 1px dashed rgba(125, 201, 212, 0.42);
  border-radius: 50%;
  content: "";
  animation: orbit 22s linear infinite;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(88%, 480px);
  aspect-ratio: var(--ratio-hero-object);
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
}

.visual-tag {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border: 1px solid var(--line-dark);
  background: rgba(8, 13, 14, 0.86);
  color: var(--aero);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-tag.tag-a {
  top: 17%;
  right: 3%;
}

.visual-tag.tag-b {
  bottom: 18%;
  left: 2%;
}

.visual-tag::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  box-shadow: 0 0 12px rgba(184, 243, 74, 0.65);
}

.intro-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.intro-band-grid {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
}

.intro-band p {
  max-width: 780px;
  margin: 0;
  font-size: 1.08rem;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}

.system-node {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink-2);
  transition: background var(--ease);
}

.system-node:last-child {
  border-right: 0;
}

.system-node:hover {
  background: var(--ink-3);
}

.system-node::after {
  position: absolute;
  top: 50%;
  right: -5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
  transform: translateY(-50%);
}

.system-node:last-child::after {
  display: none;
}

.node-id {
  color: var(--aero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.system-node h3 {
  margin: 42px 0 10px;
  font-size: 1.55rem;
}

.system-node p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.map-visual {
  position: relative;
  margin-top: 36px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background: var(--paper);
  width: 100%;
  aspect-ratio: var(--ratio-wide);
  max-height: min(56vw, 640px);
}

.map-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.priority-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  min-height: 0;
}

.priority-image {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  width: 100%;
  aspect-ratio: var(--ratio-card);
  flex-shrink: 0;
}

.priority-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.priority-card:hover .priority-image img {
  transform: scale(1.025);
}

.priority-copy {
  padding: clamp(28px, 4vw, 46px);
}

.priority-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.priority-copy p {
  color: var(--muted);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-link::after {
  content: "→";
  color: var(--signal-dark);
  transition: transform var(--ease);
}

.inline-link:hover::after {
  transform: translateX(5px);
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.component-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background var(--ease), color var(--ease);
}

.component-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.component-card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  color: var(--text);
}

.component-card:hover .card-icon {
  color: var(--signal);
}

.component-card h3 {
  margin-bottom: 10px;
}

.component-card p {
  margin: 0;
  color: var(--muted);
}

.component-card:hover p {
  color: var(--muted-dark);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  position: absolute;
  top: -5px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text);
  content: "";
}

.process-step:first-child::before,
.process-step:last-child::before {
  background: var(--signal);
}

.step-number {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.process-step h3 {
  margin: 55px 0 12px;
  font-size: 1.25rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.test-layout,
.media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.test-visual,
.media-visual {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio-card);
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background: var(--ink-2);
}

.test-visual img,
.media-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.console-status {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 15px 18px;
  border: 1px solid rgba(184, 243, 74, 0.35);
  display: flex;
  justify-content: space-between;
  background: rgba(8, 13, 14, 0.9);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.check-list {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-dark);
}

.section:not(.section-dark) .check-list li,
.section-alt .check-list li {
  border-bottom-color: var(--line);
  color: var(--text);
}

.check-list li::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  content: "";
}

.application-horizon {
  position: relative;
  min-height: clamp(420px, 48vw, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.application-horizon > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.78;
}

.application-horizon::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 14, 0.12), rgba(8, 13, 14, 0.95));
  content: "";
}

.concept-badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  border: 1px solid rgba(242, 241, 234, 0.32);
  background: rgba(8, 13, 14, 0.86);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.application-horizon .concept-badge {
  right: 14px;
  left: auto;
}

.horizon-content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-6);
}

.horizon-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(242, 241, 234, 0.22);
}

.horizon-item {
  padding: 22px 18px 0 0;
}

.horizon-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.horizon-item span {
  color: #bcc6c5;
  font-size: 0.92rem;
}

.spec-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.spec-panel::before {
  position: absolute;
  inset: 0;
  background: url("/generated/cta-system.webp") center / cover no-repeat;
  content: "";
  opacity: 0.32;
}

.spec-panel-inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 96px);
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
}

.spec-panel h2 {
  max-width: 850px;
  margin-bottom: 20px;
}

.spec-panel p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted-dark);
}

.spec-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-hero {
  position: relative;
  min-height: clamp(420px, 58svh, 640px);
  padding: calc(var(--header-h) + 90px) 0 72px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.sub-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sub-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.sub-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 14, 0.92) 0%, rgba(8, 13, 14, 0.78) 48%, rgba(8, 13, 14, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 13, 14, 0.35), rgba(8, 13, 14, 0.88));
  content: "";
}

.sub-hero .container {
  position: relative;
  z-index: 2;
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: var(--space-5);
  align-items: end;
}

.sub-hero h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
}

.sub-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 1.14rem;
}

.sub-meta {
  border-left: 1px solid var(--line-dark);
}

.sub-meta-row {
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sub-meta-row strong {
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-card {
  min-height: 370px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-card.wide {
  grid-column: span 2;
}

.detail-card h3 {
  margin: 46px 0 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.detail-card p {
  max-width: 620px;
  color: var(--muted);
}

.tag-list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.config-table {
  width: 100%;
  border-collapse: collapse;
}

.config-table th,
.config-table td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.config-table th {
  width: 28%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-table td {
  font-weight: 600;
}

.test-gates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}

.test-gate {
  min-height: 320px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  background: var(--ink-2);
}

.test-gate:last-child {
  border-right: 0;
}

.gate-light {
  width: 12px;
  height: 12px;
  margin-bottom: 70px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 20px rgba(184, 243, 74, 0.45);
}

.test-gate h3 {
  margin-bottom: 14px;
}

.test-gate p {
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.application-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.application-card svg {
  width: 54px;
  height: 54px;
  color: var(--text);
}

.application-card p {
  color: var(--muted);
}

.application-card .tech-label {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 8vw, 110px);
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}

.contact-aside h2 {
  margin-bottom: 22px;
}

.contact-aside p {
  color: var(--muted);
}

.brief-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.brief-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
}

.brief-list li::before {
  color: var(--signal-dark);
  font-family: var(--font-mono);
  content: "+";
}

.inquiry-form {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--text);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-note {
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.form-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 1px solid var(--aero);
  color: var(--text);
}

.form-status.visible {
  position: static;
  width: auto;
  height: auto;
  margin: 18px 0 0;
  padding: 14px 16px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  display: block;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  padding: 20px;
  display: grid;
  place-items: center;
  visibility: hidden;
  background: rgba(4, 7, 8, 0.76);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity var(--ease), visibility var(--ease);
}

.modal-overlay.open {
  visibility: visible;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: 92svh;
  overflow: auto;
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--paper);
  color: var(--text);
  transform: translateY(18px);
  transition: transform var(--ease);
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0);
}

.modal-aside {
  min-height: 520px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(rgba(8, 13, 14, 0.42), rgba(8, 13, 14, 0.94)),
    url("/generated/modal-inquiry.webp") center / cover;
  color: var(--paper);
}

.modal-aside h3 {
  font-size: 2.4rem;
}

.modal-aside p {
  color: var(--muted-dark);
}

.modal-form {
  padding: 46px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
}

.site-footer {
  padding: 68px 0 26px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.7fr);
  gap: 42px;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 22px;
  color: var(--muted-dark);
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--aero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #bcc6c5;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--signal);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #778483;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  :root {
    --container: min(100% - 40px, 960px);
  }

  .site-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  }

  .hero-visual {
    min-height: clamp(280px, 34vw, 460px);
    max-width: 480px;
  }

  .system-map {
    grid-template-columns: 1fr 1fr;
  }

  .system-node:nth-child(2) {
    border-right: 0;
  }

  .system-node:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .system-node:nth-child(2)::after {
    display: none;
  }

  .process-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:nth-child(3n) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .test-gates {
    grid-template-columns: 1fr 1fr;
  }

  .test-gate:nth-child(2) {
    border-right: 0;
  }

  .test-gate:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
    --space-7: 4.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    padding: 20px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--ink);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    min-height: 48px;
    padding: 13px 8px;
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .hero-grid,
  .sub-hero-grid,
  .section-header,
  .spec-panel-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .hero-visual {
    justify-self: center;
    min-height: clamp(260px, 72vw, 380px);
  }

  .sub-meta {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .sub-meta-row {
    padding-left: 0;
  }

  .component-grid,
  .application-grid {
    grid-template-columns: 1fr 1fr;
  }

  .horizon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --container: 100%;
    --space-5: 2.4rem;
    --space-6: 3.2rem;
    --space-7: 4rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
    overflow-wrap: anywhere;
  }

  .container,
  .nav-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: clamp(260px, 72vw, 380px);
    max-width: 100%;
    justify-self: center;
  }

  .test-visual,
  .media-visual {
    min-height: clamp(240px, 62vw, 360px);
  }

  .map-visual {
    max-height: none;
  }

  .visual-tag {
    display: none;
  }

  .intro-band-grid,
  .priority-grid,
  .media-split,
  .test-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-band-grid .btn {
    justify-self: start;
  }

  .system-map,
  .component-grid,
  .detail-grid,
  .application-grid,
  .test-gates {
    grid-template-columns: 1fr;
  }

  .system-node,
  .system-node:nth-child(2),
  .test-gate,
  .test-gate:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .system-node:last-child,
  .test-gate:last-child {
    border-bottom: 0;
  }

  .system-node::after {
    top: auto;
    right: auto;
    bottom: -5px;
    left: 28px;
  }

  .system-node:nth-child(2)::after {
    display: block;
  }

  .priority-card {
    min-height: 0;
  }

  .process-rail {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(3n) {
    min-height: auto;
    padding: 26px 0 28px 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step::before {
    top: 32px;
    left: 0;
  }

  .process-step h3 {
    margin: 12px 0 8px;
  }

  .horizon-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sub-meta-row {
    display: grid;
    grid-template-columns: minmax(72px, 0.65fr) minmax(0, 1.35fr);
  }

  .detail-card.wide {
    grid-column: auto;
  }

  .config-table,
  .config-table tbody,
  .config-table tr,
  .config-table th,
  .config-table td {
    display: block;
  }

  .config-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .config-table th,
  .config-table td {
    width: 100%;
    padding: 4px 0;
    border: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-aside {
    min-height: 240px;
  }

  .modal-form {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color var(--ease), transform var(--ease);
}

.blog-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.blog-card-img {
  position: relative;
  aspect-ratio: var(--ratio-card);
  overflow: hidden;
  background: var(--ink);
  flex-shrink: 0;
}

.blog-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.article-hero {
  padding: calc(var(--header-h) + 72px) 0 48px;
  background: var(--ink);
  color: var(--paper);
}

.article-hero .container {
  max-width: 820px;
}

.article-body {
  padding: 56px 0 80px;
}

.article-body .container {
  max-width: 820px;
}

.article-body h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body ul {
  padding-left: 1.2rem;
}

.article-cover {
  position: relative;
  margin: 28px 0 0;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  aspect-ratio: var(--ratio-wide);
  max-height: 50vh;
}

.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
