.landing-layout {
    min-height: 100vh;
    background: #eef5fb;
    color: #0f172a;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-page {
    min-height: 100vh;
}

.landing-hero {
    color: #fff;
    min-height: 92vh;
    padding: 28px clamp(22px, 5vw, 76px) 54px;
    background:
        linear-gradient(120deg, rgba(15,23,42,.92), rgba(30,41,59,.72)),
        url("https://images.unsplash.com/photo-1589391886645-d51941baf7fb?auto=format&fit=crop&w=2200&q=80") center/cover;
}

.landing-nav {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1320px;
}

.landing-brand,
.landing-link,
.landing-primary,
.landing-secondary {
    color: inherit;
    text-decoration: none;
}

.landing-brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
}

.landing-actions,
.landing-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-link,
.landing-secondary {
    align-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    min-height: 46px;
    padding: 0 18px;
}

.landing-hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(28px, 6vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    margin: 92px auto 0;
    max-width: 1320px;
}

.landing-copy {
    max-width: 760px;
}

.landing-kicker,
.landing-section-heading span,
.landing-card-label {
    color: #a5b4fc;
    display: block;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.landing-copy h1 {
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: clamp(48px, 6.6vw, 92px);
    letter-spacing: 0;
    line-height: .96;
    margin: 0 0 22px;
    outline: 0;
}

.landing-copy h1:focus,
.landing-copy h1:focus-visible {
    border: 0;
    box-shadow: none;
    outline: 0;
}

.landing-copy p {
    color: #dbeafe;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
    margin: 0;
}

.landing-cta-row {
    margin-top: 34px;
}

.landing-primary,
.landing-form-actions button {
    align-items: center;
    background: #4f46e5;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(79,70,229,.28);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
}

.landing-secondary.light {
    background: #fff;
    border-color: #dbe7f6;
    color: #0f172a;
}

.landing-secondary:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.landing-trust-row span {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    font-weight: 800;
    padding: 9px 14px;
}

.landing-intake-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 8px;
    box-shadow: 0 34px 70px rgba(2,6,23,.34);
    color: #0f172a;
    padding: 26px;
}

