/* ============================================
   WHITEPAPER PAGE — STYLES
   Ladders: Understand the Future
   ============================================ */

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --black: #000000;
    --red: #C61919;
    --gray-black: #333333;
    --light-gray: #F5F5F5;
    --serif-font: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --sans-font: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-font);
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVBAR
   ============================================ */
.wp-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.wp-main {
    padding-top: 70px;
}

.wp-main-no-navbar {
    padding-top: 0;
}

/* ============================================
   SHARED SECTIONS
   ============================================ */
.wp-section {
    padding: 120px 0;
    background: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wp-section.visible {
    opacity: 1;
}

.wp-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Headings */
.wp-heading-serif {
    font-family: var(--serif-font);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--black);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.wp-heading-divider {
    width: 60px;
    height: 1px;
    background: var(--red);
    margin: 0 auto 3rem;
}

/* Body text */
.wp-body-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-black);
}

.wp-body-text p {
    margin-bottom: 1.4rem;
}

.wp-body-text p:last-child {
    margin-bottom: 0;
}

.wp-body-text-centered {
    text-align: center;
}

/* Lists */
.wp-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.wp-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-black);
}

.wp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--black);
    border-radius: 0;
}

.wp-list-emphasis li {
    font-weight: 500;
    color: var(--black);
}

.wp-list-structural li {
    font-size: 1.05rem;
}

/* Subheadings */
.wp-subheading {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin: 2.5rem 0 1rem;
}

/* Statements */
.wp-statement {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1.5rem !important;
}

.wp-statement-ladder {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--black);
    margin-top: 2rem !important;
    font-style: italic;
}

/* ============================================
   DIAGRAMS
   ============================================ */
.wp-diagram-container {
    margin: 3rem auto 0;
    text-align: center;
}

.wp-svg-diagram {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.wp-svg-graph {
    max-width: 520px;
}

.wp-diagram-caption {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--red);
    text-align: center;
}

/* SVG tooltip */
.wp-svg-tooltip {
    position: absolute;
    background: var(--black);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-family: var(--sans-font);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    border-radius: 2px;
    z-index: 100;
}

.wp-svg-tooltip.active {
    opacity: 1;
}

.wp-svg-text {
    font-family: var(--sans-font);
    font-size: 12px;
    fill: var(--gray-black);
}

/* ============================================
   FAILURE MODE VISUALS
   ============================================ */
.wp-failure-block {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.wp-failure-block p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-black);
}

/* Bar chart (Section 5.1) */
.wp-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 3rem;
    margin-top: 2rem;
    height: 180px;
    padding-bottom: 2rem;
}

.wp-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.wp-bar {
    width: 60px;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.wp-bar-inner {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--black);
}

.wp-bar-tall {
    height: 140px;
}

.wp-bar-short {
    height: 20px;
}

.wp-bar-label {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--red);
    text-align: center;
}

/* Cold routing visual (Section 5.2) */
.wp-cold-routing-visual {
    margin-top: 2rem;
    position: relative;
    text-align: center;
}

.wp-inline-svg {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: inline-block;
}

.wp-cold-tooltip,
.wp-intermediation-tooltip {
    font-size: 0.8rem;
    color: var(--red);
    font-weight: 500;
    margin-top: 0.8rem;
    text-align: center;
}

/* Cold routing pulse */
@keyframes coldPulse {
    0% { stroke-dashoffset: 188; }
    100% { stroke-dashoffset: 0; }
}

#cold-route-line {
    stroke-dasharray: 188;
    stroke-dashoffset: 188;
}

.wp-section-5.visible #cold-route-line {
    animation: coldPulse 2s ease-in-out infinite;
}

/* Intermediation visual (Section 5.3) */
.wp-intermediation-visual {
    margin-top: 2rem;
    text-align: center;
}

/* ============================================
   TRANSITION AREA
   ============================================ */
