/* ==========================================================================
   ProductiveBot reference pages — shared stylesheet
   Used by index.html (Brand Guide), positioning.html, positioning-map.html
   Tokens are the approved brand tokens from the Brand Guide.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root{
  --navy:#09182F;
  --navy-deep:#06111F;
  --card:#0D2340;
  --card-2:#102B4E;
  --cyan:#00F2FF;
  --cyan-soft:#66F7FF;
  --heading:#F8FAFC;
  --body:#C8D6E5;
  --muted:#8CA3BF;
  --faint:#8FA6C2;

  --line:rgba(102,247,255,.16);
  --line-soft:rgba(102,247,255,.09);
  --line-hard:rgba(102,247,255,.32);

  /* status: colour is a reinforcement only — every badge also carries text */
  --ok:#5CE39B;
  --ok-bg:rgba(92,227,155,.12);
  --warn:#FFC65C;
  --warn-bg:rgba(255,198,92,.12);
  --bad:#FF8080;
  --bad-bg:rgba(255,128,128,.12);
  --idle:#9FB3CC;
  --idle-bg:rgba(159,179,204,.10);

  --shell:1220px;
  --gut:clamp(14px,3.6vw,40px);
  --r:12px;
  --r-sm:8px;

  --f:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:ui-monospace,SFMono-Regular,'SF Mono',Menlo,Consolas,monospace;
}

/* --- 2. Reset ----------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
*{min-width:0} /* the fix that stops grid/flex children forcing overflow */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--navy);
  color:var(--body);
  font-family:var(--f);
  font-size:17px;
  line-height:1.62;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5{color:var(--heading);margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0}
li{list-style:none}
a{color:var(--cyan-soft);text-decoration:none}
a:hover{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
strong,b{color:var(--heading);font-weight:650}
em{color:var(--cyan-soft);font-style:italic}
code,kbd,samp{
  font-family:var(--mono);font-size:.86em;color:var(--cyan-soft);
  background:rgba(0,242,255,.07);border:1px solid var(--line-soft);
  border-radius:5px;padding:.1em .38em;
  overflow-wrap:break-word;word-break:break-word;
}
pre{
  margin:0;font-family:var(--mono);font-size:13.5px;line-height:1.75;
  color:var(--cyan-soft);background:rgba(0,0,0,.28);
  border:1px solid var(--line-soft);border-radius:var(--r-sm);
  padding:14px 16px;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;
}
pre code{background:none;border:0;padding:0}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-999px;top:0;z-index:100}
.skip:focus{left:12px;top:12px;background:var(--card);border:1px solid var(--cyan);padding:10px 16px;border-radius:6px}

/* --- 3. Shell ----------------------------------------------------------- */
.shell{width:100%;max-width:var(--shell);margin:0 auto;padding-inline:var(--gut)}
main{display:block}

/* ==========================================================================
   4. CHROME — two distinct nav levels, sticky as one block
   ========================================================================== */
.chrome{
  position:sticky;top:0;z-index:50;
  background:rgba(6,17,31,.94);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}

/* -- 4a. Level 1: global tabs -- */
.chrome-top{display:flex;align-items:center;gap:clamp(12px,3vw,34px);padding:10px 0}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.brand img{height:26px;width:auto}
.brand .brand-fallback{
  font-weight:800;font-size:15px;letter-spacing:-.02em;color:var(--heading);
}

