/* Silverstone Calculator Base — Frontend */
:root {
    --scb-navy: #103044;
    --scb-teal: #54a2a4;
    --scb-teal-light: #e8f4f4;
    --scb-text: #222;
    --scb-muted: #666;
    --scb-border: #d9e2e8;
    --scb-radius: 8px;
    --scb-transition: .2s ease;
}

/* ── Wrapper ─────────────────────────────────────────── */
.scb-lead-wrap {
    background: #fff;
    border: 1px solid var(--scb-border);
    border-radius: var(--scb-radius);
    padding: 32px;
    max-width: 520px;
    margin: 32px auto 0;
    box-shadow: 0 2px 12px rgba(16,48,68,.08);
}

/* ── Headings ────────────────────────────────────────── */
.scb-lead-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: var(--scb-navy);
    font-weight: 700;
}

.scb-lead-sub {
    margin: 0 0 24px;
    color: var(--scb-muted);
    font-size: .95rem;
}

/* ── Form fields ─────────────────────────────────────── */
.scb-lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scb-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scb-field label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--scb-navy);
}

.scb-field label span {
    color: #c0392b;
}

.scb-field input {
    padding: 10px 14px;
    border: 1.5px solid var(--scb-border);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--scb-text);
    background: #fafcfc;
    transition: border-color var(--scb-transition), box-shadow var(--scb-transition);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.scb-field input:focus {
    border-color: var(--scb-teal);
    box-shadow: 0 0 0 3px rgba(84,162,164,.18);
    background: #fff;
}

.scb-field input.scb-invalid {
    border-color: #c0392b;
}

/* ── Honeypot ────────────────────────────────────────── */
.scb-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* ── Message ─────────────────────────────────────────── */
.scb-msg {
    font-size: .9rem;
    min-height: 1.2em;
    border-radius: 6px;
    padding: 0;
    transition: all var(--scb-transition);
}

.scb-msg.scb-msg--success {
    background: var(--scb-teal-light);
    color: #1a5c5e;
    padding: 10px 14px;
    border-left: 4px solid var(--scb-teal);
}

.scb-msg.scb-msg--error {
    background: #fdecea;
    color: #922b21;
    padding: 10px 14px;
    border-left: 4px solid #c0392b;
}

/* ── Submit button ───────────────────────────────────── */
.scb-btn {
    background: var(--scb-navy);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--scb-transition), transform var(--scb-transition);
    letter-spacing: .02em;
    align-self: flex-start;
}

.scb-btn:hover:not(:disabled) {
    background: var(--scb-teal);
    transform: translateY(-1px);
}

.scb-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .scb-lead-wrap {
        padding: 20px 16px;
        margin: 20px 0 0;
    }

    .scb-btn {
        align-self: stretch;
        text-align: center;
    }
}