.wp-transition-space {
    height: 200px;
    background: var(--white);
}

.wp-transition-divider {
    width: 100%;
    height: 1px;
    background: var(--red);
}

/* ============================================
   TAB SELECTOR
   ============================================ */
/* Sticky logo — only visible when tab selector is sticky */
.wp-sticky-logo {
    display: none;
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.wp-sticky-logo:hover {
    opacity: 0.7;
}

.wp-tab-selector {
    background: var(--white);
    padding: 4rem 2rem;
    position: relative;
    z-index: 50;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.wp-tab-selector.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wp-tab-selector.sticky .wp-sticky-logo {
    display: block;
}

.wp-tab-selector.sticky .wp-pillars-container {
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}

.wp-tab-selector.sticky .wp-pillar {
    width: auto;
    height: auto;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.9rem 2rem;
    border-radius: 0;
}

.wp-tab-selector.sticky .wp-pillar.active {
    border-bottom-color: var(--red);
}

.wp-tab-selector.sticky .wp-pillar:hover {
    border-color: transparent;
    border-bottom-color: var(--red);
}

.wp-tab-selector.sticky .wp-pillar-sub {
    display: none;
}

.wp-pillars-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.wp-pillar {
    width: 220px;
    height: 160px;
    border: 1px solid var(--black);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    padding: 1.5rem;
    border-radius: 0;
    text-align: center;
}

.wp-pillar:hover {
    border-color: var(--red);
}

.wp-pillar.active {
    border-color: var(--red);
}

.wp-pillar-heading {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.wp-pillar-sub {
    font-family: var(--sans-font);
    font-size: 0.85rem;
    color: var(--black);
    font-weight: 400;
}

/* Tab selector placeholder when sticky */
.wp-tab-placeholder {
    display: none;
}

.wp-tab-placeholder.active {
    display: block;
}

/* ============================================
   TAB PANELS
   ============================================ */
.wp-tab-content-area {
    min-height: 60vh;
}

.wp-tab-panel {
    display: none;
    padding: 80px 0 120px;
    animation: fadeInPanel 0.4s ease;
}

.wp-tab-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Bold in tab content */
.wp-tab-panel .wp-body-text strong {
    font-weight: 600;
    color: var(--black);
}

/* ============================================
   FOOTER
   ============================================ */
.wp-footer {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wp-footer-logo {
    width: 36px;
    height: 36px;
    margin-bottom: 1.5rem;
}

.wp-footer-line {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-black);
    margin-bottom: 0.3rem;
}

.wp-footer-actions {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.wp-btn-apply {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-family: var(--sans-font);
    font-weight: 500;
    transition: transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.wp-btn-apply:hover {
    transform: translateY(-2px);
}

.wp-btn-back {
    color: var(--gray-black);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--sans-font);
    transition: color 0.2s ease;
}

.wp-btn-back:hover {
    color: var(--red);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   PROTOCOL SPECIFICATION — Components
   ============================================ */

/* Protocol sections spacing */
.wp-protocol-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wp-protocol-section:last-child {
    border-bottom: none;
}

.wp-subheading-centered {
    text-align: center;
    margin-bottom: 2rem;
}

.wp-container-wide {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wp-formula {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    background: var(--light-gray);
    display: inline-block;
    padding: 0.3rem 0.7rem;
    margin: 0.3rem 0;
    border-left: 2px solid var(--red);
}

.wp-muted {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1.5rem !important;
}

/* --- Expandable Definitions (P2) --- */
.wp-definitions {
    margin-top: 1.5rem;
}

.wp-def-block {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.wp-def-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.4rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--sans-font);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black);
    transition: background 0.2s ease;
}

.wp-def-trigger:hover {
    background: var(--light-gray);
}

.wp-def-icon {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--red);
    transition: transform 0.3s ease;
    line-height: 1;
}

.wp-def-block.open .wp-def-icon {
    transform: rotate(45deg);
}

.wp-def-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.4rem;
}

.wp-def-block.open .wp-def-body {
    max-height: 500px;
    padding: 0 1.4rem 1.4rem;
}

.wp-def-body p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-black);
}

