/* ═══════════════════════════════════════════════════ */
/* INDEX PAGE - HOMEPAGE SPECIFIC STYLES               */
/* ═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════ */
/* HERO                                                */
/* ═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

/* Abstract background graphic */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, .08) 0%, transparent 70%);
    animation: heroPulse 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(88, 166, 255, .05) 0%, transparent 70%);
    animation: heroPulse 10s ease-in-out infinite reverse;
}

@keyframes heroPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: .7;
    }
}

/* Grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, .03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text .label {
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(42px, 5.5vw, 68px);
    line-height: 1.08;
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.hero-title em {
    font-style: italic;
    color: var(--adjudicator);
}

.hero-desc {
    font-size: 17px;
    color: var(--text2);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--adjudicator);
    color: #fff;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 0 30px rgba(139, 92, 246, .2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(139, 92, 246, .35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text2);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
}

.btn-secondary:hover {
    border-color: var(--text3);
    color: var(--text);
}

/* Hero visual — Constitutional Stack diagram */
.hero-visual {
    position: relative;
    height: 500px;
}

.stack-diagram {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all .4s cubic-bezier(.23, 1, .32, 1);
    cursor: default;
}

.stack-layer:hover {
    transform: translateX(-50%) translateY(-4px);
    border-color: var(--adjudicator);
}

.stack-layer-tag {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stack-layer-name {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.stack-layer-desc {
    font-size: 12px;
    color: var(--text2);
    margin-top: 4px;
}

.stack-l1 {
    top: 10px;
    background: rgba(139, 92, 246, .06);
    border-color: rgba(139, 92, 246, .2);
    z-index: 4;
}

.stack-l1 .stack-layer-tag {
    color: var(--adjudicator);
}

.stack-l2 {
    top: 130px;
    background: rgba(248, 81, 73, .04);
    border-color: rgba(248, 81, 73, .15);
    z-index: 3;
}

.stack-l2 .stack-layer-tag {
    color: var(--critic);
}

.stack-l3 {
    top: 250px;
    background: rgba(240, 136, 62, .04);
    border-color: rgba(240, 136, 62, .15);
    z-index: 2;
}

.stack-l3 .stack-layer-tag {
    color: var(--planner);
}

.stack-l4 {
    top: 370px;
    background: rgba(88, 166, 255, .04);
    border-color: rgba(88, 166, 255, .15);
    z-index: 1;
}

.stack-l4 .stack-layer-tag {
    color: var(--gate);
}

/* Priority arrow */
.stack-arrow {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--adjudicator), var(--gate));
    opacity: .15;
    transform: translateX(-50%);
    z-index: 0;
}

.stack-arrow-label {
    position: absolute;
    left: calc(50% + 180px);
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text3);
    white-space: nowrap;
}

