:root {
  color-scheme: dark;
  --bg: #02070d;
  --bg-deep: #010407;
  --surface: #07121d;
  --surface-raised: #0b1b27;
  --surface-soft: rgba(8, 20, 31, 0.82);
  --line: rgba(61, 96, 119, 0.42);
  --line-strong: rgba(83, 126, 153, 0.62);
  --text: #f4f8fb;
  --muted: #a8b9c7;
  --dim: #8398a9;
  --cyan: #45e6df;
  --cyan-soft: #88fff7;
  --green: #62e6a7;
  --amber: #ffc857;
  --red: #ff6685;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Helvetica Neue", Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1360px;
  --header-h: 84px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: linear-gradient(rgba(115, 189, 210, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 189, 210, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 72%, transparent);
}
/* ambient signal layer — flowing wave lines + matrix rain streaming OVER the page surface
   (z 1: above the hero globe and section backgrounds, below the header/nav at z 100).
   pointer-events none + low opacity keep it pure atmosphere; screen blend lets only the
   light strokes/glyphs read, so dark trail pixels never veil the globe or text. */
.bg-wave, .bg-matrix { position: fixed; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.bg-wave { opacity: 0.42; }
.bg-matrix { opacity: 0.16; -webkit-mask: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.45)); mask: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.45)); }
@media (prefers-reduced-motion: reduce) { .bg-wave, .bg-matrix { display: none; } }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
code, pre { font-family: var(--mono); }
::selection { color: #001017; background: var(--cyan); }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cyan);
  color: #001017;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-shell { width: min(var(--shell), calc(100% - 64px)); margin: 0 auto; }
.section { position: relative; padding: clamp(96px, 11vw, 168px) 0; border-top: 1px solid var(--line); }
.eyebrow, .micro-label, .proof-label, .panel-label {
  margin: 0;
  font: 600 11px/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow { display: flex; align-items: center; gap: 13px; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; box-shadow: 0 0 18px rgba(69, 230, 223, 0.38); }
.eyebrow span { color: var(--text); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); }
h2 { margin: 16px 0 0; font-size: clamp(2.55rem, 5vw, 5.25rem); font-weight: 500; letter-spacing: -0.058em; line-height: 0.98; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.72fr); align-items: end; gap: 64px; margin-bottom: 56px; }
.section-heading > p, .section-heading > div > p:last-child, .dfep-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.65; }
.narrow-heading { display: block; max-width: 820px; }
.narrow-heading > p:last-child { max-width: 690px; margin-top: 24px; }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(2, 7, 11, 0.92), rgba(2, 7, 11, 0.34));
  backdrop-filter: blur(14px) saturate(115%);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(2, 7, 11, 0.93); }
