:root {
    color-scheme: dark;
    --bg: #07110e;
    --bg-deep: #030806;
    --surface: #0d1c18;
    --surface-2: #11241e;
    --surface-3: #173129;
    --line: rgba(151, 194, 176, 0.18);
    --line-strong: rgba(167, 244, 50, 0.34);
    --text: #f3faf6;
    --muted: #9ab5aa;
    --muted-2: #bfd0c9;
    --primary: #a7f432;
    --primary-ink: #0a1504;
    --teal: #39d9c8;
    --blue: #8cc8ff;
    --warning: #ffb454;
    --danger: #ff6f61;
    --success: #83ee9d;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
    --shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.22);
    --radius: 18px;
    --radius-sm: 12px;
    --shell: 1240px;
    --reading: 760px;
    --header-height: 82px;
    --utility-height: 34px;
    --focus: 0 0 0 3px rgba(140, 200, 255, 0.58);
    --ease: cubic-bezier(.2,.8,.2,1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 240px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--utility-height) + 18px);
    background: var(--bg-deep);
}

body {
    margin: 0;
    min-width: 240px;
    min-height: 100vh;
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 2%, rgba(57, 217, 200, 0.09), transparent 29rem),
        radial-gradient(circle at 92% 8%, rgba(167, 244, 50, 0.07), transparent 27rem),
        linear-gradient(180deg, #07110e 0, #081510 38rem, #07110e 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .32;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

::selection {
    color: var(--primary-ink);
    background: var(--primary);
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: var(--teal);
    text-underline-offset: .18em;
    text-decoration-thickness: .08em;
}

a:hover {
    color: var(--primary);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote,
pre {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    min-width: 0;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(2.55rem, 7vw, 5.65rem);
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 3rem);
}

h3 {
    font-size: clamp(1.08rem, 1.9vw, 1.42rem);
}

p,
li,
dd {
    color: var(--muted-2);
}

code,
pre,
.record-id,
.report-integrity,
.status-line,
.footer-meta,
.console-kicker,
.brief-label,
.node-type,
.card-index,
.scenario-number {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
    border: 1px solid var(--line);
    border-radius: .35rem;
    padding: .06em .32em;
    color: var(--blue);
    background: rgba(3, 8, 6, .58);
}

pre {
    max-width: 100%;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    background: #030806;
    box-shadow: inset 0 1px rgba(255,255,255,.02);
}

pre code {
    border: 0;
    padding: 0;
    color: #dcece4;
    background: transparent;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.25rem 0;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(calc(100% - clamp(1.1rem, 4vw, 4rem)), var(--shell));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: max(.65rem, env(safe-area-inset-top, 0px));
    left: max(.65rem, env(safe-area-inset-left, 0px));
    z-index: 999;
    transform: translateY(-180%);
    padding: .72rem 1rem;
    border-radius: 10px;
    color: var(--primary-ink);
    background: var(--primary);
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.utility-bar {
    position: relative;
    padding-top: env(safe-area-inset-top, 0px);
    z-index: 45;
    min-height: var(--utility-height);
    border-bottom: 1px solid rgba(167, 244, 50, .16);
    color: var(--muted);
    background: #030806;
}

.utility-inner {
    min-height: var(--utility-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .77rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.utility-inner span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.utility-inner a {
    flex: 0 0 auto;
    color: var(--primary);
    font-weight: 750;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 17, 14, .89);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.2rem);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .72rem;
    min-width: max-content;
    color: var(--text);
    text-decoration: none;
}

.brand:hover {
    color: var(--primary);
}

.brand-mark {
    width: 2.65rem;
    height: 2.65rem;
    color: var(--primary);
    filter: drop-shadow(0 0 16px rgba(167, 244, 50, .24));
}

.brand-mark circle {
    fill: var(--bg);
    stroke: currentColor;
    stroke-width: 2;
}

.brand-copy {
    display: grid;
    line-height: 1.04;
}

.brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: -.02em;
}

.brand-copy small {
    margin-top: .22rem;
    color: var(--muted);
    font-size: .62rem;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.primary-nav {
    min-width: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .12rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    white-space: nowrap;
}

.primary-nav::-webkit-scrollbar {
    display: none;
}

.primary-nav a {
    position: relative;
    flex: 0 0 auto;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: .66rem .7rem;
    border-radius: 9px;
    color: var(--muted-2);
    font-size: clamp(.76rem, 1vw, .88rem);
    font-weight: 700;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(57, 217, 200, .08);
}

.primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: .7rem;
    bottom: .28rem;
    left: .7rem;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
}

.nav-toggle {
    display: none;
    width: 2.8rem;
    height: 2.8rem;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle > span[aria-hidden="true"] {
    display: block;
    width: 1.15rem;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.eyebrow {
    margin-bottom: .72rem;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.live-dot {
    display: inline-block;
    width: .55rem;
    height: .55rem;
    margin-right: .5rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(167, 244, 50, .55);
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(167, 244, 50, .42); }
    35% { box-shadow: 0 0 0 9px rgba(167, 244, 50, 0); }
}

.button {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: .68rem 1rem;
    color: var(--text);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: var(--primary-ink);
    background: linear-gradient(135deg, var(--primary), #d3ff72);
    box-shadow: 0 12px 30px rgba(167, 244, 50, .13);
}

.button.primary:hover {
    color: var(--primary-ink);
    box-shadow: 0 15px 34px rgba(167, 244, 50, .22);
}

.button.secondary {
    border-color: rgba(57, 217, 200, .42);
    color: #dffffa;
    background: rgba(57, 217, 200, .09);
}

.button.secondary:hover {
    color: var(--text);
    border-color: var(--teal);
    background: rgba(57, 217, 200, .16);
}

.button.ghost {
    border-color: var(--line);
    background: rgba(255,255,255,.025);
}

.button.ghost:hover {
    color: var(--text);
    border-color: rgba(167, 244, 50, .38);
    background: rgba(167, 244, 50, .07);
}

.button.danger {
    border-color: rgba(255, 111, 97, .4);
    color: #ffd9d4;
    background: rgba(255, 111, 97, .1);
}

.button.danger:hover {
    color: #fff;
    border-color: var(--danger);
    background: rgba(255, 111, 97, .18);
}

.button.compact {
    min-height: 2.45rem;
    padding: .55rem .75rem;
    font-size: .82rem;
}

.text-link,
.text-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--teal);
    font-weight: 780;
    text-decoration: none;
}

.text-button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.text-link:hover,
.text-button:hover {
    color: var(--primary);
}

.hero {
    position: relative;
    overflow: clip;
    border-bottom: 1px solid var(--line);
}

.network-hero {
    padding: clamp(3.5rem, 9vw, 7.8rem) 0 clamp(3.3rem, 8vw, 6.8rem);
    background:
        radial-gradient(circle at 75% 35%, rgba(57, 217, 200, .13), transparent 24rem),
        radial-gradient(circle at 92% 10%, rgba(167, 244, 50, .08), transparent 20rem),
        linear-gradient(180deg, rgba(3, 8, 6, .4), rgba(7, 17, 14, .18));
}

.network-hero::before,
.network-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(57, 217, 200, .12);
    border-radius: 50%;
}

.network-hero::before {
    width: 36rem;
    height: 36rem;
    right: -15rem;
    top: -17rem;
    box-shadow: 0 0 0 5rem rgba(57, 217, 200, .015), 0 0 0 10rem rgba(57, 217, 200, .01);
}

.network-hero::after {
    width: 18rem;
    height: 18rem;
    left: -10rem;
    bottom: -11rem;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-copy h1 {
    max-width: 12ch;
    margin-bottom: 1.35rem;
    letter-spacing: -.055em;
}

.hero-copy h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-lede {
    max-width: 62ch;
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .72rem;
    margin-top: 1.7rem;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
    margin: 2.1rem 0 0;
}

.hero-facts div {
    min-width: 0;
    border-left: 2px solid rgba(57, 217, 200, .3);
    padding-left: .74rem;
}

.hero-facts dt {
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 850;
}

.hero-facts dd {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hero-brief {
    position: relative;
    border: 1px solid rgba(57, 217, 200, .24);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.8rem);
    background: linear-gradient(150deg, rgba(20, 40, 34, .96), rgba(7, 17, 14, .88));
    box-shadow: var(--shadow);
}

.hero-brief::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(167, 244, 50, .07), transparent 42%);
}