.tabs{display:flex;gap:6px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.tabs::-webkit-scrollbar{display:none}
.tab{
  position:relative;flex:0 0 auto;
  display:block;padding:8px 15px 9px;border-radius:var(--r-sm);
  border:1px solid transparent;background:transparent;
  color:var(--muted);font-size:14px;font-weight:600;line-height:1.25;
  transition:background .15s,color .15s,border-color .15s;
}
.tab span{display:block;font-size:11.5px;font-weight:500;color:var(--faint);margin-top:2px;letter-spacing:.005em}
.tab:hover{background:rgba(255,255,255,.045);color:var(--heading);text-decoration:none}
.tab:hover span{color:var(--muted)}

/* unmistakable active state: fill + cyan rule + cyan label + glow */
.tab[aria-current="page"]{
  background:rgba(0,242,255,.11);
  border-color:var(--line-hard);
  color:var(--cyan);
  box-shadow:0 0 24px rgba(102,247,255,.13);
}
.tab[aria-current="page"] span{color:var(--cyan-soft);opacity:.8}
.tab[aria-current="page"]::after{
  content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;
  background:var(--cyan);border-radius:2px 2px 0 0;
  box-shadow:0 0 10px var(--cyan);
}

/* -- 4b. Level 2: on-this-page section nav, clearly subordinate -- */
.chrome-sub{
  display:flex;align-items:center;gap:12px;
  border-top:1px solid var(--line-soft);
  padding:7px 0 8px;
}
.chrome-sub > .subnav-label{
  flex:0 0 auto;font-size:10.5px;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:var(--faint);
}
.subnav{display:flex;gap:3px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10px,#000 calc(100% - 18px),transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 10px,#000 calc(100% - 18px),transparent 100%);
}
.subnav::-webkit-scrollbar{display:none}
.subnav a{
  flex:0 0 auto;padding:5px 11px;border-radius:6px;
  font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap;
  border:1px solid transparent;
}
.subnav a:hover{background:rgba(255,255,255,.05);color:var(--heading);text-decoration:none}
.subnav a.is-active{color:var(--cyan);background:rgba(0,242,255,.09);border-color:var(--line)}

/* ==========================================================================
   5. Page header
   ========================================================================== */
.masthead{padding:clamp(34px,6vw,72px) 0 clamp(26px,4vw,44px);position:relative;isolation:isolate}
/* Full-bleed hero glow. It must NOT be clipped to the 1220px .shell: overflow
   hidden on a centred shell cuts the radial gradient dead at the content edge
   and leaves a hard vertical seam on viewports wider than the shell. Span the
   viewport the same way .section--light::before does (body has overflow-x
   hidden, so 100vw is safe here). */
.masthead::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:-120px;left:50%;width:100vw;transform:translateX(-50%);height:470px;
  background:radial-gradient(46% 92% at 64% 16%,rgba(102,247,255,.16),rgba(102,247,255,.05) 46%,rgba(102,247,255,0) 76%);
}
.masthead > *{position:relative}
.eyebrow{
  font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--cyan);margin-bottom:18px;
}
.masthead h1{
  font-size:clamp(27px,5.6vw,54px);font-weight:700;line-height:1.08;letter-spacing:-.02em;
  max-width:26ch;text-wrap:balance;
}
.headline-gradient,.headline-accent{
  background:linear-gradient(100deg,var(--heading) 0%,var(--heading) 32%,var(--cyan-soft) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.masthead .lede{
  margin-top:16px;max-width:66ch;
  font-size:clamp(15.5px,1.5vw,20px);line-height:1.55;color:var(--body);
}
.masthead-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.btn{
  display:inline-block;padding:10px 18px;border-radius:var(--r-sm);
  font-size:14px;font-weight:600;border:1px solid var(--line-hard);color:var(--cyan);
  background:rgba(0,242,255,.06);
}
.btn:hover{background:rgba(0,242,255,.13);text-decoration:none}
.btn--ghost{border-color:rgba(200,214,229,.2);color:var(--body);background:transparent}
.btn--ghost:hover{background:rgba(255,255,255,.05);color:var(--heading)}

/* --- 6. Sections -------------------------------------------------------- */
.section{padding:clamp(30px,4.4vw,56px) 0;border-top:1px solid var(--line-soft)}
.section--light{position:relative;isolation:isolate;color:#29405c;border-color:rgba(9,24,47,.12)}
.section--light::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:#f6f9fc;border-block:1px solid rgba(9,24,47,.10)}
.section--light h2,.section--light h3,.section--light h4,.section--light strong,.section--light b{color:#0b2442}
.section--light .kicker{color:#008f9a}.section--light .section-head .lede,.section--light .tiny,.section--light .note{color:#55708d}
.section--light .headline-accent{background:linear-gradient(100deg,#0b2442 0%,#0b2442 32%,#009eab 100%);-webkit-background-clip:text;background-clip:text}
.section--light .card,.section--light .table-wrap,.section--light .matrix-flow{background:#fff;border-color:rgba(9,24,47,.14)}
.section--light .card--flat{background:#edf5fa}.section--light .card p,.section--light .matrix-step p{color:#405d79}
.section--light table.t thead th{color:#007f8b;background:#e6faff;border-color:rgba(9,24,47,.14)}
.section--light table.t th,.section--light table.t td{border-color:rgba(9,24,47,.11)}
.section--light table.t .col-em{background:#eefcff}.section--light table.t .col-mute,.section--light .cell-sub{color:#5a738e}
.section--light .flow,.section--light .spectrum,.section--light .publish-gate{background:rgba(9,24,47,.13);border-color:rgba(9,24,47,.16)}
.section--light .flow-step,.section--light .spectrum-step,.section--light .publish-gate .gate{background:#fff}.section--light .flow-step + .flow-step,.section--light .spectrum-step + .spectrum-step,.section--light .publish-gate .gate + .gate{border-color:rgba(9,24,47,.13)}
.section--light .flow-step + .flow-step::before,.section--light .spectrum-step + .spectrum-step::before{background:#fff;border-color:rgba(0,157,171,.45);color:#008f9a}

.section-head{margin-bottom:clamp(20px,2.6vw,30px)}
.kicker{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:.15em;
  text-transform:uppercase;color:var(--cyan);margin-bottom:12px;
}
.section h2{
  font-size:clamp(21px,3.1vw,40px);font-weight:700;line-height:1.16;letter-spacing:-.018em;
  max-width:42ch;
}
.section-head .lede{margin-top:12px;max-width:74ch;font-size:clamp(15px,1.35vw,18.5px);color:var(--muted)}
.section h3{font-size:19px;font-weight:650;line-height:1.35;letter-spacing:-.01em}

/* --- 7. Generic grid + cards -------------------------------------------- */
.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))}
.grid--4{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
.card{
  background:var(--card);border:1px solid var(--line-soft);border-radius:var(--r);
  padding:clamp(15px,1.6vw,22px);min-width:0;
}
.card > h3,.card > h4{margin-bottom:8px}
.card p{font-size:15.5px;color:var(--body)}
.card p + p{margin-top:9px}
.card--glow{box-shadow:0 0 34px rgba(102,247,255,.10)}
.card--flat{background:rgba(13,35,64,.55)}
.card-label{
  font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--faint);margin-bottom:8px;
}
.tiny{font-size:13px;color:var(--muted);line-height:1.55}
.note{font-size:14.5px;color:var(--muted);margin-top:14px}

/* bullet list used inside cards */
.blist{display:flex;flex-direction:column;gap:7px;margin-top:4px}
.blist li{position:relative;padding-left:15px;font-size:15px;color:var(--body)}
.blist li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--cyan);opacity:.55}
.blist--check li{padding-left:22px}
.blist--check li::before{content:"✓";width:auto;height:auto;top:0;background:none;border-radius:0;color:var(--ok);font-size:13px;opacity:1}
.blist--x li::before{content:"✕";width:auto;height:auto;top:0;background:none;border-radius:0;color:var(--bad);font-size:12px;opacity:1}
.blist--x li{padding-left:22px}

/* colour swatches (brand guide) */
.swatches{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}
.swatch{border:1px solid var(--line-soft);border-radius:var(--r-sm);overflow:hidden;background:var(--card)}
.swatch i{display:block;height:64px}
.swatch b{display:block;padding:9px 12px 2px;font-size:13.5px}
.swatch code{display:block;margin:0 12px 11px;background:none;border:0;padding:0;font-size:12px}

/* ==========================================================================
   8. CALLOUTS — advisory blocks (open questions, unresolved pricing, cautions)
   ========================================================================== */
.callout{
  border:1px solid var(--line);border-left:3px solid var(--cyan);
  background:rgba(0,242,255,.05);border-radius:var(--r-sm);
  padding:12px 15px;
}
.callout h3{font-size:14px;margin-bottom:5px}
.callout p{font-size:14px;line-height:1.52}
.callout p + p{margin-top:6px}
.callout--warn{border-color:rgba(255,198,92,.3);border-left-color:var(--warn);background:rgba(255,198,92,.06)}
.callout--warn h3{color:var(--warn)}
.callout--bad{border-color:rgba(255,128,128,.3);border-left-color:var(--bad);background:rgba(255,128,128,.06)}
.callout--bad h3{color:var(--bad)}

/* ==========================================================================
   9. PROOF BADGES — welded to the claim they qualify.
      Colour + text label + glyph. Never colour alone.
      Modifier switched on a data field: verified|partial|roadmap|missing|caution
   ========================================================================== */
.badge{
  display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;
  padding:3px 10px 3px 8px;border-radius:100px;
  font-size:11.5px;font-weight:700;letter-spacing:.055em;text-transform:uppercase;
  border:1px solid currentColor;white-space:nowrap;
}
.badge::before{font-size:10px;line-height:1}
.badge--verified{color:var(--ok);background:var(--ok-bg)}
.badge--verified::before{content:"✓"}
.badge--partial,.badge--caution{color:var(--warn);background:var(--warn-bg)}
.badge--partial::before,.badge--caution::before{content:"!"}
.badge--roadmap{color:var(--idle);background:var(--idle-bg)}
.badge--roadmap::before{content:"◷"}
.badge--missing{color:var(--bad);background:var(--bad-bg)}
.badge--missing::before{content:"✕"}
.badge--sustaining{color:var(--cyan-soft);background:rgba(0,242,255,.09);text-transform:none;letter-spacing:.02em}
.badge--sustaining::before{content:"◆"}
.badge--dynamic{color:var(--warn);background:var(--warn-bg);text-transform:none;letter-spacing:.02em}
.badge--dynamic::before{content:"◇"}
.badge--sm{font-size:10.5px;padding:2px 8px 2px 7px}

/* proof band: the badge and the claim in ONE bordered unit, never separable */
.proofband{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;
  border:1px solid var(--line-soft);border-left:3px solid var(--idle);
  border-radius:var(--r-sm);background:rgba(0,0,0,.2);
  padding:11px 14px;
}
.proofband > .badge{align-self:center}
.proofband .proof-claim{font-size:15px;color:var(--body);flex:1 1 220px}
.proofband .proof-src{
  width:100%;font-size:12px;color:var(--faint);font-family:var(--mono);
  overflow-wrap:break-word;word-break:break-word;
}
.proofband--verified{border-left-color:var(--ok)}
.proofband--partial,.proofband--caution{border-left-color:var(--warn)}
.proofband--roadmap{border-left-color:var(--idle)}
.proofband--missing{border-left-color:var(--bad)}

/* inline caution welded inside a table cell / card */
.caution{
  display:flex;gap:8px;align-items:flex-start;margin-top:10px;
  border:1px solid rgba(255,198,92,.28);border-radius:6px;
  background:rgba(255,198,92,.08);padding:8px 10px;
  font-size:13.5px;line-height:1.5;color:var(--warn);
}
.caution::before{content:"⚠";flex:0 0 auto;font-size:12px;line-height:1.35}
.caution strong{color:var(--warn)}
.caution--bad{border-color:rgba(255,128,128,.3);background:rgba(255,128,128,.08);color:var(--bad)}
.caution--bad strong{color:var(--bad)}

/* ==========================================================================
   10. TABLES — desktop table, stacked labelled cards under 780px.
       Every cell carries data-label so the stacked form needs no extra markup.
   ========================================================================== */
.table-wrap{border:1px solid var(--line-soft);border-radius:var(--r);background:var(--card);overflow:hidden}
table.t{width:100%;border-collapse:collapse;font-size:15px}
table.t caption{text-align:left;padding:13px 16px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line-soft)}
table.t th,table.t td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line-soft)}
table.t thead th{
  font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--cyan);background:rgba(0,242,255,.05);
  border-bottom:1px solid var(--line);white-space:nowrap;
  position:sticky;top:0;
}
table.t tbody tr:last-child th,table.t tbody tr:last-child td{border-bottom:0}
table.t tbody tr:hover{background:rgba(0,242,255,.035)}
table.t tbody th{font-weight:650;color:var(--heading);font-size:15.5px}
table.t .col-em{background:rgba(0,242,255,.045)}
table.t .col-mute{color:var(--muted)}
.cell-sub{display:block;font-size:12.5px;color:var(--faint);margin-top:3px}

/* Creative Test Matrix: intentionally wide on desktop, stacked into readable
   per-route cards by the existing mobile table treatment. */
.table-wrap--matrix{overflow:auto}
table.t--matrix{min-width:2440px;font-size:13px;line-height:1.45}
table.t--matrix th,table.t--matrix td{padding:12px 13px}
table.t--matrix thead th{white-space:normal}
.t--matrix th:nth-child(1){width:82px}
.t--matrix th:nth-child(2){width:156px}
.t--matrix th:nth-child(3){width:275px}
.t--matrix th:nth-child(4){width:315px}
.t--matrix th:nth-child(5){width:315px}
.t--matrix th:nth-child(6){width:150px}
.t--matrix th:nth-child(7){width:300px}
.t--matrix th:nth-child(8){width:210px}
.t--matrix th:nth-child(9){width:148px}
.matrix-id{display:block;color:var(--cyan);font-size:11px;letter-spacing:.08em;margin-bottom:6px}
.matrix-label{display:block;margin:10px 0 3px;color:var(--faint);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.matrix-field{min-height:64px;display:flex;align-items:center}
.matrix-field p{margin:0;font-size:14px;font-weight:600;color:var(--heading)}

/* The matrix workflow is deliberately concrete: it shows a person how a
   matrix row becomes an asset, followed by a short publish check and example. */
.matrix-workflow{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,1fr);gap:18px;align-items:stretch}
.matrix-flow{border:1px solid var(--line-soft);border-radius:var(--r);background:var(--card);padding:22px}
.matrix-flow-head{display:flex;align-items:baseline;gap:14px;margin-bottom:22px}
.matrix-flow-head .card-label{flex:0 0 auto;margin:0}
.matrix-flow-head p:last-child{margin:0;color:var(--muted);font-size:14px}
.matrix-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.matrix-steps--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.matrix-step{position:relative;min-width:0;padding:4px 24px 4px 0}
.matrix-step + .matrix-step{padding-left:24px}
.matrix-step + .matrix-step::before{content:"";position:absolute;left:0;top:7px;bottom:5px;width:1px;background:var(--line)}
.matrix-step-num{display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(0,242,255,.42);border-radius:999px;color:var(--cyan);font-size:12px;font-weight:800;margin-bottom:10px}
.matrix-step h3{font-size:16px;margin:0 0 8px;color:var(--heading)}
.matrix-step p{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}
.matrix-guardrails{border:1px solid rgba(255,190,71,.45);border-left:3px solid var(--warn);border-radius:var(--r);background:rgba(255,190,71,.055);padding:20px}
.matrix-guardrails .card-label{margin:0 0 8px;color:var(--warn)}
.matrix-guardrails h3{font-size:18px;margin:0 0 14px;color:var(--heading)}
.matrix-guardrail{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;padding-top:12px;border-top:1px solid rgba(255,190,71,.2)}
.matrix-guardrail + .matrix-guardrail{margin-top:12px}
.matrix-guardrail span{color:var(--warn);font-size:15px;font-weight:800;line-height:1.25}
.matrix-guardrail p{margin:0;font-size:13.5px;line-height:1.5;color:var(--muted)}
.matrix-guardrail strong{display:block;color:var(--heading);margin-bottom:3px}
.matrix-example{margin-top:18px;border:1px solid rgba(0,242,255,.25);border-radius:var(--r);background:linear-gradient(110deg,rgba(0,242,255,.075),rgba(0,122,255,.035));padding:20px 22px}
.matrix-example-head{display:flex;align-items:baseline;gap:14px;margin-bottom:15px}
.matrix-example-head .card-label{flex:0 0 auto;margin:0;color:var(--cyan)}
.matrix-example-head h3{margin:0;color:var(--heading);font-size:17px}
.matrix-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.matrix-example-grid>div{border-left:1px solid rgba(0,242,255,.22);padding-left:14px}
.matrix-example-grid span{display:block;color:var(--cyan);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.matrix-example-grid p{margin:0;color:var(--muted);font-size:14px;line-height:1.52}

/* Master feature catalog: the core family stays visibly left of each subfeature.
   The same markup stacks into labelled cards on narrow screens. */
.t--catalog{font-size:13.5px}
.t--catalog th,.t--catalog td{padding:12px 13px}
.t--catalog .family-cell{width:14%;color:var(--cyan)}
.t--catalog tbody tr.family-start th,
.t--catalog tbody tr.family-start td{border-top:2px solid rgba(0,242,255,.24)}
.t--catalog tbody tr.family-start:first-child th,
.t--catalog tbody tr.family-start:first-child td{border-top:0}
.cell-pair{display:block}
.cell-pair + .cell-pair{margin-top:9px;padding-top:9px;border-top:1px solid var(--line-soft)}
.cell-pair strong{display:block;margin-bottom:3px;color:var(--faint);font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.cell-pair--benefit strong{color:var(--good)}

/* --- 11. Section nav anchor offset ------------------------------------- */
[id]{scroll-margin-top:130px}

/* ==========================================================================
   12. FILTER BAR (Value Map) — progressive enhancement.
       Hidden until JS adds .js-on to <html>; page is complete without it.
   ========================================================================== */
.filters{display:none}
.js-on .filters{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;
  border:1px solid var(--line-soft);border-radius:var(--r);
  background:rgba(13,35,64,.6);padding:12px 14px;margin-bottom:18px;
}
.filters-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.filters-label{
  font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--faint);margin-right:2px;
}
.chip{
  border:1px solid var(--line-soft);background:transparent;border-radius:100px;
  color:var(--muted);font:inherit;font-size:13px;font-weight:500;
  padding:4px 12px;cursor:pointer;white-space:nowrap;
}
.chip:hover{color:var(--heading);background:rgba(255,255,255,.05)}
.chip[aria-pressed="true"]{color:var(--cyan);background:rgba(0,242,255,.11);border-color:var(--line-hard)}
.filters-count{margin-left:auto;font-size:13px;color:var(--faint)}
.is-filtered-out{display:none !important}
.filter-empty{display:none;padding:18px;text-align:center;color:var(--muted);font-size:15px}
.filter-empty.is-shown{display:block}

/* ==========================================================================
   13. STAKEHOLDER CARD — identical structure for every stakeholder.
       Emitted by a loop: header → proof band → 6-link chain → optional note.
       Data hooks: data-stakeholder, data-proof (drive the filters + modifier)
   ========================================================================== */
.stk-list{display:flex;flex-direction:column;gap:16px}
.stk{
  background:var(--card);border:1px solid var(--line-soft);border-radius:var(--r);
  overflow:hidden;
}
.stk-head{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 20px;
  padding:16px clamp(14px,1.6vw,20px);
  background:rgba(0,242,255,.045);border-bottom:1px solid var(--line-soft);
}
.stk-id{flex:1 1 260px;min-width:0}
.stk-num{
  font-family:var(--mono);font-size:11.5px;color:var(--cyan);letter-spacing:.08em;
  display:block;margin-bottom:4px;
}
.stk-name{font-size:clamp(17px,1.9vw,22px);font-weight:700;letter-spacing:-.012em;line-height:1.2}
.stk-role{font-size:13.5px;color:var(--muted);margin-top:4px}
.stk-meta{display:flex;flex-wrap:wrap;gap:6px 18px;flex:0 1 auto}
.stk-meta div{min-width:0}
.stk-meta dt{
  font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);
}
.stk-meta dd{margin:2px 0 0;font-size:13.5px;font-weight:600;color:var(--heading)}
.stk-proof{padding:12px clamp(14px,1.6vw,20px) 0}
.stk-note{
  margin:0 clamp(14px,1.6vw,20px) clamp(14px,1.6vw,20px);
}

/* the chain: seven labelled links, one repeated block each */
.chain{
  display:grid;gap:1px;background:var(--line-soft);
  grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));
  margin-top:12px;border-top:1px solid var(--line-soft);
}
.chain .link{background:var(--card);padding:14px clamp(14px,1.6vw,20px) 16px;min-width:0}
.chain .link-label{
  display:flex;align-items:center;gap:8px;margin-bottom:9px;
  font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--cyan);
}
.chain .link-num{
  flex:0 0 auto;width:17px;height:17px;border-radius:50%;
  border:1px solid var(--line-hard);color:var(--cyan);
  font-family:var(--mono);font-size:9.5px;font-weight:600;letter-spacing:0;
  display:grid;place-items:center;
}
.chain .link ul{display:flex;flex-direction:column;gap:7px}
.chain .link li{
  position:relative;padding-left:13px;font-size:14.5px;line-height:1.5;color:var(--body);
}
.chain .link li::before{
  content:"";position:absolute;left:0;top:.6em;width:4px;height:4px;border-radius:50%;
  background:var(--cyan);opacity:.5;
}
/* features render as a token row rather than a list */
.chain .link--tokens ul{flex-direction:row;flex-wrap:wrap;gap:6px}
.chain .link--tokens li{
  padding:3px 9px;border:1px solid var(--line-soft);border-radius:5px;
  background:rgba(0,242,255,.05);font-size:13px;color:var(--cyan-soft);
}
.chain .link--tokens li::before{display:none}

/* Connected decision and story paths. These deliberately turn steps into a
   sequence while leaving dense reference tables alone. */
.layers-diagram{display:grid;gap:0;max-width:1040px;margin-inline:auto}
.layers-diagram .layer{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center;padding:18px 22px;background:var(--card);border:1px solid var(--line-soft)}
.layers-diagram .layer:first-child{border-radius:var(--r) var(--r) 0 0}.layers-diagram .layer:last-child{border-radius:0 0 var(--r) var(--r)}
.layers-diagram .layer + .layer{border-top:0}.layers-diagram .layer:nth-child(2){background:rgba(0,242,255,.09);border-color:var(--line-hard)}
.layer-tag{font-size:10.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--cyan)}
.layer h3{margin:0 0 4px}.layer p{font-size:15px;color:var(--muted)}

