/* ── Tool page layout ───────────────────────────────────────── */
.tool-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 44px 22px 80px;
}

/* Override global heading sizes inside the tool */
.tool-wrap h1 {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
}

.tool-wrap p {
    margin-bottom: 0;
}

/* ── Header ─────────────────────────────────────────────────── */
.tool-header { margin-bottom: 2rem; }

.tool-brand {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.875rem;
}

.tool-header-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    max-width: 56ch;
}

/* ── Cards ──────────────────────────────────────────────────── */
.tool-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 18px;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

/* ── Field label ────────────────────────────────────────────── */
label.field-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* ── Text input ─────────────────────────────────────────────── */
.tool-wrap input[type=text] {
    width: 100%;
    font-family: inherit;
    font-size: 0.9375rem;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-3);
    color: var(--text);
    transition: outline 0.15s, background 0.15s;
}

.tool-wrap input[type=text]:focus {
    outline: 2px solid var(--green);
    outline-offset: 1px;
    background: var(--bg);
}

/* ── Progress counter ───────────────────────────────────────── */
.tool-progress {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

/* ── Questions ──────────────────────────────────────────────── */
.tool-question { margin-bottom: 26px; }
.tool-question:last-child { margin-bottom: 0; }

.q-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.q-help {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* ── Scale buttons ──────────────────────────────────────────── */
.tool-scale { display: flex; gap: 6px; }

.tool-scale button {
    flex: 1;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 10px 4px;
    border: 1px solid var(--border);
    background: var(--bg-3);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tool-scale button:hover {
    background: var(--green-subtle);
    border-color: var(--green-border);
    color: var(--green-dark);
}

.tool-scale button.selected {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* ── Submit button ──────────────────────────────────────────── */
.tool-btn {
    font-family: inherit;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--text);
    color: #fff;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, box-shadow 0.2s;
}

.tool-btn:hover:not(:disabled) {
    background: var(--green);
    box-shadow: 0 4px 16px rgba(0, 146, 70, 0.3);
}

.tool-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── Verdict cards ──────────────────────────────────────────── */
.verdict-card {
    border-radius: var(--radius-md);
    padding: 30px 26px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}

.verdict-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.verdict-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text);
}

.verdict-body {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.score-line {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.bar-track {
    height: 8px;
    background: var(--bg-3);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.bar-fill {
    height: 100%;
    border-radius: 20px 0 0 20px;
}

/* Go — green verdict */
.verdict-go                   { background: var(--bg-2); border-color: var(--green-border); }
.verdict-go .verdict-eyebrow  { color: var(--green); }
.verdict-go .bar-fill         { background: var(--green); }

/* Look — amber verdict (no theme equivalent, defined locally) */
.verdict-look                 { background: rgba(185, 131, 46, 0.07); border-color: rgba(185, 131, 46, 0.25); }
.verdict-look .verdict-eyebrow{ color: #b9832e; }
.verdict-look .bar-fill       { background: #b9832e; }

/* Wait — red verdict */
.verdict-wait                 { background: var(--red-subtle); border-color: var(--red-border); }
.verdict-wait .verdict-eyebrow{ color: var(--red); }
.verdict-wait .bar-fill       { background: var(--red); }

/* ── Watch list ─────────────────────────────────────────────── */
.watch-list {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    padding-left: 18px;
}

.watch-list li { margin-bottom: 6px; }

/* ── CTA card ───────────────────────────────────────────────── */
.cta-card {
    background: var(--text);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 28px 26px;
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-light);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-card h3 {
    font-size: 1.25rem;
    margin: 0 0 10px;
    color: #fff;
    padding: 0;
    border: none;
}

.cta-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0 0 18px;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: var(--green);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    background: var(--green-dark);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 146, 70, 0.35);
}

.guarantee {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 14px;
}

/* ── Tool footer ────────────────────────────────────────────── */
.tool-foot {
    margin-top: 30px;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}