@media (max-width: 960px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-visual {
        height: auto;
    }

    .stack-diagram {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .stack-layer {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
    }

    .stack-layer:hover {
        transform: translateY(-4px);
    }

    .stack-arrow {
        display: none;
    }

    .stack-arrow-label {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════ */
/* SOCIAL PROOF BAR                                    */
/* ═══════════════════════════════════════════════════ */
.proof-bar {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.proof-stat {
    text-align: center;
}

.proof-stat-num {
    font-family: var(--serif);
    font-size: 38px;
    color: var(--text);
    font-weight: 400;
}

.proof-stat-label {
    font-size: 12px;
    color: var(--text3);
    margin-top: 4px;
    font-family: var(--mono);
    letter-spacing: 0.5px;
}

.proof-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ═══════════════════════════════════════════════════ */
/* TIMING & MARKET (combined)                          */
/* ═══════════════════════════════════════════════════ */
.timing-market {
    padding: var(--section-pad) 0;
}

/* ═══════════════════════════════════════════════════ */
/* COMPETITION                                         */
/* ═══════════════════════════════════════════════════ */
.competition {
    padding: var(--section-pad) 0;
    background: var(--bg2);
}

.competition-header {
    text-align: center;
}

.competition-header .section-subtitle {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════ */
/* SOVEREIGNTY                                         */
/* ═══════════════════════════════════════════════════ */
.sovereignty-section {
    padding: var(--section-pad) 0;
}

.sovereignty-header {
    text-align: center;
    margin-bottom: 60px;
}

.sovereignty-header .section-subtitle {
    margin: 0 auto;
    text-align: left;
}

.sov-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 420px;
}

.sov-panel {
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.sov-yours {
    background: var(--card);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 16px 0 0 16px;
}

.sov-ours {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 16px 16px 0;
}

.sov-membrane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.membrane-line {
    width: 1px;
    flex: 1;
    background: repeating-linear-gradient(to bottom,
            var(--adjudicator) 0px, var(--adjudicator) 4px,
            transparent 4px, transparent 12px);
    opacity: 0.5;
}

.membrane-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--adjudicator);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--adjudicator);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(139, 92, 246, .15);
}

.sov-panel h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.sov-panel .sov-sub {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.sov-yours .sov-sub {
    color: var(--approved);
}

.sov-ours .sov-sub {
    color: var(--adjudicator);
}

.sov-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.sov-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 0.1rem;
}

.sov-yours .sov-item-icon {
    background: rgba(63, 185, 80, 0.1);
    color: var(--approved);
    border: 1px solid rgba(63, 185, 80, 0.2);
}

.sov-ours .sov-item-icon {
    background: rgba(139, 92, 246, .1);
    color: var(--adjudicator);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.sov-item-text h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.sov-item-text p {
    font-size: 0.8rem;
    color: var(--text2);
    font-weight: 400;
    line-height: 1.5;
}

.sov-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, currentColor 1px, transparent 0);
    background-size: 24px 24px;
}

.sov-yours .sov-bg-pattern {
    color: var(--approved);
}

.sov-ours .sov-bg-pattern {
    color: var(--adjudicator);
}

.sov-principle {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
}

.sov-principle p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text2);
    line-height: 1.6;
}

.sov-principle p strong {
    color: var(--text);
    font-style: normal;
}

@media (max-width: 960px) {
    .sov-grid {
        grid-template-columns: 1fr;
    }

    .sov-membrane {
        flex-direction: row;
        height: 60px;
    }

    .membrane-line {
        width: auto;
        height: 1px;
        flex: 1;
        background: repeating-linear-gradient(to right, var(--adjudicator) 0px, var(--adjudicator) 4px, transparent 4px, transparent 12px);
    }

    .sov-yours {
        border-radius: 16px 16px 0 0;
        border-right: 1px solid var(--border);
        border-bottom: none;
    }

    .sov-ours {
        border-radius: 0 0 16px 16px;
        border-left: 1px solid var(--border);
        border-top: none;
    }
}

/* ═══════════════════════════════════════════════════ */
/* PROBLEM SECTION                                     */
/* ═══════════════════════════════════════════════════ */
.problem {
    padding: var(--section-pad) 0;
    position: relative;
}

.problem-header {
    text-align: center;
    margin-bottom: 80px;
}