.spectrum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--r);background:var(--line-soft)}
.spectrum-step{position:relative;padding:20px 18px;background:var(--card);min-height:166px}.spectrum-step + .spectrum-step{border-left:1px solid var(--line)}
.spectrum-step + .spectrum-step::before{content:"→";position:absolute;left:-13px;top:23px;z-index:2;display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line-hard);border-radius:50%;background:var(--navy);color:var(--cyan);font-weight:800}
.spectrum-step .step-num{display:block;margin-bottom:10px;color:var(--cyan);font:700 11px var(--mono);letter-spacing:.08em}.spectrum-step h3{font-size:18px;margin-bottom:7px}.spectrum-step p{font-size:14px;color:var(--muted);line-height:1.5}.spectrum-step .badge{margin-top:12px}

.flow{display:grid;gap:0;grid-template-columns:repeat(var(--flow-steps,5),minmax(0,1fr));border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--line-soft)}
.flow-step{position:relative;padding:18px 16px;background:var(--card)}.flow-step + .flow-step{border-left:1px solid var(--line)}
.flow-step + .flow-step::before{content:"→";position:absolute;z-index:2;left:-13px;top:19px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;border:1px solid var(--line-hard);background:var(--navy);color:var(--cyan);font-weight:800}
.flow-step .flow-num{display:block;color:var(--cyan);font:700 11px var(--mono);margin-bottom:8px}.flow-step h3{font-size:16px;margin-bottom:7px}.flow-step p{font-size:13.5px;line-height:1.5;color:var(--muted)}
.publish-gate{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--line-soft)}
.publish-gate .gate{padding:17px 18px;background:var(--card)}.publish-gate .gate + .gate{border-left:1px solid var(--line)}
.publish-gate .gate:last-child{background:rgba(92,227,155,.07)}.gate-kicker{display:block;color:var(--cyan);font:700 10px var(--mono);letter-spacing:.08em;margin-bottom:7px}.publish-gate h3{font-size:16px;margin-bottom:6px}.publish-gate p{font-size:13.5px;line-height:1.5;color:var(--muted)}
.value-path{display:flex;align-items:stretch;gap:0;margin:0 0 20px;padding:0;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--line-soft)}
.value-path li{position:relative;flex:1 1 0;padding:13px 11px;background:var(--card);font-size:12px;font-weight:700;line-height:1.25;color:var(--heading);text-align:center}.value-path li + li{border-left:1px solid var(--line)}
.value-path li + li::before{content:"→";position:absolute;z-index:2;left:-11px;top:11px;display:grid;place-items:center;width:21px;height:21px;border:1px solid var(--line-hard);border-radius:50%;background:var(--navy);color:var(--cyan);font-size:12px}