.hero-brief > * {
    position: relative;
}

.brief-label,
.console-kicker {
    color: var(--primary);
    font-size: .67rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-brief h2 {
    font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.hero-brief dl,
.selected-node dl,
.report-facts,
.authority-factors {
    display: grid;
    gap: .45rem;
    margin: 1.2rem 0;
}

.hero-brief dl div,
.selected-node dl div,
.report-facts div,
.authority-factors div {
    display: grid;
    grid-template-columns: minmax(5rem, .34fr) minmax(0, 1fr);
    gap: .7rem;
    border-top: 1px solid var(--line);
    padding-top: .55rem;
}

.hero-brief dt,
.selected-node dt,
.report-facts dt,
.authority-factors dt {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-brief dd,
.selected-node dd,
.report-facts dd,
.authority-factors dd {
    margin: 0;
    color: var(--text);
}

.breadcrumbs {
    padding-top: 1.15rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--muted);
    font-size: .78rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(154, 181, 170, .45);
}

.breadcrumbs a {
    color: var(--muted-2);
    text-decoration: none;
}

.page-intro {
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(2.2rem, 5vw, 4rem);
}

.page-intro h1 {
    max-width: 16ch;
    margin-bottom: 1.05rem;
    font-size: clamp(2.35rem, 6vw, 5.25rem);
    letter-spacing: -.052em;
}

.page-intro .lede {
    max-width: 72ch;
    margin-bottom: 1rem;
    font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.research-basis {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .45rem;
    align-items: center;
    font-size: .75rem;
}

.research-basis span {
    color: var(--muted);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.research-basis a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .18rem .5rem;
    color: var(--blue);
    text-decoration: none;
    background: rgba(140, 200, 255, .045);
}

.section-heading {
    margin-bottom: clamp(1.25rem, 3vw, 2.2rem);
}

.section-heading h2 {
    max-width: 20ch;
    margin-bottom: .55rem;
}

.section-heading p:last-child {
    max-width: 64ch;
    margin-bottom: 0;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, .65fr);
    gap: 1.5rem 3rem;
    align-items: end;
}

.compact-heading {
    margin-bottom: 1rem;
}

.explorer-section,
.concept-band,
.home-pathways,
.research-band,
.answer-strip,
.article-layout,
.scenario-overview,
.scenario-grid,
.ack-explainer,
.lab-shell,
.authority-reminder,
.atlas-controls,
.atlas-layout,
.interop-intro,
.meaningful-control,
.authority-lab,
.lifecycle-section,
.report-reader,
.report-list,
.source-list,
.faq-list,
.glossary-controls,
.glossary-grid,
.citation-grid,
.about-hero,
.about-grid,
.terms-grid,
.error-page,
.status-panel,
.status-grid {
    padding-block: clamp(2.5rem, 6vw, 5.8rem);
}

.network-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(18rem, .58fr);
    min-height: 38rem;
    overflow: hidden;
    border: 1px solid rgba(57, 217, 200, .26);
    border-radius: var(--radius);
    background: #030806;
    box-shadow: var(--shadow);
}

.network-stage-wrap {
    position: relative;
    min-height: 38rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(57, 217, 200, .08), transparent 21rem),
        linear-gradient(180deg, #07110e, #030806);
}

.network-stage-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 48%, rgba(0,0,0,.45) 100%);
}

