:root {
  --bg: #071015;
  --bg-soft: #0a151b;
  --panel: #0d1a21;
  --panel-2: #101f27;
  --line: #28414d;
  --line-bright: #416271;
  --text: #e8eef0;
  --muted: #8ea2aa;
  --yellow: #f4d438;
  --cyan: #67d5e3;
  --green: #78e08f;
  --max: 1180px;
}

* { box-sizing: border-box; }

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  color: var(--text);
  font-family: "IBM Plex Mono", "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: .04;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, #fff 4px);
}

.site-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .08em;
}
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 28px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-weight: 600;
}
.brand-name { font-size: 15px; font-weight: 600; }
nav { display: flex; gap: 30px; color: var(--muted); }
nav a:hover { color: var(--yellow); }
.status { justify-self: end; display: flex; align-items: center; gap: 9px; color: var(--green); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  padding-block: 80px;
}
.eyebrow, .section-index, .label, .card-code {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 28px;
  max-width: 760px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 500;
}
h1 span { color: var(--yellow); }
.lede { max-width: 690px; color: #bac7cc; font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-bright);
  font-size: 12px;
  letter-spacing: .05em;
  transition: .18s ease;
}
.button.primary { background: var(--yellow); border-color: var(--yellow); color: #111; font-weight: 600; }
.button.primary:hover { background: #ffe665; }
.button.secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.flight-panel { border: 1px solid var(--line-bright); background: linear-gradient(180deg, rgba(15,31,39,.96), rgba(7,16,21,.96)); box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.panel-head, .panel-foot {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line);
}
.panel-foot { border-top: 1px solid var(--line); border-bottom: 0; }
.instrument-grid { display: grid; grid-template-columns: 1fr 1fr; }
.instrument {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.instrument:nth-child(3) { border-right: 0; }
.instrument.wide { grid-column: 1 / -1; border-right: 0; }
.instrument strong { margin: 12px 0 2px; color: var(--yellow); font-size: 23px; font-weight: 500; }
.instrument .sub { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.diagram { min-height: 185px; }
.route-line { display: flex; align-items: center; color: var(--muted); font-size: 10px; }
.route-line i { flex: 1; height: 1px; margin: 0 12px; background: var(--cyan); position: relative; }
.route-line i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid var(--cyan); border-top: 1px solid var(--cyan); transform: rotate(45deg); }
.signal-bars { height: 65px; display: flex; align-items: end; gap: 8px; margin-top: 24px; }
.signal-bars b { flex: 1; background: var(--cyan); opacity: .72; animation: signal 2.6s ease-in-out infinite alternate; }
.signal-bars b:nth-child(1) { height: 20%; }.signal-bars b:nth-child(2) { height: 45%; }.signal-bars b:nth-child(3) { height: 30%; }.signal-bars b:nth-child(4) { height: 78%; }.signal-bars b:nth-child(5) { height: 58%; }.signal-bars b:nth-child(6) { height: 88%; }.signal-bars b:nth-child(7) { height: 68%; }.signal-bars b:nth-child(8) { height: 100%; }
@keyframes signal { to { opacity: .35; transform: scaleY(.86); transform-origin: bottom; } }

.section { padding-block: 120px; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin: 18px 0 60px; }
h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; }
.section-intro p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.capability-grid article { min-height: 280px; padding: 28px; border-right: 1px solid var(--line); background: rgba(10,21,27,.72); }
.capability-grid article:last-child { border-right: 0; }
.capability-grid h3 { margin: 50px 0 18px; font-size: 22px; font-weight: 500; }
.capability-grid p { color: var(--muted); line-height: 1.7; }

.product-band { border-block: 1px solid #665c13; background: var(--yellow); color: #111; }
.product-layout { min-height: 360px; padding-block: 72px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.product-band .section-index { color: #514b18; }
.product-band h2 { margin: 20px 0 0; }
.product-copy { font-size: 18px; }
.product-copy p { max-width: 470px; }
.product-copy a { display: inline-flex; gap: 12px; margin-top: 30px; padding-bottom: 6px; border-bottom: 2px solid #111; font-size: 13px; font-weight: 600; }

.principles { margin-top: 54px; border-top: 1px solid var(--line); }
.principles > div { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles span { color: var(--cyan); }
.principles p { margin: 0; max-width: 760px; color: var(--muted); }
.principles strong { color: var(--text); }

.contact { padding-block: 80px 120px; }
.contact-panel { padding: 50px; border: 1px solid var(--line-bright); background: var(--panel); }
.contact-panel h2 { max-width: 760px; margin: 22px 0 55px; }
.contact-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; font-size: clamp(18px, 3vw, 34px); color: var(--yellow); }
.contact-link b { font-weight: 400; }
.site-footer { min-height: 100px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; min-height: auto; }
  .section-intro, .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .capability-grid article:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 70px; }
  .status { font-size: 9px; }
  .hero { padding-block: 55px; }
  h1 { font-size: 48px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .instrument { min-height: 130px; padding: 16px; }
  .instrument strong { font-size: 18px; }
  .section { padding-block: 82px; }
  .section-intro { margin-bottom: 42px; }
  .product-layout { padding-block: 56px; }
  .contact-panel { padding: 28px 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
}

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