@media (min-width:900px){.section-head--split{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);column-gap:clamp(36px,7vw,120px);align-items:end}.section-head--split .kicker{grid-column:1/-1}.section-head--split h2{max-width:28ch}.section-head--split .lede{margin:0;max-width:48ch;padding-bottom:3px}}

/* ==========================================================================
   14. VALUE EQUATION / two-column compare / definition rows
   ========================================================================== */
.formula{
  border:1px solid var(--line);border-radius:var(--r);background:rgba(0,0,0,.22);
  padding:16px 18px;font-size:clamp(14px,1.5vw,18px);font-weight:650;color:var(--heading);
  text-align:center;line-height:1.5;margin-bottom:18px;overflow-wrap:break-word;
}
.formula em{color:var(--cyan);font-style:normal}
.lever-head{display:flex;align-items:baseline;gap:9px;margin-bottom:4px}
.lever-arrow{font-size:17px;line-height:1;color:var(--cyan)}
.lever-pos{font-size:13px;color:var(--cyan-soft);margin-bottom:12px}
.deflist{display:flex;flex-direction:column;gap:11px;margin-top:12px}
.deflist > div{display:grid;gap:2px}
.deflist dt{
  font-size:10.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--faint);
}
.deflist dd{margin:0;font-size:14.5px;line-height:1.55;color:var(--body)}
.deflist .risk dt{color:var(--warn)}