.network-canvas {
    width: 100%;
    height: 100%;
    min-height: 38rem;
    cursor: grab;
    touch-action: none;
}

.network-canvas:active {
    cursor: grabbing;
}

.canvas-overlay {
    position: absolute;
    top: .9rem;
    right: .9rem;
    left: .9rem;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    pointer-events: none;
}

.synthetic-badge,
.status-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid rgba(167, 244, 50, .3);
    border-radius: 999px;
    padding: .28rem .58rem;
    color: var(--primary);
    background: rgba(7, 17, 14, .82);
    font-size: .66rem;
    font-weight: 820;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.canvas-hint {
    color: var(--muted);
    font-size: .72rem;
    text-align: right;
}

.canvas-fallback {
    position: absolute;
    inset: 5rem 2rem 2rem;
    z-index: 4;
    display: grid;
    place-content: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    background: var(--surface);
}

.network-console {
    position: relative;
    z-index: 3;
    min-width: 0;
    border-left: 1px solid var(--line);
    padding: 1.15rem;
    background: linear-gradient(180deg, rgba(17, 36, 30, .96), rgba(7, 17, 14, .98));
}

.console-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: .9rem;
}

.status-line {
    margin: 0;
    color: var(--text);
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.console-actions {
    display: grid;
    gap: .55rem;
    margin: 1rem 0;
}

.selected-node,
.path-ledger {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: rgba(3, 8, 6, .36);
}

.selected-node h3 {
    margin-bottom: .55rem;
}

.path-ledger {
    margin-top: .8rem;
}

.path-ledger ol {
    margin: 0;
    padding-left: 1.25rem;
}

.path-ledger li {
    margin: .35rem 0;
    font-size: .83rem;
}

.path-ledger li::marker {
    color: var(--primary);
    font-weight: 800;
}

.node-register {
    padding-top: 1.5rem;
}

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

.node-button {
    min-width: 0;
    min-height: 9.5rem;
    display: grid;
    align-content: start;
    gap: .45rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .9rem;
    color: var(--text);
    text-align: left;
    background: rgba(13, 28, 24, .75);
    cursor: pointer;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.node-button:hover,
.node-button[aria-pressed="true"] {
    transform: translateY(-2px);
    border-color: rgba(167, 244, 50, .45);
    background: rgba(20, 40, 34, .95);
}

.node-button[disabled],
.node-button.is-degraded {
    opacity: .5;
    border-style: dashed;
}

.node-button strong {
    font-size: .95rem;
}

.node-button span:last-child {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.45;
}

.node-type {
    color: var(--teal);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.concept-band {
    border-block: 1px solid var(--line);
    background: rgba(13, 28, 24, .58);
}

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

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

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.feature-panel,
.answer-card,
.source-card,
.glossary-card,
.citation-card,
.report-card,
.scenario-card,
.atlas-card,
.control-principles article,
.authority-reminder,
.status-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.05rem, 2.6vw, 1.55rem);
    background: linear-gradient(145deg, rgba(17, 36, 30, .94), rgba(9, 20, 16, .92));
    box-shadow: var(--shadow-soft);
}

.info-card::before,
.feature-panel::before,
.atlas-card::before,
.report-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(57, 217, 200, .7), transparent);
}

