:root {
  color-scheme: dark;
  --bg: #0a0d12;
  --panel: #10151c;
  --rule: #1f2833;
  --border: #2c3845;
  --border-strong: #3a4756;
  --line-muted: #56697c;
  --text: #e6eef5;
  --text-2: #c9d4de;
  --text-3: #a3b1bf;
  --ice: #7ee3f0;
  --delta: #ff9d5c;
  --delta-wash: rgba(255, 157, 92, .06);
  --hover: #b4f1f8;
  --gutter: clamp(1rem, 5.55vw, 5rem);
  --content: 80rem;
  font-family: "Geist", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; min-width: 20rem; background: var(--bg); color: var(--text); font-size: 1.0625rem; line-height: 1.65; }
a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
::selection { background: var(--ice); color: var(--bg); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section-wrap { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
.draft-banner { margin: 0; padding: .45rem 1rem; border-bottom: 1px solid var(--border); background: #121922; color: var(--text-2); text-align: center; font-size: .8125rem; letter-spacing: .04em; }
.site-header { min-height: 4.5rem; padding: .75rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--text); font-size: .9375rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand:hover { color: var(--ice); }
.brand-mark { width: 1.75rem; height: 1.25rem; overflow: visible; }
.brand-mark .lane { fill: none; stroke-width: 1.7; }
.brand-mark .lane-a { stroke: var(--ice); }
.brand-mark .lane-b { stroke: var(--text); stroke-dasharray: 4 3; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.25rem); }
.desktop-nav a, .mobile-menu summary { color: var(--text-2); font-size: .875rem; }
.desktop-nav a:hover, .mobile-menu a:hover { color: var(--ice); }
.mobile-menu { display: none; }

.hero { padding-block: clamp(4rem, 8vw, 7.5rem) 4rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--ice); font-family: "Geist Mono", monospace; font-size: .8125rem; letter-spacing: .08em; line-height: 1.4; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); align-items: end; gap: clamp(2rem, 6vw, 5rem); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); font-weight: 500; }
h1, h2 { font-family: "Unbounded", sans-serif; letter-spacing: -.035em; }
h1 { margin-bottom: 0; font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.04; }
h1 span { display: block; }
.accent { color: var(--ice); }
.hero-aside { max-width: 33rem; }
.lede { margin-bottom: 1.5rem; color: var(--text-2); font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 3rem; padding: .75rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 2px; font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.button-primary { border-color: var(--ice); background: var(--ice); color: var(--bg); }
.button-primary:hover { border-color: var(--hover); background: var(--hover); color: var(--bg); }
.button-secondary { background: transparent; color: var(--text); }
.button-secondary:hover { border-color: var(--ice); color: var(--ice); }

.diagram-wrap { margin-top: clamp(4rem, 8vw, 7.5rem); padding: 1.5rem 0 1rem; border-bottom: 1px solid var(--rule); }
.lane-diagram { width: 100%; height: auto; overflow: visible; }
.lane-diagram-tall { display: none; max-width: 22rem; margin-inline: auto; }
.diagram-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.diagram-line.lane-a { stroke: var(--ice); }
.diagram-line.lane-b { stroke: var(--text-2); stroke-dasharray: 8 7; }
.delta-zone { fill: var(--delta-wash); stroke: var(--delta); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.diagram-connector { fill: none; stroke: var(--line-muted); stroke-width: 2; vector-effect: non-scaling-stroke; }
.operator-ring { fill: var(--bg); stroke: var(--ice); stroke-width: 2; vector-effect: non-scaling-stroke; }
.diagram-label, .diagram-small { fill: var(--text-3); font-family: "Geist Mono", monospace; font-size: 13px; letter-spacing: .07em; }
.diagram-delta { fill: var(--delta); font-family: "Geist Mono", monospace; font-size: 13px; text-anchor: middle; letter-spacing: .07em; }
.diagram-operator { fill: var(--text); font-family: "Geist", sans-serif; font-size: 14px; font-weight: 600; text-anchor: middle; }
.diagram-small { font-size: 11px; text-anchor: middle; letter-spacing: 0; }
.pulse { animation: softpulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes softpulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(126, 227, 240, 0)); } 50% { filter: drop-shadow(0 0 8px rgba(126, 227, 240, .45)); } }
.diagram-caption { margin: .75rem 0 0; color: var(--text-3); font-size: .8125rem; text-align: right; }