.problem-header .section-subtitle {
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.problem-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.problem-card:nth-child(1)::before {
    background: var(--critic);
}

.problem-card:nth-child(2)::before {
    background: var(--planner);
}

.problem-card:nth-child(3)::before {
    background: var(--pending);
}

.problem-card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.problem-card:nth-child(1) .problem-icon {
    background: rgba(248, 81, 73, .1);
}

.problem-card:nth-child(2) .problem-icon {
    background: rgba(240, 136, 62, .1);
}

.problem-card:nth-child(3) .problem-icon {
    background: rgba(210, 153, 34, .1);
}

.problem-card h3 {
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.problem-card p {
    font-size: 14.5px;
    color: var(--text2);
    line-height: 1.7;
}

.problem-callout {
    margin-top: 60px;
    background: var(--card);
    border: 1px solid rgba(139, 92, 246, .2);
    border-radius: 16px;
    padding: 36px 44px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.problem-callout-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-callout blockquote {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.problem-callout cite {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    font-style: normal;
    color: var(--text3);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════ */
/* SOLUTION — CONSTITUTIONAL ARCHITECTURE              */
/* ═══════════════════════════════════════════════════ */
.solution {
    padding: var(--section-pad) 0;
    position: relative;
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.solution-left {
    position: sticky;
    top: 100px;
}

.layer-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.layer-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 28px;
    transition: all .35s;
    cursor: default;
}

.layer-card:hover {
    transform: translateX(6px);
}

.layer-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.layer-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.layer-card-file {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.layer-card-role {
    font-size: 11px;
    color: var(--text3);
    font-family: var(--mono);
}

.layer-card p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

.lc-values {
    border-left: 3px solid var(--adjudicator);
}

.lc-values .layer-card-icon {
    background: rgba(139, 92, 246, .12);
    color: var(--adjudicator);
}

.lc-values:hover {
    border-color: var(--adjudicator);
}

.lc-heuristics {
    border-left: 3px solid var(--critic);
}

.lc-heuristics .layer-card-icon {
    background: rgba(248, 81, 73, .1);
    color: var(--critic);
}

.lc-heuristics:hover {
    border-color: var(--critic);
}

.lc-soul {
    border-left: 3px solid var(--planner);
}

.lc-soul .layer-card-icon {
    background: rgba(240, 136, 62, .1);
    color: var(--planner);
}

.lc-soul:hover {
    border-color: var(--planner);
}

.lc-skill {
    border-left: 3px solid var(--gate);
}

.lc-skill .layer-card-icon {
    background: rgba(88, 166, 255, .1);
    color: var(--gate);
}

.lc-skill:hover {
    border-color: var(--gate);
}

@media (max-width: 960px) {
    .solution-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .solution-left {
        position: relative;
        top: 0;
    }

    .layer-cards {
        width: 100%;
    }

    .layer-card {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════ */
/* DIALECTIC — HOW IT WORKS                            */
/* ═══════════════════════════════════════════════════ */
.dialectic {
    padding: var(--section-pad) 0;
    background: var(--bg2);
    position: relative;
}

.dialectic-header {
    text-align: center;
    margin-bottom: 80px;
}

.dialectic-header .section-subtitle {
    margin: 0 auto;
}

/* Flow diagram */
.dialectic-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.flow-node {
    text-align: center;
    padding: 28px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
    min-width: 180px;
    transition: all .3s;
    position: relative;
}

.flow-node:hover {
    transform: translateY(-4px);
}

.flow-node-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.flow-node h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.flow-node p {
    font-size: 12px;
    color: var(--text2);
    font-family: var(--mono);
}

.fn-planner .flow-node-icon {
    background: rgba(240, 136, 62, .12);
}

.fn-planner h4 {
    color: var(--planner);
}

.fn-critic .flow-node-icon {
    background: rgba(248, 81, 73, .1);
}

.fn-critic h4 {
    color: var(--critic);
}

.fn-adjudicator .flow-node-icon {
    background: rgba(139, 92, 246, .1);
}

.fn-adjudicator h4 {
    color: var(--adjudicator);
}

.fn-gateway .flow-node-icon {
    background: rgba(88, 166, 255, .1);
}

.fn-gateway h4 {
    color: var(--gate);
}

.fn-executive .flow-node-icon {
    background: rgba(63, 185, 80, .1);
}

.fn-executive h4 {
    color: var(--approved);
}

.flow-arrow {
    font-size: 20px;
    color: var(--text3);
    padding: 0 12px;
    flex-shrink: 0;
}

/* Dialectic explanation cards */
.dialectic-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
}

.dial-card .step-num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--adjudicator);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.dial-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.dial-card p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .dialectic-flow {
        flex-direction: column;
        gap: 8px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .dialectic-details {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════ */
/* PLATFORM SCREENS                                    */
/* ═══════════════════════════════════════════════════ */
.screens {
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.screens-header {
    text-align: center;
    margin-bottom: 60px;
}

.screens-header .section-subtitle {
    margin: 0 auto;
}

/* Tab navigation */
.screen-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.screen-tab {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
}

.screen-tab:hover {
    border-color: var(--border2);
    color: var(--text);
}

.screen-tab.active {
    background: var(--adjudicator);
    border-color: var(--adjudicator);
    color: #fff;
}

/* Screen display */
.screen-display {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
}

.screen-frame {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .4), 0 0 0 1px rgba(139, 92, 246, .05);
    transition: opacity .4s, transform .4s;
}

.screen-frame-bar {
    height: 40px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.screen-frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border2);
}

.screen-frame-dot:nth-child(1) {
    background: #f85149;
}

.screen-frame-dot:nth-child(2) {
    background: #d29922;
}

.screen-frame-dot:nth-child(3) {
    background: #3fb950;
}

.screen-frame-url {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text3);
}

.screen-content {
    height: 520px;
    overflow: hidden;
    position: relative;
}

.screen-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.screen-slide.active {
    display: block;
}

.screen-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transform-origin: top left;
}

/* Screen caption */
.screen-caption {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.screen-caption-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--adjudicator);
    font-weight: 600;
}

.screen-caption-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.screen-caption-desc {
    font-size: 13px;
    color: var(--text2);
    max-width: 400px;
}

/* Navigation arrows */
.screen-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.screen-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all .2s;
}

.screen-nav-btn:hover {
    border-color: var(--adjudicator);
    color: var(--adjudicator);
}

.screen-counter {
    display: flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text3);
    padding: 0 12px;
}

/* ═══════════════════════════════════════════════════ */
/* FEATURES GRID                                       */
/* ═══════════════════════════════════════════════════ */
.features {
    padding: var(--section-pad) 0;
    background: var(--bg2);
}

.features-header {
    text-align: center;
    margin-bottom: 70px;
}

.features-header .section-subtitle {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    transition: all .3s;
}

.feature-card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
}

.feature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

/* Colored icon backgrounds */
.fi-purple {
    background: rgba(139, 92, 246, .1);
}

.fi-red {
    background: rgba(248, 81, 73, .1);
}

.fi-orange {
    background: rgba(240, 136, 62, .1);
}

.fi-blue {
    background: rgba(88, 166, 255, .1);
}

.fi-green {
    background: rgba(63, 185, 80, .1);
}

.fi-gold {
    background: rgba(210, 153, 34, .1);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════ */
/* TRUST LADDER                                        */
/* ═══════════════════════════════════════════════════ */
.trust {
    padding: var(--section-pad) 0;
    background: var(--bg2);
}

.trust-header {
    text-align: center;
    margin-bottom: 70px;
}

.trust-header .section-subtitle {
    margin: 0 auto;
}

.trust-ladder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-stage {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: all .3s;
}

.trust-stage:hover {
    transform: translateY(-4px);
}

.trust-stage-num {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.trust-stage h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.trust-stage p {
    font-size: 12.5px;
    color: var(--text2);
    line-height: 1.6;
}

.ts-1 {
    border-top: 3px solid var(--gate);
}

.ts-1 .trust-stage-num {
    color: var(--gate);
}

.ts-2 {
    border-top: 3px solid var(--adjudicator);
}

.ts-2 .trust-stage-num {
    color: var(--adjudicator);
}

.ts-3 {
    border-top: 3px solid var(--planner);
}

.ts-3 .trust-stage-num {
    color: var(--planner);
}

.ts-4 {
    border-top: 3px solid var(--approved);
}

.ts-4 .trust-stage-num {
    color: var(--approved);
}

.trust-arrow-row {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.trust-arrow-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text3);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
}

.trust-arrow-line::before,
.trust-arrow-line::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

@media (max-width: 768px) {
    .trust-ladder {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════ */
/* PERSONAS                                            */
/* ═══════════════════════════════════════════════════ */
.personas {
    padding: var(--section-pad) 0;
    background: var(--bg2);
}

.personas-header {
    text-align: center;
    margin-bottom: 70px;
}

.personas-header .section-subtitle {
    margin: 0 auto;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.persona-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    gap: 24px;
    transition: all .3s;
}

.persona-card:hover {
    border-color: var(--border2);
    transform: translateY(-2px);
}

.persona-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.pa-cto {
    background: rgba(139, 92, 246, .1);
}

.pa-ai {
    background: rgba(88, 166, 255, .1);
}

.pa-ciso {
    background: rgba(248, 81, 73, .1);
}

.pa-coo {
    background: rgba(240, 136, 62, .1);
}

.persona-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.persona-role {
    font-size: 12px;
    color: var(--text3);
    font-family: var(--mono);
    margin-bottom: 12px;
}

.persona-desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 16px;
}

.persona-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.persona-tag {
    font-family: var(--mono);
    font-size: 10.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
}

@media (max-width: 768px) {
    .personas-grid {
        grid-template-columns: 1fr;
    }

    .persona-card {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════ */
/* ECONOMICS / ROI                                     */
/* ═══════════════════════════════════════════════════ */
.economics {
    padding: var(--section-pad) 0;
}

.econ-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.econ-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.econ-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.econ-stat-value {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--text);
}

.econ-stat-label {
    font-size: 12px;
    color: var(--text2);
    margin-top: 4px;
}

.econ-stat-change {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--approved);
    margin-top: 6px;
}

.econ-visual {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.econ-visual h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text2);
}

/* Simple bar chart */
.econ-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.econ-bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.econ-bar-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text2);
    width: 130px;
    flex-shrink: 0;
    text-align: right;
}

