/* ==========================================================================
   137 Core SPC — Enterprise Sovereign Compliance & Telemetry Moat
   Theme: industrial dark, gold sovereign accent, mono telemetry type
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:           #0F0F11;
  --bg-deep:      #0B0B0D;
  --surface:      #16161A;
  --surface-2:    #1B1B20;
  --line:         #27272A;
  --line-soft:    #1F1F23;
  --gold:          #E5A93C;
  --gold-bright:  #F0BE5E;
  --gold-wash:    rgba(229, 169, 60, 0.08);
  --gold-rgb:      229, 169, 60;
  --text:         #E5E7EB;
  --text-dim:     #A1A1AA;
  --text-mute:     #8A8A93;
  --ok:           #34D399;
  --danger:       #F87171;

  --shell:        1200px;
  --radius:       10px;
  --radius-sm:    8px;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #0B0B0D;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; }

.mono { font-family: var(--mono); }
.gold-text { color: var(--gold); }
.muted-text { color: var(--text-mute); }
.only-wide { display: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Header / navigation — owner-specified industrial system
   BG #000000 · borders #141414/#1a1a1a · gray #888888 · gold #E5A93C · 0px radii
   SCOPED to .site-header / .primary-nav deliberately. This page uses
   <header class="section-head"> for three section headings, so a bare `header`
   selector would turn those into sticky black bars at z-index 1000.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #000000;
  border-bottom: 1px solid #141414;
}
.site-header.is-scrolled { border-bottom-color: #1f1f1f; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Was 1.5rem 4rem (owner-specified). Reduced to 2.5rem side padding in the
     twenty-sixth pass: adding the Whitepaper item took the nav block to ~843px,
     so with the 243px logo and 4rem gutters the header needed ~1238px and
     overflowed between 1181px and 1238px. 2.5rem matches the value this same
     header already used below the collapse point, so it is consistent, and it
     buys 48px of headroom. Revert to 4rem only if the nav loses an item. */
  padding: 1.5rem 2.5rem;
}