.section { padding-block: clamp(3rem, 8vw, 7.5rem); border-bottom: 1px solid var(--rule); }
h2 { max-width: 58rem; margin-bottom: 1.75rem; font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1.12; text-wrap: balance; }
h3 { margin-bottom: .6rem; font-size: 1.25rem; line-height: 1.3; }
.section-intro { max-width: 47rem; margin-bottom: 2.25rem; color: var(--text-2); font-size: 1.125rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.step-card { min-height: 12rem; padding: 1.5rem; border-right: 1px solid var(--rule); }
.step-card:first-child { padding-left: 0; }
.step-card:last-child { padding-right: 0; border-right: 0; }
.step-number { margin-bottom: .75rem; color: var(--ice); font-family: "Geist Mono", monospace; font-size: .9375rem; }
.step-card p:last-child { max-width: 24rem; margin-bottom: 0; color: var(--text-2); }
.concept-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.concept-card { min-height: 13rem; padding: 1.5rem; border: 1px solid var(--border); background: var(--panel); }
.concept-card-dashed { border-style: dashed; }
.concept-card p { max-width: 32rem; margin-bottom: 1.5rem; color: var(--text-2); }
.mini-diagram, .handoff-line { min-height: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; color: var(--text-3); font-family: "Geist Mono", monospace; font-size: .8125rem; }
.mini-diagram span, .mini-diagram b, .mini-diagram i, .handoff-line span { padding: .45rem .65rem; border: 1px solid var(--border-strong); border-radius: 2px; font-style: normal; font-weight: 400; }
.mini-diagram b { border-color: var(--ice); color: var(--text); }
.mini-diagram i { border-color: var(--ice); border-radius: 50%; }
.handoff-line b { color: var(--ice); font-weight: 400; }

.status-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.status-heading h2 { margin-bottom: 1.5rem; }
.status-badge { margin: 0 0 1.8rem; padding: .55rem .7rem; border: 1px solid var(--border-strong); color: var(--text-2); font-family: "Geist Mono", monospace; font-size: .75rem; letter-spacing: .06em; white-space: nowrap; }
.status-card { max-width: 52rem; padding: 1.5rem; border: 1px solid var(--border); background: var(--panel); }
.status-card p { margin: 0; color: var(--text-2); font-size: 1.0625rem; }

.availability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.availability-card { min-height: 14rem; padding: 1.25rem; border: 1px solid var(--border); background: var(--panel); }
.planned-card { border-style: dashed; }
.card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule); }
.card-heading h3 { margin: 0; font-size: 1.15rem; }
.card-heading span { color: var(--text-3); font-family: "Geist Mono", monospace; font-size: .75rem; white-space: nowrap; }
.availability-card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.availability-card li { padding: .45rem 0; color: var(--text-2); }
.availability-card li + li { border-top: 1px solid var(--rule); }
.install-card { padding: 1.25rem .5rem; }
.install-card h3 { margin-bottom: .75rem; }
.install-card p { color: var(--text-2); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-weight: 600; }

.contact-section { display: grid; grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 8vw, 7.5rem); align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
.contact-copy > p:not(.eyebrow) { color: var(--text-2); }
.contact-copy .privacy-note { margin-top: 1.5rem; font-size: .9375rem; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { margin-bottom: 1.125rem; }
.field-row label { display: block; margin-bottom: .45rem; color: var(--text); font-weight: 600; }
.field-row label span { color: var(--text-3); font-size: .875rem; font-weight: 400; }
.field-row input, .field-row select, .field-row textarea { width: 100%; min-height: 3rem; padding: .75rem .85rem; border: 1px solid var(--border-strong); border-radius: 2px; background: #0d1218; color: var(--text); font: inherit; }
.field-row textarea { min-height: 10rem; resize: vertical; }
.field-row input:disabled, .field-row select:disabled, .field-row textarea:disabled { color: var(--text-3); }
.field-hint { margin: .4rem 0 0; color: var(--text-3); font-size: .8125rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 4.25rem; margin-block: .75rem; }
.form-note { margin: .6rem 0; color: var(--text-3); font-size: .875rem; }
.submit-button { min-width: 11rem; }
fieldset:disabled .submit-button { border-color: var(--border); background: var(--border); color: var(--text-3); cursor: not-allowed; }
fieldset:disabled .turnstile-slot { border: 1px dashed var(--border-strong); }

.site-footer { min-height: 6rem; padding-block: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-footer p { margin: 0; color: var(--text-3); font-size: .875rem; }
.back-to-top { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .875rem; }
.message-page { width: min(100% - 2rem, 42rem); margin: 15vh auto; padding: 2rem; border: 1px solid var(--border); background: var(--panel); }
.message-page p:not(.eyebrow) { color: var(--text-2); }
.message-page .button { margin-top: .75rem; }

@media (max-width: 1023px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step-card, .step-card:first-child, .step-card:last-child { min-height: 0; padding: 1.25rem 0; border-right: 0; }
  .step-card + .step-card { border-top: 1px solid var(--rule); }
  .step-card p:last-child { max-width: 45rem; }
  .availability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-card { grid-column: 1 / -1; padding-inline: 0; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .site-header { min-height: 4rem; gap: .75rem; }
  .desktop-nav { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { min-height: 2.75rem; padding: .5rem .8rem; display: flex; align-items: center; border: 1px solid var(--border-strong); list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; z-index: 2; top: calc(100% + .45rem); right: 0; min-width: 13rem; padding: .45rem; display: grid; border: 1px solid var(--border); background: var(--panel); box-shadow: 0 1rem 2rem rgba(0, 0, 0, .35); }
  .mobile-menu nav a { min-height: 2.75rem; padding: .6rem .7rem; display: flex; align-items: center; color: var(--text-2); }
  .hero { padding-top: 3rem; }
  .hero-copy { grid-template-columns: 1fr; gap: 1.25rem; }
  h1 { font-size: clamp(2.35rem, 10vw, 3rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .diagram-wrap { margin-top: 3.5rem; padding-top: 1rem; }
  .lane-diagram-wide { display: none; }
  .lane-diagram-tall { display: block; }
  .diagram-caption { max-width: 22rem; margin-inline: auto; text-align: center; }
  .section { padding-block: 3rem; }
  h2 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .concept-grid, .availability-grid, .contact-section { grid-template-columns: 1fr; }
  .concept-card { min-height: 0; padding: 1.25rem; }
  .status-heading { display: block; }
  .status-badge { width: fit-content; margin: 0 0 1.25rem; }
  .availability-card { min-height: 0; }
  .install-card { grid-column: auto; padding-block: .5rem; }
  .contact-section { gap: 1.5rem; }
  .contact-copy h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
}
