:root{
    --bg:#0B0F0D;
    --surface:#121914;
    --surface2:#172019;
    --lime:#C7F36B;
    --mint:#75E6B1;
    --ivory:#F5F3EA;
    --muted:#A9B3A9;
    --border:#273128;
    --danger:#F08A8A;
    --amber:#F0C96B
}

*{
    box-sizing:border-box
}

body{
    margin:0;
    background:
        radial-gradient(
            circle at 50% 0%,
            #142018 0%,
            var(--bg) 42%
        );
    color:var(--ivory);
    font-family:Inter,system-ui,sans-serif;
    min-height:100vh
}

a{
    color:inherit;
    text-decoration:none
}

.site-header{
    height:76px;
    display:flex;
    align-items:center;
    gap:10px;
    max-width:1180px;
    margin:auto;
    padding:0 24px
}

.brand{
    font-family:Manrope,Arial,sans-serif;
    font-size:25px;
    line-height:1;
    font-weight:800;
    letter-spacing:-0.055em;
    white-space:nowrap
}

.brand span{
    color:var(--ivory)
}

.brand b{
    color:var(--lime);
    font-weight:800
}

.byline{
    font-size:12px;
    color:var(--muted);
    margin-right:auto
}

.site-header nav{
    display:flex;
    gap:24px;
    font-size:13px;
    color:var(--muted)
}

.site-header nav a:hover{
    color:var(--ivory)
}

.shell{
    max-width:900px;
    margin:auto;
    padding:7vh 24px 9vh
}

.hero{
    text-align:center;
    max-width:760px;
    margin:auto
}

.eyebrow{
    text-transform:uppercase;
    letter-spacing:.22em;
    font:700 11px Manrope;
    margin:0 0 20px;
    color:var(--lime)
}

h1{
    font:800 clamp(48px,8vw,88px)/.96 Manrope;
    letter-spacing:-.055em;
    margin:0
}

h1 .wordmark{
    font-family:Manrope,Arial,sans-serif;
    color:var(--ivory);
    white-space:nowrap
}

h1 .wordmark i{
    font-style:normal;
    color:var(--ivory)
}

h1 .wordmark b{
    color:var(--lime);
    font-weight:800
}

.intro{
    max-width:560px;
    margin:25px auto 38px;
    color:var(--muted);
    font-size:16px;
    line-height:1.65
}

.ask-form{
    background:rgba(18,25,20,.92);
    border:1px solid var(--border);
    border-radius:22px;
    padding:10px;
    box-shadow:0 24px 80px #00000047;
    text-align:left
}

.ask-form:focus-within{
    border-color:#c7f36b8c;
    box-shadow:
        0 0 0 4px #c7f36b12,
        0 24px 80px #00000047
}

textarea{
    width:100%;
    resize:none;
    background:transparent;
    border:0;
    outline:0;
    color:var(--ivory);
    padding:17px 18px 10px;
    min-height:100px;
    font:500 18px/1.5 Manrope
}

textarea::placeholder{
    color:#6f796f
}

.form-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:8px 8px 5px 18px
}

.form-bottom>span{
    font-size:11px;
    
}

button{
    border:0;
    border-radius:14px;
    background:#004000;
    padding:5px 10px 5px 10px;
    font:12px Manrope;
    cursor:pointer;
    display:flex;
    gap:3px;
    align-items:center;
    transition:.18s
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 5px 25px #c7f36b2e
}

button:disabled{
    opacity:.55;
    cursor:wait;
    transform:none
}

.trust-line{
    display:flex;
    justify-content:center;
    gap:12px;
    color:var(--muted);
    font-size:12px;
    margin-top:20px
}

.trust-line em{
    color:#4d594e;
    font-style:normal
}

.checking,
.result{
    max-width:760px;
    margin:70px auto 0
}

.checking{
    text-align:center;
    padding:35px 20px
}

.pulse{
    width:14px;
    height:14px;
    background:var(--lime);
    border-radius:50%;
    margin:0 auto 22px;
    box-shadow:0 0 0 #c7f36b80;
    animation:pulse 1.5s infinite
}

@keyframes pulse{

    70%{
        box-shadow:0 0 0 16px #c7f36b00
    }

    100%{
        box-shadow:0 0 0 #c7f36b00
    }
}

