:root {
  --ink: #0a1d2f;
  --navy: #071a2b;
  --navy-2: #102a40;
  --navy-3: #17364d;
  --teal: #00a6a6;
  --teal-dark: #087d80;
  --teal-pale: #dff5f2;
  --copper: #c77a45;
  --paper: #ffffff;
  --fog: #f3f5f5;
  --line: #cbd3d6;
  --muted: #52636e;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f2a76d; outline-offset: 3px; }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 1rem; top: 1rem; padding: .75rem 1rem; color: white; background: #000; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 1rem; font-size: .72rem; line-height: 1.3; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-dark); }
h1, h2, h3, h4, p { text-wrap: pretty; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.8rem); font-weight: 690; }
h2 { font-size: clamp(2rem, 4.2vw, 3.7rem); font-weight: 670; }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }

.signal-bar { background: var(--teal); color: var(--navy); font-size: .78rem; }
.signal-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 1rem; }
.signal-inner a { font-weight: 800; text-decoration: none; }
.site-header { position: relative; z-index: 60; color: var(--ink); background: white; border-bottom: 1px solid var(--line); }
.utility-row { min-height: 36px; display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--muted); border-bottom: 1px solid #e5e9ea; }
.utility-row > span { font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.utility-row nav { display: flex; align-items: center; gap: 1.25rem; }
.utility-row a, .utility-search { color: inherit; border: 0; padding: 0; background: transparent; text-decoration: none; cursor: pointer; }
.utility-row a:hover, .utility-search:hover { color: var(--teal-dark); }
.main-nav-row { position: relative; min-height: 76px; display: flex; align-items: center; gap: 2rem; }
.brand { width: 155px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.primary-nav { min-width: 0; display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.nav-group { position: static; display: flex; }
.nav-trigger { display: flex; align-items: center; gap: .3rem; border: 0; border-bottom: 3px solid transparent; padding: .3rem .68rem 0; background: transparent; cursor: pointer; white-space: nowrap; font-size: .84rem; font-weight: 700; }
.nav-trigger:hover, .nav-trigger.is-active, .nav-trigger[aria-expanded="true"] { border-bottom-color: var(--teal); color: var(--teal-dark); }
.nav-trigger span { transform: translateY(-1px); }
.mega-menu { position: absolute; inset: 76px 0 auto; display: grid; grid-template-columns: minmax(210px, .7fr) 2.3fr; gap: 3rem; padding: 2rem; background: white; border: 1px solid var(--line); border-top: 4px solid var(--teal); }
.mega-intro { padding-right: 2rem; border-right: 1px solid var(--line); }
.mega-intro > p:not(.eyebrow) { font-size: 1.35rem; line-height: 1.3; }
.mega-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.2rem; }
.mega-link { display: flex; min-height: 80px; flex-direction: column; justify-content: center; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mega-link span { font-weight: 800; }
.mega-link small { margin-top: .3rem; color: var(--muted); line-height: 1.35; }
.mega-link:hover span, .mega-link.is-current span { color: var(--teal-dark); }
.mobile-toggle { display: none; }
.nav-cta { margin-left: .25rem; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.15rem; border: 2px solid var(--teal-dark); color: white; background: var(--teal-dark); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--navy); background: var(--navy); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-secondary:hover { color: white; }
.button-light { color: var(--navy); background: #fff; border-color: #fff; }
.button-light:hover { color: white; border-color: var(--teal); background: var(--teal-dark); }
.button-outline-light { color: white; border-color: rgba(255,255,255,.75); background: transparent; }
.button-outline-light:hover { color: var(--navy); background: white; border-color: white; }
.button-small { min-height: 38px; padding: .55rem .75rem; font-size: .75rem; }
.text-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--teal-dark); font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--navy); }
.text-link-light { color: #78e2dc; }
.text-link-light:hover { color: white; }

.home-hero { position: relative; min-height: 680px; overflow: hidden; color: white; background: var(--navy); }
.home-hero::after { content: ""; position: absolute; width: 36vw; height: 36vw; right: -14vw; top: -20vw; border: 1px solid rgba(0,166,166,.32); border-radius: 50%; box-shadow: none; }
.hero-grid-lines { position: absolute; inset: 0; opacity: .16; background-size: 56px 56px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M55.5 0V56M0 55.5H56' fill='none' stroke='%23ffffff' stroke-opacity='.28'/%3E%3C/svg%3E"); }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); align-items: center; gap: 5rem; padding-block: 5.5rem 6.5rem; }
.hero-eyebrow { color: #76e5df; }
.home-hero h1 { max-width: 850px; margin-bottom: 1.5rem; font-size: clamp(3.2rem, 6.3vw, 6.4rem); }
.hero-lead { max-width: 780px; color: #435661; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.55; }
.home-hero .hero-lead { max-width: 690px; color: #c9d7dc; }
.hero-note { margin-top: 1.5rem; color: #9eb3bd; font-size: .78rem; }

.federation-graphic { position: relative; min-height: 500px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.025); }
.federation-graphic::before, .federation-graphic::after { content: ""; position: absolute; background: var(--teal); }
.federation-graphic::before { width: 40px; height: 4px; right: -1px; top: -1px; }
.federation-graphic::after { width: 4px; height: 40px; right: -1px; top: -1px; }
.federation-graphic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.federation-graphic path { fill: none; stroke: #33c7c4; stroke-width: 2; stroke-dasharray: 8 7; }
.federation-graphic circle { fill: #e4935b; }
.node { position: absolute; z-index: 2; width: 170px; padding: .85rem; color: white; background: var(--navy-2); border: 1px solid #3b596e; }
.node span, .control-plane > span { display: block; margin-bottom: .5rem; color: #73ddd8; font-size: .64rem; font-weight: 800; letter-spacing: .13em; }
.node strong, .node small { display: block; }
.node small { margin-top: .25rem; color: #9eb3bd; }
.node-a { left: 4%; top: 8%; }
.node-b { right: 4%; bottom: 8%; }
.control-plane { position: absolute; z-index: 3; left: 50%; top: 50%; width: 245px; padding: 1.1rem; transform: translate(-50%,-50%); color: white; background: #0d3446; border: 2px solid var(--teal); }
.control-plane > strong { display: block; margin-bottom: .75rem; font-size: 1.1rem; }
.control-plane > div { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #396176; border-left: 1px solid #396176; }
.control-plane b { padding: .5rem; border-right: 1px solid #396176; border-bottom: 1px solid #396176; font-size: .67rem; letter-spacing: .04em; }

.section-nav { position: sticky; z-index: 30; top: 0; color: white; background: #0c2435; border-bottom: 1px solid #315064; }
.section-nav .shell { display: flex; align-items: center; overflow-x: auto; }
.section-nav a { flex: 0 0 auto; padding: 1rem 1.4rem 1rem 0; margin-right: 1.4rem; color: #d9e5e8; font-size: .8rem; font-weight: 750; text-decoration: none; }
.section-nav a:hover { color: #72ded9; }

.home-overview, .content-section, .brief-section, .evidence-home { padding-block: clamp(5rem, 9vw, 8rem); }
.split-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7rem; margin-bottom: 4.5rem; }
.split-heading h2 { max-width: 600px; }
.large-copy { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.55; color: #344a56; }
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-block: 1px solid var(--line); }
.metric-row > div { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; border-right: 1px solid var(--line); }
.metric-row > div:first-child { padding-left: 0; }
.metric-row > div:last-child { border-right: 0; }
.metric-row strong { font-size: 1.55rem; line-height: 1.2; }
.metric-row span { margin-top: .35rem; color: var(--muted); font-size: .78rem; }

.dark-section { padding-block: clamp(5rem, 9vw, 8rem); color: white; background: var(--navy); }
.section-heading { max-width: 810px; margin-bottom: 3.2rem; }
.section-heading h2 { margin-bottom: 1.2rem; }
.section-heading > p:last-child:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.section-heading-light .eyebrow { color: #65d8d4; }
.section-heading-light > p:last-child:not(.eyebrow) { color: #b7c8cf; }
.tabs { border-top: 1px solid #315064; }
.tab-list { display: flex; overflow-x: auto; border-bottom: 1px solid #315064; }
.tab-list button { flex: 1 0 auto; min-height: 62px; border: 0; border-bottom: 4px solid transparent; padding: .9rem 1.15rem; color: #b6c6cd; background: transparent; cursor: pointer; font-weight: 750; }
.tab-list button:hover, .tab-list button[aria-selected="true"] { color: white; border-bottom-color: var(--teal); }
.tab-panels > article { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; padding: 3rem 0 0; }
.tab-panels h3 { max-width: 670px; font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
.tab-panels article > div > p:not(.eyebrow) { max-width: 690px; color: #b7c8cf; }
.tab-panels dl { margin: 0; border-top: 1px solid #315064; }
.tab-panels dl div { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #315064; }
.tab-panels dt { color: #68d8d3; font-weight: 800; }
.tab-panels dd { margin: 0; }
.mission-tabs { border-color: var(--line); }
.mission-tabs .tab-list { border-color: var(--line); }
.mission-tabs .tab-list button { color: var(--muted); }
.mission-tabs .tab-list button:hover, .mission-tabs .tab-list button[aria-selected="true"] { color: var(--ink); }
.mission-tabs .tab-panels article > div > p:not(.eyebrow) { color: var(--muted); }
.mini-card-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.mini-card-grid section { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.mini-card-grid h4 { margin-bottom: .45rem; font-size: 1rem; }
.mini-card-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.site-feature { overflow: hidden; padding-block: clamp(5rem, 9vw, 8rem); background: var(--teal-pale); border-block: 1px solid #b5dcd9; }
.site-feature-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 7rem; }
.site-coordinate { position: relative; min-height: 440px; padding: 2rem; color: white; background: var(--navy); border-bottom: 8px solid var(--copper); }
.site-coordinate > span { display: block; font-size: clamp(2rem, 4vw, 4rem); font-weight: 250; letter-spacing: -.05em; line-height: 1.05; }
.site-coordinate small { position: absolute; left: 2rem; bottom: 1.5rem; color: #afc2ca; }
.locator-map { position: absolute; inset: 160px 30px 55px; border: 1px solid #34546a; }
.locator-map::before, .locator-map::after { content: ""; position: absolute; inset: 0; background-size: 34px 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M33.5 0V34M0 33.5H34' fill='none' stroke='%23ffffff' stroke-opacity='.12'/%3E%3C/svg%3E"); }
.locator-map i { position: absolute; z-index: 2; left: 58%; top: 44%; width: 18px; height: 18px; border: 4px solid #f4a365; border-radius: 50%; }
.locator-map i::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 50px; background: #f4a365; }
.locator-map b, .locator-map em { position: absolute; height: 1px; background: var(--teal); transform-origin: left center; }
.locator-map b { width: 55%; left: 8%; top: 68%; transform: rotate(-14deg); }
.locator-map em { width: 36%; left: 48%; top: 30%; transform: rotate(18deg); }
.site-feature h2 { max-width: 700px; }
.site-feature p:not(.eyebrow) { max-width: 760px; color: #34515d; font-size: 1.1rem; }
.site-gates { display: grid; grid-template-columns: repeat(2, 1fr); margin-block: 2rem; border-top: 1px solid #9bc9c7; border-left: 1px solid #9bc9c7; }
.site-gates span { padding: .8rem; border-right: 1px solid #9bc9c7; border-bottom: 1px solid #9bc9c7; font-size: .82rem; font-weight: 750; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.plain-card { min-height: 225px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plain-card h3 { margin: 1.4rem 0 .8rem; }
.plain-card p { margin: 0; color: var(--muted); }
.card-rule { display: block; width: 36px; height: 4px; background: var(--teal); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card { min-height: 340px; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-card > div { display: flex; justify-content: space-between; color: var(--teal-dark); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.product-card h2, .product-card h3 { margin: 3rem 0 1rem; font-size: 1.45rem; }
.product-card p { color: var(--muted); }
.product-card footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.product-card em { color: var(--copper); font-size: .72rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.product-card .text-link { font-size: .77rem; }
.center-link { display: flex; justify-content: center; margin-top: 2rem; }

.energy-band { padding-block: clamp(4rem, 7vw, 6.5rem); color: white; background: #703c23; }
.energy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; }
.energy-band .eyebrow { color: #ffd0ad; }
.energy-band p:not(.eyebrow) { color: #f3d9c6; font-size: 1.08rem; }
.claim-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.claim-grid article { min-height: 225px; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.claim-grid span { color: var(--teal-dark); font-weight: 850; }
.claim-grid h3 { margin-top: 2.5rem; }
.claim-grid p { color: var(--muted); }

.page-hero { padding-block: clamp(4.5rem, 9vw, 8rem) 0; background: var(--fog); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 6rem; align-items: end; padding-bottom: 4.5rem; }
.page-hero h1 { max-width: 1000px; margin-bottom: 1.5rem; }
.compact-hero h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
.status-line { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.status-line span { width: 9px; height: 9px; background: var(--copper); border-radius: 50%; }
.page-index { padding: 1.4rem 0 0 1.5rem; border-left: 1px solid var(--line); }
.page-index > p { margin-bottom: .75rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-index > strong { display: block; line-height: 1.5; }
.page-index a { display: grid; grid-template-columns: 34px 1fr; gap: .5rem; padding: .65rem 0; border-top: 1px solid var(--line); font-size: .85rem; text-decoration: none; }
.page-index a span { color: var(--teal-dark); font-weight: 800; }
.page-index a:hover { color: var(--teal-dark); }
.page-hero .metric-row { background: white; }

.section-tint { background: var(--fog); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--teal-dark); font-size: 1.2rem; font-weight: 850; }
.steps h3 { margin-bottom: .5rem; }
.steps p { margin: 0; max-width: 820px; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .88rem; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
thead th { color: white; background: var(--navy); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }
tbody th { min-width: 180px; color: var(--ink); background: #f7f8f8; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
.evidence-section { padding-block: clamp(4rem, 7vw, 6rem); color: white; background: var(--navy-2); }
.evidence-grid { display: grid; grid-template-columns: .35fr 1.65fr; gap: 4rem; }
.evidence-mark { color: #69d9d4; font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.evidence-section h2 { max-width: 800px; }
.evidence-section p:not(.evidence-mark) { max-width: 850px; color: #c1d1d7; font-size: 1.08rem; }
.cta-band { padding-block: clamp(4rem, 7vw, 6rem); background: var(--teal-pale); border-block: 1px solid #b5dcd9; }
.cta-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 5rem; align-items: center; }
.cta-grid h2 { max-width: 830px; }
.cta-grid p:not(.eyebrow) { max-width: 760px; color: #38525d; }
.cta-grid .button-row { justify-content: flex-start; margin-top: 0; }
.definition-list { border-top: 1px solid var(--line); }
.definition-list article { display: grid; grid-template-columns: .4fr 1.6fr; gap: 3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.definition-list p { margin: 0; color: var(--muted); }

.reference-list { border-top: 1px solid var(--line); }
.reference { display: grid; grid-template-columns: 55px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.reference > span { color: var(--teal-dark); font-weight: 850; }
.reference h2 { margin-bottom: .6rem; font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.reference h2 a { text-decoration: none; }
.reference h2 a:hover { color: var(--teal-dark); }
.reference p:not(.eyebrow) { max-width: 900px; margin: 0; color: var(--muted); }

.brief-grid { display: grid; grid-template-columns: .4fr 1.6fr; gap: 5rem; align-items: start; }
.brief-grid aside { position: sticky; top: 3rem; padding: 1.5rem; color: white; background: var(--navy); }
.brief-grid aside ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.brief-grid aside li { padding: .45rem 0; border-bottom: 1px solid #35546a; }
.brief-grid aside p:last-child { color: #b9cad1; font-size: .82rem; }
.brief-form fieldset { margin: 0 0 2.5rem; padding: 0 0 2.5rem; border: 0; border-bottom: 1px solid var(--line); }
.brief-form legend { width: 100%; margin-bottom: 1.5rem; font-size: 1.45rem; font-weight: 750; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.brief-form label { display: grid; gap: .5rem; color: #314954; font-size: .82rem; font-weight: 750; }
.brief-form input, .brief-form select, .brief-form textarea { width: 100%; min-height: 48px; padding: .75rem; color: var(--ink); background: white; border: 1px solid #89999f; border-radius: 0; font-weight: 450; }
.brief-form textarea { min-height: 125px; resize: vertical; }
.brief-form .ack { display: flex; grid-template-columns: 20px 1fr; align-items: start; margin-bottom: 1.5rem; }
.brief-form .ack input { width: 18px; min-height: 18px; margin: .1rem 0 0; }
.brief-output { padding-block: 5rem; background: var(--fog); border-top: 1px solid var(--line); }
.brief-output pre { overflow-x: auto; padding: 2rem; color: #dce7eb; background: var(--navy); border-left: 5px solid var(--teal); white-space: pre-wrap; font: .9rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-status { min-height: 1.5rem; color: var(--teal-dark); font-weight: 700; }

.not-found { min-height: 65vh; display: grid; place-items: center; padding-block: 6rem; background: var(--fog); }
.not-found h1 { max-width: 900px; }
.not-found p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.15rem; }

.search-dialog { width: min(760px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 48px)); margin: 24px auto; padding: 0; color: var(--ink); background: white; border: 1px solid var(--line); }
.search-dialog::backdrop { background: rgba(3,18,29,.8); }
.search-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; color: white; background: var(--navy); }
.search-head label { font-weight: 800; }
.search-head button { border: 0; color: white; background: transparent; cursor: pointer; }
.search-dialog > input { width: calc(100% - 2.4rem); height: 52px; margin: 1.2rem; padding: .8rem; border: 1px solid #87979e; border-radius: 0; }
.search-results { max-height: 520px; overflow-y: auto; padding: 0 1.2rem 1.2rem; }
.search-results a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.search-results a:hover strong { color: var(--teal-dark); }
.search-results span { color: var(--muted); font-size: .75rem; }
.search-empty { padding: 0 1.2rem 1.2rem; color: var(--muted); }

.site-footer { padding-top: 5rem; color: white; background: #04131f; }
.footer-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; padding-bottom: 3.5rem; border-bottom: 1px solid #2b4353; }
.footer-lead .eyebrow { color: #68d8d3; }
.footer-lead h2 { max-width: 600px; }
.footer-lead > p { color: #aebfc6; }
.footer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem; padding-block: 3.5rem; border-bottom: 1px solid #2b4353; }
.footer-grid h3 { margin-bottom: 1rem; color: #66d8d3; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { display: block; margin: .65rem 0; color: #b7c7ce; font-size: .77rem; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { min-height: 100px; display: flex; align-items: center; gap: 2rem; color: #8ea3ad; font-size: .72rem; }
.footer-brand { width: 110px; padding: .3rem; background: white; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1rem; margin-left: auto; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 1120px) {
  .shell { width: min(calc(100% - 36px), var(--max)); }
  .nav-cta { display: none; }
  .nav-trigger { padding-inline: .52rem; font-size: .77rem; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .federation-graphic { min-height: 400px; max-width: 720px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .signal-inner { min-height: 38px; }
  .signal-inner span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .utility-row { display: none; }
  .main-nav-row { min-height: 70px; }
  .brand { width: 135px; }
  .mobile-toggle { display: grid; grid-template-columns: 22px auto; align-items: center; gap: 4px 9px; margin-left: auto; border: 0; padding: .6rem; background: transparent; cursor: pointer; }
  .mobile-toggle span { grid-column: 1; display: block; width: 22px; height: 2px; background: var(--ink); }
  .mobile-toggle b { grid-column: 2; grid-row: 1 / span 3; font-size: .77rem; }
  .primary-nav { position: fixed; inset: 108px 0 0; display: none; overflow-y: auto; padding: 1rem 18px 4rem; background: white; }
  .primary-nav.is-open { display: block; }
  .nav-group { display: block; border-bottom: 1px solid var(--line); }
  .nav-trigger { width: 100%; min-height: 54px; justify-content: space-between; padding: .5rem 0; border-bottom: 0; font-size: 1rem; }
  .nav-trigger:hover, .nav-trigger.is-active, .nav-trigger[aria-expanded="true"] { border-bottom: 0; }
  .mega-menu { position: static; grid-template-columns: 1fr; gap: 1rem; padding: 0 0 1.5rem; border: 0; }
  .mega-intro { display: none; }
  .mega-links { grid-template-columns: 1fr 1fr; }
  .mega-link { min-height: 70px; }
  .section-nav { position: static; }
  .split-heading, .site-feature-grid, .energy-grid, .page-hero-grid, .cta-grid, .brief-grid, .footer-lead { grid-template-columns: 1fr; gap: 2.5rem; }
  .tab-panels > article { grid-template-columns: 1fr; gap: 2rem; }
  .page-index { padding-left: 0; border-left: 0; }
  .card-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .claim-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-grid aside { position: static; }
  .evidence-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .signal-inner a { display: none; }
  .home-hero { min-height: auto; }
  .home-hero-grid { padding-block: 4rem; }
  .home-hero h1, h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .federation-graphic { min-height: 430px; }
  .node { width: 150px; font-size: .75rem; }
  .control-plane { width: 220px; }
  .node-a { left: 3%; }
  .node-b { right: 3%; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric-row > div { min-height: 110px; padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-row > div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
  .metric-row > div:nth-child(even) { padding-left: 1rem; }
  .tab-list button { flex: 0 0 auto; }
  .site-coordinate { min-height: 390px; }
  .site-coordinate > span { font-size: 2.45rem; }
  .card-grid, .product-grid, .claim-grid { grid-template-columns: 1fr; }
  .plain-card { min-height: 190px; }
  .product-card { min-height: 310px; }
  .steps li { grid-template-columns: 54px 1fr; gap: 1rem; }
  .definition-list article { grid-template-columns: 1fr; gap: .5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .reference { grid-template-columns: 38px 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-wrap: wrap; padding-block: 1.5rem; }
  .footer-bottom nav { width: 100%; margin-left: 0; }
  .button-row .button { width: 100%; }
  .mega-links { grid-template-columns: 1fr; }
}

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