/* Meeting Test — The Elimination Project */

:root {
    --ink:          #1B365D;
    --ink-deep:     #122543;
    --accent:       #487A7B;
    --accent-light: rgba(72,122,123,0.10);
    --accent-mid:   rgba(72,122,123,0.25);
    --muted:        #707372;
    --prompt:       #B2B4B2;
    --red:          #B83A4B;
    --teal:         #009681;
    --orange:       #E87722;
    --yellow:       #F3D54E;
    --bg:           #F7F8FA;
    --white:        #FFFFFF;
    --border:       #DDE1E7;
    --text:         #384757;
    --shadow-sm:    0 1px 3px rgba(27,54,93,0.08);
    --shadow-md:    0 4px 12px rgba(27,54,93,0.12);
    --shadow-lg:    0 8px 24px rgba(27,54,93,0.15);
    --radius:       10px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── Navigation ─── */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}
.nav-wordmark {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    color: var(--ink);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.nav-wordmark span { color: var(--orange); }
.nav-links {
    margin-left: auto;
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

/* ─── Stats ticker ─── */
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.stats-banner {
    background: var(--ink);
    color: var(--white);
    padding: 0.85rem 0;
    overflow: hidden;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 3px solid var(--yellow);
}
.stats-banner-track {
    display: flex;
    width: max-content;
    animation: ticker 18s linear infinite;
}
.stats-banner-track:hover { animation-play-state: paused; }
.stats-segment {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 3rem;
    white-space: nowrap;
}
.stats-item { white-space: nowrap; }
.stats-item strong { color: var(--yellow); font-size: 1.2rem; }
.stats-bullet { color: var(--yellow); font-size: 1.1rem; opacity: 0.6; }

/* ─── Hero ─── */
.hero {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
    color: var(--white);
    padding: 5rem 0 4.5rem;
    text-align: center;
}
.hero h1 {
    color: var(--white);
    font-size: 3rem;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.hero-eyebrow {
    color: var(--orange);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.hero-cta {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1.9rem;
    border-radius: var(--radius);
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: var(--shadow-md);
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    background: #d4671a;
}
.hero-cta.secondary {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.35);
    margin-left: 0.75rem;
    box-shadow: none;
}
.hero-cta.secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-2px);
}

/* ─── Sections ─── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-label {
    color: var(--orange);
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.section-title {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}
.section-intro {
    font-size: 1.05rem;
    max-width: 680px;
    margin-bottom: 2.4rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── Verdict cards ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s, transform 0.15s;
    border-top: 3px solid var(--border);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-hold  { border-top-color: var(--teal); }
.card-reshape { border-top-color: var(--orange); }
.card-async { border-top-color: var(--accent); }
.card-cancel  { border-top-color: var(--red); }
.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.card p { font-size: 0.97rem; color: var(--muted); line-height: 1.6; }
.verdict-icon {
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}
.verdict-icon.hold   { background: rgba(0,150,129,0.12); color: #006b5c; }
.verdict-icon.reshape { background: rgba(232,119,34,0.15); color: #a85311; }
.verdict-icon.async  { background: rgba(72,122,123,0.12); color: var(--accent); }
.verdict-icon.cancel { background: rgba(184,58,75,0.10); color: #8e2535; }

/* ─── Philosophy ─── */
.philosophy-body {
    max-width: 680px;
}
.philosophy-body p {
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
}
.philosophy-body p:last-child { margin-bottom: 0; }

/* ─── Form ─── */
.form-grid {
    display: grid;
    gap: 1.1rem;
    max-width: 680px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}
.form-field label {
    display: block;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}
.form-field .hint {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.3rem;
    line-height: 1.5;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    transition: border 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.form-field textarea { min-height: 100px; resize: vertical; line-height: 1.55; }
.form-field.required label::after { content: ' *'; color: var(--red); }

.btn {
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
    text-decoration: none;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: #d4671a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}
.btn-primary:disabled {
    background: var(--muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── Flash / signals ─── */
.flash {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.flash.err { background: rgba(184,58,75,0.08); color: #8e2535; border: 1px solid rgba(184,58,75,0.25); }

.quick-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.signal {
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(184,58,75,0.10);
    color: #8e2535;
}
.signal.warn { background: rgba(243,213,78,0.3); color: #6b5700; }

/* ─── Verdict panel ─── */
.verdict-panel {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.verdict-badge {
    display: inline-block;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    background: var(--accent-light);
    color: var(--accent);
}
.verdict-badge.hold   { background: rgba(0,150,129,0.12); color: #006b5c; }
.verdict-badge.reshape { background: rgba(232,119,34,0.15); color: #a85311; }
.verdict-badge.async  { background: rgba(72,122,123,0.12); color: var(--accent); }
.verdict-badge.cancel { background: rgba(184,58,75,0.10); color: #8e2535; }

#verdictBody h3 {
    font-size: 1.05rem;
    margin: 1.1rem 0 0.4rem;
}
#verdictBody h4 { font-size: 0.95rem; margin: 0.9rem 0 0.3rem; }
#verdictBody p { margin-bottom: 0.75rem; font-size: 0.97rem; }
#verdictBody ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
#verdictBody li { margin-bottom: 0.3rem; font-size: 0.97rem; }
#verdictBody strong { color: var(--ink); }

.verdict-loading { color: var(--muted); font-style: italic; }

/* ─── Dots animation ─── */
@keyframes dots {
    0%, 20%  { content: '.'; }
    40%      { content: '..'; }
    60%      { content: '...'; }
    80%,100% { content: ''; }
}
.dots::after {
    content: '';
    animation: dots 1.4s steps(1) infinite;
}

/* ─── Footer ─── */
.footer {
    background: var(--ink-deep);
    color: rgba(255,255,255,0.65);
    padding: 2.5rem 0;
    text-align: center;
    margin-top: 0;
    font-size: 0.9rem;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.footer-brand {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}
.footer-inner a { color: var(--orange); }
.footer-inner a:hover { color: var(--white); }

/* ─── Utilities ─── */
.mt-2 { margin-top: 2rem; }

/* ─── Responsive ─── */
@media (max-width: 720px) {
    .hero { padding: 3.5rem 0 3rem; }
    .hero h1 { font-size: 2.1rem; }
    .hero-cta.secondary { margin-left: 0; margin-top: 0.6rem; display: inline-block; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .page { padding: 0 1.2rem; }
    .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.75rem; }
}