.wp-def-body .wp-list li {
    font-size: 1rem;
}

/* --- Intent Status Panel (P3) --- */
.wp-intent-status-panel {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.wp-status-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.wp-status-item.active {
    color: var(--black);
}

.wp-status-dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 0;
    display: inline-block;
    transition: background 0.3s ease;
}

.wp-status-item.active .wp-status-dot {
    background: var(--red);
}

/* --- D3 Simulator (P3) --- */
.wp-sim-container {
    text-align: center;
}

.wp-intent-sim {
    width: 100%;
    max-width: 700px;
    height: 420px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    position: relative;
}

.wp-intent-sim svg {
    width: 100%;
    height: 100%;
}

.wp-path-display {
    margin-top: 1.2rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: var(--gray-black);
    min-height: 1.5em;
}

/* Simulator buttons */
.wp-sim-actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.wp-sim-btn {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    padding: 0.5rem 1.2rem;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.wp-sim-btn:hover:not(:disabled) {
    background: var(--black);
    color: var(--white);
}

.wp-sim-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.wp-sim-btn-initiate {
    border-color: var(--red);
    color: var(--red);
}

.wp-sim-btn-initiate:hover:not(:disabled) {
    background: var(--red);
    color: var(--white);
}

.wp-sim-btn-reject {
    border-color: var(--red);
}

.wp-sim-btn-reject:hover:not(:disabled) {
    background: var(--red);
    color: var(--white);
}

.wp-sim-btn-reset {
    border-color: #999;
    color: #999;
}

.wp-sim-btn-reset:hover {
    background: #999;
    color: var(--white);
}

/* Exposure Panel */
.wp-exposure-panel {
    margin-top: 1.5rem;
    display: inline-flex;
    gap: 2rem;
    background: var(--light-gray);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-family: 'Courier New', Courier, monospace;
}

.wp-exposure-row {
    display: flex;
    gap: 0.4rem;
}

.wp-exposure-label {
    font-weight: 600;
    color: var(--black);
}

/* --- Reputation Bar (P4) --- */
.wp-rep-bar-container {
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.wp-rep-bar-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-black);
    margin-bottom: 0.5rem;
}

.wp-rep-bar-track {
    width: 100%;
    height: 20px;
    border: 1px solid var(--black);
    background: var(--white);
    position: relative;
}

.wp-rep-bar-fill {
    height: 100%;
    background: var(--black);
    transition: width 0.3s ease;
}

.wp-rep-bar-value {
    margin-top: 0.4rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* --- Risk Slider (P5) --- */
.wp-risk-slider-container {
    margin-top: 1.5rem;
    text-align: center;
}

.wp-risk-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 360px;
    height: 4px;
    background: var(--black);
    outline: none;
    margin: 0 auto;
    display: block;
}

.wp-risk-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--red);
    cursor: pointer;
    border: none;
}

.wp-risk-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--red);
    cursor: pointer;
    border: none;
    border-radius: 0;
}

.wp-risk-labels {
    display: flex;
    justify-content: space-between;
    max-width: 360px;
    margin: 0.5rem auto 0;
    font-size: 0.8rem;
    color: var(--gray-black);
}

.wp-risk-output {
    margin-top: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--gray-black);
}

.wp-risk-sep {
    margin: 0 0.6rem;
    color: #ccc;
}

/* --- Constraint Cards (P8) --- */
.wp-constraint-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.wp-constraint-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.2rem;
}