.brand { display: inline-flex; min-width: 0; align-items: center; line-height: 0; }
.brand-wordmark { display: block; max-width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(69, 230, 223, 0.2)); }
.brand-wordmark-header { width: 278px; }
.brand-wordmark-footer { width: 286px; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 2vw, 31px); }
.desktop-nav a { position: relative; padding: 25px 0; color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 1px; background: var(--cyan); transition: right 0.24s var(--ease); }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { right: 0; }
.desktop-nav a[aria-current="page"] { color: var(--text); }
.desktop-nav a[aria-current="page"]::after { right: 0; }
.nav-state { margin-left: 4px; color: var(--amber); font-size: 8px; vertical-align: 0.2em; }
.header-status { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 20, 29, 0.58); color: var(--muted); font: 600 9px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.site-header > .df-language-slot { justify-self: end; }
.status-dot, .live-mark, [data-atlas-state] { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 3px rgba(113, 134, 144, 0.12); }
[data-state="operational"] .status-dot, [data-state="live"] .live-mark, [data-atlas-state][data-state="live"] { background: var(--green); box-shadow: 0 0 12px rgba(98, 230, 167, 0.52); }
[data-state="degraded"] .status-dot, [data-state="degraded"] .live-mark, [data-atlas-state][data-state="degraded"] { background: var(--amber); box-shadow: 0 0 12px rgba(255, 200, 87, 0.5); }
[data-state="unavailable"] .status-dot, [data-state="unavailable"] .live-mark, [data-atlas-state][data-state="unavailable"] { background: var(--red); box-shadow: 0 0 12px rgba(255, 102, 133, 0.45); }
.mobile-nav { display: none; justify-self: end; position: relative; }
.mobile-nav summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { width: 16px; height: 1px; background: var(--text); transition: transform 0.2s ease; }
.mobile-nav[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-nav[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav nav { position: absolute; top: 52px; right: 0; width: min(284px, calc(100vw - 32px)); display: grid; padding: 8px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(4, 13, 19, 0.98); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5); }
.mobile-nav nav a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; border-radius: 8px; color: var(--muted); font: 500 12px/1 var(--mono); text-transform: uppercase; }
.mobile-nav nav a:hover { color: var(--text); background: rgba(69, 230, 223, 0.07); }
.mobile-nav nav a[aria-current="page"] { color: var(--cyan-soft); background: rgba(69, 230, 223, 0.07); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: max(900px, 100svh); height: auto; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-deep); }
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -10% -8% -12% 30%;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(ellipse at 72% 48%, rgba(0, 17, 40, 0.02) 0 14%, rgba(14, 111, 178, 0.12) 38%, transparent 69%),
    repeating-radial-gradient(ellipse at 78% 49%, transparent 0 11px, rgba(56, 187, 234, 0.045) 12px 13px, transparent 14px 23px);
  filter: blur(0.35px);
  transform: rotate(-7deg) scale(1.05);
  -webkit-mask-image: radial-gradient(ellipse at 78% 49%, #000 12%, rgba(0,0,0,.84) 51%, transparent 76%);
  mask-image: radial-gradient(ellipse at 78% 49%, #000 12%, rgba(0,0,0,.84) 51%, transparent 76%);
}
.hero > .df-shell-matrix {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.105;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, rgba(0,0,0,.48) 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 12%, rgba(0,0,0,.48) 42%, #000 100%);
}
#atlas-globe, .globe-fallback, .hero-scrim { position: absolute; }
#atlas-globe, .globe-fallback { inset: -8% -14% -9% 6%; }
.hero-scrim { inset: 0; }
#atlas-globe { z-index: 1; opacity: 0; filter: brightness(1.06) contrast(1.06) saturate(1.08); transition: opacity 1.1s var(--ease); }
.hero.map-ready #atlas-globe { opacity: 1; }
.globe-fallback { z-index: 0; display: grid; place-items: center; overflow: hidden; opacity: 1; visibility: visible; background: radial-gradient(circle at 64% 47%, rgba(69, 230, 223, 0.13), transparent 34%), var(--bg-deep); transition: opacity 0.8s var(--ease), visibility 0s linear 0.8s; }
.hero.map-ready .globe-fallback { opacity: 0; visibility: hidden; }
.fallback-earth { width: min(138vw, 1720px); aspect-ratio: 1; margin-left: 14vw; border: 1px solid rgba(136, 255, 247, 0.28); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #52685a 0 7%, #204b42 8% 18%, #0a2637 29%, #071a28 54%, #030a11 70%); box-shadow: inset -120px -44px 190px rgba(0, 0, 0, 0.82), 0 0 58px rgba(69, 230, 223, 0.28), 0 0 180px rgba(69, 230, 223, 0.12); }
.hero-scrim { z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 72% 46%, rgba(45, 132, 154, 0.13), transparent 48%), linear-gradient(90deg, rgba(2, 7, 13, 0.95) 0%, rgba(2, 7, 13, 0.73) 27%, rgba(2, 7, 13, 0.05) 59%, rgba(2, 7, 13, 0.28) 100%), linear-gradient(180deg, rgba(2, 7, 13, 0.42) 0, transparent 24%, transparent 72%, var(--bg) 100%); }
.hero-content { position: relative; z-index: 3; flex: 1 0 auto; min-height: calc(max(900px, 100svh) - 80px); height: auto; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.36fr); align-items: center; gap: clamp(42px, 6vw, 96px); padding-top: var(--header-h); }
.hero-copy { max-width: 690px; }
.hero h1 { max-width: 11.5ch; margin: 0; font-size: clamp(3.4rem, min(6.15vw, 10.5svh), 6.85rem); font-weight: 500; line-height: 0.93; letter-spacing: -0.064em; }
.hero-kicker { margin: 0 0 22px; color: var(--cyan); font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.buyer-hero-copy { position: relative; z-index: 1; }
.hero-lede { max-width: 640px; margin: 27px 0 0; color: #c9d7de; font-size: clamp(1.03rem, 1.42vw, 1.25rem); line-height: 1.58; }
.scope-note { max-width: 620px; margin: 14px 0 0; color: var(--dim); font-size: 12px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 19px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(5, 15, 22, 0.76); color: var(--text); font: 600 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: transform 0.2s var(--ease), border-color 0.2s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(69, 230, 223, 0.62); }
.button-primary { border-color: var(--cyan); background: var(--cyan); color: #001017; }
.button-primary:hover { background: var(--cyan-soft); }
.button-secondary { background: rgba(3, 13, 20, 0.72); }
.button-small { min-height: 44px; padding: 0 14px; font-size: 9px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 7px; color: var(--cyan-soft); font: 600 11px/1 var(--mono); letter-spacing: 0.03em; }
.text-link:hover { color: #fff; }

.hero-evidence { width: min(100%, 390px); align-self: center; justify-self: end; margin: 24px 0 0; padding: 24px 22px 20px 25px; border: 0; border-block: 1px solid var(--line); border-left: 1px solid var(--line-strong); border-radius: 0 12px 12px 0; background: linear-gradient(110deg, rgba(7, 18, 29, 0.92), rgba(5, 13, 22, 0.68)); box-shadow: 28px 34px 86px rgba(0, 0, 0, 0.3); backdrop-filter: blur(15px) saturate(112%); }
.observation-kicker { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.observation-category { color: var(--cyan); font: 600 9px/1.2 var(--mono); letter-spacing: 0.1em; text-align: right; text-transform: uppercase; }
.panel-label { display: flex; align-items: center; gap: 9px; color: var(--muted); letter-spacing: 0.08em; }
.hero-evidence h2 { margin: 20px 0 0; font-size: clamp(1.5rem, 2vw, 2.05rem); line-height: 1.08; letter-spacing: -0.04em; }
.hero-evidence > p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-evidence .observation-time { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 11px; border-top: 1px solid var(--line); font: 600 10px/1.35 var(--mono); }
.observation-time span { color: var(--dim); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.observation-time strong { color: var(--text); font-weight: 550; text-align: right; }
.evidence-fields, .detail-grid, .receipt-fields { display: grid; margin: 20px 0 0; }
.evidence-fields { grid-template-columns: 1fr; gap: 0; margin-top: 9px; }
.evidence-fields div { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: baseline; gap: 14px; }
.evidence-fields div, .detail-grid div, .receipt-fields div { min-width: 0; padding-top: 10px; border-top: 1px solid var(--line); }
dt { color: var(--dim); font: 600 9px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
dd { margin: 6px 0 0; color: var(--text); font: 500 11px/1.45 var(--mono); overflow-wrap: anywhere; }
.panel-link { min-height: 44px; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--cyan-soft); font: 600 10px/1 var(--mono); text-transform: uppercase; }
.proof-strip { position: relative; z-index: 5; flex: 0 0 auto; min-height: 80px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 max(32px, calc((100vw - var(--shell)) / 2)); border-top: 1px solid var(--line); background: rgba(3, 10, 16, 0.84); backdrop-filter: blur(16px); }
.proof-item { position: relative; min-width: 0; display: grid; align-content: center; gap: 3px; padding: 12px 28px; }
.proof-item + .proof-item::before { content: ""; position: absolute; left: 0; top: 21px; bottom: 21px; width: 1px; background: var(--line); }
.proof-item strong { color: var(--text); font: 500 clamp(1rem, 1.55vw, 1.35rem)/1.05 var(--display); letter-spacing: -0.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proof-item > span:last-child { color: var(--dim); font: 500 9px/1.3 var(--mono); }
.map-attribution { position: absolute; z-index: 6; right: 14px; bottom: 14px; margin: 0; color: rgba(218, 237, 243, 0.78); font: 11px/1.45 var(--mono); text-shadow: 0 1px 4px #02070d; }
.map-attribution a { text-decoration: underline; text-underline-offset: 2px; }
.maplibregl-control-container { display: none; }

.atlas-selected-marker { position: relative; width: 38px; height: 38px; display: block; border: 1px solid color-mix(in srgb, var(--marker-color, var(--cyan)) 82%, white); border-radius: 50%; background: color-mix(in srgb, var(--marker-color, var(--cyan)) 9%, transparent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--marker-color, var(--cyan)) 12%, transparent), 0 0 22px color-mix(in srgb, var(--marker-color, var(--cyan)) 24%, transparent); pointer-events: none; }
.atlas-selected-marker::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--marker-color, var(--cyan)); box-shadow: 0 0 8px var(--marker-color, var(--cyan)); }
.atlas-selected-marker::after { content: ""; position: absolute; inset: 3px; border: 1px solid color-mix(in srgb, var(--marker-color, var(--cyan)) 64%, transparent); border-radius: 50%; animation: atlas-selected-breathe 3.8s ease-in-out infinite; }
@keyframes atlas-selected-breathe { 0%, 100% { transform: scale(0.94); opacity: 0.34; } 50% { transform: scale(1.08); opacity: 0.78; } }

/* Atlas console */
.atlas-section { background: radial-gradient(900px 550px at 0% 20%, rgba(69, 230, 223, 0.065), transparent 60%), var(--bg); }
.atlas-heading h2 { max-width: 8ch; }
.atlas-console { overflow: hidden; display: grid; grid-template-columns: minmax(290px, 0.55fr) minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 22px; background: #040c12; box-shadow: 0 45px 110px rgba(0, 0, 0, 0.34); }
.console-bar { grid-column: 1/-1; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--dim); font: 500 10px/1 var(--mono); text-transform: uppercase; }
.console-bar span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.atlas-stream { min-height: 510px; max-height: 620px; overflow: auto; padding: 10px; border-right: 1px solid var(--line); scrollbar-color: var(--line-strong) transparent; }
.empty-state { margin: 0; padding: 28px 20px; color: var(--dim); font-size: 13px; }
.stream-record { width: 100%; min-height: 88px; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.stream-record:hover, .stream-record[aria-current="true"] { border-color: rgba(69, 230, 223, 0.2); background: rgba(69, 230, 223, 0.055); }
.record-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--record, var(--cyan)); box-shadow: 0 0 9px color-mix(in srgb, var(--record, var(--cyan)) 70%, transparent); }
.stream-copy { min-width: 0; }
.stream-copy strong { display: block; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.stream-copy > span { display: block; overflow: hidden; margin-top: 5px; color: var(--dim); font: 9px/1.4 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.stream-context span, .stream-context b { color: inherit; font: inherit; }
.stream-age { color: var(--muted); font: 9px/1 var(--mono); white-space: nowrap; }
.selected-observation { min-width: 0; padding: clamp(30px, 5vw, 64px); align-self: stretch; background: radial-gradient(600px 380px at 85% 10%, rgba(69, 230, 223, 0.052), transparent 60%); }
.selected-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.selected-head h3 { margin: 10px 0 0; font-size: clamp(1.8rem, 3vw, 3.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.05em; }
.integrity-chip, .receipt-state { flex: none; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font: 600 8px/1 var(--mono); text-transform: uppercase; }
.integrity-chip[data-state="supplied"], .receipt-state[data-state="valid"] { color: var(--green); border-color: rgba(98, 230, 167, 0.38); }
.selected-summary { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; }
.detail-grid { grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 36px; }
.detail-grid dd { font-size: 12px; }
.boundary-note { max-width: 720px; margin: 36px 0 0; padding: 14px 16px; border-left: 2px solid var(--line-strong); background: rgba(255, 255, 255, 0.018); color: var(--muted); font-size: 12px; line-height: 1.55; }
.selected-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Buyer-first product story */
.why-section { background: #03090e; }
.why-heading h2 { max-width: 12ch; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px 0 0;
  padding: 0;
  border-block: 1px solid var(--line-strong);
  list-style: none;
}
.why-grid li { min-height: 248px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px 28px 28px; border-right: 1px solid var(--line); }
.why-grid li:first-child { border-left: 1px solid var(--line); }
.why-grid li > span { color: var(--cyan); font: 600 10px/1 var(--mono); }
.why-grid h3 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2.1rem); font-weight: 500; letter-spacing: -0.04em; }
.why-grid p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.pipeline-section { background: radial-gradient(760px 520px at 88% 30%, rgba(69, 230, 223, 0.07), transparent 68%), var(--bg-deep); }
.pipeline-heading h2 { max-width: 10ch; }
.buyer-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding: 27px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(4, 15, 22, 0.68);
}
.buyer-pipeline span { color: var(--text); font: 600 10px/1.3 var(--mono); text-align: center; text-transform: uppercase; }
.buyer-pipeline i { color: var(--cyan); font-style: normal; }
.buyer-pipeline .pipeline-core { color: var(--cyan-soft); }
.decision-example { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr); align-items: end; gap: clamp(56px, 8vw, 120px); margin-top: 86px; }
.decision-example h3 { max-width: 11ch; margin: 14px 0 0; font-size: clamp(2rem, 3.8vw, 4.1rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.decision-example ol { margin: 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.decision-example li { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.decision-example li span { color: var(--muted); font-size: 14px; }
.decision-example li strong { color: var(--green); font: 600 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

.industries-section { background: #03090e; }
.industries-heading h2 { max-width: 11ch; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.industry-grid li { min-height: 116px; display: flex; align-items: center; padding: 24px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); font: 500 clamp(1.05rem, 1.7vw, 1.35rem)/1.2 var(--display); letter-spacing: -0.025em; }
.industry-grid li:nth-child(4n + 1) { border-left: 1px solid var(--line); }
.section-link { margin: 28px 0 0; }

/* Operating moments */
.operating-section { background: #03090e; }
.moments { display: grid; grid-template-columns: repeat(4, 1fr); margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); list-style: none; }
.moments li { min-height: 248px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px 28px 28px; border-right: 1px solid var(--line); }
.moments li:first-child { border-left: 1px solid var(--line); }
.moments li > span { color: var(--cyan); font: 600 10px/1 var(--mono); }
.moments h3 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 2.1rem); font-weight: 500; letter-spacing: -0.04em; }
.moments p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.target-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 64px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 13px; background: rgba(4, 15, 22, 0.62); }
.target-flow span { color: var(--text); font: 600 10px/1 var(--mono); text-transform: uppercase; white-space: nowrap; }
.target-flow i { color: var(--cyan); font-style: normal; }
.flow-note { margin: 13px 0 0; color: var(--dim); font-size: 11px; }

/* Receipt */
.receipt-section { overflow: hidden; background: radial-gradient(700px 700px at 90% 48%, rgba(69, 230, 223, 0.075), transparent 65%), var(--bg-deep); }
.receipt-layout { display: grid; grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr); align-items: center; gap: clamp(60px, 9vw, 140px); }
.receipt-copy h2 { max-width: 9ch; }
.receipt-copy > p:not(.eyebrow), .plain-list { max-width: 620px; color: var(--muted); }
.receipt-copy > p:not(.eyebrow) { margin: 24px 0 0; font-size: 1.05rem; line-height: 1.65; }
.receipt-copy code { color: var(--cyan-soft); }
.plain-list { margin: 24px 0 28px; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: 13px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border: 1px solid var(--cyan); border-radius: 50%; }
.action-status { min-height: 20px; color: var(--dim) !important; font: 10px/1.5 var(--mono) !important; }
.receipt-panel { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(6, 16, 24, 0.9); box-shadow: 0 45px 120px rgba(0, 0, 0, 0.43); }
.receipt-panel-head { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.receipt-panel-head h3 { margin: 10px 0 0; font: 500 clamp(1.25rem, 2.3vw, 1.85rem)/1 var(--mono); letter-spacing: -0.04em; }
.receipt-fields { grid-template-columns: repeat(2, 1fr); gap: 20px 30px; padding: 4px 26px 24px; }
.receipt-fields dd { min-height: 32px; font-size: 11px; }
.receipt-controls { display: flex; gap: 1px; padding: 0 26px 22px; }
.receipt-controls button { min-height: 44px; flex: 1; padding: 0 12px; border: 1px solid var(--line); background: #07131b; color: var(--text); font: 600 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.receipt-controls button:first-child { border-radius: 8px 0 0 8px; }
.receipt-controls button:last-child { border-radius: 0 8px 8px 0; }
.receipt-controls button:hover:not(:disabled) { border-color: rgba(69, 230, 223, 0.48); color: var(--cyan); }
.receipt-controls button:disabled { cursor: not-allowed; color: var(--dim); opacity: 0.54; }
.verification-result { min-height: 46px; margin: 0; padding: 15px 26px; border-top: 1px solid var(--line); color: var(--muted); font: 10px/1.5 var(--mono); }
.verification-result[data-state="valid"] { color: var(--green); }
.verification-result[data-state="invalid"] { color: var(--red); }
.receipt-json { max-height: 320px; overflow: auto; margin: 0; padding: 22px 26px; border-top: 1px solid var(--line); background: #02080d; color: #a9cbd7; font-size: 10px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-color: var(--line-strong) transparent; }

/* DFEP */
.dfep-section { background: radial-gradient(900px 600px at 10% 50%, rgba(69, 230, 223, 0.065), transparent 64%), #04090e; }
.dfep-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr); align-items: center; gap: clamp(60px, 9vw, 140px); }
.dfep-copy h2 { max-width: 10.5ch; }
.dfep-copy > p:not(.eyebrow) { margin-top: 28px; }
.dfep-copy .button { margin-top: 30px; }
.protocol-family { position: relative; min-height: 540px; display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 22px; overflow: hidden; background: rgba(5, 13, 20, 0.76); }
.protocol-core { display: grid; place-content: center; gap: 10px; padding: 30px; border-right: 1px solid var(--line); background: radial-gradient(circle at center, rgba(69, 230, 223, 0.11), transparent 65%); text-align: center; }
.protocol-core span { color: var(--cyan); font: 500 clamp(3.4rem, 7vw, 6.5rem)/1 var(--display); letter-spacing: -0.08em; }
.protocol-core small { color: var(--dim); font: 600 9px/1 var(--mono); text-transform: uppercase; }
.protocol-family ul { display: grid; margin: 0; padding: 0; list-style: none; }
.protocol-family li { min-height: 76px; display: grid; align-content: center; gap: 5px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.protocol-family li:last-child { border-bottom: 0; }
.protocol-family li span { font: 500 15px/1.2 var(--display); }
.protocol-family li small { color: var(--dim); font: 9px/1.3 var(--mono); }

/* Developer */
.developer-section { background: var(--bg); }
.developer-heading h2 { max-width: 10ch; }
.code-shell { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: #030a0f; box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3); }
.code-tabs { display: flex; min-height: 58px; gap: 2px; padding: 7px; border-bottom: 1px solid var(--line); }
.code-tabs button { min-width: 100px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; color: var(--dim); font: 600 10px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.code-tabs button[aria-selected="true"] { color: var(--cyan); background: rgba(69, 230, 223, 0.07); }
.code-panel { min-height: 360px; }
.code-meta { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; border-bottom: 1px solid var(--line); color: var(--dim); font: 9px/1 var(--mono); text-transform: uppercase; }
.code-meta button { min-width: 64px; min-height: 36px; border: 1px solid var(--line); border-radius: 7px; background: #07131b; color: var(--muted); font: 600 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.code-panel pre { overflow: auto; margin: 0; padding: 38px clamp(22px, 5vw, 60px); color: #b9d4dd; font-size: clamp(11px, 1.15vw, 14px); line-height: 1.7; scrollbar-color: var(--line-strong) transparent; }
.developer-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.developer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--cyan-soft); font: 600 10px/1 var(--mono); text-transform: uppercase; }

/* Trust */
.trust-section { background: #03090e; }
.trust-lead { max-width: 920px; }
.trust-lead h2 { max-width: 12ch; }
.trust-ledger { margin-top: 72px; border-top: 1px solid var(--line-strong); }
.trust-ledger a { min-height: 116px; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); transition: background 0.2s ease, padding 0.2s var(--ease); }
.trust-ledger a:hover { padding: 0 16px; background: rgba(69, 230, 223, 0.035); }
.trust-ledger > a > span { color: var(--cyan); font: 600 10px/1 var(--mono); }
.trust-ledger h3 { margin: 0; font-size: 1.28rem; font-weight: 500; letter-spacing: -0.025em; }
.trust-ledger p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.trust-ledger i { color: var(--dim); font-style: normal; }
.trust-boundary { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 34px; margin-top: 48px; padding: 24px 26px; border: 1px solid rgba(255, 200, 87, 0.25); border-radius: 12px; background: rgba(255, 200, 87, 0.035); }
.trust-boundary strong { color: var(--amber); font: 600 10px/1.3 var(--mono); text-transform: uppercase; }
.trust-boundary p { margin: 0; color: var(--muted); font-size: 12px; }
.trust-boundary a { color: var(--amber); font: 600 9px/1 var(--mono); text-transform: uppercase; white-space: nowrap; }

/* Closing and footer */
.closing-section { padding: clamp(92px, 11vw, 150px) 0; border-top: 1px solid var(--line); background: radial-gradient(700px 400px at 15% 40%, rgba(69, 230, 223, 0.075), transparent 65%), var(--bg-deep); }
.closing-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.closing-grid h2 { max-width: 10ch; }
.closing-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.site-footer { border-top: 1px solid var(--line-strong); background: #010508; }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(130px, 0.55fr)); gap: 48px; padding-top: 64px; padding-bottom: 58px; }
.footer-brand p { max-width: 280px; margin: 18px 0 0; color: var(--dim); font-size: 12px; }
.footer-grid nav { display: grid; align-content: start; gap: 11px; }
.footer-grid nav strong { margin-bottom: 7px; color: var(--text); font: 600 10px/1 var(--mono); text-transform: uppercase; }
.footer-grid nav a { min-height: 28px; display: flex; align-items: center; color: var(--muted); font-size: 12px; }
.footer-grid nav a:hover { color: var(--cyan); }
.footer-base { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--dim); font: 9px/1.4 var(--mono); text-transform: uppercase; }
.quiet-footer { background: #010508; }
.footer-inner { min-height: 126px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; color: var(--dim); font: 500 9px/1.4 var(--mono); text-transform: uppercase; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.footer-inner nav a:hover { color: var(--cyan); }

html[dir="rtl"] .hero-evidence { border-right: 1px solid var(--line-strong); border-left: 0; border-radius: 12px 0 0 12px; }
html[dir="rtl"] .boundary-note { border-right: 2px solid var(--line-strong); border-left: 0; }

/* Tablet */
@media (max-width: 1260px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .mobile-nav { display: block; }
  .hero { min-height: 900px; height: auto; }
  .hero-content { min-height: 824px; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
  .hero h1 { font-size: clamp(3.3rem, 7.7vw, 6rem); }
  .map-attribution { bottom: 14px; }
  .atlas-console { grid-template-columns: 310px minmax(0, 1fr); }
  .receipt-layout, .dfep-grid { gap: 60px; }
  .dfep-grid { grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr); }
}

@media (max-width: 900px) {
  .page-shell { width: min(100% - 40px, var(--shell)); }
  .section-heading, .receipt-layout, .dfep-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; }
  .section-heading > p { max-width: 650px; }
  .hero { min-height: max(900px, 100svh); }
  .hero-content { min-height: max(900px, 100svh); height: auto; grid-template-columns: 1fr; align-content: end; gap: 32px; padding-top: 118px; padding-bottom: 82px; }
  .hero-copy { max-width: 690px; }
  .hero-evidence { width: min(440px, 100%); align-self: auto; margin: 0 0 0 auto; }
  .hero-scrim { background: linear-gradient(180deg, rgba(2, 7, 13, 0.8) 0%, rgba(2, 7, 13, 0.35) 36%, rgba(2, 7, 13, 0.64) 66%, var(--bg) 100%); }
  #atlas-globe, .globe-fallback { inset: -6% -30% -5% 2%; }
  .fallback-earth { width: 1180px; margin: -260px -380px 0 0; justify-self: end; }
  .map-attribution { bottom: 12px; }
  .atlas-console { grid-template-columns: 1fr; }
  .atlas-stream { min-height: auto; max-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
  .moments { grid-template-columns: 1fr 1fr; }
  .moments li:nth-child(2) { border-right: 1px solid var(--line); }
  .moments li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .target-flow { overflow-x: auto; justify-content: flex-start; gap: 18px; scrollbar-color: var(--line-strong) transparent; }
  .receipt-copy h2, .dfep-copy h2 { max-width: 12ch; }
  .receipt-panel { max-width: 760px; }
  .protocol-family { min-height: 470px; }
  .trust-boundary { grid-template-columns: 1fr; gap: 14px; }
  .closing-grid { grid-template-columns: 1fr; align-items: start; }
  .closing-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .why-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
  .why-grid li:nth-child(2n + 1), .industry-grid li:nth-child(2n + 1) { border-left: 1px solid var(--line); }
  .decision-example { grid-template-columns: 1fr; align-items: start; gap: 46px; }
  .decision-example h3 { max-width: 12ch; }
  .buyer-pipeline { overflow-x: auto; justify-content: flex-start; gap: 18px; scrollbar-color: var(--line-strong) transparent; }
  .buyer-pipeline span { flex: 0 0 auto; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 12px 24px; padding-block: 28px; }
  .footer-inner p { grid-column: 1 / -1; order: 3; }
  .footer-inner nav { justify-self: end; }
  .footer-inner > span { grid-column: 1 / -1; order: 4; }
}

/* Independent mobile composition */
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .page-shell { width: calc(100% - 32px); }
  .section { padding: 88px 0; }
  h2 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .site-header { gap: 10px; padding: 0 14px; }
  .brand-wordmark-header { width: 208px; }
  .header-status { width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .header-status span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .hero { min-height: max(820px, 100svh); height: auto; }
  #atlas-globe, .globe-fallback { inset: 0 -34% auto 4%; height: 600px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(2, 7, 13, 0.03) 64px, rgba(2, 7, 13, 0.15) 230px, rgba(2, 7, 13, 0.88) 470px, var(--bg) 610px, var(--bg) 100%); }
  .hero-content { min-height: max(820px, 100svh); grid-template-columns: minmax(0, 1fr); align-content: end; gap: 28px; padding-top: 300px; padding-bottom: 54px; }
  .hero-copy { width: 100%; min-width: 0; max-width: 100%; }
  .hero h1 { width: 100%; max-width: 100%; font-size: clamp(2.9rem, 13vw, 4.25rem); line-height: 0.92; text-wrap: wrap; }
  .hero-lede { max-width: 100%; margin-top: 18px; font-size: 1rem; line-height: 1.48; text-wrap: wrap; }
  .scope-note { max-width: 100%; font-size: 11px; line-height: 1.55; text-wrap: wrap; }
  .hero-actions { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 20px; }
  .button { width: 100%; min-height: 50px; padding: 0 13px; gap: 9px; font-size: 11px; }
  .hero-actions .button { min-width: 0; padding-inline: 10px; gap: 6px; font-size: 10.5px; white-space: nowrap; }
  .hero-evidence { width: 100%; max-width: none; margin: 0; padding: 20px 18px 18px 21px; border-radius: 0 12px 12px 0; }
  .hero-evidence h2 { margin-top: 16px; font-size: 1.5rem; }
  .hero-evidence > p { font-size: 12px; }
  .observation-category { max-width: 42%; font-size: 11px; }
  .hero-evidence .observation-time { font-size: 11px; }
  .observation-time span { font-size: 11px; }
  .evidence-fields { margin-top: 10px; }
  .evidence-fields div { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding-top: 11px; }
  .evidence-fields dt, .evidence-fields dd { font-size: 11px; }
  .panel-link { margin-top: 14px; font-size: 11px; }
  .fallback-earth { width: 780px; margin: -132px -260px 0 0; }
  .map-attribution { top: 260px; right: 10px; bottom: auto; max-width: min(250px, calc(100% - 20px)); text-align: right; font-size: 10px; }

  .atlas-heading { margin-bottom: 34px; }
  .atlas-console { border-radius: 14px; }
  .console-bar { min-height: 52px; padding: 0 13px; font-size: 10px; }
  .atlas-stream { min-height: 128px; max-height: none; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 9px; border-right: 0; border-bottom: 1px solid var(--line); scroll-padding-inline: 9px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
  .stream-record { flex: 0 0 min(82vw, 320px); min-height: 108px; padding: 14px 12px; border-color: var(--line); background: rgba(7, 18, 29, 0.56); scroll-snap-align: start; }
  .stream-copy > span, .stream-age { font-size: 11px; }
  .selected-observation { padding: 26px 20px 24px; }
  .selected-head { display: block; }
  .integrity-chip { display: inline-flex; margin-top: 16px; }
  .selected-head h3 { font-size: 2rem; }
  .selected-summary { margin-top: 18px; font-size: 0.95rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .boundary-note { margin-top: 26px; }
  .selected-actions { display: grid; grid-template-columns: 1fr; }

  .moments { grid-template-columns: 1fr; margin-top: 44px; }
  .moments li { min-height: 164px; flex-direction: row; justify-content: flex-start; gap: 24px; padding: 22px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .moments li:first-child { border-left: 0; }
  .moments li:last-child { border-bottom: 0; }
  .moments li > span { padding-top: 7px; }
  .target-flow { margin-top: 42px; padding: 18px; }
  .why-grid, .industry-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .why-grid li { min-height: 170px; flex-direction: row; justify-content: flex-start; gap: 24px; padding: 22px 18px; border-right: 0; border-left: 0 !important; }
  .why-grid li > span { padding-top: 7px; }
  .industry-grid li { min-height: 82px; border-right: 0; border-left: 0 !important; }
  .buyer-pipeline { margin-top: 42px; padding: 20px 18px; }
  .decision-example { margin-top: 64px; }
  .decision-example h3 { font-size: 2.4rem; }

  .receipt-layout { gap: 42px; }
  .plain-list li { font-size: 12px; }
  .receipt-panel { border-radius: 14px; }
  .receipt-panel-head { min-height: 100px; align-items: flex-start; padding: 20px 18px; }
  .receipt-panel-head h3 { font-size: 1.04rem; }
  .receipt-state { font-size: 7px; }
  .receipt-fields { grid-template-columns: 1fr; gap: 12px; padding: 4px 18px 20px; }
  .receipt-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 18px 18px; }
  .receipt-controls button { border-radius: 7px !important; }
  .receipt-controls button:last-child { grid-column: 1/-1; }
  .verification-result, .receipt-json { padding-left: 18px; padding-right: 18px; }

  .dfep-grid { gap: 44px; }
  .protocol-family { min-height: auto; grid-template-columns: 1fr; border-radius: 14px; }
  .protocol-core { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .protocol-core span { font-size: 4.2rem; }
  .protocol-family li { min-height: 66px; padding: 13px 18px; }

  .code-tabs { overflow-x: auto; }
  .code-tabs button { min-width: 94px; min-height: 44px; padding: 0 12px; }
  .code-panel { min-height: 310px; }
  .code-meta { padding: 0 14px; }
  .code-panel pre { padding: 26px 16px; font-size: 10px; }
  .developer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }

  .trust-ledger { margin-top: 48px; }
  .trust-ledger a { min-height: 144px; grid-template-columns: 38px minmax(0, 1fr) 14px; gap: 10px; }
  .trust-ledger a:hover { padding: 0; }
  .trust-ledger h3 { font-size: 1.1rem; }
  .trust-ledger p { font-size: 12px; }
  .trust-boundary { padding: 20px; }
  .closing-actions { display: grid; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; padding-top: 48px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-base { min-height: 92px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; min-height: 0; }
  .footer-inner nav { justify-self: start; flex-wrap: wrap; gap: 8px 18px; }
  .footer-inner p, .footer-inner > span { grid-column: auto; }
}

@media (max-width: 430px) {
  .page-shell { width: calc(100% - 28px); }
  .hero-lede { max-width: 35ch; }
  .hero-evidence h2 { font-size: 1.34rem; }
  .proof-item { min-width: 0; }
  .protocol-family li small { font-size: 8px; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 12px; }
  .hero h1 { letter-spacing: -0.065em; }
  .evidence-fields dd { font-size: 11px; }
  .proof-item strong { font-size: 0.96rem; }
}

@media (max-width: 375px) {
  .hero-content { padding-bottom: 108px; }
  .hero-actions .button { justify-content: space-between; }
  .receipt-panel-head h3 { overflow-wrap: anywhere; }
}

@media (max-width: 374px) {
  .hero { min-height: max(790px, 100svh); }
  .hero h1 { font-size: 2.85rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .text-link { grid-column: auto; }
  .hero-evidence { padding: 15px; }
  .proof-item { padding: 13px 12px; }
  .receipt-panel-head { display: block; }
  .receipt-state { display: inline-flex; margin-top: 14px; }
  .developer-links { grid-template-columns: 1fr; }
}

@media (max-width: 320px) {
  .page-shell { width: calc(100% - 24px); }
  .hero h1 { font-size: 2.72rem; }
  .proof-item { padding-inline: 10px; }
}

/* Keep the product actions inside common short-laptop viewports without
   shrinking the globe or changing the normal desktop composition. */
@media (min-width: 901px) and (max-height: 800px) {
  .hero-content {
    align-items: start;
    padding-top: calc(var(--header-h) + clamp(24px, 5svh, 40px));
  }
  .hero h1 { font-size: clamp(3.2rem, min(5.6vw, 9svh), 6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (forced-colors: active) {
  .status-dot, .live-mark, [data-atlas-state] { border: 1px solid ButtonText; }
  .button-primary { border: 2px solid ButtonText; }
}