.info-card h2,
.info-card h3,
.feature-panel h2,
.answer-card h3,
.source-card h2,
.glossary-card h2,
.citation-card h2,
.report-card h2,
.scenario-card h2,
.atlas-card h2 {
    font-size: clamp(1.14rem, 1.8vw, 1.55rem);
}

.info-card p:last-child,
.feature-panel p:last-child,
.answer-card p:last-child,
.source-card p:last-child,
.glossary-card p:last-child,
.report-card p:last-child,
.scenario-card p:last-child,
.atlas-card p:last-child {
    margin-bottom: 0;
}

.icon-card .card-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(167, 244, 50, .28);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(167, 244, 50, .055);
    font-size: 1.25rem;
}

.card-index,
.scenario-number {
    color: var(--primary);
    font-size: .72rem;
    letter-spacing: .12em;
}

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

.feature-panel {
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-panel .button {
    width: fit-content;
    margin-top: .5rem;
}

.ack-panel {
    background:
        radial-gradient(circle at 90% 0%, rgba(57, 217, 200, .17), transparent 16rem),
        linear-gradient(145deg, rgba(17, 36, 30, .96), rgba(7, 17, 14, .94));
}

.authority-panel {
    background:
        radial-gradient(circle at 90% 0%, rgba(140, 200, 255, .14), transparent 16rem),
        linear-gradient(145deg, rgba(17, 36, 30, .96), rgba(7, 17, 14, .94));
}

.bridge-grid,
.research-grid,
.sister-grid,
.about-hero,
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
}

.chain-web-bridge,
.research-band {
    border-block: 1px solid var(--line);
}

.chain-web-bridge {
    padding-block: clamp(3rem, 6vw, 5.5rem);
    background: linear-gradient(110deg, rgba(140, 200, 255, .06), transparent 48%);
}

.bridge-chain {
    display: flex;
    justify-content: center;
    gap: .35rem;
}

.bridge-chain span {
    position: relative;
    display: grid;
    width: clamp(2rem, 4.2vw, 3.4rem);
    height: clamp(2rem, 4.2vw, 3.4rem);
    place-items: center;
    border: 1px solid rgba(140, 200, 255, .4);
    border-radius: 50%;
    color: var(--blue);
    background: rgba(140, 200, 255, .07);
    font-size: .68rem;
    font-weight: 800;
}

.bridge-chain span:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: .36rem;
    height: 1px;
    background: rgba(140, 200, 255, .45);
}

.research-band {
    background: rgba(3, 8, 6, .45);
}

.research-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .7rem;
}

.answer-strip {
    border-top: 1px solid var(--line);
}

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