.econ-bar-track {
    flex: 1;
    height: 28px;
    background: var(--surface);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.econ-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-family: var(--mono);
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    transition: width 1.2s cubic-bezier(.23, 1, .32, 1);
}

@media (max-width: 768px) {
    .econ-layout {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════ */
/* MANIFESTO                                           */
/* ═══════════════════════════════════════════════════ */
.manifesto {
    padding: var(--section-pad) 0;
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

.manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 30% 50%, rgba(139, 92, 246, .04), transparent),
        radial-gradient(ellipse 40% 60% at 70% 50%, rgba(88, 166, 255, .03), transparent);
}

.manifesto-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.manifesto-quote {
    font-family: var(--serif);
    font-size: clamp(24px, 3.5vw, 36px);
    font-style: italic;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 32px;
}

.manifesto-text {
    font-size: 16px;
    color: var(--text2);
    line-height: 1.85;
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════ */
/* CTA                                                 */
/* ═══════════════════════════════════════════════════ */
.cta {
    padding: var(--section-pad) 0 120px;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, .06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 17px;
    color: var(--text2);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-input {
    padding: 14px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    width: 300px;
    outline: none;
    transition: border-color .2s;
}

.cta-input::placeholder {
    color: var(--text3);
}

.cta-input:focus {
    border-color: var(--adjudicator);
}

.cta-note {
    font-size: 12px;
    color: var(--text3);
    margin-top: 16px;
}

/* ═══════════════════════════════════════════════════ */
/* FOOTER                                              */
/* ═══════════════════════════════════════════════════ */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.footer-logo em {
    color: var(--adjudicator);
    font-style: normal;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text3);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--text2);
}

.footer-copy {
    font-size: 12px;
    color: var(--text3);
}

.footer-disclaimer {
    font-size: 11px;
    color: var(--text3);
    line-height: 1.6;
    margin-top: 16px;
    max-width: 720px;
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════ */
/* HEURISTIC LEARNING SECTION                          */
/* ═══════════════════════════════════════════════════ */
.heuristic-section {
    padding: var(--section-pad) 0;
    background: var(--bg2);
    position: relative;
}

.heuristic-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.heuristic-loop {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
}

.loop-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}

.loop-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 48px;
    bottom: -4px;
    width: 1px;
    background: var(--border);
}

.loop-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
}

.loop-step-text h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.loop-step-text p {
    font-size: 12.5px;
    color: var(--text2);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .heuristic-layout {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════ */
/* GOVERNANCE GRAPHIC                                  */
/* ═══════════════════════════════════════════════════ */
.gov-graphic {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.gov-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.gov-tier {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all .3s;
}

.gov-tier:hover {
    border-color: var(--border2);
}

.gov-tier-badge {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.gov-tier-name {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}

.gov-tier-scope {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text3);
}

.gt-fast .gov-tier-badge {
    background: rgba(63, 185, 80, .12);
    color: var(--approved);
}

.gt-dialectic .gov-tier-badge {
    background: rgba(139, 92, 246, .1);
    color: var(--adjudicator);
}

.gt-full .gov-tier-badge {
    background: rgba(210, 153, 34, .1);
    color: var(--pending);
}

.gt-human .gov-tier-badge {
    background: rgba(248, 81, 73, .1);
    color: var(--critic);
}