[data-theme="dark"] { --accent: #bdd6e0; --accent-2: #c9c3ed; }
.hero { padding: clamp(60px, 8vw, 112px) 0 clamp(64px, 9vw, 124px); background: var(--hero-wash); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
h1 { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.052em; font-weight: 620; margin: 0; max-width: 12ch; text-wrap: balance; }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; max-width: 48ch; }
.hero .actions { gap: 18px; }
.text-link { font-size: 14px; font-weight: 550; text-decoration: none; color: var(--text-2); }
.text-link:hover { color: var(--accent); }
.hero-note { display: flex; align-items: center; gap: 12px; font: 12px/1.6 var(--font-mono); color: var(--muted); margin: 30px 0 0; }
.hero-note .dot { box-shadow: none; width: 5px; height: 5px; }
.hero-figure { margin: 0; background: linear-gradient(150deg, var(--surface-2), var(--bg-raised)); border: 1px solid var(--line-strong); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.figure-top, .figure-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; font: 11px/1.5 var(--font-mono); color: var(--muted); letter-spacing: .045em; }
.figure-top { border-bottom: 1px solid var(--line); }
.figure-top span:first-child { color: var(--text-2); }
.figure-footer { border-top: 1px solid var(--line); font-size: 10px; }
.hero-figure figcaption { font-size: 12px; line-height: 1.6; color: var(--muted); padding: 0 25px 22px; }
.system-diagram { width: 100%; height: auto; padding: 12px 0; }
.system-diagram text { font: 28px var(--font-mono); text-anchor: middle; fill: var(--text-2); }
.system-diagram .component, .system-diagram .vessel { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 2; }
.system-diagram .vessel { fill: none; stroke-width: 4; }
.system-diagram .wire, .system-diagram .contour { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.system-diagram .accent-line, .system-diagram .signal { fill: none; stroke: var(--accent); stroke-width: 3; }
.system-diagram .halo { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.system-diagram .terrain { fill: var(--surface-3); stroke: var(--line-strong); stroke-width: 2; }
.system-diagram .river { fill: none; stroke: var(--accent); stroke-width: 7; opacity: .65; }
.system-diagram .liquid, .system-diagram .beam, .system-diagram .segment { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.system-diagram .ring { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.diagram-node { opacity: .55; transition: opacity .25s; }
.diagram-node.is-selected { opacity: 1; }
.diagram-node.is-selected .component { stroke: var(--accent); }
.diagram-node.is-selected text { fill: var(--accent); }
.walkthrough { border-top: 1px solid var(--line); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head.split .headline { font-size: clamp(32px, 4vw, 54px); }
.section-head.split .lede { font-size: 17px; }
.explorer { border: 1px solid var(--line-strong); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.explorer.enhanced { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr); }
.module-controls { padding: 16px; border-right: 1px solid var(--line); }
.module-controls button { display: flex; gap: 16px; align-items: center; text-align: left; width: 100%; min-height: 77px; padding: 18px; border: 1px solid transparent; border-radius: var(--r-md); background: transparent; color: var(--text-2); font-size: 16px; }
.module-controls button:hover { background: var(--surface-2); }
.module-controls button[aria-pressed="true"] { border-color: var(--line-strong); background: var(--surface-2); color: var(--text); }
.step-number { font: 12px var(--font-mono); color: var(--muted); }
.module-controls button[aria-pressed="true"] .step-number { color: var(--accent); }
.step-arrow { margin-left: auto; color: var(--accent); }
.module-panels { min-width: 0; }
.module-panel { padding: clamp(26px, 4vw, 52px); }
.module-panel + .module-panel { border-top: 1px solid var(--line); }
.enhanced .module-panel { border-top: 0; }
.module-panel h3 { font-size: clamp(25px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 20px; }
.module-panel p { color: var(--text-2); font-size: 16px; line-height: 1.75; }
.module-panel .module-summary { color: var(--text); font-size: 20px; line-height: 1.5; }
.module-panel .eyebrow { font-size: 11px; color: var(--accent); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.principle { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.index { font: 12px var(--font-mono); color: var(--accent); }
.principle h3 { margin: 28px 0 14px; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; font-weight: 550; }
.principle p { color: var(--text-2); font-size: 16px; }
.status-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(35px, 8vw, 110px); }
.status-grid .headline { font-size: clamp(34px, 4vw, 56px); }
.status-note { font-size: 18px; line-height: 1.7; color: var(--text-2); margin: 28px 0; }
.questions { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.questions ul { list-style: none; margin: 0; padding: 0; }
.questions li { display: flex; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.6; }
.questions li span { color: var(--accent); }
.related { padding-top: 58px; padding-bottom: 68px; background: var(--bg-raised); }
.related-heading { display: flex; align-items: baseline; gap: 35px; flex-wrap: wrap; margin-bottom: 22px; }
.related-heading .eyebrow { margin: 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 15px; }
.related-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 23px; text-decoration: none; font-size: 17px; background: var(--surface); }
.related-card:hover { border-color: var(--accent); }
.related-card span:last-child { color: var(--accent); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 28px; padding-bottom: 28px; color: var(--muted); font-size: 12px; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.brand span { overflow-wrap: anywhere; line-height: 1.15; }
.brand img { flex: none; }
[hidden] { display: none !important; }
@media (max-width: 1050px) { .hero-grid { gap: 30px; } .site-nav { gap: 18px; } .brand { font-size: 17px; } h1 { font-size: clamp(42px, 5.6vw, 66px); } }
@media (max-width: 780px) { .hero { padding: 55px 0 65px; } .hero-grid { grid-template-columns: 1fr; gap: 42px; } h1 { max-width: 15ch; font-size: clamp(42px, 8vw, 65px); } .hero-figure { max-width: 620px; width: 100%; } .principles { grid-template-columns: 1fr; gap: 25px; } .principle h3 { margin-top: 18px; } .status-grid { grid-template-columns: 1fr; } .explorer.enhanced { grid-template-columns: 1fr; } .module-controls { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 5px; } .module-controls button { font-size: 14px; padding: 13px 10px; min-height: 70px; gap: 9px; } .step-arrow { display: none; } .brand { max-width: calc(100vw - 105px); } .module-panel .eyebrow { font-size: 10px; } }
@media (max-width: 420px) { .brand { font-size: 16px; } .figure-top { padding: 17px; font-size: 10px; } .figure-footer { padding: 16px 17px; font-size: 9px; } .hero-figure figcaption { padding-left: 17px; padding-right: 17px; } .hero .actions { align-items: flex-start; flex-direction: column; } .module-panel { padding: 26px 22px; } .module-controls button { font-size: 13px; } .step-number { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