/* Text logo — no box, so no rounded corners to eliminate */
.logo {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: #E5A93C; font-weight: 400; letter-spacing: 0.1em; }

.primary-nav { display: flex; align-items: center; gap: 0; }

.primary-nav a {
  color: #888888;
  text-decoration: none;
  /* Was the owner-specified 2rem. Reduced to 1.25rem in the twenty-ninth pass:
     adding the seventh nav item ("Pilot Program") took the measured requirement
     to 1252px at 2rem gaps, which exceeds the 1260px collapse point and so would
     have broken before the hamburger ever appeared. At 1.25rem the header needs
     1180px, leaving 100px of slack at 1280px. Revert to 2rem if the item count
     drops back to six. */
  margin-left: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.primary-nav a:hover { color: #E5A93C; }

/* active section (driven by scroll-spy) + static .active-link support */
.primary-nav a.is-active,
.primary-nav a.active-link { color: #E5A93C; }

/* secure backend access link */
.primary-nav a.secure-gateway {
  color: #ffffff;
  border: 1px solid #E5A93C;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.primary-nav a.secure-gateway:hover {
  background-color: #E5A93C;
  color: #000000;
}

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 42px; height: 38px;
  background: transparent;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s ease;
}
.nav-toggle:hover { border-color: #E5A93C; }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: #888888;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span { background: #E5A93C; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--gold); color: #12100A; border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.45);
  padding: 10px 16px;
  font-size: 11.5px;
}
.btn-ghost:hover { background: var(--gold); color: #12100A; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-wrap {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 460px at 50% -10%, rgba(212, 175, 55, 0.13), transparent 68%),
    linear-gradient(180deg, #101013 0%, #0F0F11 100%);
  overflow: hidden;
}
.hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero {
  position: relative;
  text-align: center;
  padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 15px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Sized so the two-line headline ("The Gold Standard for Environmental" /
   "Regulatory Compliance.") holds exactly two lines on desktop.
   Line 1 (the h1 itself) is gold; line 2 uses .hero-title-alt and is white. */
.hero-title {
  font-size: clamp(1.75rem, 4.6vw, 3.05rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--gold);
  max-width: 100%;
  margin-bottom: 22px;
}
.hero-title-alt { color: #fff; }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: var(--text-dim);
  max-width: 62ch;
  line-height: 1.75;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 54px;
}

/* telemetry strip */
.telemetry-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 22, 26, 0.72);
  overflow: hidden;
  text-align: left;
}
.telemetry-cell { padding: 20px 22px; border-right: 1px solid var(--line-soft); }
.telemetry-cell:last-child { border-right: 0; }
.telemetry-key {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.telemetry-val { display: block; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }

/* .pulse-dot is retained: the ledger panel's "ANCHORED" indicator uses it. */
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ==========================================================================
   Section shells
   ========================================================================== */
.section { padding-block: clamp(64px, 9vw, 108px); }
.section-alt {
  background: linear-gradient(180deg, #0C0C0E 0%, #101013 100%);
  border-block: 1px solid var(--line-soft);
}

.section-head { max-width: 66ch; margin-bottom: 52px; }
.section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.section-lede { color: var(--text-dim); font-size: 1.02rem; line-height: 1.75; }

/* ==========================================================================
   Division cards
   ========================================================================== */
.division-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.division-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
              background 0.28s var(--ease);
  scroll-margin-top: 96px;
}
.division-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
  background: var(--surface-2);
}
.division-bar { position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
.bar-gold { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.bar-dim  { background: #3F3F46; }

.division-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.division-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}
.division-body { font-size: 0.925rem; color: var(--text-dim); line-height: 1.7; flex-grow: 1; }
.division-body strong { font-weight: 700; }
.division-meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

/* ==========================================================================
   Compliance deep dive
   ========================================================================== */
.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}
.detail-lede { color: var(--text-dim); font-size: 1rem; line-height: 1.8; margin-bottom: 38px; }

/* cross-reference to the sb253.html sub-page */
.detail-crosslink {
  font-size: 0.9rem;
  color: var(--text-mute);
  margin: -24px 0 38px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
.detail-crosslink a {
  color: var(--gold);
  border-bottom: 1px solid rgba(229, 169, 60, 0.4);
}
.detail-crosslink a:hover { border-bottom-color: var(--gold); }

.pipeline { display: flex; flex-direction: column; gap: 26px; }
.pipeline-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.pipeline-num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 9px;
  background: var(--gold-wash);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.pipeline-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.pipeline-body { font-size: 0.925rem; color: var(--text-dim); line-height: 1.72; }

/* ledger panel */
.ledger-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #15151A 0%, #121216 100%);
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.05);
}
.ledger-title { font-size: 10px; letter-spacing: 0.16em; color: var(--gold); }
.ledger-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ok);
}
.ledger-rows { padding: 6px 0; }
.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.55);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row dt { font-size: 11.5px; color: var(--text-mute); letter-spacing: 0.04em; flex-shrink: 0; }
.ledger-row dd { font-size: 11.5px; color: #E4E4E7; text-align: right; word-break: break-all; }
.ledger-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ==========================================================================
   Architecture stack
   ========================================================================== */
.stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.stack-node {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 18px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.stack-node:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateY(-3px); }
.stack-node::after {
  content: '\2192';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--line);
  font-size: 14px;
}
.stack-node:last-child::after { display: none; }
.stack-idx {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
}
.stack-title { font-size: 0.98rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.stack-body { font-size: 0.85rem; color: var(--text-mute); line-height: 1.65; }

.stack-note {
  margin-top: 30px;
  padding: 14px 18px;
  border-left: 2px solid var(--line);
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.7;
}

/* ==========================================================================
   Roadmap cards
   ========================================================================== */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.roadmap-card:hover { border-color: rgba(212, 175, 55, 0.35); transform: translateY(-3px); }
.roadmap-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.roadmap-body { font-size: 0.93rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 20px; }

.tick-list { display: flex; flex-direction: column; gap: 10px; }
.tick-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
}
.tick-list-lg li { font-size: 0.95rem; }