.article-layout {
    display: grid;
    grid-template-columns: minmax(14rem, .33fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: start;
    padding-top: 0;
}

.article-toc {
    position: sticky;
    top: calc(var(--header-height) + 1.2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: rgba(13, 28, 24, .78);
}

.toc-title {
    color: var(--primary);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.article-toc ol {
    margin: 0;
    padding-left: 1.1rem;
}

.article-toc li {
    margin: .48rem 0;
    font-size: .84rem;
}

.article-toc a {
    color: var(--muted-2);
    text-decoration: none;
}

.article-toc a:hover {
    color: var(--primary);
}

.sister-mini {
    display: block;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: .9rem;
    color: var(--teal);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.prose,
.report-prose {
    min-width: 0;
    max-width: var(--reading);
}

.prose > :first-child,
.report-prose > :first-child {
    margin-top: 0;
}

.article-section {
    scroll-margin-top: calc(var(--header-height) + 1.2rem);
    margin-bottom: clamp(2.3rem, 5vw, 4.4rem);
}

.article-section h2 {
    margin-bottom: .9rem;
}

.article-section h3 {
    margin-top: 1.7rem;
}

.article-section p,
.article-section li,
.report-prose p,
.report-prose li {
    font-size: 1.02rem;
}

.feature-list {
    padding-left: 1.15rem;
}

.feature-list li {
    margin: .55rem 0;
    padding-left: .2rem;
}

.feature-list li::marker {
    color: var(--primary);
}

.process-list {
    display: grid;
    gap: .8rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr);
    gap: .9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: rgba(13, 28, 24, .58);
}

.step-number {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid rgba(167, 244, 50, .34);
    border-radius: 50%;
    color: var(--primary);
    font-weight: 850;
}

.process-list h3 {
    margin: 0 0 .35rem;
}

.process-list p {
    margin: 0;
}

.callout {
    border: 1px solid rgba(57, 217, 200, .28);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.2rem;
    background: rgba(57, 217, 200, .065);
}

.callout.warning {
    border-color: rgba(255, 180, 84, .28);
    border-left-color: var(--warning);
    background: rgba(255, 180, 84, .07);
}

.callout.danger {
    border-color: rgba(255, 111, 97, .3);
    border-left-color: var(--danger);
    background: rgba(255, 111, 97, .065);
}

.callout h2,
.callout h3 {
    font-size: 1.25rem;
}

.callout p:last-child {
    margin-bottom: 0;
}

.source-note {
    border-top: 1px solid var(--line);
    padding-top: .8rem;
    color: var(--muted);
    font-size: .8rem !important;
}

.table-scroll {
    max-width: 100%;
    overflow-x: auto;
    margin: 1.2rem 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(3, 8, 6, .35);
}

table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    font-size: .88rem;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: .82rem .9rem;
    color: var(--muted-2);
    text-align: left;
    vertical-align: top;
}

thead th {
    position: sticky;
    top: 0;
    color: var(--text);
    background: #11241e;
    font-size: .73rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

tbody th {
    color: var(--text);
    font-weight: 750;
}

tr:last-child th,
tr:last-child td {
    border-bottom: 0;
}

blockquote {
    margin-left: 0;
    border-left: 4px solid var(--primary);
    padding: .5rem 0 .5rem 1rem;
    color: var(--text);
}

blockquote p {
    color: var(--text);
    font-size: 1.08rem;
}

.scenario-overview {
    padding-top: 0;
}

.lesson-matrix {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.lesson-matrix article {
    border-top: 2px solid rgba(57, 217, 200, .35);
    padding-top: .85rem;
}

.lesson-matrix strong {
    display: block;
    color: var(--text);
    margin-bottom: .3rem;
}

.lesson-matrix span {
    color: var(--muted);
    font-size: .83rem;
}

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

.scenario-card {
    display: flex;
    flex-direction: column;
}

.scenario-topline,
.report-card-head,
.source-card-top,
.atlas-card-top,
.results-head,
.authority-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .9rem;
}

.scenario-card .card-actions,
.report-card .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
    margin-top: auto;
    padding-top: .8rem;
}

.lab-shell {
    display: grid;
    grid-template-columns: minmax(17rem, .42fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    padding-top: 0;
}

.lab-sidebar,
.lab-results,
.authority-controls,
.authority-result {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1rem, 2.7vw, 1.55rem);
    background: linear-gradient(145deg, rgba(17, 36, 30, .94), rgba(7, 17, 14, .94));
}

.lab-sidebar label,
.authority-controls label,
.atlas-controls label,
.glossary-controls label {
    display: grid;
    gap: .42rem;
    margin-bottom: 1rem;
    color: var(--muted-2);
    font-size: .78rem;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .58rem .7rem;
    color: var(--text);
    background: #07110e;
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(57, 217, 200, .4);
}

input[type="range"] {
    min-height: 1.9rem;
    padding: 0;
    accent-color: var(--primary);
    background: transparent;
}

.check-row {
    grid-template-columns: auto 1fr !important;
    align-items: start;
    gap: .55rem !important;
}

.check-row input {
    width: 1.05rem;
    min-height: auto;
    margin-top: .18rem;
    accent-color: var(--primary);
}

.range-readout {
    color: var(--muted);
    font-size: .72rem;
}

.range-readout output {
    color: var(--text);
    font-weight: 800;
}

.lab-boundary {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: .75rem;
    color: var(--muted);
    font-size: .75rem;
}

.lab-shell,
.authority-lab,
.lab-sidebar,
.lab-results,
.authority-controls,
.authority-result,
.offer-grid,
.gate-grid,
.offer-card,
.gate-card,
.offer-card-head,
.gate-card-head {
    min-width: 0;
    max-width: 100%;
}

.offer-grid,
.gate-grid {
    display: grid;
    gap: .7rem;
    margin-top: 1rem;
}

.offer-card,
.gate-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .9rem;
    background: rgba(3, 8, 6, .36);
}

.offer-card[data-state="feasible"],
.gate-card[data-state="pass"] {
    border-color: rgba(131, 238, 157, .34);
}

.offer-card[data-state="excluded"],
.gate-card[data-state="fail"] {
    border-color: rgba(255, 111, 97, .34);
}

.offer-card-head,
.gate-card-head {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
}

.offer-card h3,
.gate-card h3 {
    margin-bottom: .35rem;
    font-size: 1rem;
}

.offer-card p,
.gate-card p,
.offer-card li {
    font-size: .79rem;
}

.offer-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin: .65rem 0;
}

.offer-metrics div {
    border-top: 1px solid var(--line);
    padding-top: .42rem;
}

.offer-metrics strong,
.offer-metrics span {
    display: block;
}

.offer-metrics strong {
    color: var(--text);
}

.offer-metrics span {
    color: var(--muted);
    font-size: .62rem;
    text-transform: uppercase;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: var(--muted);
    text-align: center;
}

.atlas-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(10rem, .7fr)) auto;
    gap: .75rem;
    align-items: end;
    padding-top: 0;
    padding-bottom: 1rem;
}