.checking-title{
    font:700 20px Manrope;
    margin:0
}

.checking-sub{
    font-size:13px;
    color:var(--muted);
    margin-top:9px
}

.result-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:28px;
    padding:30px
}

.result-label{
    font:700 10px Manrope;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:var(--muted)
}

.status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font:700 12px Manrope;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-top:18px
}

.status-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--lime)
}

.status.contradicted .status-dot{
    background:var(--danger)
}

.status.unclear .status-dot{
    background:var(--amber)
}

.status.insufficient .status-dot{
    background:#8d968e
}

.result h2{
    font:700 clamp(25px,4vw,38px)/1.18 Manrope;
    letter-spacing:-.03em;
    margin:12px 0 18px
}

.summary{
    font-size:16px;
    line-height:1.75;
    color:#d9ddd6;
    margin:0
}

.block{
    border-top:1px solid var(--border);
    margin-top:28px;
    padding-top:25px
}

.block h3{
    font:700 12px Manrope;
    text-transform:uppercase;
    letter-spacing:.16em;
    margin:0 0 13px;
    color:var(--muted)
}

.sources{
    display:grid;
    gap:12px
}

.source{
    background:var(--surface2);
    border:1px solid var(--border);
    border-radius:17px;
    padding:17px
}

.source-title{
    font:700 15px Manrope
}

.source-meta{
    font-size:11px;
    color:var(--muted);
    margin-top:5px
}

.source-evidence{
    font-size:13px;
    line-height:1.6;
    margin:12px 0;
    color:#d6dbd4
}

.source a{
    font:700 12px Manrope;
    color:var(--lime)
}

.new-question{
    margin-top:24px;
    background:transparent;
    color:var(--lime);
    border:1px solid var(--border);
    box-shadow:none
}

.new-question:hover{
    box-shadow:none;
    border-color:var(--lime)
}

.site-footer{
    max-width:1180px;
    margin:auto;
    padding:30px 24px 38px;
    border-top:1px solid var(--border);
    color:var(--muted);
    font-size:11px;
    text-align:center
}

.site-footer>div:first-child{
    display:flex;
    justify-content:center;
    align-items:baseline;
    gap:7px
}

.site-footer strong{
    font-family:Manrope,Arial,sans-serif;
    font-size:18px;
    line-height:1;
    font-weight:800;
    letter-spacing:-0.045em;
    
}

.site-footer strong span{
    
}

.footer-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin:16px 0
}

.footer-links a:hover{
    color:var(--ivory)
}

.site-footer p{
    line-height:1.7;
    margin:7px 0
}

details{
    max-width:720px;
    margin:18px auto 0
}

summary{
    cursor:pointer;
    color:#c1c9c0;
    font-weight:600
}

.hidden{
    display:none!important
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}


/* =====================================================
   MIQ DYNAMIC EVALUATION
   ===================================================== */

.miq-progress{
    width:100%
}

.miq-stage{
    font-weight:600;
    transition:opacity 0.18s ease;
    min-height:24px
}

.miq-progress-track{
    width:100%;
    height:6px;
    margin-top:12px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(127,127,127,0.18)
}

.miq-progress-bar{
    width:38%;
    height:100%;
    border-radius:999px;
    animation:miqProgress 1.6s ease-in-out infinite;
    background:currentColor
}

.miq-substatus{
    margin-top:8px;
    font-size:0.82rem;
    opacity:0.65
}

@keyframes miqProgress{

    0%{
        transform:translateX(-120%)
    }

    50%{
        transform:translateX(160%)
    }

    100%{
        transform:translateX(300%)
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media(max-width:640px){

    .site-header{
        height:68px;
        padding:0 18px
    }

    .site-header nav{
        gap:13px;
        font-size:11px
    }

    .byline{
        font-size:10px
    }

    .shell{
        padding:8vh 16px 11vh
    }

    .intro{
        font-size:14px;
        margin:20px auto 30px
    }

    .ask-form{
        border-radius:19px
    }

    textarea{
        font-size:16px;
        min-height:112px;
        padding:15px
    }

    .result-card{
        padding:22px;
        border-radius:22px
    }

    .checking,
    .result{
        margin-top:45px
    }

    .site-footer{
        padding:25px 18px 32px
    }
}