.landing-process-list {
    counter-reset: process;
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-process-list li {
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    padding: 18px 18px 18px 62px;
    position: relative;
}

.landing-process-list li::before {
    align-items: center;
    background: #eef2ff;
    border-radius: 8px;
    color: #4f46e5;
    content: counter(process);
    counter-increment: process;
    display: inline-flex;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    left: 16px;
    position: absolute;
    top: 18px;
    width: 34px;
}

.landing-process-list strong,
.landing-process-list span {
    display: block;
}

.landing-process-list span {
    color: #64748b;
    margin-top: 4px;
}

.landing-section {
    margin: 0 auto;
    max-width: 1320px;
    padding: 58px clamp(22px, 5vw, 76px);
}

.landing-section-heading {
    margin-bottom: 28px;
    max-width: 860px;
}

.landing-section-heading span {
    color: #4f46e5;
}

.landing-section-heading h2 {
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: 0;
    margin: 8px 0 0;
}

.landing-section-heading p {
    color: #475569;
    font-size: 17px;
    line-height: 1.6;
    margin: 14px 0 0;
}

.landing-service-grid,
.landing-contact-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.landing-service-card,
.landing-contact-grid article,
.landing-form-panel,
.landing-intake-shell {
    background: #fff;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
}

.landing-service-card {
    padding: 22px;
}

.landing-service-card > span {
    align-items: center;
    background: #eef2ff;
    border-radius: 8px;
    color: #4f46e5;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 18px;
    min-width: 0;
    padding: 0 12px;
    width: auto;
}

.landing-service-card h3,
.landing-contact-grid h3,
.landing-form-panel h3 {
    font-size: 22px;
    margin: 0 0 10px;
}

.landing-service-card p,
.landing-contact-grid p {
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.landing-service-card ul {
    color: #334155;
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 18px;
}

.landing-intake-section {
    max-width: 1420px;
}

.landing-intake-shell {
    display: grid;
    gap: 0;
    grid-template-columns: 280px minmax(0, 1fr);
    overflow: hidden;
}

.landing-stepper {
    background: #f8fbff;
    border-right: 1px solid #dbe7f6;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 22px;
}

.landing-stepper button {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 900;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    text-align: left;
}

.landing-stepper button span {
    align-items: center;
    background: #eef2ff;
    border-radius: 8px;
    color: #4f46e5;
    display: inline-flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
}

.landing-stepper button.active,
.landing-stepper button.complete {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.landing-stepper button.active span,
.landing-stepper button.complete span {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.landing-form-panel {
    border: 0;
    border-radius: 0;
    min-height: 480px;
    padding: 30px;
}

.landing-choice-grid,
.landing-form-grid,
.landing-summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-choice-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-choice-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-choice-grid button {
    background: #fff;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    color: #0f172a;
    cursor: pointer;
    display: grid;
    gap: 8px;
    min-height: 118px;
    padding: 18px;
    text-align: left;
}

.landing-choice-grid button:hover,
.landing-choice-grid button.selected {
    border-color: #4f46e5;
    box-shadow: 0 12px 28px rgba(79,70,229,.12);
}

.landing-choice-grid button.selected {
    background: #eef2ff;
}

.landing-choice-grid button span {
    color: #4f46e5;
    font-weight: 900;
}

.landing-choice-grid small {
    color: #64748b;
    line-height: 1.45;
}

.landing-form-grid label {
    color: #334155;
    display: grid;
    font-weight: 900;
    gap: 8px;
}

.landing-form-grid .wide {
    grid-column: 1 / -1;
}

.landing-form-grid input,
.landing-form-grid select,
.landing-form-grid textarea {
    background: #fff;
    border: 1px solid #cfe0f3;
    border-radius: 8px;
    color: #0f172a;
    font: inherit;
    min-height: 52px;
    padding: 0 14px;
}

.landing-form-grid textarea {
    min-height: 130px;
    padding: 14px;
    resize: vertical;
}

.landing-secure-note {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-weight: 800;
    margin-top: 18px;
    padding: 16px;
}

.landing-summary div {
    background: #f8fbff;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    padding: 16px;
}

.landing-summary span,
.landing-summary strong {
    display: block;
}

.landing-summary span {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 6px;
}

.landing-confirm-text {
    color: #475569;
    line-height: 1.6;
    margin: 20px 0 0;
}

.landing-account-choice {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.landing-account-choice button {
    background: #fff;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    color: #0f172a;
    cursor: pointer;
    display: grid;
    gap: 8px;
    padding: 18px;
    text-align: left;
}

.landing-account-choice button:hover,
.landing-account-choice button.selected {
    border-color: #4f46e5;
    box-shadow: 0 12px 28px rgba(79,70,229,.12);
}

.landing-account-choice button.selected {
    background: #eef2ff;
}

.landing-account-choice small {
    color: #64748b;
    line-height: 1.45;
}

.landing-inline-account {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.landing-inline-account label {
    color: #334155;
    display: grid;
    font-weight: 900;
    gap: 8px;
}

.landing-inline-account input {
    background: #fff;
    border: 1px solid #cfe0f3;
    border-radius: 8px;
    color: #0f172a;
    font: inherit;
    min-height: 52px;
    padding: 0 14px;
}

.landing-submit-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1d4ed8;
    font-weight: 900;
    margin-top: 16px;
    padding: 16px;
}

.landing-submit-note.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.landing-form-actions {
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 26px;
    padding-top: 20px;
}

.landing-form-actions button:disabled,
.landing-stepper button:disabled {
    cursor: not-allowed;
    opacity: .62;
    pointer-events: none;
}

.landing-button-spinner {
    animation: landing-spin .7s linear infinite;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 50%;
    border-top-color: #fff;
    height: 18px;
    margin-right: 9px;
    width: 18px;
}

@keyframes landing-spin {
    to { transform: rotate(360deg); }
}

.landing-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-contact-grid article {
    padding: 24px;
}

.landing-contact-grid a {
    color: #4f46e5;
    display: inline-flex;
    font-weight: 900;
    margin-top: 14px;
}

@media (max-width: 1120px) {
    .landing-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-choice-grid,
    .landing-choice-grid.compact,
    .landing-form-grid,
    .landing-summary,
    .landing-account-choice,
    .landing-inline-account {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .landing-hero-grid,
    .landing-intake-shell,
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-grid {
        margin-top: 56px;
    }

    .landing-stepper {
        border-right: 0;
        border-bottom: 1px solid #dbe7f6;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .landing-hero {
        min-height: auto;
        padding-bottom: 42px;
    }

    .landing-nav,
    .landing-actions,
    .landing-cta-row,
    .landing-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-link,
    .landing-primary,
    .landing-secondary,
    .landing-form-actions button {
        justify-content: center;
        width: 100%;
    }

    .landing-service-grid,
    .landing-choice-grid,
    .landing-choice-grid.two,
    .landing-choice-grid.compact,
    .landing-form-grid,
    .landing-summary,
    .landing-account-choice,
    .landing-inline-account,
    .landing-stepper {
        grid-template-columns: 1fr;
    }
}