/* ==========================================================================
   Enterprise allocation panel
   ========================================================================== */
.allocation-panel {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding: 44px 40px 36px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: var(--radius);
  background:
    radial-gradient(640px 300px at 50% 0%, rgba(212, 175, 55, 0.07), transparent 70%),
    var(--surface);
  text-align: center;
  overflow: hidden;
  scroll-margin-top: 96px;
}
.allocation-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.15));
}
.allocation-edge-left { left: 0; }
.allocation-edge-right { right: 0; }

.allocation-kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.allocation-title {
  font-size: clamp(1.35rem, 2.9vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 16px;
}
.allocation-body {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 62ch;
  margin: 0 auto 30px;
}
.allocation-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* .allocation-alt removed in the thirty-seventh pass along with its markup: the
   secondary line pointed at the intake form, which is now the primary CTA's
   target, so it was redundant. The mailto: CTA it qualified is gone too. */

.allocation-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.allocation-specs > div { padding: 0 12px; }
.allocation-specs dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 7px;
}
.allocation-specs dd { font-size: 13px; color: var(--gold); letter-spacing: 0.05em; }

/* ==========================================================================
   Briefing form
   ========================================================================== */
.briefing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
.briefing-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.req { color: var(--gold); }

/* Human-verification block.
   IMPORTANT: `.field` sets display:flex, and an author display rule beats the
   user-agent [hidden] { display:none }. Without this override the Turnstile box
   would render as an empty bordered block even while `hidden` is set — i.e. on
   every deployment that has no site key configured. */
.verify-field[hidden] { display: none !important; }

