:root {
    --shield-navy: #0b1323;
    --shield-blue: #0ea5e9;
    --shield-ink: #172033;
    --shield-amber: #f59e0b;
    --surface: #f8fafc;
}

body {
    font-family: "Source Sans 3", sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
    color: #1f2937;
}

.display-font {
    font-family: "Sora", sans-serif;
}

.hero-noise {
    background-image: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.18), transparent 42%), radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.14), transparent 38%), radial-gradient(circle at 50% 90%, rgba(125, 211, 252, 0.12), transparent 40%);
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-hero {
    background: linear-gradient(140deg, #0b1323 0%, #102646 55%, #16406d 100%);
}

.grid-pattern {
    background-image: linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

.journey-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.journey-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.journey-card.is-active {
    border: 2px solid #0b1323;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.journey-check {
    border: 2px solid #cbd5e1;
    background: #ffffff;
    color: transparent;
}

.journey-card.is-active .journey-check {
    border-color: #0b1323;
    background: #0b1323;
    color: #ffffff;
}

.journey-option {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.journey-option:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.journey-option[aria-pressed="true"] {
    border: 2px solid #0b1323;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

.journey-checkline {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.journey-checkline:has(input:checked) {
    border-color: #0b1323;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.journey-step-panel {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.journey-step-panel[hidden] {
    display: none;
}

.journey-step-panel.is-entering {
    opacity: 0;
    transform: translateY(8px);
}

.journey-summary {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-top: 4px solid #0b1323;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.journey-meter {
    position: relative;
    height: 0.9rem;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(90deg, #22c55e 0%, #f59e0b 50%, #ef4444 100%);
}

.journey-pin {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 3px solid #ffffff;
    background: #0b1323;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
    transition: left 0.24s ease;
}

.journey-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e3a8a;
    background: #e0f2fe;
}

.intake-shell {
    border: 1px solid #dbe4ef;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.intake-kicker {
    color: #0f4c81;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.intake-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.intake-option {
    border: 1px solid #cfd9e5;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 3rem;
    padding: 0.85rem 0.9rem;
    text-align: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.intake-option:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.intake-option.is-active,
.intake-option[aria-pressed="true"] {
    border-color: var(--shield-navy);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

.quote-guide-shell {
    border: 1px solid #d9e4f2;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.13);
    min-height: calc(100vh - 10.5rem);
}

.intake-screen {
    min-height: clamp(460px, 56vh, 620px);
    display: flex;
    flex-direction: column;
    padding-top: 0.7rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.step-body-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0.35rem;
}

.step-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.intake-screen.screen-exit {
    opacity: 0;
    transform: translateY(8px);
}

.choice-chip {
    width: 100%;
    border: 1px solid #cfd9e5;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: 3.2rem;
    padding: 0.95rem 1rem;
    text-align: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.choice-chip:hover {
    border-color: #89a0bd;
    transform: translateY(-1px);
}

.choice-chip.is-active,
.choice-chip[aria-pressed="true"] {
    background: #0ea5e9;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.28);
}

.choice-chip.is-selected-navy {
    background: #0a111a;
    color: #ffffff;
    border-color: #0a111a;
    box-shadow: 0 0 0 3px rgba(10, 17, 26, 0.22);
}

.choice-chip.is-selected-blue {
    background: #0ea5e9;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.28);
}

.intake-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.8rem;
    background: #ffffff;
    color: #0f172a;
    padding: 0.8rem 0.95rem;
    font-size: 0.96rem;
    line-height: 1.4;
}

.intake-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.intake-primary-btn,
.intake-secondary-btn,
.intake-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    font-size: 0.92rem;
    font-weight: 800;
    min-height: 3rem;
    padding: 0.82rem 1.25rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.intake-primary-btn {
    border: 1px solid #0b1323;
    background: #0b1323;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(11, 19, 35, 0.22);
}

.intake-primary-btn:hover {
    background: #070d1b;
    border-color: #070d1b;
}

.intake-secondary-btn {
    border: 1px solid #0b1323;
    background: #0b1323;
    color: #ffffff;
}

.intake-secondary-btn:hover {
    background: #070d1b;
}

.intake-ghost-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.intake-ghost-btn:hover {
    background: #f8fafc;
}

#quote-guide-flow {
    min-height: calc(100vh - 5.2rem);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .journey-card,
    .journey-option,
    .journey-pin,
    .journey-step-panel {
        transition: none;
    }
}