.atlas-controls label {
    margin-bottom: .35rem;
}

.filter-count {
    min-width: max-content;
    margin: 0 0 .62rem;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 800;
}

.atlas-layout {
    display: grid;
    grid-template-columns: minmax(14rem, .33fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding-top: 1rem;
}

.atlas-legend {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: rgba(13, 28, 24, .82);
}

.atlas-legend h2 {
    font-size: 1.4rem;
}

.atlas-legend ul {
    padding-left: 1rem;
}

.atlas-legend li,
.atlas-legend p {
    font-size: .82rem;
}

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

.atlas-card h2 {
    margin-top: .8rem;
}

.record-id {
    color: var(--muted);
    font-size: .67rem;
    overflow-wrap: anywhere;
}

.record-kind {
    color: var(--blue);
    font-size: .78rem;
    overflow-wrap: anywhere;
}

.unknown-box {
    border-left: 3px solid var(--warning);
    padding: .15rem 0 .15rem .8rem;
}

.unknown-box strong {
    color: var(--warning);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.unknown-box p {
    margin: .3rem 0;
    font-size: .82rem;
}

.control-principles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .7rem;
}

.control-principles article {
    padding: .95rem;
}

.control-principles strong,
.control-principles span {
    display: block;
}

.control-principles strong {
    color: var(--primary);
}

.control-principles span {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .78rem;
}

.authority-lab {
    display: grid;
    grid-template-columns: minmax(17rem, .45fr) minmax(0, 1fr);
    gap: 1rem;
    padding-top: 0;
}

.authority-meter {
    height: .78rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #030806;
}

.authority-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--danger), var(--warning), var(--primary));
    transition: width .45s var(--ease);
}

.authority-summary {
    font-size: 1rem;
}