/* sustaining / dynamic list rows */
.srow{
  display:flex;gap:10px;align-items:flex-start;
  padding:11px 0;border-bottom:1px solid var(--line-soft);
}
.srow:last-child{border-bottom:0}
.srow-mark{flex:0 0 auto;font-size:13px;line-height:1.5}
.srow--sustaining .srow-mark{color:var(--ok)}
.srow--dynamic .srow-mark{color:var(--warn)}
.srow-body{min-width:0}
.srow-title{font-size:15.5px;font-weight:650;color:var(--heading);line-height:1.45}
.srow-why{font-size:13.5px;color:var(--muted);margin-top:3px}
.srow-vol{
  display:inline-block;margin-left:6px;font-size:10.5px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--faint);border:1px solid var(--line-soft);
  border-radius:4px;padding:1px 6px;vertical-align:1px;
}
.srow-vol--blocker{color:var(--bad);border-color:rgba(255,128,128,.35);background:var(--bad-bg)}

/* open-question rows */
.q-list{display:flex;flex-direction:column;gap:12px}
.q{
  display:grid;gap:8px;grid-template-columns:minmax(0,1fr);
  border:1px solid var(--line-soft);border-left:3px solid var(--idle);
  border-radius:var(--r-sm);background:var(--card);padding:14px 16px;
}
.q--blocker{border-left-color:var(--bad)}
.q--high{border-left-color:var(--warn)}
.q--medium{border-left-color:var(--idle)}
.q-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.q-title{font-size:16.5px;font-weight:650;line-height:1.4;color:var(--heading);flex:1 1 240px}
.q-meta{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:13px;color:var(--muted)}
.q-meta span b{color:var(--body);font-weight:600}
.q-note{font-size:14px;color:var(--muted)}

