:root {
  color-scheme: dark;
  --ink: #07110d;
  --deep: #0a1712;
  --panel: #10231a;
  --panel-2: #132b20;
  --green: #20e38a;
  --green-dim: #0f8c59;
  --paper: #f3f8f5;
  --muted: #9bb1a6;
  --line: rgba(196, 237, 216, 0.17);
  --blue: #4c6fa5;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 99;
  padding: .7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.hydra-lockup {
  display: flex;
  gap: .75rem;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.hydra-lockup img { width: 2.7rem; height: 2.7rem; object-fit: contain; }
.hydra-lockup span { display: grid; line-height: 1; }
.hydra-lockup strong { font-size: 1.05rem; letter-spacing: .26em; }
.hydra-lockup small { margin-top: .4rem; color: var(--muted); font-size: .63rem; letter-spacing: .14em; }

.site-header nav { display: flex; align-items: center; gap: 1.8rem; }
.site-header nav a { color: #b9ccc2; font-size: .84rem; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--green); }
.site-header .nav-cta { padding: .62rem .95rem; border: 1px solid var(--green); color: var(--paper); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28rem, .85fr);
  grid-template-rows: 1fr auto;
  gap: 0;
  padding: 9.6rem max(1.5rem, calc((100vw - var(--max)) / 2)) 0;
  background:
    radial-gradient(circle at 79% 36%, rgba(32, 227, 138, .18), transparent 32rem),
    linear-gradient(120deg, #07110d 0%, #091a13 58%, #0b2017 100%);
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .38;
  background-image:
    linear-gradient(rgba(105, 174, 139, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 174, 139, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.hero-copy { align-self: center; max-width: 44rem; padding: 2rem 1rem 4rem 0; }
.eyebrow, .section-kicker { color: var(--green); font-size: .74rem; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { display: inline-block; width: 2.2rem; height: 1px; margin-right: .65rem; vertical-align: middle; background: var(--green); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.045em; }
h1 { margin-bottom: 1.6rem; font-size: clamp(3.7rem, 6.5vw, 7.2rem); }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-deck { max-width: 39rem; color: #b8cbc1; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.15rem; border: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.button.primary { background: var(--green); border-color: var(--green); color: var(--ink); }
.button.primary:hover, .button.primary:focus-visible { background: #58efa9; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--green); color: var(--green); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.hero-tags li { padding: .34rem .68rem; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.hero-visual { position: relative; align-self: end; display: flex; align-items: flex-end; justify-content: center; min-height: 39rem; padding-bottom: 5.25rem; }
.hero-visual img { position: relative; z-index: 2; display: block; width: min(100%, 52rem); height: auto !important; max-width: 100%; object-fit: contain; filter: drop-shadow(0 2rem 3rem rgba(0, 0, 0, .55)); }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(32, 227, 138, .28); border-radius: 50%; }
.orbit-one { width: min(34rem, 92%); aspect-ratio: 1; left: 50%; bottom: 4rem; transform: translateX(-50%); }
.orbit-two { width: min(27rem, 74%); aspect-ratio: 1; left: 50%; bottom: 7.5rem; border-style: dashed; transform: translateX(-50%); animation: orbit 35s linear infinite; }
@keyframes orbit { to { transform: translateX(-50%) rotate(360deg); } }
.hero-status-rail { position: absolute; z-index: 3; right: 0; bottom: 1rem; left: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; border: 1px solid rgba(32, 227, 138, .34); background: rgba(7, 17, 13, .88); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .28); backdrop-filter: blur(14px); }
.hero-status-rail > span, .hero-status-rail > div { display: grid; align-content: center; min-height: 4rem; padding: .7rem 1rem; }
.hero-status-rail > div { gap: .1rem; border-left: 1px solid rgba(32, 227, 138, .2); }
.hero-status-rail span { color: var(--muted); font-size: .64rem; letter-spacing: .16em; }
.hero-status-rail strong { color: var(--green); font-size: .82rem; letter-spacing: .08em; }
.hero-status-rail .rail-title { color: #c5d7ce; font-weight: 700; }

.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hero-stats div { display: grid; gap: .2rem; min-height: 7.5rem; padding: 1.45rem; border-right: 1px solid var(--line); background: rgba(7, 17, 13, .6); }
.hero-stats strong { color: var(--green); font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.04em; }
.hero-stats span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }

.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 8rem 0; }
.section h2, .request-section h2, .lifecycle-section h2, .confidence-section h2, .documents-section h2, .closing-section h2 { font-size: clamp(2.5rem, 4.7vw, 5rem); }
.intro { display: grid; grid-template-columns: .7fr 2fr; column-gap: 4rem; }
.intro-copy { max-width: 50rem; }
.intro-copy p { max-width: 43rem; color: var(--muted); font-size: 1.08rem; }
.three-heads { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-left: 1px solid var(--line); }
.three-heads article { min-height: 17rem; padding: 2rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-number { color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.three-heads h3 { margin: 4.5rem 0 .8rem; font-size: 2rem; }
.three-heads p { color: var(--muted); }

.request-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 6rem; padding: 8rem max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--paper); color: var(--ink); }
.request-heading { position: sticky; top: 2rem; align-self: start; }
.request-heading p:last-child { max-width: 32rem; color: #52645b; font-size: 1.05rem; }
.request-rail { margin: 0; padding: 0; list-style: none; counter-reset: request; }
.request-rail li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid #cad9d1; }
.request-rail li:last-child { border-bottom: 1px solid #cad9d1; }
.rail-index { color: var(--green-dim); font-weight: 800; }
.request-rail strong { font-size: 1.25rem; }
.request-rail p { margin: .35rem 0 0; color: #52645b; }

.controls { display: grid; grid-template-columns: 1fr 1.08fr; gap: 7rem; }
.controls-copy > p { color: var(--muted); font-size: 1.05rem; }
.check-list { display: grid; gap: .8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.65rem; color: #c2d4cb; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .65rem; width: .6rem; height: .6rem; border: 1px solid var(--green); transform: rotate(45deg); }
.mode-stack { display: grid; gap: .9rem; }
.mode-card { padding: 1.5rem; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(24, 56, 41, .65), rgba(10, 23, 18, .75)); }
.mode-card.featured { border-color: rgba(32, 227, 138, .62); box-shadow: inset 3px 0 0 var(--green); }
.mode-label { display: grid; }
.mode-label span { color: var(--green); font-size: .65rem; letter-spacing: .15em; }
.mode-label strong { margin-top: .25rem; font-size: 1.35rem; }
.mode-card p { color: var(--muted); }
.mode-meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; }
.mode-meter i { display: block; height: .3rem; background: var(--green-dim); }
.mode-meter i:nth-child(2n) { opacity: .55; }
.mode-meter.sticky i { background: #8fb7a3; opacity: .25; }
.mode-meter.sticky i:first-child { background: var(--green); opacity: 1; }
.mode-meter.rotate i:nth-child(odd) { background: var(--green); opacity: 1; }
.mode-meter.rotate i:nth-child(even) { background: var(--blue); opacity: .95; }

.lifecycle-section { display: grid; grid-template-columns: .68fr 1.32fr; gap: 5rem; padding: 7.5rem max(1.5rem, calc((100vw - var(--max)) / 2)); background: #0d2017; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline { position: relative; display: grid; grid-template-columns: 1fr 1fr .55fr; gap: 1.5rem; align-content: center; }
.timeline-bar { position: absolute; top: 42%; left: 0; right: 0; display: flex; height: .55rem; background: rgba(255,255,255,.08); }
.active-fill { width: 44%; background: var(--green); }
.drain-fill { width: 44%; background: var(--blue); }
.phase { position: relative; z-index: 1; display: grid; align-content: space-between; min-height: 15rem; padding: 1.4rem; border: 1px solid var(--line); background: rgba(7,17,13,.7); }
.phase strong { font-size: 2rem; }
.phase span { align-self: end; color: var(--green); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.phase p { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; }
.drain-phase span { color: #8fb4eb; }
.stop-phase span { color: #d89b36; }

.assurance { padding-bottom: 4rem; }
.assurance-heading { display: grid; grid-template-columns: .5fr 1.2fr 1fr; gap: 3rem; align-items: end; }
.assurance-heading .section-kicker { align-self: start; }
.assurance-heading h2 { margin-bottom: 0; }
.assurance-heading p { color: var(--muted); }
.assurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-left: 1px solid var(--line); }
.assurance-grid article { min-height: 18rem; padding: 1.6rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assurance-grid article > span { color: var(--green); font-size: .7rem; }
.assurance-grid h3 { margin: 5rem 0 .8rem; font-size: 1.35rem; }
.assurance-grid p { color: var(--muted); font-size: .9rem; }
.boundary-strip { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; align-items: center; margin-top: 1.2rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.boundary-strip strong { color: var(--green); letter-spacing: .1em; }

.confidence-section { display: grid; grid-template-columns: .68fr 1fr; align-items: center; min-height: 44rem; padding: 6rem max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--paper); color: var(--ink); overflow: hidden; }
.confidence-visual { position: relative; min-height: 30rem; }
.confidence-visual::before { content: ""; position: absolute; inset: 5% 12% 0 -38%; border-radius: 50%; background: radial-gradient(circle, rgba(32,227,138,.22), transparent 62%); }
.confidence-visual img { position: absolute; width: min(38rem, 48vw); height: auto; left: -5rem; top: -1rem; filter: drop-shadow(0 2rem 2.2rem rgba(7,17,13,.25)); }
.confidence-copy { max-width: 42rem; }
.confidence-copy > p { color: #52645b; font-size: 1.05rem; }
.confidence-callout { margin-top: 2rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--green-dim); background: #e3f2ea; }
.confidence-callout strong { font-size: .75rem; letter-spacing: .12em; }
.confidence-callout p { margin: .5rem 0 0; color: #42564c; }

.documents-section { padding: 8rem max(1.5rem, calc((100vw - var(--max)) / 2)); }
.documents-heading { display: grid; grid-template-columns: .6fr 1.4fr; align-items: start; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-left: 1px solid var(--line); }
.document-grid a { display: flex; flex-direction: column; min-height: 23rem; padding: 2rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.document-grid a:hover, .document-grid a:focus-visible { background: var(--panel); transform: translateY(-.35rem); }
.document-grid span { color: var(--green); font-size: .7rem; letter-spacing: .15em; }
.document-grid h3 { margin: 5rem 0 .8rem; font-size: 1.7rem; }
.document-grid p { color: var(--muted); }
.document-grid strong { margin-top: auto; color: var(--green); font-size: .8rem; letter-spacing: .08em; }
.document-grid i { font-style: normal; }

.closing-section { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 5rem; padding: 7rem max(1.5rem, calc((100vw - var(--max)) / 2)); background: linear-gradient(100deg, #0c2519, #07110d); border-top: 1px solid var(--line); }
.closing-section h2 { margin-bottom: 0; }
.closing-section > p { color: var(--muted); font-size: 1.08rem; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 2.2rem 0; color: var(--muted); font-size: .75rem; }
footer img { width: 8rem; height: auto; }
footer p { margin: 0; }
footer a { color: var(--paper); text-decoration: none; }

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 8.5rem; }
  .hero-copy { z-index: 4; max-width: 38rem; }
  .hero-visual { min-height: 33rem; }
  .hero-visual img { width: min(100%, 46rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .intro, .controls, .request-section, .lifecycle-section, .assurance-heading, .confidence-section, .closing-section { grid-template-columns: 1fr; }
  .request-heading { position: static; }
  .assurance-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { margin-top: 1rem; }
  .document-grid { grid-template-columns: 1fr; }
  .document-grid a { min-height: 15rem; }
  .document-grid h3 { margin-top: 2.5rem; }
  .confidence-visual { min-height: 20rem; }
  .confidence-visual img { width: 30rem; left: calc(50% - 15rem); top: -5rem; }
}

@media (max-width: 640px) {
  .site-header { width: min(calc(100% - 2rem), var(--max)); }
  .site-header .nav-cta { padding: .52rem .72rem; }
  .hydra-lockup small { display: none; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-copy { padding-right: 0; }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 25rem; padding-bottom: 6.25rem; }
  .hero-visual img { width: 100%; }
  .orbit-one { width: 88%; left: 50%; bottom: 5rem; }
  .orbit-two { width: 68%; left: 50%; bottom: 7rem; }
  .hero-status-rail { grid-template-columns: 1fr 1fr; }
  .hero-status-rail .rail-title { grid-column: 1 / -1; min-height: 2.4rem; padding-top: .45rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(32, 227, 138, .2); }
  .hero-status-rail > div { min-height: 3.4rem; }
  .hero-status-rail > div:nth-child(2) { border-left: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div { min-height: 6rem; padding: 1rem; }
  .section { width: min(calc(100% - 2rem), var(--max)); padding: 5rem 0; }
  .section h2, .request-section h2, .lifecycle-section h2, .confidence-section h2, .documents-section h2, .closing-section h2 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .intro { gap: 1.3rem; }
  .three-heads { grid-template-columns: 1fr; margin-top: 2rem; }
  .three-heads article { min-height: 13rem; }
  .three-heads h3 { margin-top: 3rem; }
  .request-section, .lifecycle-section, .confidence-section, .documents-section, .closing-section { gap: 2.5rem; padding: 5rem 1rem; }
  .request-rail li { grid-template-columns: 3rem 1fr; }
  .controls { gap: 3rem; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-bar { display: none; }
  .phase { min-height: 10rem; }
  .assurance-heading { gap: 1rem; }
  .assurance-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .assurance-grid article { min-height: 13rem; }
  .assurance-grid h3 { margin-top: 3rem; }
  .confidence-visual { min-height: 18rem; }
  .confidence-visual img { width: 26rem; left: calc(50% - 13rem); }
  .documents-heading { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; width: min(calc(100% - 2rem), var(--max)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-two { animation: none; }
  .document-grid a { transition: none; }
}