.wp-constraint-card h4 {
    font-family: var(--serif-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.wp-constraint-card p {
    font-size: 0.95rem;
    margin-bottom: 0 !important;
}

/* Collusion Toggle */
.wp-collusion-toggle {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wp-collusion-toggle h4 {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.wp-toggle-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.wp-toggle-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    user-select: none;
}

.wp-toggle-label input {
    display: none;
}

.wp-toggle-switch {
    width: 40px;
    height: 20px;
    background: #ddd;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.wp-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transition: left 0.3s ease;
}

.wp-toggle-label input:checked + .wp-toggle-switch {
    background: var(--red);
}

.wp-toggle-label input:checked + .wp-toggle-switch::after {
    left: 22px;
}

.wp-collusion-output {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--gray-black);
}

.wp-collusion-output strong {
    color: var(--black);
    transition: color 0.3s ease;
}

.wp-collusion-output strong.reduced {
    color: var(--red);
}

/* D3 node pulse animation */
@keyframes nodePulse {
    0%, 100% { r: 10; }
    50% { r: 14; }
}

/* ============================================
   END PROTOCOL SPECIFICATION
   ============================================ */

/* ============================================
   INCENTIVE & GOVERNANCE — Components
   ============================================ */

/* Governance sections spacing */
.wp-gov-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wp-gov-section:last-child {
    border-bottom: none;
}

/* --- G1: Incentive Triangle --- */
.wp-incentive-triangle-container {
    margin-top: 2rem;
    text-align: center;
}

.wp-incentive-triangle-svg {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.wp-triangle-info {
    margin-top: 1.5rem;
    min-height: 3em;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-black);
    transition: opacity 0.3s ease;
}

.wp-triangle-info strong {
    color: var(--red);
}

.wp-role-panels {
    margin-top: 2.5rem;
}

.wp-role-panels .wp-def-block {
    margin-bottom: 0.6rem;
}

/* --- G2: Intent Filtering Flow --- */
.wp-filtering-flow-container {
    margin: 2rem auto;
    max-width: 540px;
}

.wp-flow-stage {
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    transition: border-color 0.3s ease;
}

.wp-flow-stage.active {
    border-color: var(--red);
}

.wp-flow-stage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.wp-flow-stage-num {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
}

.wp-flow-stage-title {
    font-family: var(--serif-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
}

.wp-flow-stage-bar {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.wp-flow-stage-fill {
    height: 100%;
    background: var(--black);
    transition: width 0.6s ease;
}

.wp-flow-stage.active .wp-flow-stage-fill {
    background: var(--red);
}

.wp-flow-stage-desc {
    font-size: 0.9rem;
    color: var(--gray-black);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.wp-flow-stage-metric {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--gray-black);
}

.wp-flow-stage-metric strong {
    color: var(--black);
}

.wp-flow-arrow {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    padding: 0.3rem 0;
    line-height: 1;
}

.wp-flow-summary {
    margin-top: 1.2rem;
    padding: 0.8rem 1.4rem;
    background: var(--light-gray);
    display: flex;
    justify-content: space-between;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.wp-flow-summary-label {
    color: var(--gray-black);
}

.wp-flow-summary-value {
    font-weight: 700;
    color: var(--red);
}

/* --- G3: Friction Dial --- */
.wp-friction-container {
    margin: 2rem auto;
    max-width: 500px;
    text-align: center;
}

.wp-friction-svg {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.wp-friction-controls {
    margin-top: 1.5rem;
}

.wp-friction-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-black);
    text-align: center;
}

.wp-friction-labels small {
    display: block;
    color: #aaa;
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.wp-friction-output {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.wp-friction-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.wp-friction-metric-label {
    font-size: 0.8rem;
    color: var(--gray-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wp-friction-metric-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    transition: color 0.3s ease;
}

.wp-friction-metric-value.warning {
    color: var(--red);
}

/* --- G4: Reputation Distribution --- */
.wp-distribution-container {
    margin: 2rem auto;
    max-width: 620px;
}

.wp-dist-toggle-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.wp-dist-toggle {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    padding: 0.5rem 1.2rem;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.wp-dist-toggle:hover {
    background: var(--light-gray);
}

.wp-dist-toggle.active {
    background: var(--black);
    color: var(--white);
}

.wp-dist-chart-container {
    margin: 0 auto;
}

.wp-dist-chart-svg {
    width: 100%;
    display: block;
}

.wp-dist-info {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-black);
    min-height: 3em;
}

.wp-dist-info strong {
    color: var(--black);
}

/* --- G5: Power Concentration --- */
.wp-power-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.wp-power-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.4rem;
}

.wp-power-card h4 {
    font-family: var(--serif-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.wp-power-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem !important;
}

.wp-power-formula {
    margin-top: 0.5rem;
}

/* --- G6: Collusion Demo --- */
.wp-collusion-demo {
    margin: 2rem auto;
    max-width: 600px;
}

.wp-collusion-scenario {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wp-collusion-visual {
    text-align: center;
}

.wp-collusion-svg {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.wp-collusion-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wp-collusion-readout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.wp-collusion-readout-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}

.wp-collusion-readout-item span {
    color: var(--gray-black);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wp-collusion-readout-item strong {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: var(--black);
    transition: color 0.3s ease;
}

.wp-collusion-readout-item strong.flagged {
    color: var(--red);
}

/* --- G7: Recovery Mechanism --- */
.wp-recovery-container {
    margin: 2rem auto;
    max-width: 500px;
}

.wp-recovery-scenario {
    text-align: center;
}

.wp-recovery-label {
    font-size: 0.9rem;
    color: var(--gray-black);
    margin-bottom: 0.8rem;
}

.wp-recovery-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-black);
}

.wp-recovery-output {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.wp-recovery-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.wp-recovery-row span {
    color: var(--gray-black);
}

.wp-recovery-row strong {
    font-family: 'Courier New', Courier, monospace;
    color: var(--black);
}

.wp-recovery-bar {
    margin-top: 1.5rem;
}

.wp-recovery-bar-track {
    width: 100%;
    height: 16px;
    border: 1px solid var(--black);
    background: var(--white);
    position: relative;
}

.wp-recovery-bar-fill {
    height: 100%;
    background: var(--black);
    transition: width 0.4s ease;
}

.wp-recovery-bar-target {
    position: absolute;
    top: -6px;
    width: 2px;
    height: 28px;
    background: var(--red);
}

.wp-recovery-bar-target-high {
    background: #999;
}

.wp-recovery-bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--gray-black);
}

/* --- G8: System Integrity Summary --- */
.wp-integrity-grid {
    margin: 1.5rem 0;
}

.wp-integrity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wp-integrity-item:last-child {
    border-bottom: none;
}

.wp-integrity-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--red);
    font-weight: 700;
    border: 1px solid var(--red);
    line-height: 1;
}

.wp-integrity-text strong {
    display: block;
    font-family: var(--serif-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.wp-integrity-text p {
    font-size: 0.9rem;
    color: var(--gray-black);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

/* ============================================
   END INCENTIVE & GOVERNANCE
   ============================================ */

/* ============================================
   STRATEGIC OUTLOOK — Components
   ============================================ */

/* Vision sections spacing */
.wp-vision-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wp-vision-section:last-child {
    border-bottom: none;
}

/* Diagram caption */
.wp-diagram-caption {
    text-align: center;
    font-family: var(--sans-font);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1rem;
}

/* --- S1: Layer Model --- */
.wp-layer-model-container {
    margin: 3rem auto;
    max-width: 600px;
    text-align: center;
}

.wp-layer-model-svg {
    width: 100%;
    display: block;
}

/* --- S2: Access Simulation --- */
.wp-access-sim-container {
    margin: 2rem auto;
    max-width: 720px;
}

.wp-access-toggle-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.wp-access-toggle {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    padding: 0.5rem 1.2rem;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.wp-access-toggle:hover {
    background: var(--light-gray);
}

.wp-access-toggle.active {
    background: var(--black);
    color: var(--white);
}

.wp-access-sim-visual {
    text-align: center;
}

.wp-access-sim-svg {
    width: 100%;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
}

.wp-access-sim-readout {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.2rem;
}

.wp-access-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.wp-access-metric-label {
    font-size: 0.8rem;
    color: var(--gray-black);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wp-access-metric-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
}

/* --- S3: Institutional Flow --- */
.wp-institutional-container {
    margin: 2rem auto;
    max-width: 720px;
    text-align: center;
}

.wp-institutional-svg {
    width: 100%;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
}

/* --- S4: Multi-Step Routing --- */
.wp-multistep-container {
    margin: 2rem auto;
    max-width: 720px;
}

.wp-multistep-path {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.wp-ms-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    transition: opacity 0.3s ease;
}

.wp-ms-node-circle {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.wp-ms-node.active .wp-ms-node-circle {
    background: var(--red);
}

.wp-ms-node.visited .wp-ms-node-circle {
    background: var(--red);
}

.wp-ms-node-label {
    font-size: 0.8rem;
    color: var(--gray-black);
    margin-top: 0.5rem;
    text-align: center;
}

.wp-ms-context {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    color: var(--red);
    margin-top: 0.4rem;
    text-align: center;
    min-height: 1.2em;
    max-width: 120px;
    line-height: 1.4;
}

.wp-ms-arrow {
    font-size: 1.5rem;
    color: #ccc;
    padding: 0.8rem 0.5rem 0;
    transition: color 0.3s ease;
}

.wp-ms-arrow.active {
    color: var(--red);
}

.wp-multistep-actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2rem;
}

.wp-multistep-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-black);
    font-style: italic;
}

/* --- S5: Visibility vs Validation Contrast --- */
.wp-contrast-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2.5rem auto;
    max-width: 540px;
}

.wp-contrast-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

.wp-contrast-heading {
    font-family: var(--serif-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.wp-contrast-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.wp-contrast-step {
    font-family: var(--sans-font);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-black);
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.wp-contrast-arrow {
    font-size: 1.2rem;
    color: #000;
    line-height: 1;
}

.wp-contrast-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    align-self: stretch;
}

/* --- S6: Accountability Chain --- */
.wp-accountability-container {
    margin: 2rem auto;
    max-width: 620px;
}

.wp-acct-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.wp-acct-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.4s ease;
}

.wp-acct-node.removed {
    opacity: 0.15;
}

.wp-acct-node-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-family: var(--sans-font);
    font-size: 1rem;
    font-weight: 600;
}

.wp-acct-node.removed .wp-acct-node-circle {
    background: #ccc;
}

.wp-acct-node-role {
    font-size: 0.75rem;
    color: var(--gray-black);
    margin-top: 0.4rem;
    text-align: center;
}

.wp-acct-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.8rem;
    transition: opacity 0.4s ease;
}

.wp-acct-link.weakened {
    opacity: 0.15;
}

.wp-acct-link-line {
    width: 50px;
    height: 2px;
    background: var(--black);
    transition: background 0.3s ease;
}

.wp-acct-link.weakened .wp-acct-link-line {
    background: var(--red);
    height: 1px;
}

.wp-acct-link-label {
    font-size: 0.65rem;
    color: #999;
    margin-top: 0.3rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wp-acct-toggle-row {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.wp-acct-status {
    text-align: center;
    margin-top: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--gray-black);
    transition: color 0.3s ease;
}

.wp-acct-status.broken {
    color: var(--red);
}

/* --- S7: Network Growth Comparison --- */
.wp-growth-container {
    margin: 2rem auto;
    max-width: 720px;
}

.wp-growth-slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.wp-growth-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-black);
    white-space: nowrap;
}

.wp-growth-size-labels {
    display: flex;
    gap: 1.8rem;
    font-size: 0.75rem;
    color: var(--gray-black);
    font-family: 'Courier New', Courier, monospace;
}

.wp-growth-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wp-growth-panel {
    text-align: center;
}

.wp-growth-panel-title {
    font-family: var(--serif-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.wp-growth-svg {
    width: 100%;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
}

.wp-growth-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--gray-black);
}

.wp-growth-stats strong {
    font-family: 'Courier New', Courier, monospace;
    color: var(--black);
}

/* ============================================
   END STRATEGIC OUTLOOK
   ============================================ */

@media (max-width: 768px) {
    .wp-logo {
        height: 30px;
    }

    .wp-tab-selector.sticky {
        padding: 0 1rem;
    }

    .wp-section {
        padding: 80px 0;
    }

    .wp-heading-serif {
        font-size: 1.7rem;
    }

    .wp-body-text {
        font-size: 1rem;
    }

    .wp-container {
        padding: 0 1.5rem;
    }

    .wp-pillars-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .wp-pillar {
        width: 100%;
        max-width: 280px;
        height: auto;
        padding: 1.2rem;
    }

    .wp-tab-selector.sticky .wp-pillars-container {
        flex-direction: row;
        gap: 0;
    }

    .wp-tab-selector.sticky .wp-pillar {
        flex: 1;
        padding: 0.7rem 0.5rem;
    }

    .wp-tab-selector.sticky .wp-pillar-heading {
        font-size: 0.8rem;
    }

    .wp-bar-chart {
        gap: 2rem;
        height: 140px;
    }

    .wp-bar-tall {
        height: 100px;
    }

    .wp-bar {
        width: 44px;
    }

    .wp-subheading {
        font-size: 1.3rem;
    }

    .wp-tab-panel {
        padding: 60px 0 80px;
    }

    .wp-constraint-grid {
        grid-template-columns: 1fr;
    }

    .wp-exposure-panel {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .wp-intent-sim {
        height: 320px;
    }

    .wp-intent-status-panel {
        gap: 0.6rem;
    }

    .wp-status-item {
        font-size: 0.7rem;
    }

    .wp-container-wide {
        padding: 0 1.5rem;
    }

    /* Governance responsive */
    .wp-power-grid {
        grid-template-columns: 1fr;
    }

    .wp-collusion-readout {
        flex-direction: column;
        gap: 0.8rem;
    }

    .wp-friction-output {
        gap: 1.5rem;
    }

    .wp-dist-toggle-row {
        gap: 0.3rem;
    }

    .wp-dist-toggle {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .wp-friction-labels {
        font-size: 0.65rem;
    }

    /* Vision responsive */
    .wp-growth-panels {
        grid-template-columns: 1fr;
    }

    .wp-contrast-container {
        flex-direction: column;
    }

    .wp-contrast-divider {
        width: 100%;
        height: 1px;
    }

    .wp-multistep-path {
        gap: 0.5rem;
    }

    .wp-ms-arrow {
        padding: 0.3rem 0.2rem 0;
        font-size: 1.2rem;
    }

    .wp-ms-node {
        min-width: 70px;
    }

    .wp-ms-node-circle {
        width: 42px;
        height: 42px;
        font-size: 0.75rem;
    }

    .wp-ms-node-label {
        font-size: 0.7rem;
    }

    .wp-acct-chain {
        gap: 0.2rem;
    }

    .wp-acct-link {
        padding: 0 0.3rem;
    }

    .wp-acct-link-line {
        width: 30px;
    }

    .wp-acct-link-label {
        font-size: 0.55rem;
    }

    .wp-access-sim-readout {
        flex-direction: column;
        gap: 0.8rem;
    }

    .wp-growth-size-labels {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .wp-heading-serif {
        font-size: 1.5rem;
    }

    .wp-tab-selector.sticky .wp-pillar-heading {
        font-size: 0.7rem;
    }
}
