/* QERYX Serpent Aesthetic - quantumentanglement.io
   Palette: true black + Serpent Green + off-white
   No gradients, no shadows, no blur, no animation beyond hover. */

:root {
    --bg: #000000;
    --fg: #E8E8E8;
    --serpent: #00FF87;
    --dim: #333333;
    --dimmer: #777777;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--bg);
    color: var(--fg);
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
}

main {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

h1 {
    color: var(--serpent);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.subline {
    color: var(--fg);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
}

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

.card {
    display: block;
    color: var(--serpent);
    text-decoration: none;
    border: 1px solid var(--serpent);
    padding: 16px;
    font-size: 15px;
    transition: background 120ms linear;
}

.card:hover,
.card:focus {
    background: rgba(0, 255, 135, 0.1);
    outline: none;
}

.honesty {
    border: 1px solid var(--dim);
    padding: 16px;
}

.honesty h2 {
    color: var(--serpent);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
}

.honesty ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.honesty li {
    font-size: 14px;
    line-height: 1.55;
    padding-left: 12px;
    border-left: 1px solid var(--dim);
}

.honesty strong {
    color: var(--serpent);
    font-weight: 600;
}

footer {
    color: var(--dimmer);
    font-size: 12px;
    text-align: center;
    margin-top: 16px;
}

/* ---- hero ---- */
.hero { display: flex; flex-direction: column; gap: 16px; }
.eyebrow {
    color: var(--bg);
    background: var(--serpent);
    align-self: flex-start;
    font-size: 11px;
    letter-spacing: 0.18em;
    font-weight: 600;
    padding: 4px 10px;
}
.subline strong { color: var(--serpent); font-weight: 500; }
.subline.dim { color: var(--dimmer); font-size: 15px; }

/* ---- section scaffolding ---- */
section { display: flex; flex-direction: column; gap: 16px; }
.section-tag {
    color: var(--serpent);
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 600;
    border-bottom: 1px solid var(--dim);
    padding-bottom: 8px;
}
h2 { color: var(--fg); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
h3 { color: var(--serpent); font-size: 15px; font-weight: 600; }
.lead { color: var(--dimmer); font-size: 14px; line-height: 1.55; }
.lead a, .vnote a, p a { color: var(--serpent); }
code {
    color: var(--serpent);
    font-size: 0.86em;
    word-break: break-all;
    background: rgba(0, 255, 135, 0.06);
    padding: 0 3px;
}
code.fp { background: none; color: var(--dimmer); }

/* ---- verify widget ---- */
.verify-box {
    border: 1px solid var(--serpent);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vfield { display: flex; flex-direction: column; gap: 6px; }
.vfield > span { font-size: 12px; color: var(--dimmer); }
.vfield em { color: var(--dim); font-style: normal; }
.vfield input {
    background: var(--bg);
    color: var(--serpent);
    border: 1px solid var(--dim);
    padding: 10px;
    font-family: inherit;
    font-size: 13px;
}
.vfield input:focus { outline: none; border-color: var(--serpent); }
.vbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
    font-family: inherit;
    font-size: 13px;
    padding: 10px 16px;
    cursor: pointer;
    border: 1px solid var(--serpent);
    transition: background 120ms linear;
}
.btn-primary { background: var(--serpent); color: var(--bg); font-weight: 600; }
.btn-primary:hover { background: #00d973; }
.btn-ghost { background: var(--bg); color: var(--serpent); }
.btn-ghost:hover { background: rgba(0, 255, 135, 0.1); }

.verify-result {
    border: 1px solid var(--dim);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}
.vsummary {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    padding-bottom: 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--dim);
}
.vsummary.ok { color: var(--serpent); }
.vsummary.bad { color: #ff5e5e; }
.vsummary.neutral { color: var(--dimmer); font-weight: 400; letter-spacing: 0; }
.vrow {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
    border-bottom: 1px solid #161616;
}
.vlabel { color: var(--dimmer); flex-shrink: 0; }
.vval { text-align: right; word-break: break-all; }
.vrow.ok .vval { color: var(--serpent); }
.vrow.bad .vval { color: #ff5e5e; }
.vrow.neutral .vval { color: var(--fg); }
.vrow .ok { color: var(--serpent); }
.vrow .bad { color: #ff5e5e; }
.vdim { color: var(--dim); }
.vdivider { height: 1px; background: var(--dim); margin: 8px 0; }
.vnote { color: var(--dimmer); font-size: 12px; line-height: 1.5; margin-top: 8px; }
.vnote em { color: var(--fg); font-style: normal; }

.checks-split { display: flex; gap: 16px; }
.check-col { flex: 1; border: 1px solid var(--dim); padding: 14px; }
.check-col.ok-col { border-color: rgba(0, 255, 135, 0.4); }
.check-col h3 { margin-bottom: 10px; font-size: 13px; }
.check-col.download-col h3 { color: var(--dimmer); }
.check-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-col li { font-size: 12px; line-height: 1.5; color: var(--fg); padding-left: 10px; border-left: 1px solid var(--dim); }
.check-col li strong { color: var(--serpent); font-weight: 600; }
.check-col.download-col li strong { color: var(--fg); }

/* ---- rung ladder ---- */
.rungs { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rung { border: 1px solid var(--dim); border-left-width: 3px; padding: 14px; }
.rung.shipped { border-left-color: var(--serpent); }
.rung.progress { border-left-color: #c9ff00; }
.rung.roadmap { border-left-color: var(--dimmer); }
.rung.horizon { border-left-color: var(--dim); }
.rung-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rung-id { color: var(--serpent); font-size: 18px; font-weight: 600; min-width: 38px; }
.rung-status { font-size: 10px; letter-spacing: 0.16em; font-weight: 600; padding: 3px 8px; }
.st-shipped { background: var(--serpent); color: var(--bg); }
.st-progress { background: #c9ff00; color: var(--bg); }
.st-roadmap { background: none; color: var(--dimmer); border: 1px solid var(--dimmer); }
.st-horizon { background: none; color: var(--dim); border: 1px solid var(--dim); }
.rung h3 { font-size: 15px; margin-bottom: 6px; }
.rung.roadmap h3, .rung.horizon h3 { color: var(--dimmer); }
.rung p { font-size: 13px; line-height: 1.5; color: var(--fg); }
.rung p strong { color: var(--serpent); }
.rung.roadmap p, .rung.horizon p { color: var(--dimmer); }
.rung p em { color: var(--fg); font-style: normal; }

/* ---- tech behind ---- */
.tech-steps { display: flex; flex-direction: column; gap: 14px; }
.tech-step { display: flex; gap: 14px; }
.ts-n {
    color: var(--serpent);
    border: 1px solid var(--serpent);
    width: 30px; height: 30px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 14px;
}
.tech-step h3 { margin-bottom: 4px; }
.tech-step p { font-size: 13px; line-height: 1.55; color: var(--fg); }
.tech-step p strong { color: var(--serpent); }
.tech-step p em { color: var(--fg); font-style: normal; }
.tech-floor { border: 1px solid var(--dim); padding: 16px; }
.tech-floor h3 { margin-bottom: 12px; }
.tech-floor ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tech-floor li { font-size: 13px; line-height: 1.55; padding-left: 12px; border-left: 1px solid var(--dim); }
.tech-floor strong { color: var(--serpent); font-weight: 600; }

@media (max-width: 540px) {
    body { padding: 32px 16px; }
    h1 { font-size: 26px; }
    .subline { font-size: 16px; }
    .checks-split { flex-direction: column; }
    .vrow { flex-direction: column; gap: 2px; }
    .vval { text-align: left; }
}
