:root {
    --primary: #1478b8;
    --primary-dark: #0d5d91;
    --purple: #1478b8;
    --dark: #0b1118;
    --gray: #5f6b78;
    --light-gray: #f3f5f7;
    --white: #ffffff;
    --success: #1478b8;
    --radius: 2px;
    --line: #d9dee4;
    --ink-2: #131c26;
}

html { background: #f3f5f7; }

body {
    min-height: 100vh;
    display: block;
    padding: 0 0 72px;
    color: var(--dark);
    background: #f3f5f7;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    max-width: none;
    height: 76px;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    color: var(--dark);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.topbar-brand {
    gap: 11px;
    color: var(--dark);
    font-family: Sora, sans-serif;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.topbar-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.topbar-brand span { display: inline-block; }
.topbar-brand svg { display: none; }

.topbar-back {
    color: #303b46;
    border-bottom: 1px solid var(--dark);
    padding: 5px 0;
    font-size: .88rem;
    font-weight: 700;
}

.topbar-back:hover { color: var(--primary-dark); }

.quote-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    background: #fff;
    border: 1px solid var(--line);
}

.quote-intro {
    min-height: 790px;
    padding: 62px 48px;
    color: #fff;
    background: var(--dark);
}

.quote-kicker {
    margin: 0 0 26px;
    color: #7cc9f2;
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.quote-intro h1 {
    margin: 0;
    font-family: Sora, sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.8rem);
    line-height: 1.03;
    letter-spacing: -.05em;
    font-weight: 600;
}

.quote-lead {
    margin: 28px 0 0;
    color: #b9c3cc;
    font-size: .98rem;
    line-height: 1.72;
}

.quote-record { margin: 48px 0 0; }

.quote-record div {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 19px 0;
    border-bottom: 1px solid #34404d;
}

.quote-record dt {
    font-family: Sora, sans-serif;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.04em;
}

.quote-record dd {
    margin: 0;
    color: #aeb8c1;
    font-size: .76rem;
    line-height: 1.45;
}

.quote-note {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid #34404d;
}

.quote-note strong {
    font-family: Sora, sans-serif;
    font-size: .8rem;
    font-weight: 600;
}

.quote-note p {
    margin: 9px 0 0;
    color: #aeb8c1;
    font-size: .78rem;
    line-height: 1.6;
}

.quote-workspace {
    min-width: 0;
    padding: 55px 58px 62px;
    background: #fff;
}

.progress-wrap {
    width: 100%;
    max-width: none;
    margin: 0 0 46px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.progress-labels { margin-bottom: 10px; }

.progress-step-label {
    color: #9aa3ad;
    font-size: .64rem;
    letter-spacing: .035em;
}

.progress-step-label.active { color: var(--dark); }

.progress-bar-track {
    height: 3px;
    background: #e5e9ed;
    border-radius: 0;
}

.progress-bar-fill {
    background: var(--primary);
    border-radius: 0;
}

.progress-text {
    color: var(--gray);
    margin-top: 8px;
    font-size: .7rem;
}

.card {
    width: 100%;
    max-width: none;
    padding: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

.step.active { animation: quoteFade .24s ease; }

@keyframes quoteFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-eyebrow {
    margin-bottom: 11px;
    color: var(--primary-dark);
    font-size: .67rem;
    letter-spacing: .14em;
}

.step-title {
    margin: 0 0 12px;
    color: var(--dark);
    font-family: Sora, sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 600;
}

.step-subtitle {
    max-width: 610px;
    margin-bottom: 32px;
    color: var(--gray);
    font-size: .94rem;
    line-height: 1.65;
}

.option-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }

.option-card {
    min-height: 74px;
    gap: 15px;
    padding: 15px 18px;
    background: #fff;
    border: 0;
    border-radius: 0;
}

.option-card:hover {
    background: #f5f9fc;
    box-shadow: inset 3px 0 0 var(--primary);
}

.option-card.selected {
    background: #edf6fb;
    box-shadow: inset 3px 0 0 var(--primary);
}

.option-icon {
    width: 39px;
    height: 39px;
    border-radius: 0;
    background: #eef1f4;
}

.option-card.selected .option-icon { background: var(--primary); }
.option-text strong { font-size: .88rem; color: var(--dark); }
.option-text span { color: var(--gray); font-size: .75rem; }

.feature-grid {
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.feature-chip {
    min-height: 52px;
    padding: 11px 13px;
    background: #fff;
    border: 0;
    border-radius: 0;
    color: var(--dark);
    font-size: .79rem;
}

.feature-chip:hover { background: #f5f9fc; }

.feature-chip.selected {
    color: var(--primary-dark);
    background: #edf6fb;
    box-shadow: inset 3px 0 0 var(--primary);
}

.field-group { margin-bottom: 20px; }

.field-label {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: .79rem;
    font-weight: 700;
}

input[type="text"], input[type="email"], textarea, select {
    min-height: 50px;
    padding: 12px 14px;
    color: var(--dark);
    background: #fff;
    border: 1px solid #cfd5db;
    border-radius: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .88rem;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 120, 184, .09);
}

textarea { min-height: 104px; }

.btn-row {
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.btn-next, .btn-send, .btn-back {
    min-height: 50px;
    border-radius: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .86rem;
    font-weight: 700;
}

.btn-next, .btn-send {
    background: var(--dark);
    color: #fff;
}

.btn-next:hover, .btn-send:hover {
    opacity: 1;
    transform: none;
    background: var(--primary-dark);
}

.btn-back { background: #eef1f4; color: #46515d; }
.btn-back:hover { background: #dfe5ea; }

.review-block {
    margin-bottom: 1px;
    padding: 17px 18px;
    background: #f3f5f7;
    border-radius: 0;
}

.review-block-title { color: var(--primary-dark); }

.review-tag {
    color: var(--primary-dark);
    background: #dceef8;
    border-radius: 0;
}

.info-callout {
    padding: 17px 18px;
    background: #edf6fb;
    border: 1px solid #bddcea;
    border-radius: 0;
}

.info-callout svg { stroke: var(--primary-dark); }
.info-callout p { color: #234f67; }

.success-icon-wrap {
    background: var(--primary);
    border-radius: 0;
}

.success-state > a {
    background: var(--dark) !important;
    border-radius: 0 !important;
}

.error-msg { color: #bd2d2d; }

@media (max-width: 930px) {
    .quote-shell { grid-template-columns: 1fr; }
    .quote-intro { min-height: 0; padding: 46px 42px; }
    .quote-intro h1 { max-width: 620px; }
    .quote-lead { max-width: 680px; }
    .quote-record { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; border-top: 1px solid #34404d; }
    .quote-record div { display: block; padding: 18px 14px; border-right: 1px solid #34404d; }
    .quote-record div:last-child { border-right: 0; }
    .quote-record dd { margin-top: 7px; }
    .quote-note { margin-top: 28px; }
}

@media (max-width: 680px) {
    body { padding-bottom: 28px; }
    .topbar { height: 68px; padding: 0 20px; }
    .topbar-brand img { width: 32px; height: 32px; }
    .quote-shell { width: calc(100% - 24px); margin-top: 12px; }
    .quote-intro { padding: 34px 24px; }
    .quote-intro h1 { font-size: 2.25rem; }
    .quote-lead { font-size: .9rem; }
    .quote-record { grid-template-columns: repeat(2, 1fr); }
    .quote-record div:nth-child(2) { border-right: 0; }
    .quote-record dt { font-size: 1.35rem; }
    .quote-note { display: none; }
    .quote-workspace { padding: 35px 22px 38px; }
    .progress-wrap { margin-bottom: 34px; }
    .card { padding: 0; }
    .option-grid.cols-2, .feature-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
    .step-title { font-size: 1.8rem; }
    .btn-row { align-items: stretch; }
}

@media (max-width: 420px) {
    .topbar-brand span { display: none; }
    .quote-intro h1 { font-size: 2rem; }
    .quote-workspace { padding-left: 18px; padding-right: 18px; }
}