/* --- 15. Footer -------------------------------------------------------- */
.foot{border-top:1px solid var(--line);padding:32px 0 46px;margin-top:20px}
.foot img{height:24px;margin-bottom:14px}
.foot p{font-size:13.5px;color:var(--faint)}
.foot p + p{margin-top:7px}

/* --- 16. Missing-asset placeholder (assets/ resolves on deploy) --------- */
.shot{
  border:1px solid var(--line-soft);border-radius:var(--r-sm);overflow:hidden;
  background:rgba(0,0,0,.25);min-height:60px;
}
.shot img{width:100%}

/* ==========================================================================
   17. Responsive — real breakpoints, verified at 1024 / 768 / 390
   ========================================================================== */
@media (max-width:1024px){
  :root{--shell:900px}
  .stk-meta{flex:1 1 100%;gap:6px 16px}
}

@media (max-width:860px){
  body{font-size:16.5px}
  .chrome-top{gap:10px;padding:8px 0}
  .brand img{height:22px}
  .tab{padding:7px 12px 8px;font-size:13.5px}
  .tab span{display:none} /* subordinate descriptor drops first */
  .tab[aria-current="page"]::after{left:8px;right:8px}
  [id]{scroll-margin-top:112px}
}

@media (max-width:780px){
  /* tables → stacked labelled cards; no horizontal scroll, no clipping */
  table.t,table.t tbody,table.t tr,table.t th,table.t td{display:block;width:auto}
  table.t thead{display:none}
  table.t caption{display:block}
  table.t tbody tr{
    border-bottom:1px solid var(--line);padding:6px 0 10px;
  }
  table.t tbody tr:last-child{border-bottom:0}
  table.t tbody tr:hover{background:none}
  table.t th,table.t td{
    border-bottom:0;padding:7px clamp(13px,3.5vw,16px);
  }
  table.t tbody th{padding-top:13px;font-size:16.5px}
  table.t td[data-label]::before,
  table.t th[data-label]::before{
    content:attr(data-label);display:block;
    font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
    color:var(--faint);margin-bottom:3px;
  }
  table.t td:empty{display:none}
  table.t .col-em{background:none}
  .t--catalog .family-cell{width:auto;padding-top:15px}
  .table-wrap--matrix{overflow:hidden}
  table.t--matrix{min-width:0;font-size:inherit;line-height:inherit}
  table.t--matrix th,table.t--matrix td{padding:7px clamp(13px,3.5vw,16px)}
  .t--matrix th:nth-child(n){width:auto}
  .matrix-label{margin-top:9px}
  .matrix-workflow{grid-template-columns:minmax(0,1fr)}
  .matrix-steps--four{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}
  .matrix-steps--four .matrix-step:nth-child(3){padding-left:0}
  .matrix-steps--four .matrix-step:nth-child(3)::before{display:none}
  .matrix-example-grid{grid-template-columns:minmax(0,1fr)}
  .matrix-example-grid>div{border-left:0;border-top:1px solid rgba(0,242,255,.22);padding:12px 0 0}
  .matrix-example-grid>div:first-child{border-top:0;padding-top:0}
  .t--catalog tbody tr.family-start{border-top:2px solid rgba(0,242,255,.24)}
  .t--catalog tbody tr.family-start th,
  .t--catalog tbody tr.family-start td{border-top:0}
  .chain{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:560px){
  :root{--gut:14px;--r:10px}
  .chrome-top{align-items:flex-start;flex-wrap:wrap}
  .tabs{flex-basis:100%;flex-wrap:wrap;overflow-x:visible;gap:2px}
  .chrome-sub{flex-wrap:wrap}
  .subnav{flex-basis:100%;flex-wrap:wrap;overflow-x:visible;-webkit-mask-image:none;mask-image:none}
  .matrix-flow{padding:18px}
  .matrix-flow-head{display:block;margin-bottom:18px}
  .matrix-flow-head .card-label{margin-bottom:7px}
  .matrix-steps{grid-template-columns:minmax(0,1fr);gap:0}
  .matrix-steps--four{grid-template-columns:minmax(0,1fr);gap:0}
  .matrix-step,.matrix-step + .matrix-step{padding:0 0 16px 37px}
  .matrix-step + .matrix-step{padding-top:16px}
  .matrix-steps--four .matrix-step:nth-child(3){padding-left:37px}
  .matrix-steps--four .matrix-step:nth-child(3)::before{display:block}
  .matrix-step + .matrix-step::before{left:11px;top:0;bottom:auto;height:17px;width:1px}
  .matrix-step{position:relative}
  .matrix-step-num{position:absolute;left:0;top:2px;margin:0}
  .matrix-example{padding:18px}
  .matrix-example-head{display:block}
  .matrix-example-head .card-label{margin-bottom:7px}
  body{font-size:16px;line-height:1.58}
  .chrome-sub{gap:8px;padding:6px 0 7px}
  .chrome-sub > .subnav-label{display:none}
  .masthead{padding-top:26px}
  .masthead h1{max-width:none;letter-spacing:-.015em}
  .grid,.grid--2,.grid--4{grid-template-columns:minmax(0,1fr)}
  .swatches{grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr))}
  .section h2,.masthead h1,.section-head .lede,.matrix-flow-head p:last-child{max-width:100%;overflow-wrap:break-word;text-wrap:wrap}
  .stk-head{padding:14px}
  .stk-meta{gap:8px 14px}
  .stk-meta dd{font-size:13px}
  .proofband{padding:10px 12px}
  .proofband .proof-claim{font-size:14.5px;flex-basis:100%}
  .filters-count{margin-left:0;flex-basis:100%}
  pre{font-size:12.5px;padding:12px}
  .formula{font-size:14px;padding:14px}
  [id]{scroll-margin-top:104px}
}

