/* NousPolis production stylesheet. Generated from reviewed source modules. */

/* ---- styles.css ---- */
:root {
  --ink: #0b1726;
  --muted: #607084;
  --soft: #8b99a9;
  --paper: #f4f7fb;
  --white: #ffffff;
  --navy: #07111f;
  --navy-2: #0b1830;
  --navy-3: #112348;
  --line: rgba(18, 48, 85, 0.12);
  --line-dark: rgba(255,255,255,0.12);
  --blue: #2c6cff;
  --blue-2: #5c8eff;
  --cyan: #26c6da;
  --teal: #19b6a4;
  --violet: #7367f0;
  --gold: #e2b65e;
  --danger: #d95f67;
  --success: #1ebf8f;
  --shadow: 0 26px 80px rgba(12, 31, 59, 0.12);
  --shadow-soft: 0 16px 48px rgba(12, 31, 59, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection { background: rgba(44,108,255,.18); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section { padding: 112px 0; position: relative; }
.section-intro { max-width: 760px; margin-bottom: 54px; }
.section-intro.wide { max-width: 900px; }
.section-intro.centered { text-align: center; margin-inline: auto; }
.section-intro h2,
.maturity-heading h2,
.interface-copy h2,
.participation-copy h2,
.safeguards-copy h2,
.why-now-copy h2,
.join-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 680;
}
.section-intro p,
.interface-copy > p,
.participation-copy > p,
.safeguards-copy > p,
.maturity-heading > p,
.why-now-copy > p,
.join-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0;
}

.eyebrow {
  margin: 0 0 15px !important;
  color: var(--blue);
  font-size: .76rem !important;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: #86a9ff; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(6, 15, 29, .82);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav-shell {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 730; letter-spacing: -.025em; }
.brand-mark { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { font-size: .9rem; color: rgba(255,255,255,.74); transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; }
.primary-nav .nav-cta {
  color: #fff;
  border: 1px solid rgba(255,255,255,.19);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.nav-toggle { display: none; border: 0; background: transparent; color: #fff; width: 42px; height: 42px; align-items: center; justify-content: center; position: relative; }
.nav-toggle > span:not(.sr-only) { position: absolute; width: 20px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.nav-toggle > span:nth-child(2) { transform: translateY(-4px); }
.nav-toggle > span:nth-child(3) { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: rotate(-45deg); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero {
  min-height: 920px;
  padding: 156px 0 52px;
  color: #fff;
  background:
    radial-gradient(circle at 66% 30%, rgba(44,108,255,.12), transparent 30%),
    linear-gradient(150deg, #06101e 0%, #0a1830 52%, #07121f 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(5,13,25,.34));
  pointer-events: none;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(137,168,230,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,168,230,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(10px); opacity: .34; }
.hero-glow-a { width: 420px; height: 420px; right: -120px; top: 80px; background: radial-gradient(circle, rgba(38,198,218,.4), transparent 68%); }
.hero-glow-b { width: 360px; height: 360px; left: -130px; bottom: 90px; background: radial-gradient(circle, rgba(115,103,240,.3), transparent 68%); }

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { padding-top: 24px; }
.status-line {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 38px;
  color: rgba(255,255,255,.64);
  font-size: .78rem;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(25,182,164,.09), 0 0 22px rgba(25,182,164,.6); }
.status-divider { color: rgba(255,255,255,.24); }
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(3.55rem, 6.8vw, 6.45rem);
  line-height: .93;
  letter-spacing: -.068em;
  font-weight: 650;
}
.hero h1 span {
  display: block;
  color: #8bb0ff;
  background: linear-gradient(90deg, #ffffff 0%, #81a9ff 54%, #70e0da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-principle { margin: 28px 0 0; font-size: 1.08rem; color: rgba(255,255,255,.72); }
.hero-principle strong { color: #fff; font-weight: 650; }
.hero-lede { margin: 20px 0 0; max-width: 650px; color: rgba(255,255,255,.68); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(80,133,255,.38); outline-offset: 3px; }
.button-primary { background: #fff; color: #0b1726; box-shadow: 0 12px 36px rgba(0,0,0,.16); }
.button-primary:hover { box-shadow: 0 16px 44px rgba(0,0,0,.23); }
.button-glass { color: #fff; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.button-glass:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 28px; color: rgba(255,255,255,.48); font-size: .76rem; }
.hero-trust span::before { content: "·"; margin-right: 8px; color: #6de0d3; }

.governance-canvas {
  height: 630px;
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at center, rgba(55,106,203,.18), transparent 33%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: 0 40px 110px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.governance-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(144,174,230,.25) .7px, transparent .7px);
  background-size: 22px 22px;
  opacity: .23;
}
.canvas-label { position: absolute; z-index: 5; top: 20px; left: 22px; display: flex; align-items: center; gap: 8px; font-size: .72rem; color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: .12em; }
.canvas-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px rgba(38,198,218,.7); }
.network-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow { fill: none; stroke: rgba(94,145,255,.22); stroke-width: 1.2; stroke-dasharray: 6 9; animation: dash 14s linear infinite; }
.path-b, .path-d { stroke: rgba(69,214,198,.2); animation-direction: reverse; animation-duration: 16s; }
.path-e { stroke: rgba(226,182,94,.22); }
@keyframes dash { to { stroke-dashoffset: -120; } }

.signal-card {
  position: absolute;
  z-index: 4;
  width: 180px;
  padding: 14px 15px 13px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(11,24,48,.82);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.signal-card small { display: block; color: rgba(255,255,255,.43); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.signal-card strong { display: block; margin-top: 2px; color: #fff; font-size: .9rem; }
.signal-card > span { display: block; margin-top: 3px; color: rgba(255,255,255,.45); font-size: .65rem; line-height: 1.3; }
.signal-icon { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #8fc9ff; background: rgba(44,108,255,.12); }
.citizens-icon { display: flex; align-items: end; justify-content: center; gap: 2px; }
.citizens-icon i { width: 5px; height: 5px; border-radius: 50%; background: #79d9cf; box-shadow: 0 6px 0 -1px #79d9cf; }
.signal-citizens { top: 75px; left: 20px; }
.signal-evidence { top: 70px; right: 22px; }
.signal-institutions { bottom: 88px; left: 20px; }
.signal-review { bottom: 92px; right: 18px; }

.issue-core {
  position: absolute;
  z-index: 5;
  top: 194px;
  left: 50%;
  width: 290px;
  transform: translateX(-50%);
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(125,167,255,.28);
  background: linear-gradient(145deg, rgba(26,52,100,.96), rgba(11,27,54,.96));
  box-shadow: 0 24px 62px rgba(0,0,0,.28), 0 0 70px rgba(44,108,255,.1);
}
.issue-topline { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.48); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.live-chip { color: #91ddd4; background: rgba(25,182,164,.11); border: 1px solid rgba(25,182,164,.2); padding: 4px 7px; border-radius: 999px; }
.issue-core h2 { margin: 15px 0 2px; font-size: 1.32rem; letter-spacing: -.035em; }
.issue-core > p { margin: 0; color: rgba(255,255,255,.44); font-size: .75rem; }
.issue-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 20px; }
.issue-metrics div { padding: 10px 7px; border-radius: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); text-align: center; }
.issue-metrics span { display: block; font-size: 1.02rem; color: #fff; font-weight: 700; }
.issue-metrics small { display: block; color: rgba(255,255,255,.4); font-size: .58rem; line-height: 1.2; }
.issue-stage { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: rgba(255,255,255,.58); font-size: .68rem; }
.issue-stage span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 12px rgba(92,142,255,.7); }

.decision-gate {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 66px;
  width: 320px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 15px;
  border: 1px solid rgba(226,182,94,.18);
  background: rgba(39,31,24,.48);
  backdrop-filter: blur(12px);
}
.decision-gate small { display: block; color: rgba(255,255,255,.4); font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; }
.decision-gate strong { display: block; font-size: .8rem; color: #fff; }
.authority-lock { padding: 6px 8px; border-radius: 999px; color: #f0cc84; background: rgba(226,182,94,.1); font-size: .58rem; white-space: nowrap; }
.learning-loop { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.31); font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.learning-loop i { font-style: normal; color: rgba(104,214,201,.54); }

.hero-footnote { position: relative; z-index: 3; margin-top: 44px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.5); font-size: .78rem; }
.hero-footnote strong { color: rgba(255,255,255,.78); }
.mini-rule { width: 34px; height: 1px; background: rgba(255,255,255,.22); }

.intro-section { background: #fff; }
.paradigm-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.paradigm { border-radius: var(--radius-lg); padding: 28px; min-height: 370px; border: 1px solid var(--line); }
.paradigm.legacy { background: #f8fafc; }
.paradigm.modern { background: linear-gradient(145deg, #0a1830, #10264d); color: #fff; box-shadow: var(--shadow-soft); }
.paradigm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.paradigm-head span { font-weight: 700; font-size: .86rem; }
.paradigm-head small { color: var(--soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.modern .paradigm-head small { color: rgba(255,255,255,.4); }
.paradigm > p { margin: 28px 0 0; font-size: .87rem; color: var(--muted); max-width: 520px; }
.modern > p { color: rgba(255,255,255,.52); }
.legacy-flow { display: flex; align-items: stretch; gap: 7px; flex-wrap: wrap; }
.legacy-flow div { flex: 1 1 110px; min-height: 62px; display: grid; place-items: center; text-align: center; border: 1px solid #dde5ef; background: #fff; border-radius: 12px; color: #6e7d8f; font-size: .75rem; }
.legacy-flow i { align-self: center; color: #a9b4c1; font-style: normal; }
.modern-loop { position: relative; width: min(310px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 1px dashed rgba(122,162,246,.28); }
.modern-loop::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 1px solid rgba(49,195,180,.16); }
.loop-center { position: absolute; z-index: 2; inset: 88px; display: grid; place-items: center; align-content: center; text-align: center; border-radius: 50%; background: linear-gradient(145deg, rgba(44,108,255,.22), rgba(25,182,164,.09)); border: 1px solid rgba(121,166,255,.28); }
.loop-center strong { font-size: .9rem; line-height: 1.15; }
.loop-center span { margin-top: 5px; font-size: .56rem; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .08em; }
.loop-node { position: absolute; z-index: 3; min-width: 76px; padding: 7px 9px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.78); text-align: center; font-size: .63rem; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.loop-n1 { top: -9px; left: 50%; transform: translateX(-50%); }
.loop-n2 { top: 19%; right: -25px; }
.loop-n3 { bottom: 19%; right: -24px; }
.loop-n4 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.loop-n5 { bottom: 19%; left: -24px; }
.loop-n6 { top: 19%; left: -24px; }

.transformations { background: var(--paper); }
.transform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.transform-card { position: relative; min-height: 260px; padding: 24px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.transform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(44,108,255,.2); }
.transform-axis { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .84rem; }
.transform-axis span { color: #91a0b1; }
.transform-axis i { font-style: normal; color: #b6c0cb; }
.transform-axis strong { color: var(--ink); }
.transform-card p { position: relative; z-index: 2; max-width: 300px; margin: 17px 0 0; color: var(--muted); font-size: .86rem; }
.spark { position: absolute; left: 22px; right: 22px; bottom: 19px; height: 64px; display: flex; align-items: end; gap: 7px; }
.spark i { flex: 1; height: 20%; border-radius: 5px 5px 2px 2px; background: linear-gradient(to top, rgba(44,108,255,.16), rgba(44,108,255,.04)); }
.spark i:nth-child(2) { height: 34%; } .spark i:nth-child(3) { height: 48%; } .spark i:nth-child(4) { height: 68%; } .spark i:nth-child(5) { height: 88%; background: linear-gradient(to top, rgba(25,182,164,.23), rgba(25,182,164,.05)); }
.mini-ledger { position: absolute; left: 24px; bottom: 25px; width: 120px; display: grid; gap: 7px; }
.mini-ledger i { height: 7px; border-radius: 8px; background: #e6edf6; }
.mini-ledger i:nth-child(1) { width: 100%; } .mini-ledger i:nth-child(2) { width: 76%; background: #d6e5ff; } .mini-ledger i:nth-child(3) { width: 88%; }
.mini-loop { position: absolute; right: 26px; bottom: 11px; font-size: 5rem; line-height: 1; color: rgba(25,182,164,.12); font-weight: 300; }
.mini-network { position: absolute; left: 25px; bottom: 28px; width: 126px; height: 58px; }
.mini-network b, .mini-network i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: rgba(44,108,255,.2); border: 1px solid rgba(44,108,255,.24); }
.mini-network b { left: 54px; top: 20px; background: rgba(25,182,164,.22); border-color: rgba(25,182,164,.26); }
.mini-network i:nth-child(2) { left: 0; top: 2px; } .mini-network i:nth-child(3) { right: 0; top: 0; } .mini-network i:nth-child(4) { right: 14px; bottom: 0; }
.mini-network::before, .mini-network::after { content:""; position:absolute; height:1px; background:#dce5f2; transform-origin:left; }
.mini-network::before { width: 58px; left: 10px; top: 13px; transform: rotate(18deg); }
.mini-network::after { width: 64px; left: 64px; top: 30px; transform: rotate(-19deg); }
.mini-people { position: absolute; left: 24px; bottom: 28px; display: flex; gap: 9px; }
.mini-people i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d6e2f0; background: linear-gradient(145deg, #f4f7fb, #e5edf7); box-shadow: 0 12px 0 -6px rgba(44,108,255,.08); }
.mini-people i:nth-child(2) { border-color: rgba(25,182,164,.3); background: rgba(25,182,164,.08); }
.mini-map { position: absolute; left: 24px; right: 24px; bottom: 24px; height: 56px; border-radius: 14px; background: linear-gradient(145deg, #f4f8fd, #eef3fa); border: 1px solid #e1e9f3; }
.mini-map i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(44,108,255,.08); }
.mini-map i:nth-child(1) { left: 20%; top: 50%; } .mini-map i:nth-child(2) { left: 51%; top: 24%; background: var(--teal); } .mini-map i:nth-child(3) { right: 15%; bottom: 20%; background: var(--violet); }

.system-section { background: #fff; }
.lifecycle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.life-card { position: relative; padding: 23px 21px; min-height: 220px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fbfcfe); overflow: hidden; }
.life-card::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; right: -45px; bottom: -48px; background: radial-gradient(circle, rgba(44,108,255,.08), transparent 70%); }
.life-card > span { color: #a3afbc; font-size: .66rem; letter-spacing: .08em; }
.life-icon { width: 39px; height: 39px; display: grid; place-items: center; margin: 18px 0 14px; border-radius: 12px; background: #eef4ff; color: var(--blue); font-size: 1.1rem; }
.life-card:nth-child(3n+2) .life-icon { background: #edfafa; color: var(--teal); }
.life-card:nth-child(3n) .life-icon { background: #f1efff; color: var(--violet); }
.life-card h3 { margin: 0 0 7px; font-size: 1rem; }
.life-card p { margin: 0; color: var(--muted); font-size: .79rem; }
.nonbinding-rule { margin-top: 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 16px; border: 1px solid rgba(226,182,94,.22); background: #fffbf2; }
.nonbinding-rule span { color: #a0792e; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.nonbinding-rule strong { text-align: right; font-size: .9rem; }

.interface-section { background: linear-gradient(180deg, #f4f7fb, #edf2f8); }
.interface-layout { display: grid; grid-template-columns: .73fr 1.27fr; gap: 50px; align-items: center; }
.interface-copy .feature-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 12px; color: #334255; font-size: .86rem; }
.feature-list span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: .64rem; font-weight: 800; }
.future-note { padding: 16px; border-radius: 14px; background: rgba(44,108,255,.05); border: 1px solid rgba(44,108,255,.1); font-size: .76rem !important; line-height: 1.5; }
.future-note strong { color: var(--blue); }
.policy-ui { border-radius: 26px; overflow: hidden; color: #e8eef8; background: #0b1729; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 35px 90px rgba(12,31,59,.24); }
.ui-topbar { min-height: 44px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: #0a1424; }
.ui-brand { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.54); font-size: .63rem; }
.ui-brand span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(38,198,218,.6); }
.ui-badge { padding: 4px 7px; border-radius: 999px; color: #a8bde7; background: rgba(92,142,255,.08); border: 1px solid rgba(92,142,255,.15); font-size: .56rem; white-space: nowrap; }
.ui-header { padding: 22px 22px 18px; display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.ui-header small { color: #657a9b; font-size: .58rem; letter-spacing: .11em; }
.ui-header h3 { margin: 5px 0 1px; font-size: 1.16rem; letter-spacing: -.025em; }
.ui-header p { margin: 0; color: #6f829f; font-size: .66rem; }
.ui-status { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 999px; background: rgba(44,108,255,.1); color: #91afff; font-size: .61rem; }
.ui-status span { width: 6px; height: 6px; border-radius: 50%; background: #6c95ff; box-shadow: 0 0 10px rgba(92,142,255,.7); }
.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 22px 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.025); }
.ui-kpis div { padding: 13px 12px; border-right: 1px solid rgba(255,255,255,.06); }
.ui-kpis div:last-child { border-right: 0; }
.ui-kpis strong { display: block; font-size: 1.18rem; }
.ui-kpis span { display: block; color: #7f91ad; font-size: .55rem; }
.ui-kpis small { display: block; color: #576b8a; font-size: .49rem; margin-top: 2px; }
.ui-content-grid { padding: 0 22px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.ui-panel { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.026); border: 1px solid rgba(255,255,255,.07); min-height: 180px; }
.ui-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.ui-panel-head strong { font-size: .67rem; }
.ui-panel-head span { color: #5f7492; font-size: .51rem; }
.priority-row { display: grid; grid-template-columns: 74px 1fr 20px; gap: 7px; align-items: center; margin: 9px 0; }
.priority-row > span, .priority-row > small { color: #6f829e; font-size: .52rem; }
.priority-row > small { text-align: right; }
.priority-row > i { display: block; height: 5px; background: #14243d; border-radius: 99px; overflow: hidden; }
.priority-row b { display:block; width: var(--bar); height: 100%; border-radius:inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.frame-pill { display: flex; align-items: center; gap: 8px; padding: 7px 8px; margin: 6px 0; border-radius: 9px; color: #71839f; background: rgba(255,255,255,.022); font-size: .55rem; }
.frame-pill i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; color: #8094b3; background: #14233a; font-style: normal; font-size: .48rem; }
.frame-pill.active { color: #cbd8ed; background: rgba(44,108,255,.08); border: 1px solid rgba(44,108,255,.12); }
.frame-pill.active i { color: #9db5ff; background: rgba(44,108,255,.16); }
.forecast-row { margin: 10px 0 13px; }
.forecast-row > div { display: flex; align-items: center; justify-content: space-between; font-size: .58rem; }
.forecast-row > div span { color: #7c8eaa; }
.forecast-row > div strong { color: #dde8f8; }
.forecast-row > i { display:block; height: 6px; margin: 4px 0; border-radius:99px; background:#14243d; overflow:hidden; }
.forecast-row > i b { display:block; width:var(--forecast); height:100%; background:linear-gradient(90deg,#566fca,#36b6b7); border-radius:inherit; }
.forecast-row > small { display:block; color:#586b87; font-size:.47rem; }
.authority-state { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.05); font-size:.53rem; }
.authority-state span { color:#60738f; }
.authority-state strong { color:#bac8dc; font-size:.52rem; }
.authority-state .open-state { color:#71d4c6; }
.review-chip { margin-top:10px; padding:7px 8px; border-radius:8px; color:#d0ad68; background:rgba(226,182,94,.07); font-size:.49rem; }

.participation-section { background: #fff; }
.participation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.participation-visual { min-height: 580px; position: relative; border-radius: 30px; background: linear-gradient(145deg, #0c1a30, #122b52); overflow: hidden; box-shadow: var(--shadow); }
.participation-visual::before { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(126,161,222,.28) .7px, transparent .7px); background-size:23px 23px; opacity:.24; }
.civic-orbit { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; border:1px dashed rgba(126,165,235,.19); }
.orbit-one { width:330px; height:330px; }
.orbit-two { width:470px; height:470px; }
.civic-center { position:absolute; z-index:3; left:50%; top:50%; transform:translate(-50%,-50%); width:210px; height:210px; border-radius:50%; display:grid; align-content:center; justify-items:center; text-align:center; padding:28px; color:#fff; background:radial-gradient(circle at 40% 35%, rgba(57,109,213,.45), rgba(13,34,67,.95)); border:1px solid rgba(118,164,255,.25); box-shadow:0 24px 65px rgba(0,0,0,.22); }
.civic-center small { color:#7f9bc8; font-size:.56rem; text-transform:uppercase; letter-spacing:.08em; }
.civic-center strong { margin-top:6px; font-size:1.13rem; }
.civic-center span { margin-top:7px; color:#7086a9; font-size:.55rem; }
.citizen-cluster { position:absolute; z-index:4; min-width:110px; padding:12px; border-radius:13px; border:1px solid rgba(255,255,255,.09); background:rgba(12,26,50,.83); color:#fff; box-shadow:0 12px 30px rgba(0,0,0,.18); }
.citizen-cluster i { display:inline-block; width:17px; height:17px; border-radius:50%; margin-right:-4px; border:2px solid #132b51; background:linear-gradient(145deg,#5c8eff,#27b7b5); }
.citizen-cluster span { display:block; margin-top:7px; color:#8196b6; font-size:.58rem; }
.cluster-a { left:34px; top:80px; } .cluster-b { right:28px; top:118px; } .cluster-c { left:42px; bottom:84px; }
.participation-output { position:absolute; z-index:4; right:28px; bottom:52px; width:190px; display:flex; gap:9px; padding:12px; border-radius:13px; color:#fff; background:rgba(25,182,164,.08); border:1px solid rgba(25,182,164,.15); }
.participation-output > span { color:#5ed4c5; }
.participation-output small { display:block; color:#618e8b; font-size:.48rem; text-transform:uppercase; letter-spacing:.07em; }
.participation-output strong { display:block; margin-top:2px; font-size:.62rem; line-height:1.35; }
.participation-copy .participation-points { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:28px; }
.participation-points div { padding:16px; border-radius:14px; background:#f7f9fc; border:1px solid var(--line); }
.participation-points span { color:var(--blue); font-size:.65rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.participation-points p { margin:6px 0 0; color:var(--muted); font-size:.76rem; }
.callout-copy { margin-top:18px !important; padding-left:16px; border-left:2px solid var(--teal); font-size:.84rem !important; }
.callout-copy strong { color:var(--ink); }

.scale-section { background: var(--paper); }
.jurisdiction-map { display:grid; grid-template-columns:1.3fr .7fr; gap:22px; align-items:stretch; }
.jurisdiction-stack { display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:1fr; gap:10px; }
.jurisdiction { min-height:150px; padding:18px; border-radius:16px; background:#fff; border:1px solid var(--line); position:relative; overflow:hidden; }
.jurisdiction::after { content:""; position:absolute; right:-30px; bottom:-30px; width:100px; height:100px; border-radius:50%; background:var(--jcolor,rgba(44,108,255,.06)); }
.jurisdiction > span { color:#9ca9b8; font-size:.58rem; }
.jurisdiction strong { display:block; margin-top:20px; font-size:.93rem; }
.jurisdiction small { display:block; margin-top:4px; color:var(--muted); font-size:.63rem; }
.j-city { --jcolor:rgba(25,182,164,.09); } .j-region { --jcolor:rgba(115,103,240,.08); } .j-state { --jcolor:rgba(226,182,94,.1); } .j-nation { --jcolor:rgba(44,108,255,.1); } .j-global { --jcolor:rgba(38,198,218,.1); }
.subsidiarity-card { padding:28px; border-radius:20px; color:#fff; background:linear-gradient(145deg,#0b1930,#122a50); box-shadow:var(--shadow-soft); }
.subsidiarity-card .eyebrow { color:#77d3c7; }
.subsidiarity-card h3 { margin:0 0 14px; font-size:1.55rem; line-height:1.12; letter-spacing:-.03em; }
.subsidiarity-card > p:not(.eyebrow) { margin:0; color:rgba(255,255,255,.53); font-size:.8rem; }
.context-chips { display:flex; flex-wrap:wrap; gap:7px; margin-top:28px; }
.context-chips span { padding:6px 9px; border-radius:999px; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.04); color:rgba(255,255,255,.58); font-size:.58rem; }

.ai-role-section { background:#fff; }
.role-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.role-card { padding:28px; border-radius:22px; border:1px solid var(--line); }
.role-card.can { background:linear-gradient(145deg,#f6fbff,#f3fbfa); }
.role-card.cannot { background:linear-gradient(145deg,#fff9f7,#fffdf9); }
.role-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.role-head span { font-size:1.1rem; font-weight:720; }
.role-head i { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; font-style:normal; font-size:1.15rem; background:#fff; border:1px solid var(--line); }
.can .role-head i { color:var(--teal); } .cannot .role-head i { color:#c47962; }
.role-card ul { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.role-card li { position:relative; padding-left:20px; color:var(--muted); font-size:.82rem; }
.role-card li::before { content:""; position:absolute; left:0; top:.65em; width:7px; height:7px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px rgba(25,182,164,.07); }
.cannot li::before { background:#d18a72; box-shadow:0 0 0 4px rgba(209,138,114,.07); }

.power-section { background:linear-gradient(180deg,#f4f7fb,#eef3f9); }
.power-system { display:grid; grid-template-columns:1fr 44px 1fr 44px 1fr; align-items:center; }
.power-system article { min-height:280px; padding:26px; border-radius:20px; background:#fff; border:1px solid var(--line); }
.power-system article > span { color:#a0adbb; font-size:.6rem; }
.power-symbol { width:45px; height:45px; display:grid; place-items:center; margin:23px 0 18px; border-radius:14px; color:var(--blue); background:#eef4ff; font-size:1.05rem; }
.power-system article:nth-of-type(2) .power-symbol { color:var(--teal); background:#edfafa; }
.power-system article:nth-of-type(3) .power-symbol { color:var(--violet); background:#f2efff; }
.power-system h3 { margin:0; font-size:1.08rem; }
.power-system p { margin:6px 0 0; font-weight:650; font-size:.79rem; }
.power-system small { display:block; margin-top:14px; color:var(--muted); font-size:.71rem; line-height:1.5; }
.power-link { height:1px; background:linear-gradient(90deg,#d8e2ef,#a9c3ef,#d8e2ef); position:relative; }
.power-link::after { content:""; position:absolute; right:0; top:50%; width:7px; height:7px; border-top:1px solid #9fb8df; border-right:1px solid #9fb8df; transform:translateY(-50%) rotate(45deg); }

.safeguards-section { background:#fff; }
.safeguards-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:54px; align-items:start; }
.safeguards-copy { position:sticky; top:112px; }
.safeguards-copy blockquote { margin:30px 0 0; padding:20px; border-radius:16px; background:#0b1830; color:#fff; font-size:.95rem; line-height:1.45; letter-spacing:-.01em; }
.safeguard-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.safeguard-grid article { min-height:190px; padding:20px; border-radius:17px; border:1px solid var(--line); background:#fafbfd; }
.safeguard-grid span { color:var(--blue); font-size:.58rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.safeguard-grid strong { display:block; margin-top:16px; font-size:.9rem; }
.safeguard-grid p { margin:7px 0 0; color:var(--muted); font-size:.74rem; }

.maturity-section { background:#09162a; color:#fff; overflow:hidden; }
.maturity-heading { display:grid; grid-template-columns:1fr .8fr; gap:44px; align-items:end; }
.maturity-heading > p { color:rgba(255,255,255,.5); }
.maturity-roadmap { position:relative; display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin-top:62px; }
.road-line { position:absolute; z-index:0; top:22px; left:7%; right:7%; height:1px; background:rgba(255,255,255,.12); }
.road-line span { display:block; width:19%; height:100%; background:linear-gradient(90deg,var(--teal),var(--blue)); box-shadow:0 0 18px rgba(44,108,255,.3); }
.road-stage { position:relative; z-index:2; padding-top:60px; }
.road-node { position:absolute; top:0; left:0; width:45px; height:45px; display:grid; place-items:center; border-radius:50%; background:#111f36; border:1px solid rgba(255,255,255,.12); color:#7890b2; font-size:.68rem; font-weight:800; }
.road-stage.current .road-node { color:#07111f; background:#77d6ca; border-color:#77d6ca; box-shadow:0 0 0 8px rgba(119,214,202,.07),0 0 28px rgba(119,214,202,.2); }
.road-stage.building .road-node { color:#fff; background:#2d66d8; border-color:#4f7ee0; box-shadow:0 0 0 8px rgba(44,108,255,.06),0 0 28px rgba(44,108,255,.18); }
.road-state { color:#536987; font-size:.52rem; text-transform:uppercase; letter-spacing:.09em; }
.current .road-state { color:#75cfc3; } .building .road-state { color:#82a2f5; }
.road-stage h3 { margin:7px 0 7px; font-size:.82rem; }
.road-stage p { margin:0; color:#60738e; font-size:.65rem; line-height:1.45; }
.maturity-rule { margin-top:48px; display:flex; align-items:center; gap:18px; padding:20px 22px; border-radius:17px; border:1px solid rgba(226,182,94,.14); background:rgba(226,182,94,.055); }
.maturity-rule > span { width:45px; height:45px; display:grid; place-items:center; flex:0 0 auto; border-radius:14px; color:#e8c77d; background:rgba(226,182,94,.08); font-size:1.3rem; }
.maturity-rule strong { display:block; font-size:.88rem; }
.maturity-rule p { margin:4px 0 0; color:#71839d; font-size:.7rem; }

.why-now-section { color:#fff; background:linear-gradient(145deg,#102b52,#092039 60%,#071521); overflow:hidden; }
.why-now-section::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 74% 40%,rgba(38,198,218,.11),transparent 30%); }
.why-now-layout { position:relative; z-index:2; display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:center; }
.why-now-copy > p { color:rgba(255,255,255,.54); }
.why-now-emphasis { margin-top:24px !important; color:#fff !important; font-weight:650; }
.capacity-visual { min-height:390px; padding:28px; border-radius:26px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); backdrop-filter:blur(10px); }
.capacity-axis { display:flex; justify-content:space-between; gap:14px; color:#657d9b; font-size:.58rem; text-transform:uppercase; letter-spacing:.08em; }
.capacity-bars { height:260px; display:grid; grid-template-columns:repeat(6,1fr); gap:10px; align-items:end; padding-top:24px; border-bottom:1px solid rgba(255,255,255,.1); }
.capacity-bars div { height:var(--height); min-height:55px; border-radius:9px 9px 0 0; position:relative; background:linear-gradient(to top,rgba(44,108,255,.3),rgba(38,198,218,.18)); border:1px solid rgba(110,156,244,.11); border-bottom:0; }
.capacity-bars span { position:absolute; left:50%; bottom:12px; transform:translateX(-50%) rotate(-90deg); color:#8094b0; font-size:.52rem; white-space:nowrap; }
.capacity-note { display:flex; align-items:center; gap:9px; margin-top:19px; color:#7890ae; font-size:.64rem; }
.capacity-note span { width:7px; height:7px; border-radius:50%; background:#e0b55e; box-shadow:0 0 13px rgba(224,181,94,.42); }

.join-section { background:#f3f6fa; padding:80px 0; }
.join-panel { position:relative; overflow:hidden; display:grid; grid-template-columns:1.2fr .8fr; gap:50px; align-items:center; padding:58px; border-radius:32px; color:#fff; background:linear-gradient(135deg,#0a1830,#163669); box-shadow:var(--shadow); }
.join-orb { position:absolute; width:360px; height:360px; border-radius:50%; right:-110px; top:-160px; background:radial-gradient(circle,rgba(53,197,191,.28),transparent 68%); }
.join-copy, .join-actions { position:relative; z-index:2; }
.join-copy > p { color:rgba(255,255,255,.56); }
.join-actions { display:grid; gap:10px; justify-items:stretch; }
.join-actions .button { width:100%; }
.join-actions p { margin:8px 0 0; color:rgba(255,255,255,.42); font-size:.68rem; text-align:center; }

.site-footer { padding:64px 0 24px; color:#dbe5f3; background:#06101e; }
.footer-grid { display:grid; grid-template-columns:1.25fr .65fr .45fr; gap:60px; align-items:start; }
.footer-brand { color:#fff; }
.footer-primary > p { max-width:510px; margin:15px 0 0; color:#62758f; font-size:.75rem; }
.footer-status { display:flex; gap:12px; align-items:flex-start; }
.footer-status > span { width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center; border-radius:12px; background:rgba(25,182,164,.08); color:#6dcfc3; border:1px solid rgba(25,182,164,.12); font-size:.66rem; font-weight:800; }
.footer-status p { margin:2px 0 0; color:#60738e; font-size:.68rem; line-height:1.55; }
.footer-status strong { color:#889bb3; font-weight:600; }
.footer-links { display:grid; gap:8px; }
.footer-links a { color:#71849f; font-size:.7rem; }
.footer-links a:hover { color:#fff; }
.footer-bottom { margin-top:48px; padding-top:20px; border-top:1px solid rgba(255,255,255,.07); display:flex; justify-content:space-between; gap:20px; color:#465a74; font-size:.62rem; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.delay-1 { transition-delay:.08s; }
.delay-2 { transition-delay:.16s; }

@media (max-width: 1120px) {
  .hero-layout { grid-template-columns: 1fr; gap:48px; }
  .hero { padding-top:132px; }
  .hero-copy { max-width:820px; }
  .governance-canvas { width:min(760px,100%); margin-inline:auto; }
  .interface-layout { grid-template-columns:1fr; }
  .interface-copy { max-width:760px; }
  .participation-layout { gap:40px; }
  .power-system { grid-template-columns:1fr 22px 1fr 22px 1fr; }
  .maturity-roadmap { grid-template-columns:repeat(3,1fr); row-gap:40px; }
  .road-line { display:none; }
}

@media (max-width: 900px) {
  .section { padding:88px 0; }
  .primary-nav { position:absolute; top:70px; left:20px; right:20px; display:none; padding:14px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(6,15,29,.96); box-shadow:0 20px 60px rgba(0,0,0,.25); backdrop-filter:blur(18px); }
  .primary-nav.open { display:grid; }
  .primary-nav a { padding:10px 9px; }
  .primary-nav .nav-cta { text-align:center; margin-top:4px; }
  .nav-toggle { display:flex; }
  .paradigm-grid,
  .participation-layout,
  .jurisdiction-map,
  .safeguards-layout,
  .why-now-layout,
  .join-panel,
  .maturity-heading { grid-template-columns:1fr; }
  .transform-grid { grid-template-columns:1fr 1fr; }
  .lifecycle-grid { grid-template-columns:1fr 1fr; }
  .participation-copy { order:-1; }
  .participation-visual { min-height:520px; }
  .power-system { grid-template-columns:1fr; gap:11px; }
  .power-link { width:1px; height:22px; justify-self:center; background:linear-gradient(#d8e2ef,#a9c3ef,#d8e2ef); }
  .power-link::after { right:auto; bottom:0; top:auto; left:50%; transform:translateX(-50%) rotate(135deg); }
  .power-system article { min-height:auto; }
  .safeguards-copy { position:static; }
  .role-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-primary { grid-column:1/-1; }
}

@media (max-width: 680px) {
  .shell { width:min(calc(100% - 28px), var(--shell)); }
  .nav-shell { height:68px; }
  .hero { padding-top:112px; min-height:auto; }
  .status-line { margin-bottom:28px; font-size:.68rem; }
  .hero h1 { font-size:clamp(3.05rem,15vw,4.6rem); }
  .hero-principle,.hero-lede { font-size:.96rem; }
  .hero-actions .button { width:100%; }
  .hero-trust { gap:7px 12px; }
  .governance-canvas { height:570px; border-radius:24px; }
  .signal-card { width:145px; padding:11px; }
  .signal-card strong { font-size:.73rem; }
  .signal-card > span { font-size:.55rem; }
  .signal-icon { display:none; }
  .signal-citizens { top:62px; left:12px; }
  .signal-evidence { top:62px; right:12px; }
  .signal-institutions { left:12px; bottom:93px; }
  .signal-review { right:12px; bottom:93px; }
  .issue-core { top:188px; width:260px; padding:18px; }
  .decision-gate { width:280px; bottom:62px; }
  .authority-lock { display:none; }
  .hero-footnote { align-items:flex-start; line-height:1.5; }
  .mini-rule { margin-top:.7em; flex:0 0 auto; }
  .section { padding:72px 0; }
  .section-intro h2,.maturity-heading h2,.interface-copy h2,.participation-copy h2,.safeguards-copy h2,.why-now-copy h2,.join-copy h2 { font-size:clamp(2.15rem,11vw,3.25rem); }
  .section-intro { margin-bottom:36px; }
  .paradigm { padding:20px; }
  .legacy-flow { display:grid; grid-template-columns:1fr; }
  .legacy-flow i { transform:rotate(90deg); text-align:center; }
  .modern-loop { width:260px; }
  .loop-center { inset:75px; }
  .transform-grid,.lifecycle-grid,.safeguard-grid,.jurisdiction-stack,.ui-content-grid,.participation-copy .participation-points { grid-template-columns:1fr; }
  .transform-card { min-height:220px; }
  .nonbinding-rule { align-items:flex-start; flex-direction:column; }
  .nonbinding-rule strong { text-align:left; }
  .policy-ui { border-radius:19px; }
  .ui-topbar { align-items:flex-start; flex-direction:column; padding:12px 14px; }
  .ui-header { padding:17px 14px 14px; flex-direction:column; }
  .ui-kpis { margin:0 14px 12px; grid-template-columns:1fr 1fr; }
  .ui-kpis div { border-bottom:1px solid rgba(255,255,255,.06); }
  .ui-content-grid { padding:0 14px 14px; }
  .participation-visual { min-height:500px; }
  .orbit-two { width:390px; height:390px; }
  .orbit-one { width:280px; height:280px; }
  .civic-center { width:180px; height:180px; }
  .citizen-cluster { min-width:95px; }
  .cluster-a { left:18px; top:58px; } .cluster-b { right:16px; top:98px; } .cluster-c { left:20px; bottom:78px; }
  .participation-output { right:14px; bottom:40px; width:165px; }
  .jurisdiction { min-height:120px; }
  .role-card { padding:21px; }
  .maturity-roadmap { grid-template-columns:1fr 1fr; }
  .road-stage { padding-top:55px; }
  .capacity-bars { gap:5px; }
  .capacity-bars span { display:none; }
  .join-panel { padding:34px 24px; border-radius:24px; }
  .footer-grid { grid-template-columns:1fr; gap:34px; }
  .footer-primary { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
}

@media (max-width: 420px) {
  .governance-canvas { height:620px; }
  .signal-card { width:132px; }
  .signal-citizens,.signal-evidence { top:58px; }
  .issue-core { top:202px; width:242px; }
  .signal-institutions,.signal-review { bottom:105px; }
  .decision-gate { width:246px; bottom:66px; }
  .learning-loop { font-size:.5rem; }
  .maturity-roadmap { grid-template-columns:1fr; }
  .road-stage { min-height:110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .reveal { opacity:1; transform:none; }
}


/* ---- site-refresh.css ---- */
html { font-size: 18px; }

.honesty-strip {
  margin-top: 1.15rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid #77e4c8;
  border-radius: 12px;
  background: rgba(4, 15, 28, 0.58);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.55;
}

.honesty-strip strong { color: #fff; }

.hero-trust {
  position: relative;
  padding-top: 1.6rem;
}

.hero-trust::before {
  content: "DESIGN GOALS";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.52);
}

.canvas-reality {
  position: absolute;
  z-index: 7;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  padding: 0.62rem 0.78rem;
  border: 1px solid rgba(119, 228, 200, 0.28);
  border-radius: 10px;
  background: rgba(5, 16, 30, 0.88);
  color: rgba(255,255,255,.8);
  font-size: 0.72rem;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

.canvas-reality strong { color: #a8f1dd; }

.status-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 .8rem;
  padding: .36rem .62rem;
  border: 1px solid rgba(44, 108, 255, .28);
  border-left-width: 4px;
  border-radius: 999px;
  background: #eef4ff;
  color: #194ba9;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-intro p.status-label { color: #194ba9; }

#n1-status .status-label,
#limits .status-label,
#evidence-next-steps .status-label {
  border-color: rgba(25, 182, 164, .34);
  border-left-color: #168574;
  background: #e8f7f3;
  color: #176553;
}

.case-preview-grid .status-label,
#urban-planning .status-label,
#climate-policy .status-label {
  border-style: dashed;
  border-left-style: solid;
  border-color: rgba(226, 182, 94, .54);
  border-left-color: #e2b65e;
  background: #fff8e9;
  color: #72500d;
}

.hero .status-label {
  border-color: rgba(124, 163, 255, .5);
  border-left-color: #7ca3ff;
  background: rgba(8, 24, 44, .82);
  color: #dbe6ff;
}

#overview .status-label {
  border-color: rgba(119, 228, 200, .46);
  border-left-color: #77e4c8;
  color: #c7f7eb;
}

.case-preview-grid .status-label {
  background: rgba(8, 24, 44, .82);
  color: #fff3d5;
}

.process-flow {
  counter-reset: public-stage;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 58rem;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}

.process-flow > li {
  counter-increment: public-stage;
  min-height: 0;
  overflow: visible;
  padding-top: 4.35rem;
}

.process-flow > li::before {
  content: counter(public-stage, decimal-leading-zero);
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(44, 108, 255, .22);
  border-radius: 50%;
  background: #eef4ff;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.process-flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 100%;
  right: auto;
  bottom: auto;
  left: 2.3rem;
  width: 2px;
  height: 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(rgba(44, 108, 255, .42), rgba(25, 182, 164, .28));
}

.process-flow > li:last-child::after { content: none; }

.process-flow h3,
.process-flow > li > strong {
  display: block;
  margin: 0 0 .55rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.process-flow p + p { margin-top: .75rem; }
.process-flow p { max-width: 72ch; line-height: 1.65; }

.transform-grid.role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transform-grid.role-grid > * { min-width: 0; }
.transform-grid.role-grid h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.transform-grid.role-grid .transform-card p { max-width: none; line-height: 1.65; }

.case-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-preview-grid > * { min-width: 0; }
.case-preview-grid .paradigm { min-height: 0; }
.case-preview-grid .paradigm > .status-label { margin: 0 0 .8rem; font-size: .66rem; }
.case-preview-grid .paradigm > p:not(.status-label) { margin-top: 1rem; color: rgba(255,255,255,.72); line-height: 1.65; }
.case-preview-grid h3 { margin: .2rem 0 0; font-size: 1.5rem; }
.case-preview-grid a { display: inline-block; margin-top: 1.25rem; color: #9fe8d4; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.status-summary-section { background: linear-gradient(180deg, #eef5f6, #f7f9fa); }

.status-summary {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(12, 42, 62, .12);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 45px rgba(10, 42, 61, .08);
}

.status-summary .section-intro { margin-bottom: 1.25rem; }
.status-summary code { overflow-wrap: anywhere; }
.status-summary .status-evidence { margin-top: 0; }
.status-summary .status-evidence a { text-decoration: underline; text-underline-offset: 3px; }

.case-study,
#urban-planning,
#climate-policy {
  width: 100%;
}

.case-study .section-intro > p:not(.status-label):not(.eyebrow),
#urban-planning .section-intro > p:not(.status-label):not(.eyebrow),
#climate-policy .section-intro > p:not(.status-label):not(.eyebrow),
#detailed-flow .section-intro > p:not(.status-label):not(.eyebrow),
#information-flow .section-intro > p:not(.status-label):not(.eyebrow),
#model-comparison .section-intro > p:not(.status-label):not(.eyebrow),
#limits .section-intro > p:not(.status-label):not(.eyebrow),
#evidence-next-steps .section-intro > p:not(.status-label):not(.eyebrow) {
  max-width: 72ch;
  line-height: 1.7;
}

.case-study .meaning-card p,
#urban-planning .meaning-card p,
#climate-policy .meaning-card p {
  max-width: 72ch;
  line-height: 1.7;
}

.data-table-wrap,
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}

.data-table-wrap table,
.table-wrap table,
.comparison-table,
#model-comparison table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.55;
}

.data-table-wrap caption,
.table-wrap caption,
.comparison-table caption,
#model-comparison table caption {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 750;
  text-align: left;
}

.data-table-wrap th,
.data-table-wrap td,
.table-wrap th,
.table-wrap td,
.comparison-table th,
.comparison-table td,
#model-comparison table th,
#model-comparison table td {
  padding: .8rem .9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table-wrap th:last-child,
.data-table-wrap td:last-child,
.table-wrap th:last-child,
.table-wrap td:last-child,
.comparison-table th:last-child,
.comparison-table td:last-child,
#model-comparison table th:last-child,
#model-comparison table td:last-child { border-right: 0; }

.data-table-wrap tbody tr:last-child > *,
.table-wrap tbody tr:last-child > *,
.comparison-table tbody tr:last-child > *,
#model-comparison table tbody tr:last-child > * { border-bottom: 0; }

.data-table-wrap thead,
.table-wrap thead,
.comparison-table thead,
#model-comparison table thead { background: #eef4ff; }

.data-table-wrap tbody th,
.table-wrap tbody th,
.comparison-table tbody th,
#model-comparison table tbody th { background: #f8fafc; }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
  font-size: .8rem;
  white-space: nowrap;
}

.nav-shell { gap: 1.25rem; }
.primary-nav { gap: clamp(.85rem, 1.25vw, 1.35rem); }

.language-switcher > span { display: none; }

.language-switcher select {
  appearance: none;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 999px;
  background-color: color-mix(in srgb, currentColor 7%, transparent);
  color: inherit;
  font: inherit;
  padding: .44rem 1.55rem .44rem .68rem;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - .76rem) 52%, calc(100% - .52rem) 52%;
  background-size: .27rem .27rem, .27rem .27rem;
  background-repeat: no-repeat;
}

.language-switcher select option { color: #111827; background: #fff; }

.join-section { position: relative; overflow: hidden; }

.why-it-matters-section {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #102b52, #092039 60%, #071521);
}

.why-it-matters-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 40%, rgba(38,198,218,.11), transparent 30%);
  pointer-events: none;
}

.why-it-matters-section .why-now-layout { position: relative; z-index: 2; }
.why-it-matters-section .why-now-copy > p { color: rgba(255,255,255,.72); }
.why-it-matters-section .why-now-copy h2 { color: #fff; }

#overview .nonbinding-rule,
#overview .nonbinding-rule strong,
#how-overview .nonbinding-rule,
#how-overview .nonbinding-rule strong { color: #102d3e; }
#overview .nonbinding-rule span,
#how-overview .nonbinding-rule span { color: #76510b; }

.power-section { scroll-margin-top: 6rem; }

.status-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244,248,251,.96), rgba(234,242,247,.98));
}

.status-section::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -14rem;
  top: -18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 151, 138, .12), transparent 68%);
  pointer-events: none;
}

.status-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, .65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.status-summary-top {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-bottom: .5rem;
}

.status-summary-top strong { font-size: 1.45rem; color: #0c293b; }
.status-summary p { margin: 0; color: #506875; font-size: .88rem; line-height: 1.5; }

.gate-overall {
  display: inline-flex;
  align-items: center;
  padding: .32rem .55rem;
  border-radius: 999px;
  background: #fff1db;
  border: 1px solid #efc67d;
  color: #76510b;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.gate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.gate-card {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  padding: .95rem 1rem;
  border: 1px solid rgba(14, 49, 69, .11);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 8px 24px rgba(11, 42, 60, .05);
}

.gate-letter {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: #0c293b;
  color: white;
  font-weight: 800;
}

.gate-copy strong { display: block; color: #102d3e; font-size: .9rem; line-height: 1.25; }
.gate-copy small { display: block; margin-top: .16rem; color: #69808c; font-size: .7rem; line-height: 1.35; }

.gate-state {
  min-width: 4.55rem;
  text-align: center;
  padding: .32rem .52rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.gate-state.pass { background: #e3f7ef; border: 1px solid #9ed9c7; color: #176553; }
.gate-state.pending { background: #fff1db; border: 1px solid #efc67d; color: #76510b; }
.gate-card.pending { border-color: rgba(222, 159, 45, .35); background: #fffbf4; }

.status-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  align-items: center;
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #0b2333;
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  line-height: 1.5;
}

.status-evidence strong { color: #fff; }
.status-evidence a { color: #9fe8d4; font-weight: 700; text-decoration: none; }
.status-evidence a:hover { text-decoration: underline; }

.spec-section { background: #07131f; color: #fff; }
.spec-section .section-intro h2,
.spec-section .section-intro p { color: inherit; }
.spec-section .section-intro > p:last-child { color: rgba(255,255,255,.68); }

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.artifact-card {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.3rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  text-decoration: none;
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.artifact-card:hover { transform: translateY(-3px); border-color: rgba(119,228,200,.5); background: rgba(255,255,255,.08); }
.artifact-card span { color: #79dfc3; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.artifact-card strong { margin: .75rem 0 .5rem; font-size: 1.02rem; line-height: 1.35; }
.artifact-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .78rem; line-height: 1.55; }
.artifact-card small { margin-top: auto; padding-top: 1.2rem; color: rgba(255,255,255,.45); font-size: .66rem; word-break: break-word; }

.repo-disclosure {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  line-height: 1.55;
}
.repo-disclosure strong { color: #fff; }

.project-section { background: #f7f9fa; }
.project-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.2rem; align-items: start; }
.project-facts { display: grid; gap: .75rem; }
.project-fact { padding: 1rem 1.1rem; border: 1px solid rgba(14,49,69,.1); border-radius: 14px; background: #fff; }
.project-fact span { display:block; color:#708590; font-size:.65rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.project-fact strong { display:block; margin-top:.32rem; color:#102d3e; font-size:.9rem; line-height:1.4; }
.project-note { margin-top: 1rem; padding: 1rem 1.1rem; border-left: 3px solid #23978a; background: #eef7f5; color: #355967; font-size: .8rem; line-height: 1.6; }

.join-actions .join-tertiary { display: inline-block; margin-top: .7rem; color: rgba(255,255,255,.78); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.footer-artifacts { display:flex; flex-wrap:wrap; gap:.55rem 1rem; margin-top:.6rem; }
.footer-artifacts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-primary > p,
.site-footer .footer-status p,
.site-footer .footer-status strong,
.site-footer .footer-bottom,
.site-footer .footer-repo-state { color: #8ca0b8; }

.primary-nav a[aria-current="page"],
.footer-links a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"] { position: relative; }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #77e4c8;
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 162px 0 96px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 28%, rgba(44,108,255,.16), transparent 32%),
    linear-gradient(150deg, #06101e 0%, #0a1830 54%, #07121f 100%);
}

.about-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, .88fr);
  gap: 5rem;
  align-items: center;
}

.about-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.15rem, 6vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 650;
}

.about-hero-lede {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
}

.about-boundary-mini {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(119,228,200,.25);
  border-left: 3px solid #77e4c8;
  border-radius: 14px;
  background: rgba(5,16,30,.58);
}
.about-boundary-mini span { display:block; margin-bottom:.3rem; color:#95e8d6; font-size:.64rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.about-boundary-mini strong { display:block; font-size:.92rem; line-height:1.5; }

.name-equation {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .8rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}

.name-term {
  min-height: 15rem;
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px;
  background: rgba(4,14,27,.58);
}
.name-greek { display:block; margin-bottom:.8rem; font-family: Georgia, serif; font-size:2.5rem; color:#fff; }
.name-term small, .name-result small { display:block; color:#77e4c8; font-size:.62rem; font-weight:800; letter-spacing:.15em; }
.name-term strong { display:block; margin:.42rem 0 .55rem; font-size:1rem; }
.name-term p { margin:0; color:rgba(255,255,255,.58); font-size:.78rem; line-height:1.55; }
.name-operator { display:grid; place-items:center; color:rgba(255,255,255,.35); font-size:1.4rem; }
.name-result { grid-column:1 / -1; padding:1rem 1.1rem; border-radius:14px; background:linear-gradient(90deg, rgba(35,151,138,.17), rgba(44,108,255,.12)); border:1px solid rgba(119,228,200,.2); }
.name-result strong { display:block; margin:.3rem 0 .15rem; font-size:1.25rem; }
.name-result span { color:rgba(255,255,255,.62); font-size:.74rem; }

.name-section { background:#f4f7fb; }
.meaning-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.2rem; }
.meaning-card { position:relative; padding:1.7rem; border:1px solid rgba(14,49,69,.1); border-radius:22px; background:#fff; box-shadow:0 14px 42px rgba(11,42,60,.055); }
.meaning-number { position:absolute; top:1.2rem; right:1.35rem; color:#c9d5db; font-size:.72rem; font-weight:800; letter-spacing:.12em; }
.meaning-card h3 { margin:.2rem 0 1rem; max-width:520px; color:#102d3e; font-size:1.45rem; line-height:1.18; letter-spacing:-.025em; }
.meaning-card > p:not(.eyebrow) { color:#58707c; font-size:.88rem; line-height:1.65; }
.meaning-list { display:grid; gap:.45rem; margin-top:1.1rem; }
.meaning-list span { position:relative; padding:.62rem .75rem .62rem 1.7rem; border-radius:10px; background:#f5f9fa; color:#31505f; font-size:.76rem; }
.meaning-list span::before { content:""; position:absolute; left:.72rem; top:50%; width:6px; height:6px; border-radius:50%; background:#23978a; transform:translateY(-50%); }

.boundary-section { padding-top:0; background:#f4f7fb; }
.boundary-card { position:relative; overflow:hidden; padding:clamp(2rem,5vw,4.5rem); border-radius:30px; color:#fff; background:linear-gradient(145deg,#07131f,#0d2331); box-shadow:0 26px 80px rgba(9,34,50,.14); }
.boundary-card::after { content:""; position:absolute; width:24rem; height:24rem; right:-9rem; top:-10rem; border-radius:50%; background:radial-gradient(circle,rgba(119,228,200,.18),transparent 68%); }
.boundary-card blockquote { position:relative; z-index:1; margin:.4rem 0 1.25rem; max-width:920px; font-size:clamp(2.3rem,5vw,4.8rem); line-height:1; letter-spacing:-.055em; font-weight:650; }
.boundary-card > p:not(.eyebrow) { position:relative; z-index:1; max-width:880px; margin:0; color:rgba(255,255,255,.67); font-size:.95rem; line-height:1.65; }
.boundary-flow { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:.55rem; align-items:center; margin-top:2rem; }
.boundary-flow span, .boundary-flow strong { padding:.62rem .75rem; border-radius:10px; font-size:.72rem; }
.boundary-flow span { border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); color:rgba(255,255,255,.74); }
.boundary-flow strong { border:1px solid rgba(119,228,200,.25); background:rgba(119,228,200,.11); color:#c7f7eb; }
.boundary-flow i { color:rgba(255,255,255,.32); font-style:normal; }

.building-section { background:#fff; }
.building-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.building-card { min-height:17rem; padding:1.35rem; border:1px solid rgba(14,49,69,.1); border-radius:18px; background:#f8fafb; }
.building-card > span { color:#23978a; font-size:.66rem; font-weight:800; letter-spacing:.13em; }
.building-card h3 { margin:2.2rem 0 .7rem; color:#102d3e; font-size:1.08rem; }
.building-card p { margin:0; color:#607783; font-size:.78rem; line-height:1.6; }

.today-section { background:linear-gradient(180deg,#eef5f6,#f7f9fa); }
.today-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.7fr); gap:2.5rem; align-items:center; }
.today-panel { padding:1.6rem; border:1px solid rgba(14,49,69,.1); border-radius:22px; background:#fff; box-shadow:0 18px 52px rgba(11,42,60,.07); }
.today-stage { display:inline-flex; padding:.34rem .52rem; border-radius:999px; background:#e4f4f0; color:#176553; font-size:.62rem; font-weight:800; letter-spacing:.1em; }
.today-panel h3 { margin:1rem 0 .6rem; color:#102d3e; font-size:1.65rem; letter-spacing:-.03em; }
.today-panel p { margin:0; color:#5f7580; font-size:.84rem; line-height:1.6; }
.today-actions { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.25rem; }
.today-actions .button-secondary { border:1px solid rgba(14,49,69,.12); background:#f4f7f8; color:#173747; }
.about-join { position:relative; }

@media (max-width: 1120px) {
  .about-hero-layout { grid-template-columns:1fr; gap:3rem; }
  .name-equation { max-width:760px; }
  .building-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1180px) {
  .primary-nav {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(6,15,29,.96);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    backdrop-filter: blur(18px);
  }

  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 10px 9px; }
  .primary-nav .nav-cta { margin-top: 4px; text-align: center; }
  .nav-toggle { display: flex; }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
    gap: .75rem;
    padding: .3rem .55rem;
  }

  .language-switcher > span { display: inline; opacity: .68; }
  .language-switcher select { min-width: 10rem; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .transform-grid.role-grid,
  .case-preview-grid {
    grid-template-columns: 1fr;
  }

  .case-preview-grid .paradigm { width: 100%; }

  .data-table-wrap table,
  .table-wrap table,
  .comparison-table,
  #model-comparison table { min-width: 40rem; }
}

@media (max-width: 980px) {
  .status-head, .project-layout, .today-layout { grid-template-columns: 1fr; }
  .artifact-grid { grid-template-columns: 1fr 1fr; }
  .meaning-grid { grid-template-columns:1fr; }
}

@media (max-width: 680px) {
  .gate-grid, .artifact-grid, .building-grid { grid-template-columns: 1fr; }
  .gate-card { grid-template-columns: 2.15rem minmax(0,1fr); }
  .gate-state { grid-column: 2; justify-self: start; }
  .canvas-reality { position: relative; left: auto; right: auto; bottom: auto; margin: .8rem; }
  .about-hero { padding-top:130px; }
  .name-equation { grid-template-columns:1fr; }
  .name-operator { min-height:2rem; }
  .name-result { grid-column:auto; }
  .boundary-flow { align-items:stretch; }
  .boundary-flow i { display:none; }
  .boundary-flow span, .boundary-flow strong { width:100%; }
}

@media (max-width: 420px) {
  .section { padding: 56px 0; }

  .hero-actions .button,
  .join-actions .button {
    width: 100%;
    height: auto;
    min-height: 48px;
    padding-block: .7rem;
    text-align: center;
    white-space: normal;
  }

  .status-summary { padding: 1.2rem; }

  .data-table-wrap table,
  .table-wrap table,
  .comparison-table,
  #model-comparison table { min-width: 36rem; }
}


/* ---- hero-flow.css ---- */
/* Homepage hero explainer: conceptual process, not a product dashboard. */

/* Keep the full public-facing proposition visible above the fold on common desktop sizes. */
#overview .hero-copy h1 {
  font-size: clamp(3.15rem, 5.25vw, 5.15rem);
  line-height: .95;
}

.hero-flow-card {
  position: relative;
  min-width: 0;
  padding: 1.55rem;
  border: 1px solid rgba(112, 194, 255, .34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(38, 198, 218, .11), transparent 28%),
    linear-gradient(145deg, rgba(16, 43, 79, .78), rgba(7, 24, 49, .76));
  box-shadow: 0 32px 90px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), transparent 34%),
    radial-gradient(circle at 15% 90%, rgba(115,103,240,.08), transparent 30%);
}

.hero-flow-top,
.hero-flow-steps,
.hero-flow-boundary { position: relative; z-index: 1; }

.hero-flow-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.hero-flow-top h2 {
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 620;
}

.hero-flow-status {
  display: grid;
  gap: .45rem;
  justify-items: end;
  flex: 0 0 auto;
}

.hero-flow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .42rem .66rem;
  border: 1px solid rgba(174, 192, 225, .24);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: rgba(228,236,255,.72);
  font-size: .62rem;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-flow-chip--active {
  border-color: rgba(92, 225, 209, .52);
  background: rgba(25,182,164,.08);
  color: #a9f6ea;
}

.hero-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
}

.hero-flow-step {
  position: relative;
  min-width: 0;
  min-height: 14.8rem;
  padding: 2.65rem .55rem .85rem;
  border: 1px solid rgba(112, 194, 255, .24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  text-align: center;
}

.hero-flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 3;
  top: 43%;
  right: -.72rem;
  width: .9rem;
  color: #72d8ff;
  font-size: 1.05rem;
  font-weight: 750;
  text-shadow: 0 0 14px rgba(73, 199, 255, .7);
}

.hero-flow-step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  transform: translateX(-50%);
  border: 1px solid rgba(112, 194, 255, .38);
  border-radius: 50%;
  background: linear-gradient(180deg, #153965, #0a2344);
  color: #fff;
  font-size: .75rem;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.hero-flow-icon {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  margin: .25rem auto .8rem;
  color: #68e1e9;
}

.hero-flow-icon--blue { color: #6ea7ff; }
.hero-flow-icon--violet { color: #9a87ff; }
.hero-flow-icon svg { width: 100%; height: 100%; }

.hero-flow-step h3 {
  margin: 0 0 .38rem;
  color: #f7f9ff;
  font-size: .82rem;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.hero-flow-step p {
  margin: 0;
  color: rgba(226, 235, 255, .68);
  font-size: .67rem;
  line-height: 1.45;
}

.hero-flow-boundary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem .8rem;
  align-items: center;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(112, 194, 255, .22);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.hero-flow-boundary-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #8f80ff;
}

.hero-flow-boundary-icon svg { width: 100%; height: 100%; }

.hero-flow-boundary p {
  margin: 0;
  color: #f5f8ff;
  font-size: .78rem;
  line-height: 1.4;
}

/* Small action beneath the explanatory boundary, visually distinct from the flow itself. */
.hero-flow-boundary a {
  grid-column: 1 / -1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: .42rem .72rem;
  border: 1px solid rgba(169,246,234,.28);
  border-radius: 999px;
  background: rgba(119,228,200,.075);
  color: #bdf8ec;
  font-size: .65rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-flow-boundary a:hover,
.hero-flow-boundary a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(169,246,234,.5);
  background: rgba(119,228,200,.12);
}

@media (max-width: 1120px) {
  #overview .hero-copy h1 { font-size: clamp(3.15rem, 8vw, 5rem); }
  .hero-flow-card { width: min(760px, 100%); margin-inline: auto; }
}

@media (max-width: 760px) {
  #overview .hero-copy h1 { font-size: clamp(2.85rem, 12.5vw, 4.25rem); }
  .hero-flow-card { padding: 1.15rem; border-radius: 22px; }
  .hero-flow-top { flex-direction: column; }
  .hero-flow-status { grid-template-columns: repeat(2, auto); justify-items: start; }
  .hero-flow-steps { grid-template-columns: 1fr; gap: .65rem; padding-top: 0; }
  .hero-flow-step {
    display: grid;
    grid-template-columns: 2.1rem 3rem minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: .75rem;
    align-items: center;
    min-height: 0;
    padding: .85rem;
    text-align: left;
  }
  .hero-flow-step-number {
    position: static;
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 2rem;
    height: 2rem;
    transform: none;
  }
  .hero-flow-icon {
    grid-row: 1 / span 2;
    grid-column: 2;
    width: 2.55rem;
    height: 2.55rem;
    margin: 0;
  }
  .hero-flow-step h3 { grid-column: 3; margin: 0 0 .12rem; }
  .hero-flow-step p { grid-column: 3; }
  .hero-flow-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -.72rem;
    left: 1.35rem;
    width: 1rem;
    text-align: center;
  }
  .hero-flow-boundary { grid-template-columns: auto 1fr; }
  .hero-flow-boundary a {
    grid-column: 1 / -1;
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .hero-flow-status { grid-template-columns: 1fr; }
  .hero-flow-boundary { gap: .65rem; }
}


/* ---- site-refinement.css ---- */
/* Focused trust, stewardship, status, and homepage-compression refinements. */

/* Reclaim premium above-the-fold space when the full desktop navigation is visible. */
@media (min-width: 1181px) {
  #overview.hero { padding-top: 118px; }
}

/* Hero microcopy should remain readable even though the overall site uses an 18px root size. */
.hero-flow-chip { font-size: .78rem; }
.hero-flow-step h3 { font-size: .92rem; }
.hero-flow-step p { font-size: .8rem; line-height: 1.5; }
.hero-flow-boundary p { font-size: .88rem; }
.hero-flow-boundary a { font-size: .8rem; }

/* Once the homepage join panel is detached, the Why section becomes a single strong thesis column. */
.home-compressed .why-it-matters-section .why-now-layout {
  grid-template-columns: minmax(0, 920px);
}
.home-compressed .why-it-matters-section .why-now-copy { max-width: 920px; }
.home-compressed .public-flow-section { display: none; }

/* Compact bridge from the five-step hero to the full process page. */
.process-bridge {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(44,108,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  color: #536a79;
  font-size: .92rem;
  line-height: 1.6;
}
.process-bridge strong { color: #102d3e; }
.process-bridge a { color: #194ba9; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

/* Four clear involvement paths. */
.join-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .75rem;
  margin: 1.35rem 0 1.5rem;
}
.join-role-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.join-role-card strong { display:block; margin-bottom:.42rem; color:#fff; font-size:.92rem; line-height:1.35; }
.join-role-card span { color:rgba(255,255,255,.68); font-size:.86rem; line-height:1.55; }
.join-role-card a { display:inline-block; margin-top:.8rem; color:#a9f6ea; font-size:.82rem; font-weight:750; text-decoration:underline; text-underline-offset:3px; }

/* Visual-audit corrections: avoid nested desktop grids compressing homepage content. */
.why-it-matters-section .why-now-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.why-it-matters-section .why-now-copy { max-width: 920px; }
.why-it-matters-section .join-panel {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.why-it-matters-section .join-role-grid { margin: .5rem 0 .35rem; }
.why-it-matters-section .join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-items: initial;
}
.why-it-matters-section .join-actions .button { width: auto; }

/* The generic disclosure style originated in dark sections. Light-page uses need real contrast. */
.repo-disclosure {
  border-color: rgba(14,49,69,.12);
  background: #f2f7fb;
  color: #4d6674;
}
.repo-disclosure strong { color: #102d3e; }
.repo-disclosure a { color: #1657ad; text-decoration: underline; text-underline-offset: 3px; }
.spec-section .repo-disclosure,
.hero .repo-disclosure,
.why-it-matters-section .repo-disclosure {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
}
.spec-section .repo-disclosure strong,
.hero .repo-disclosure strong,
.why-it-matters-section .repo-disclosure strong { color: #fff; }
.spec-section .repo-disclosure a,
.hero .repo-disclosure a,
.why-it-matters-section .repo-disclosure a { color: #a9f6ea; }

/* Peer PDLS cards should have equal visual weight; status-page asymmetry remains intentional. */
#pdls .status-overview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* Preserve readable separation where an intro contains more than one explanatory paragraph. */
.section-intro > p:not(.eyebrow):not(.status-label) + p:not(.eyebrow):not(.status-label) { margin-top: .9rem; }
.status-summary .repo-disclosure + p { margin-top: 1rem; }

/* Founder / stewardship disclosure. */
.stewardship-section { background: linear-gradient(180deg,#f7f9fa,#eef5f6); }
.stewardship-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.7fr);
  gap: 2rem;
  align-items: start;
}
.stewardship-card {
  padding: clamp(1.4rem,3vw,2rem);
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(11,42,60,.07);
}
.stewardship-card h3 { margin:.15rem 0 .85rem; color:#102d3e; font-size:1.45rem; letter-spacing:-.025em; }
.stewardship-card p { margin:.7rem 0 0; color:#58707c; font-size:.95rem; line-height:1.7; }
.stewardship-facts { display:grid; gap:.7rem; }
.stewardship-fact { padding:1rem; border:1px solid rgba(14,49,69,.1); border-radius:14px; background:#fff; }
.stewardship-fact span { display:block; color:#708590; font-size:.74rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.stewardship-fact strong { display:block; margin-top:.32rem; color:#102d3e; font-size:.96rem; line-height:1.45; }
.stewardship-disclosure { margin-top:1rem; padding:1rem 1.1rem; border-left:3px solid #23978a; background:#eaf6f3; color:#355967; font-size:.9rem; line-height:1.65; }

/* Dedicated status page. */
.status-hero {
  padding: 132px 0 72px;
  color:#fff;
  background: radial-gradient(circle at 74% 30%, rgba(25,182,164,.14), transparent 30%), linear-gradient(150deg,#06101e,#0a1830 54%,#07121f);
}
.status-hero h1 { margin:0; max-width:900px; font-size:clamp(3rem,6vw,5.6rem); line-height:.96; letter-spacing:-.055em; font-weight:650; }
.status-hero p:not(.eyebrow) { max-width:820px; color:rgba(255,255,255,.72); font-size:1.04rem; line-height:1.65; }
.status-page-main { background:#f4f7fb; }
.status-overview-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.5fr); gap:1rem; margin-top:1.5rem; }
.status-overview-card { padding:1.25rem; border:1px solid rgba(14,49,69,.1); border-radius:16px; background:#fff; }
.status-overview-card span { display:block; color:#708590; font-size:.76rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.status-overview-card strong { display:block; margin-top:.4rem; color:#102d3e; font-size:1.2rem; }
.status-overview-card p { margin:.5rem 0 0; color:#5c7480; font-size:.9rem; line-height:1.65; }
.status-gate-list { display:grid; gap:.7rem; margin-top:1.5rem; }
.status-gate-row { display:grid; grid-template-columns:2.15rem minmax(0,1fr) auto; gap:.9rem; align-items:start; padding:1rem 1.05rem; border:1px solid rgba(14,49,69,.1); border-radius:14px; background:#fff; }
.status-gate-code { display:grid; place-items:center; width:2.15rem; height:2.15rem; border-radius:50%; background:#eef4ff; color:#194ba9; font-size:.78rem; font-weight:800; }
.status-gate-row strong { display:block; color:#102d3e; font-size:.98rem; }
.status-gate-row p { margin:.32rem 0 0; color:#607783; font-size:.9rem; line-height:1.6; }
.status-gate-state { padding:.3rem .55rem; border-radius:999px; font-size:.76rem; font-weight:800; letter-spacing:.07em; }
.status-gate-state.pass { background:#e7f6f1; color:#176553; border:1px solid #b9dfd4; }
.status-gate-state.pending { background:#fff1db; color:#76510b; border:1px solid #efc67d; }
.status-residual { margin-top:1.5rem; padding:1.25rem; border-radius:16px; background:#0b1c2c; color:#fff; }
.status-residual h3 { margin:0 0 .7rem; }
.status-residual ul { margin:.4rem 0 0; padding-left:1.15rem; color:rgba(255,255,255,.76); }
.status-residual li + li { margin-top:.45rem; }
.status-source { margin-top:1rem; color:#607783; font-size:.88rem; line-height:1.65; }
.status-source code { overflow-wrap:anywhere; }

/* --------------------------------------------------------------------------
   Human-readability and visual-consistency pass
   -------------------------------------------------------------------------- */

/* The site deliberately uses the platform UI stack; Inter is not shipped. */
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

/* Fixed-header anchors must land below the header rather than underneath it. */
html { scroll-padding-top: 104px; }
main [id], section[id] { scroll-margin-top: 104px; }

/* Homepage status is a compact human summary, not a second technical record. */
#n1-status .status-summary { display:grid; gap:1.15rem; }
#n1-status .section-intro { margin-bottom:0; }
#n1-status .status-evidence { margin-top:0; }
#n1-status .status-evidence a { font-size:.86rem; }

/* How-it-works hero: intentional two-column composition rather than a floating card. */
#how-overview .hero-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .72fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
}
#how-overview .hero-copy { max-width: 760px; }
#how-overview .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 5.2vw, 4.9rem);
  line-height: .99;
}
#how-overview .nonbinding-rule {
  align-self:center;
  width:100%;
  max-width:430px;
  margin-inline:auto;
}

/* Fair, scan-friendly comparison of three different governance mechanisms. */
.governance-comparison {
  overflow:hidden;
  margin-top:1.5rem;
  border:1px solid rgba(14,49,69,.12);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 45px rgba(10,42,61,.07);
}
.comparison-row {
  display:grid;
  grid-template-columns:minmax(150px,.85fr) repeat(3,minmax(0,1.25fr));
}
.comparison-row + .comparison-row { border-top:1px solid rgba(14,49,69,.09); }
.comparison-row > * {
  min-width:0;
  padding:1rem 1.05rem;
  border-left:1px solid rgba(14,49,69,.08);
  color:#4d6674;
  font-size:.9rem;
  line-height:1.6;
}
.comparison-row > :first-child { border-left:0; }
.comparison-head { background:#0b1c2c; }
.comparison-head > * { color:#fff; font-size:.9rem; font-weight:800; }
.comparison-head > :first-child { color:rgba(255,255,255,.62); text-transform:uppercase; letter-spacing:.08em; font-size:.74rem; }
.comparison-row-label { background:#f4f7fb; color:#254657; font-weight:800; }
.comparison-note {
  margin:1rem 0 0;
  padding:1rem 1.1rem;
  border-left:3px solid #23978a;
  background:#eef8f5;
  color:#3f606d;
  font-size:.9rem;
  line-height:1.65;
}
.comparison-sources { margin-top:1rem; color:#5f7682; font-size:.86rem; line-height:1.65; }
.comparison-sources a { color:#1657ad; text-decoration:underline; text-underline-offset:3px; }

/* Avoid an orphaned third card in the climate example. */
#climate-policy .meaning-grid > :last-child:nth-child(odd) { grid-column:1 / -1; }

/* Give useful secondary text a genuine reading size. */
.repo-disclosure,
.status-evidence,
.footer-primary p,
.footer-status p { font-size:max(.86rem, 14px); }

/* Harmonize the brand mark when older pages contain text-only brand links. */
.brand-polished .brand-mark { flex:0 0 auto; }

@media (max-width: 1180px) {
  html { scroll-padding-top: 88px; }
  main [id], section[id] { scroll-margin-top: 88px; }
  #how-overview .hero-layout { grid-template-columns:1fr; gap:1.8rem; }
  #how-overview .hero-copy { max-width:760px; }
  #how-overview .nonbinding-rule { max-width:760px; margin-inline:0; }
}

@media (max-width: 900px) {
  .comparison-row { grid-template-columns:1fr; }
  .comparison-head { display:none; }
  .comparison-row > * { border-left:0; }
  .comparison-row > *:not(.comparison-row-label)::before {
    content:attr(data-label);
    display:block;
    margin-bottom:.28rem;
    color:#708590;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .comparison-row > * + * { border-top:1px solid rgba(14,49,69,.06); }
  .comparison-row-label { padding-bottom:.75rem; }
}

@media (max-width: 980px) {
  .join-role-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stewardship-layout, .status-overview-grid { grid-template-columns:1fr; }
  #pdls .status-overview-grid { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .join-role-grid { grid-template-columns:1fr; }
  .status-gate-row { grid-template-columns:2.15rem minmax(0,1fr); }
  .status-gate-state { grid-column:2; justify-self:start; }
  .status-hero { padding-top:118px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size:clamp(2.65rem,12.5vw,3rem); }
  #how-overview .hero-copy h1 { font-size:clamp(2.55rem,12vw,2.9rem); }
}


/* ---- brand-fallback.css ---- */
/* Brand fallbacks for source markup that contains the NousPolis text only. */
.site-header .brand > span:only-child,
.site-footer .footer-brand > span:only-child {
  display: inline-flex;
  align-items: center;
}

.site-header .brand > span:only-child::before {
  content: "";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-right: 10px;
  background: url("/favicon.svg") center / contain no-repeat;
}

.site-footer .footer-brand > span:only-child::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-right: 9px;
  background: url("/favicon.svg") center / contain no-repeat;
}


/* ---- legal.css ---- */
/* Shared styles for the small legal/contact section of nouspolis.org. */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 18%, rgba(44,108,255,.13), transparent 30%),
    linear-gradient(150deg, #06101e 0%, #0a1830 55%, #07121f 100%);
}

.legal-hero .eyebrow { color: #86a9ff; }
.legal-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 650;
}

.legal-hero p:last-child {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
}

.legal-main {
  padding: 72px 0 100px;
  background: #f4f7fb;
}

.legal-prose {
  max-width: 860px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11,42,60,.06);
}

.legal-prose .legal-updated {
  margin: 0 0 2rem;
  color: #6b7e8c;
  font-size: .78rem;
}

.legal-prose h2 {
  margin: 2.2rem 0 .7rem;
  color: #102d3e;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose p,
.legal-prose li {
  color: #4f6674;
  font-size: .9rem;
  line-height: 1.72;
}

.legal-prose p { margin: .65rem 0; }
.legal-prose ul { margin: .75rem 0 1rem; padding-left: 1.25rem; }
.legal-prose li + li { margin-top: .42rem; }
.legal-prose a { color: #1d6b8f; text-decoration: underline; text-underline-offset: 3px; }
.legal-prose strong { color: #17384a; }

/* The involvement cards are reused from a dark section elsewhere on the site.
   Give them an explicit light-page treatment here so their descriptions,
   borders, and card surfaces remain visible on the Contact page. */
.legal-prose .join-role-grid {
  margin: 1.35rem 0 1.75rem;
}

.legal-prose .join-role-card {
  border-color: rgba(14,49,69,.11);
  background: #f7fafb;
}

.legal-prose .join-role-card strong {
  color: #17384a;
}

.legal-prose .join-role-card span {
  display: block;
  color: #5b727f;
}

.legal-prose .join-role-card a {
  color: #1d6b8f;
}

.legal-note {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid #23978a;
  border-radius: 10px;
  background: #eef7f5;
  color: #355967;
  font-size: .82rem;
  line-height: 1.6;
}

.contact-card {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 16px;
  background: #f7fafb;
}

.contact-card span {
  display: block;
  color: #708590;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-card a {
  display: inline-block;
  margin-top: .35rem;
  color: #102d3e;
  font-size: 1.08rem;
  font-weight: 700;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1rem;
}

.footer-legal-links a,
.footer-legal-links button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover { color: #dbe5f3; }

@media (max-width: 680px) {
  .legal-hero { padding: 118px 0 58px; }
  .legal-main { padding: 48px 0 72px; }
  .legal-prose { border-radius: 18px; }
}


/* ---- records.css ---- */
/* Human-readable presentation for authoritative Markdown technical records. */
.record-hero {
  padding: 132px 0 64px;
  color: #fff;
  background: radial-gradient(circle at 78% 25%, rgba(25,182,164,.14), transparent 28%), linear-gradient(150deg,#06101e,#0a1830 54%,#07121f);
}
.record-hero .shell { max-width: 1040px; }
.record-hero h1 { margin: 0; max-width: 920px; font-size: clamp(2.6rem,5vw,4.8rem); line-height: 1; letter-spacing: -.05em; font-weight: 650; }
.record-hero p:not(.eyebrow) { max-width: 820px; margin-top: 1rem; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.65; }
.record-main { background: #f4f7fb; }
.record-shell { max-width: 1040px; }
.record-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.2rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 16px;
  background: #fff;
}
.record-toolbar p { flex: 1 1 520px; margin: 0; color: #5b7280; font-size: .9rem; line-height: 1.65; }
.record-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.record-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .52rem .8rem;
  border: 1px solid rgba(14,49,69,.14);
  border-radius: 999px;
  color: #164c67;
  background: #f8fbfc;
  font-size: .8rem;
  font-weight: 780;
  text-decoration: none;
}
.record-actions a:hover { border-color: rgba(25,151,138,.45); background: #eef8f5; }
.record-document {
  padding: clamp(1.25rem,3vw,2.4rem);
  border: 1px solid rgba(14,49,69,.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(11,42,60,.06);
  color: #405d6c;
}
.record-document > :first-child { margin-top: 0; }
.record-document h2,
.record-document h3,
.record-document h4,
.record-document h5,
.record-document h6 { color: #102d3e; letter-spacing: -.02em; }
.record-document h2 { margin: 0 0 1rem; font-size: clamp(1.7rem,3vw,2.3rem); }
.record-document h3 { margin: 2rem 0 .75rem; padding-top: .4rem; font-size: 1.3rem; }
.record-document h4 { margin: 1.45rem 0 .6rem; font-size: 1.06rem; }
.record-document p,
.record-document li { font-size: .96rem; line-height: 1.72; }
.record-document p { margin: .8rem 0; }
.record-document ul,
.record-document ol { padding-left: 1.25rem; }
.record-document li + li { margin-top: .4rem; }
.record-document code {
  padding: .12rem .28rem;
  border-radius: 5px;
  background: #eef3f5;
  color: #163e52;
  font-size: .9em;
  overflow-wrap: anywhere;
}
.record-document pre {
  overflow-x: auto;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
  background: #0b1c2c;
  color: #eaf5f6;
}
.record-document pre code { padding: 0; background: transparent; color: inherit; }
.record-document blockquote {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-left: 3px solid #23978a;
  background: #eef8f5;
  color: #315865;
  font-size:.94rem;
  line-height:1.65;
}
.record-document a { color: #1657ad; text-underline-offset: 3px; }
.record-table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid rgba(14,49,69,.1); border-radius: 12px; -webkit-overflow-scrolling:touch; }
.record-document table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .84rem; }
.record-document th,
.record-document td { padding: .76rem .8rem; border-bottom: 1px solid rgba(14,49,69,.08); text-align: left; vertical-align: top; line-height: 1.55; }
.record-document th { background: #f1f6f8; color: #173b4e; font-weight: 800; }
.record-document tr:last-child td { border-bottom: 0; }
.record-loading,
.record-error { margin: 0; color: #6b7f8a; }
.record-noscript { margin-top: 1rem; padding: 1rem; border-left: 3px solid #c88116; background: #fff5e6; color: #654818; }

/* Consecutive Markdown metadata lines become a scannable definition grid. */
.record-meta-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.7rem;
  margin:1.15rem 0 1.7rem;
}
.record-meta-item {
  min-width:0;
  padding:.9rem 1rem;
  border:1px solid rgba(14,49,69,.1);
  border-radius:12px;
  background:#f8fbfc;
}
.record-meta-item dt {
  margin:0;
  color:#708590;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.record-meta-item dd {
  margin:.32rem 0 0;
  color:#24495a;
  font-size:.92rem;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.record-meta-item code { font-size:.88em; }

@media (max-width: 720px) {
  .record-hero { padding-top: 118px; }
  .record-toolbar { align-items: flex-start; }
  .record-actions { width: 100%; }
  .record-meta-grid { grid-template-columns:1fr; }
  .record-document { border-radius:16px; }
}


/* ---- status-provenance.css ---- */
/* Progressive disclosure for source-level audit provenance on public status pages. */
.status-provenance {
  margin-top: 1rem;
  max-width: 820px;
  border: 1px solid rgba(14,49,69,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.status-provenance summary {
  padding: .78rem .95rem;
  color: #315767;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  list-style-position: inside;
}
.status-provenance[open] summary { border-bottom: 1px solid rgba(14,49,69,.09); }
.status-provenance-body { padding: .9rem .95rem 1rem; }
.status-provenance dl { display: grid; grid-template-columns: 8.5rem minmax(0,1fr); gap: .5rem .85rem; margin: 0; }
.status-provenance dt { color: #708590; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.status-provenance dd { margin: 0; color: #466371; font-size: .84rem; line-height: 1.6; }
.status-provenance code { overflow-wrap: anywhere; }
.status-provenance-links { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin: .9rem 0 0; }
.status-provenance-links a { color: #1657ad; font-size: .82rem; font-weight: 750; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .status-provenance dl { grid-template-columns: 1fr; gap: .2rem; }
  .status-provenance dd + dt { margin-top: .4rem; }
}