.lifecycle-track {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lifecycle-track li {
    position: relative;
    border-top: 2px solid rgba(57, 217, 200, .35);
    padding-top: .7rem;
}

.lifecycle-track li > span {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    color: var(--primary-ink);
    background: var(--primary);
    font-size: .75rem;
    font-weight: 850;
}

.lifecycle-track h3 {
    margin: .7rem 0 .35rem;
    font-size: .9rem;
}

.lifecycle-track p {
    font-size: .75rem;
}

.report-list {
    display: grid;
    gap: 1rem;
    padding-top: 0;
}

.report-card {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.report-card-head h2 {
    margin-bottom: .25rem;
}

.report-meta {
    color: var(--blue);
    font-size: .78rem;
}

.report-summary {
    max-width: 74ch;
}

.report-integrity,
.hash {
    color: var(--muted);
    font-size: .7rem;
    overflow-wrap: anywhere;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .8rem 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .18rem .48rem;
    color: var(--muted-2);
    font-size: .68rem;
}

.report-reader {
    display: grid;
    grid-template-columns: minmax(16rem, .38fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.report-reader-meta {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: rgba(13, 28, 24, .82);
}

.report-reader-meta .button {
    width: 100%;
    margin-top: .5rem;
}

.report-prose {
    overflow-wrap: anywhere;
}

.report-prose h2,
.report-prose h3,
.report-prose h4,
.report-prose h5,
.report-prose h6 {
    scroll-margin-top: calc(var(--header-height) + 1rem);
    margin-top: 2.2rem;
}

.report-prose img {
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.source-list,
.glossary-grid,
.citation-grid,
.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 0;
}

.source-publisher {
    color: var(--blue);
    font-size: .78rem;
}

.source-card a {
    overflow-wrap: anywhere;
}

.faq-list {
    max-width: 920px;
    padding-top: 0;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.faq-item summary {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
}

.faq-answer {
    padding-top: .7rem;
}

.glossary-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
    padding-top: 0;
    padding-bottom: 1rem;
}

.glossary-controls label {
    margin-bottom: 0;
}

.glossary-card h2 {
    color: var(--primary);
}

.citation-card pre {
    min-height: 9rem;
}

.about-hero {
    padding-top: 0;
}

.author-monogram {
    display: grid;
    width: min(18rem, 65vw);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(167, 244, 50, .3);
    border-radius: 50%;
    color: var(--primary);
    background:
        radial-gradient(circle, rgba(167, 244, 50, .08), transparent 58%),
        repeating-radial-gradient(circle, transparent 0 1.8rem, rgba(57, 217, 200, .06) 1.85rem 1.9rem);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -.08em;
    box-shadow: var(--shadow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, .7fr));
    gap: 1.3rem 2rem;
    padding-block: 3rem;
}

.site-footer {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--line);
    background: #030806;
}

.sister-panel {
    border-bottom: 1px solid var(--line);
    padding-block: 2rem;
    background: linear-gradient(110deg, rgba(140, 200, 255, .08), rgba(57, 217, 200, .04));
}

.sister-grid h2 {
    margin-bottom: .5rem;
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.sister-grid p:last-child {
    margin-bottom: 0;
}

.sister-grid .button {
    justify-self: end;
}

.footer-grid h3 {
    color: var(--text);
    font-size: .85rem;
}

.footer-grid nav {
    display: grid;
    align-content: start;
    gap: .38rem;
}

.footer-grid nav a {
    color: var(--muted);
    font-size: .8rem;
    text-decoration: none;
}

.footer-grid nav a:hover {
    color: var(--primary);
}

.footer-brand {
    margin-bottom: .6rem;
    color: var(--primary);
    font-size: 1.6rem;
}

.footer-meta {
    color: var(--muted);
    font-size: .7rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-block: 1.1rem;
    font-size: .75rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: flex-end;
}

.footer-actions a,
.footer-actions button {
    font-size: .75rem;
}

.error-page {
    min-height: 56vh;
    display: grid;
    place-content: center;
    text-align: center;
}

.error-page h1 {
    color: var(--primary);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    padding-top: 0;
}

.status-panel strong,
.status-panel span {
    display: block;
}

.status-panel strong {
    color: var(--primary);
    font-size: 1.35rem;
}

.status-panel span {
    color: var(--muted);
    font-size: .78rem;
}

@media (min-width: 1800px) {
    :root {
        --shell: 1420px;
        --reading: 820px;
    }

    body {
        font-size: 17px;
    }

    .network-workbench,
    .network-stage-wrap,
    .network-canvas {
        min-height: 46rem;
    }
}

@media (max-width: 1120px) {
    .primary-nav a {
        padding-inline: .55rem;
        font-size: .75rem;
    }

    .node-button-grid,
    .card-grid.four {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .lifecycle-track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 940px) {
    :root {
        --header-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100dvh - var(--header-height) - var(--utility-height));
        overflow: auto;
        padding: .55rem max(.75rem, calc((100vw - var(--shell)) / 2));
        border-bottom: 1px solid var(--line);
        background: rgba(7, 17, 14, .98);
        box-shadow: var(--shadow-soft);
    }

    .primary-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-nav a {
        max-width: none;
        border: 1px solid transparent;
        padding: .75rem;
    }

    .primary-nav a[aria-current="page"]::after {
        display: none;
    }

    .hero-grid,
    .bridge-grid,
    .research-grid,
    .sister-grid,
    .about-hero,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 14ch;
    }

    .hero-brief {
        max-width: 42rem;
    }

    .network-workbench {
        grid-template-columns: 1fr;
    }

    .network-console {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

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

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

    .answer-grid,
    .card-grid.three,
    .lesson-matrix,
    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout,
    .atlas-layout,
    .report-reader {
        grid-template-columns: 1fr;
    }

    .article-toc,
    .atlas-legend,
    .report-reader-meta {
        position: static;
    }

    .article-toc ol {
        columns: 2;
    }

    .prose,
    .report-prose {
        max-width: none;
    }

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

    .atlas-controls > div:first-child {
        grid-column: 1 / -1;
    }

    .filter-count {
        align-self: center;
        margin: 0;
    }

    .footer-grid {
        grid-template-columns: 1.2fr repeat(2, minmax(0, .8fr));
    }

    .footer-grid > section:first-child {
        grid-column: 1 / -1;
    }

    .sister-grid .button {
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .utility-inner span:first-child {
        display: none;
    }

    .utility-inner {
        justify-content: center;
    }

    .brand-copy small {
        display: none;
    }

    .split-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

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

    .network-workbench,
    .network-stage-wrap,
    .network-canvas {
        min-height: 31rem;
    }

    .console-actions {
        grid-template-columns: 1fr;
    }

    .node-button-grid,
    .card-grid,
    .card-grid.three,
    .card-grid.four,
    .pathway-grid,
    .answer-grid,
    .scenario-grid,
    .source-list,
    .glossary-grid,
    .citation-grid,
    .terms-grid,
    .atlas-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }

    .node-button {
        min-height: auto;
    }

    .article-toc ol {
        columns: 1;
    }

    .lab-shell,
    .authority-lab {
        grid-template-columns: 1fr;
    }

    .atlas-controls {
        grid-template-columns: 1fr;
    }

    .atlas-controls > div:first-child {
        grid-column: auto;
    }

    .control-principles,
    .lifecycle-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .footer-grid > section:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-actions {
        justify-content: flex-start;
    }

    table {
        min-width: 36rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .utility-inner {
        min-height: var(--utility-height);
        padding-block: .42rem;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        overflow: visible;
    }

    .utility-inner a {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 auto;
        overflow-wrap: anywhere;
    }

    .hero-brief dl div,
    .selected-node dl div,
    .report-facts div,
    .authority-factors div {
        grid-template-columns: minmax(0, 1fr);
        gap: .2rem;
    }

    .hero-brief dd,
    .selected-node dd,
    .report-facts dd,
    .authority-factors dd {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .report-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .bridge-chain {
        display: grid;
        grid-template-columns: repeat(3, 2rem);
        justify-content: center;
        gap: .45rem;
    }

    .bridge-chain span {
        width: 2rem;
        height: 2rem;
        font-size: .56rem;
    }

    .bridge-chain span::after {
        display: none;
    }

    .lab-shell,
    .authority-lab,
    .lab-sidebar,
    .lab-results,
    .authority-controls,
    .authority-result,
    .offer-grid,
    .gate-grid,
    .offer-card,
    .gate-card {
        min-width: 0;
        max-width: 100%;
    }

    .brand-mark {
        width: 2.25rem;
        height: 2.25rem;
    }

    .brand-copy strong {
        font-size: .9rem;
    }

    .primary-nav.is-open {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .research-actions {
        display: grid;
    }

    .hero-actions .button,
    .research-actions .button {
        width: 100%;
    }

    .hero-facts {
        gap: .85rem .45rem;
    }

    .network-workbench,
    .network-stage-wrap,
    .network-canvas {
        min-height: 25rem;
    }

    .canvas-overlay {
        align-items: flex-start;
        flex-direction: column;
    }

    .canvas-hint {
        text-align: left;
    }

    .control-principles,
    .lifecycle-track,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > section:first-child {
        grid-column: auto;
    }

    .scenario-topline,
    .report-card-head,
    .source-card-top,
    .atlas-card-top,
    .results-head,
    .authority-result-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .offer-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .article-section p,
    .article-section li,
    .report-prose p,
    .report-prose li {
        font-size: .98rem;
    }

    .process-list li {
        grid-template-columns: 1fr;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 300px) {
    .shell {
        width: calc(100% - 1rem);
    }

    h1,
    .page-intro h1 {
        font-size: clamp(1.82rem, 12vw, 2.15rem);
        letter-spacing: -.038em;
    }

    .utility-inner {
        font-size: .66rem;
        letter-spacing: .045em;
    }

    .brand-copy {
        display: none;
    }

    .hero-facts {
        grid-template-columns: 1fr;
    }

    .offer-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 520px) and (orientation: landscape) {
    .network-hero {
        padding-block: 2.2rem;
    }

    .network-workbench,
    .network-stage-wrap,
    .network-canvas {
        min-height: 24rem;
    }

    .primary-nav {
        max-height: calc(100dvh - var(--header-height));
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

@media (prefers-contrast: more) {
    :root {
        --line: rgba(255,255,255,.38);
        --muted: #c6d9d0;
        --muted-2: #eef7f2;
    }
}

@media print {
    :root {
        color-scheme: light;
    }

    body {
        color: #111;
        background: #fff;
    }

    body::before,
    .utility-bar,
    .site-header,
    .site-footer,
    .article-toc,
    .network-workbench,
    .hero-actions,
    .console-actions,
    .button,
    .text-button,
    .atlas-controls,
    .glossary-controls {
        display: none !important;
    }

    .shell,
    .prose,
    .report-prose {
        width: 100%;
        max-width: none;
    }

    h1,
    h2,
    h3,
    p,
    li,
    dd,
    a {
        color: #111 !important;
    }

    .article-layout,
    .report-reader,
    .atlas-layout {
        display: block;
    }

    .info-card,
    .report-card,
    .atlas-card,
    .callout {
        break-inside: avoid;
        border: 1px solid #bbb;
        color: #111;
        background: #fff;
        box-shadow: none;
    }
}

/* Small state and registry refinements. */
.status-badge.success,
.status-badge[data-state="pass"] {
    color: var(--success);
    border-color: rgba(131, 238, 157, .38);
    background: rgba(131, 238, 157, .08);
}

.status-badge.danger,
.status-badge[data-state="fail"] {
    color: #ffc8c2;
    border-color: rgba(255, 111, 97, .42);
    background: rgba(255, 111, 97, .09);
}

.status-badge[data-state="warn"] {
    color: var(--warning);
    border-color: rgba(255, 180, 84, .42);
    background: rgba(255, 180, 84, .08);
}

.text-button.is-complete,
.text-button[aria-pressed="true"] {
    color: var(--primary);
}

.tag-list > span,
.tag-list > li {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .18rem .48rem;
    color: var(--muted-2);
    font-size: .68rem;
}

.report-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 1rem;
    margin: 1rem 0 0;
}

.report-meta div {
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: .5rem;
}

.report-meta dt {
    color: var(--muted);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.report-meta dd {
    margin: .22rem 0 0;
    color: var(--muted-2);
    font-size: .78rem;
    overflow-wrap: anywhere;
}

.report-integrity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
}

.image-reference {
    display: inline-flex;
    border: 1px dashed var(--line);
    border-radius: .4rem;
    padding: .08rem .38rem;
    color: var(--muted);
    background: rgba(255,255,255,.025);
    font-size: .78em;
}

@media (max-width: 560px) {
    .report-meta {
        grid-template-columns: 1fr;
    }
}