.field-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.verify-field {
  /* the widget is an iframe injected by Cloudflare; give it a predictable
     container so its 300x65 default cannot overflow the form column */
  align-items: flex-start;
}
.verify-field .cf-turnstile { width: 100%; max-width: 100%; }
.verify-field iframe { max-width: 100%; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #101013;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.925rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; font-family: var(--sans); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A1A1AA' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3F3F46; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #0C0C0F;
}
.field input::placeholder, .field textarea::placeholder { color: #52525B; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-error { font-size: 11.5px; color: var(--danger); font-family: var(--mono); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 13px; min-height: 20px; line-height: 1.6; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--danger); }
.form-fineprint { font-size: 11.5px; color: var(--text-mute); line-height: 1.6; }
.form-fineprint .mono { color: var(--text-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  padding-block: 52px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-ip-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.footer-ip p { font-size: 12.5px; color: var(--text-mute); line-height: 1.8; max-width: 70ch; }
.footer-legal { text-align: right; font-size: 12.5px; color: var(--text-mute); line-height: 1.9; }
.footer-brand { font-size: 14px; font-weight: 900; letter-spacing: 0.16em; color: #fff; }
.footer-legal a { color: var(--gold); }
.footer-legal a:hover { text-decoration: underline; }

/* ==========================================================================
   Public Info System Value Grid
   Owner-supplied component styling. Sharp 0px radii and the #E5A93C accent are
   intentional and scoped to this component only — they do not retheme the page.
   ========================================================================== */

/* PUBLIC INFO GRID CONTAINER */
.public-info-grid {
  width: 100%;              /* was implicit auto; the hero is a centred flex column, so
                              an auto-width grid would shrink-wrap instead of filling */
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: left;         /* hero inherits centre alignment; these cards are body copy */
}

.info-card {
  display: flex;            /* so the status indicator sits at a consistent baseline
                              across cards with unequal paragraph lengths */
  flex-direction: column;
  background-color: #0d0d0d;
  border: 1px solid #1a1a1a;
  padding: 2.5rem;
  border-radius: 0px; /* SHARP INDUSTRIAL EDGES */
  transition: border-color 0.4s ease;
}
.info-card p { flex-grow: 1; }

.info-card:hover {
  border-color: #E5A93C;
}

.info-card h3 {
  color: #E5A93C;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.info-card p {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-card .status-indicator {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #00ff00;
  text-transform: uppercase;
  margin-top: 1.5rem;
  border-left: 2px solid #00ff00;
  padding-left: 0.5rem;
}

/* Note: this grid sits in the hero above the sub-paragraph. Below 1180px it steps to
   two columns and below 760px to one — at three fixed columns on a phone each card is
   squeezed to roughly 124px of text width, so the responsive rules in the media-query
   block are required, not decorative. */

/* ==========================================================================
   LINE 2: LOI CALLOUT MODULE
   Owner-supplied. Sharp edges, gold left rule, #E5A93C accent.
   ========================================================================== */
.loi-callout-container {
  width: 100%;              /* the hero is a centred flex column, so an auto-width
                              child would shrink-wrap instead of filling */
  max-width: 1200px;
  /* margin handled here only — .loi-banner keeps no outer margin of its own, so the
     gap between the info grid and this banner is stated in one place */
  margin: 2rem auto 0 auto;
  padding: 0 4rem;
  text-align: left;         /* hero inherits centre alignment; the banner is body copy */
}

.loi-banner {
  background: linear-gradient(135deg, #0d0d0d 0%, #141414 100%);
  border-left: 4px solid #E5A93C;
  border-top: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.loi-text-block {
  max-width: 700px;
}

.loi-text-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.loi-text-block p {
  color: #a0a0a0;
  font-size: 0.95rem;
}

.loi-action-btn {
  display: inline-block;
  background-color: #E5A93C;
  color: #000000;
  text-decoration: none;
  padding: 1.2rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.loi-action-btn:hover {
  background-color: #F3D078;
  transform: translateY(-2px);
}

/* ==========================================================================
   LINE 3: WHITEPAPER ABSTRACT PREVIEW
   Owner-supplied markup reusing the Line-2 .loi-* banner classes with a white
   variant, so only the deltas are declared here. Every inline `style` attribute
   from the supplied snippet was converted to a class: an inline style cannot be
   overridden by a media query, so leaving them in would have frozen this block's
   type scale and spacing on phones.

   SPECIFICITY NOTE: `.loi-text-block h2` and `.loi-text-block p` are (0,1,1), so
   the overrides below are scoped as `.loi-text-block .wp-preview-*` (0,2,0) to
   win. Changing them to a bare `.wp-preview-title` would silently lose.
   ========================================================================== */

/* supplied margin-top 4rem / margin-bottom 2rem, replacing the Line-2 default */
.loi-callout-container.wp-preview-callout { margin: 4rem auto 2rem auto; }

/* white left rule and flat fill, vs the gold rule + gradient on Line 2 */
.loi-banner.wp-preview-banner {
  border-left-color: #ffffff;
  background: #050505;
}

.wp-preview-text { max-width: 750px; }

.wp-preview-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #E5A93C;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.loi-text-block .wp-preview-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.loi-text-block .wp-preview-body {
  color: #888888;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* White variant of the action button. `.loi-action-btn` is (0,1,0) and its
   :hover is (0,2,0); this rule is (0,2,0) and declared later, so it wins on
   source order rather than needing !important. */
.loi-action-btn.wp-preview-btn {
  background-color: #ffffff;
  color: #000000;
}
.loi-action-btn.wp-preview-btn:hover {
  background-color: #d9d9d9;
}

/* ==========================================================================
   MISSION STATEMENT STRUCTURAL MOAT
   Owner-supplied. Deepest-black panel (#050505) with a gold left rule.
   ========================================================================== */
.mission-statement-container {
  width: 100%;              /* required: the hero is a centred flex column, so an
                              auto-width child would shrink-wrap instead of filling */
  max-width: 1200px;
  /* Sits directly under the hero headline. Top margin is deliberately tighter than the
     original 4rem since the headline already carries its own 22px bottom margin; the
     info grid below supplies its own 2rem top margin, so no bottom margin is needed. */
  margin: 2.5rem auto 0 auto;
  padding: 0 4rem;
  text-align: left;         /* hero inherits centre alignment; this is body copy */
}

.mission-wrapper {
  background-color: #050505;
  border-left: 3px solid #E5A93C;
  border-top: 1px solid #141414;
  border-right: 1px solid #141414;
  border-bottom: 1px solid #141414;
  padding: 2.5rem 3rem;
}

.mission-wrapper h2 {
  color: #888888;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mission-wrapper p {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   PILOT PROGRAM ONBOARDING SYSTEM  (Line 4)
   Owner-supplied. Sharp edges, #050505 cards, monospace ghost step numerals.
   Placed between the Enterprise Allocation panel and the briefing form, since
   the tutorial explains what the pilot actually entails.
   ========================================================================== */
.pilot-tutorial-container {
  max-width: 1200px;
  margin: 6rem auto 2rem auto;
  padding: 0 4rem;
}

.tutorial-header-box {
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.tutorial-header-box h2 {
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.25;
}

.tutorial-header-box h2 span { color: #E5A93C; }

.tutorial-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.tutorial-step-card {
  background-color: #050505;
  border: 1px solid #111111;
  padding: 2.5rem;
  position: relative;
}

/* The ghost numeral sits in the card's top-right corner. Each h3 was given a
   right padding so a long single-word title ("Expect") cannot run underneath it.
   The supplied CSS had no such reservation; at three columns inside the 1200px
   container each card is only ~330px wide, so the collision is real, not
   hypothetical. */
.tutorial-step-card .step-number {
  font-family: monospace;
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.tutorial-step-card:hover .step-number {
  color: #E5A93C;
  opacity: 0.15;
}

/* Partner CTA under the three pilot cards. Added when the hero's primary button
   was re-pointed at the client LOI path — without this the Pilot Program
   explained the partner programme but offered no way to act on it. Mirrors the
   container's 4rem gutter so it aligns with the card row above. */
.tutorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.5rem;
}

.tutorial-step-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  padding-right: 3.25rem; /* clears the absolutely positioned step numeral */
}

.tutorial-step-card p {
  color: #888888;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tutorial-step-card strong { color: #E5A93C; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .pulse-dot { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) { .only-wide { display: inline; } }

@media (max-width: 1260px) {
  /* Measured in the twenty-sixth pass: the six nav items need ~843px of text +
     internal padding, so with the 243px logo and the reduced 2.5rem gutters the
     header needs ~1190px to stay on one line. 1260px gives 70px of slack for
     font fallback and zoomed text, which matters because this header has already
     overflowed once (adding "Client Login" at the fourth pass). Collapse just
     before it can get tight rather than exactly at the boundary. */
  .header-inner { padding: 1.25rem 2.5rem; }
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    background: #000000;
    border-bottom: 1px solid #141414;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a {
    margin-left: 0;
    padding: 0.9rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #141414;
  }
  .primary-nav a.is-active, .primary-nav a.active-link { background: transparent; }
  .primary-nav a.secure-gateway {
    margin-top: 1.25rem;
    border-bottom: 1px solid #E5A93C;
    text-align: center;
  }
}

@media (max-width: 1180px) {
  /* Nav itself now collapses at 1260px, above. This block keeps the layout
     changes that belong at this width. */
  /* Three columns stop fitting here; side padding steps down with the column count. */
  .public-info-grid { grid-template-columns: repeat(2, 1fr); padding: 0 2rem; }
  /* The banner is a flex row; below this width the 700px text block and the button
     no longer sit side by side, so it switches to a stacked column. */
  .loi-callout-container { padding: 0 2rem; margin: 2rem auto 0 auto; }
  .mission-statement-container { padding: 0 2rem; margin: 2rem auto 0 auto; }
  .pilot-tutorial-container { padding: 0 2rem; margin: 5rem auto 2rem auto; }
  .loi-banner { flex-direction: column; align-items: flex-start; gap: 1.75rem; padding: 2.5rem; }
  .loi-action-btn { width: 100%; text-align: center; }
}

@media (max-width: 1080px) {
  .division-grid { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .stack-node:nth-child(3n)::after { display: none; }
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  /* three ~330px cards of dense copy stop reading as a set here */
  .tutorial-horizontal-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 1000px) {
  /* grid/typography only — nav collapse now happens at 1180px */
}

@media (max-width: 900px) {
  .detail-grid, .briefing-grid, .footer-inner { grid-template-columns: 1fr; }
  .ledger-panel { position: static; }
  .footer-legal { text-align: left; }
}

@media (max-width: 760px) {
  .public-info-grid { grid-template-columns: 1fr; padding: 0 1rem; gap: 1.5rem; }
  .info-card { padding: 1.75rem; }
  .loi-callout-container { padding: 0 1rem; }
  .loi-banner { padding: 1.75rem; }
  /* LINE 3 — the whitepaper preview has a taller 3-element text block, so its
     vertical rhythm steps down one notch further than Line 2 on phones. */
  .loi-callout-container.wp-preview-callout { margin: 3rem auto 1.5rem auto; }
  .loi-text-block .wp-preview-title { font-size: 1.15rem; letter-spacing: 0.5px; }
  /* LINE 4 — pilot tutorial: 3 fixed columns become a single column. */
  .pilot-tutorial-container { padding: 0 1rem; margin: 4rem auto 1.5rem auto; }
  .tutorial-header-box { margin-bottom: 2rem; }
  .tutorial-header-box h2 { font-size: 1.25rem; letter-spacing: 0.5px; }
  .tutorial-horizontal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .tutorial-step-card { padding: 1.75rem; }
  .tutorial-step-card .step-number { font-size: 2.25rem; top: 1.25rem; right: 1.25rem; }
  .tutorial-step-card h3 { font-size: 1rem; padding-right: 2.75rem; }
  /* The partner CTA falls to the container's narrower phone gutter, and a single
     button reads better full-width than left-aligned under a stacked card list. */
  .tutorial-actions .btn { width: 100%; }
  .mission-statement-container { padding: 0 1rem; }
  .mission-wrapper { padding: 1.75rem; }
  .mission-wrapper p { font-size: 1.15rem; }
  .telemetry-strip { grid-template-columns: 1fr 1fr; }
  .telemetry-cell:nth-child(2) { border-right: 0; }
  .telemetry-cell:nth-child(1),
  .telemetry-cell:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .stack { grid-template-columns: 1fr 1fr; }
  .stack-node::after { display: none; }
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { padding: 1rem 1.25rem; }
  .logo { font-size: 0.95rem; }
  .shell { padding-inline: 18px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .division-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .briefing-form { padding: 24px 18px; }
  .stack { grid-template-columns: 1fr; }
  .stack-node { padding: 18px 16px; }
  .division-card { padding: 22px 18px 18px; }
  .ledger-row { flex-direction: column; align-items: flex-start; gap: 3px; }
  .ledger-row dd { text-align: left; }
  .telemetry-cell { padding: 16px; }
  .allocation-panel { padding: 32px 22px 26px; }
  .allocation-actions .btn { width: 100%; }
  .allocation-specs { grid-template-columns: 1fr; gap: 0; }
  .allocation-specs > div { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .allocation-specs > div:last-child { border-bottom: 0; }
}