@media (max-width:400px){
  .tab{padding:7px 10px;font-size:13px}
  .subnav a{font-size:12.5px;padding:5px 9px}
  .masthead h1{font-size:26px}
  .section h2{font-size:20px}
  .stk-name{font-size:17px}
}

@media (max-width:820px){
  .masthead h1,.masthead .lede{max-width:100%;overflow-wrap:anywhere;text-wrap:wrap}
  .layers-diagram .layer{grid-template-columns:1fr;gap:5px;padding:16px}
  .spectrum,.flow,.publish-gate{grid-template-columns:1fr}
  .spectrum-step + .spectrum-step,.flow-step + .flow-step,.publish-gate .gate + .gate{border-left:0;border-top:1px solid var(--line)}
  .spectrum-step + .spectrum-step::before,.flow-step + .flow-step::before{left:18px;top:-13px}
  .value-path{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.value-path li{min-height:48px}.value-path li + li{border-left:0;border-top:1px solid var(--line)}.value-path li:nth-child(even){border-left:1px solid var(--line)}.value-path li + li::before{display:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important;animation:none !important}
}

@media print{
  .chrome,.filters,.masthead-actions{display:none}
  body{background:#fff;color:#111}
  .card,.stk,.table-wrap{break-inside:avoid;border-color:#ccd;background:#fff}
  h1,h2,h3,h4,.stk-name{color:#000}
}

/* --- 6b. Light-section contrast (WCAG AA on white cards) ----------------
   Dark-theme tokens (--body, --muted, --heading, --cyan) are unreadable on the
   white cards inside .section--light. Every text role that can land on a light
   surface gets an explicit dark equivalent here. Keep ratios >= 4.5:1. */
.section--light.section--light{color:#294057}
.section--light.section--light li,
.section--light.section--light .blist li,
.section--light.section--light .stk-bullets li,
.section--light.section--light .deflist dd,
.section--light.section--light .proofband .proof-claim,
.section--light.section--light .value-path li,
.section--light.section--light td,
.section--light.section--light .q-meta span b{color:#3a566f}
.section--light.section--light .flow-step p,
.section--light.section--light .spectrum-step p,
.section--light.section--light .layer p,
.section--light.section--light .publish-gate .gate p,
.section--light.section--light .gate p,
.section--light.section--light .matrix-guardrail p,
.section--light.section--light .matrix-example-grid p,
.section--light.section--light .stk-role,
.section--light.section--light .srow-why,
.section--light.section--light .q-meta,
.section--light.section--light .q-note,
.section--light.section--light .filter-empty,
.section--light.section--light table.t caption{color:#4d6a85}
.section--light.section--light th,
.section--light.section--light .value-path li,
.section--light.section--light .layer h3,
.section--light.section--light .stk-name{color:#0b2442}
.section--light.section--light table.t thead th{color:#00646e}
.section--light.section--light a{color:#0a6f8f}
.section--light.section--light a:hover{color:#075a75}
.section--light.section--light em,
.section--light.section--light .formula em{color:#0a6f8f}
.section--light.section--light code,
.section--light.section--light kbd,
.section--light.section--light pre{color:#0d5f7a;background:rgba(0,110,140,.07);border-color:rgba(9,24,47,.14)}
.section--light.section--light .kicker,
.section--light.section--light .flow-num,
.section--light.section--light .gate-kicker,
.section--light.section--light .step-num,
.section--light.section--light .matrix-id,
.section--light.section--light .layer-tag,
.section--light.section--light .stk-id,
.section--light.section--light .lever-arrow,
.section--light.section--light .lever-pos,
.section--light.section--light .card-label,
.section--light.section--light .subnav a.is-active,
.section--light.section--light table.t .col-em{color:#00707c}
.section--light.section--light .blist li::before,
.section--light.section--light .stk-bullets li::before{background:#00707c;opacity:1}
.section--light.section--light .badge{border-color:currentColor}
.section--light.section--light .badge--verified{color:#1a7a4d;background:rgba(26,122,77,.10)}
.section--light.section--light .badge--partial,
.section--light.section--light .badge--caution{color:#8a5a00;background:rgba(138,90,0,.10)}
.section--light.section--light .badge--missing{color:#b3262c;background:rgba(179,38,44,.09)}
.section--light.section--light .badge--roadmap{color:#4f6784;background:rgba(79,103,132,.10)}
.section--light.section--light .badge--sustaining{color:#00646e;background:rgba(0,100,110,.09)}
.section--light.section--light .badge--dynamic{color:#8a5a00;background:rgba(138,90,0,.10)}
.section--light.section--light .btn{color:#00646e;border-color:rgba(0,100,110,.45)}
.section--light.section--light .btn--ghost{color:#3a566f;border-color:rgba(9,24,47,.25)}
.section--light.section--light .proofband{background:#f4f8fb;border-color:rgba(9,24,47,.14)}
.section--light.section--light .formula{background:#f4f8fb;border-color:rgba(9,24,47,.16)}
.section--light.section--light .swatch{background:#fff;border-color:rgba(9,24,47,.14)}
.section--light.section--light .callout{background:#fff;border-color:rgba(9,24,47,.14)}
.section--light.section--light .callout p{color:#3a566f}
.section--light.section--light .callout--warn{background:#fff8ea;border-color:rgba(138,90,0,.28);border-left-color:#8a5a00}
.section--light.section--light .callout--warn h3{color:#7a4f00}
.section--light.section--light .callout--bad{background:#fff2f2;border-color:rgba(179,38,44,.26);border-left-color:#b3262c}
.section--light.section--light .callout--bad h3{color:#a3232a}

/* --- 12. Start Here, stability bands, freshness stamps -------------------
   Added for team onboarding (new non-technical readers). */
.startcard{border:1px solid var(--line-hard);border-radius:var(--r);background:linear-gradient(140deg,rgba(0,242,255,.07),rgba(0,242,255,.02));padding:clamp(20px,2.6vw,30px);margin-top:8px}
.startgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:18px}
.startgrid h3{font-size:15px;margin-bottom:7px}
.startgrid p,.startgrid li{font-size:14.5px;line-height:1.55;color:var(--body)}
.never{margin-top:20px;border:1px solid rgba(255,128,128,.34);border-left:3px solid var(--bad);border-radius:var(--r-sm);background:rgba(255,128,128,.06);padding:15px 17px}
.never h3{font-size:14px;color:var(--bad);margin-bottom:8px}
.never ol{margin:0;padding-left:19px}
.never li{font-size:14.5px;line-height:1.6;color:var(--body);margin-bottom:5px}
.owners{width:100%;border-collapse:collapse;margin-top:12px}
.owners th,.owners td{text-align:left;padding:9px 12px;font-size:14px;border-bottom:1px solid var(--line-soft);vertical-align:top}
.owners th{color:var(--cyan);font-size:11px;letter-spacing:.09em;text-transform:uppercase}

/* Stability band: tells a new reader whether a section is settled or in motion */
.band{border-top:1px solid var(--line);margin-top:8px}
.band-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;padding:18px 0 2px}
.band-head h2{font-size:clamp(18px,2.1vw,25px);letter-spacing:-.01em}
.band-tag{display:inline-flex;align-items:center;gap:6px;padding:3px 11px;border-radius:100px;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;border:1px solid currentColor}
.band-tag--stable{color:var(--ok);background:var(--ok-bg)}
.band-tag--moving{color:var(--warn);background:var(--warn-bg)}
.band-head p{font-size:14.5px;color:var(--muted);flex:1 1 100%;max-width:82ch;margin-top:2px}

/* Per-section freshness stamp for content that decays */
.stamp{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:3px 10px;border:1px solid var(--line-soft);border-radius:100px;background:rgba(0,0,0,.22);font-size:12px;color:var(--muted);font-family:var(--mono)}
.stamp b{color:var(--body);font-weight:600}
.stamp--expires{border-color:rgba(255,198,92,.34);background:rgba(255,198,92,.07);color:var(--warn)}
.stamp--expires b{color:var(--warn)}
.section--light.section--light .stamp{background:#f0f5fa;border-color:rgba(9,24,47,.14);color:#4d6a85}
.section--light.section--light .stamp b{color:#0b2442}
.section--light.section--light .startgrid p,.section--light.section--light .startgrid li{color:#3a566f}
.section--light.section--light .owners th{color:#00707c}
.section--light.section--light .never li{color:#3a566f}
.section--light.section--light .never{background:#fff2f2;border-color:rgba(179,38,44,.26);border-left-color:#b3262c}
.section--light.section--light .never h3{color:#a3232a}

/* Partner economics table */
.tiers{width:100%;border-collapse:collapse;margin-top:14px}
.tiers th,.tiers td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line-soft);font-size:14.5px}
.tiers th{color:var(--cyan);font-size:11px;letter-spacing:.09em;text-transform:uppercase;background:rgba(0,242,255,.05)}
.tiers td b{color:var(--heading)}
.section--light.section--light .tiers th{color:#00646e;background:#e6faff}
.section--light.section--light .tiers td{color:#3a566f}
.section--light.section--light .tiers td b{color:#0b2442}
@media (max-width:560px){
  .owners th,.owners td,.tiers th,.tiers td{padding:8px 9px;font-size:13.5px}
}
