* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #101828;
    background: #ffffff;
    line-height: 1.5;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #e7eaf0;
    background: #ffffff;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    padding: 8px 0;
    font-size: 14px;
    color: #475467;
}

.main-nav a:hover {
    color: #101828;
}

.app-view {
    width: 100%;
}

.is-hidden {
    display: none !important;
}

.hero {
    padding: 95px 0 105px;
    display: flex;
    align-items: flex-start;
}

.hero-inner {
    display: flex;
    justify-content: center;
}

.hero-copy {
    width: min(820px, 100%);
    text-align: center;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero-subtitle {
    max-width: 680px;
    margin: 26px auto 0;
    font-size: 19px;
    line-height: 1.7;
    color: #667085;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
    padding: 15px 25px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.primary-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.trust-note {
    max-width: 640px;
    margin: 22px auto 0;
    font-size: 13px;
    color: #98a2b3;
}

.matcher-view {
    min-height: calc(100vh - 73px);
    padding: 34px 0 90px;
    background: #f8fafc;
}

.matcher-container {
    max-width: 1120px;
}

.matcher-topbar {
    margin-bottom: 24px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
}

.back-button:hover {
    color: #101828;
}

.matcher-shell {
    min-height: 440px;
    padding-top: 8px;
}

.matcher-progress {
    margin-bottom: 42px;
}

.matcher-progress span {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #667085;
}

.progress-track {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e7ec;
}

.progress-bar {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
    transition: width 0.25s ease;
}

.question-panel {
    display: block;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
}

.section-heading h2,
.result-intro h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 14px 0 0;
    color: #667085;
    font-size: 17px;
}

.need-grid,
.answer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.answer-grid-four {
    grid-template-columns: repeat(2, 1fr);
}

.answer-grid-two {
    grid-template-columns: repeat(2, 1fr);
}

.need-card {
    width: 100%;
    min-height: 240px;
    padding: 28px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    text-align: left;
    color: #101828;
    transition:
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.need-card:hover {
    transform: translateY(-3px);
    border-color: #b8c7eb;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.07);
}

.need-card-number {
    display: block;
    margin-bottom: 42px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.need-card h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.need-card p {
    margin: 12px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}

.simple-answer {
    width: 100%;
    min-height: 150px;
    padding: 24px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #ffffff;
    text-align: left;
    color: #101828;
    transition:
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.simple-answer-large {
    min-height: 175px;
    padding: 28px;
}

.simple-answer:hover {
    transform: translateY(-3px);
    border-color: #b8c7eb;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.07);
}

.simple-answer strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.simple-answer span {
    display: block;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.answer-card.is-selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.result-panel {
    max-width: 980px;
}

.result-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.result-kicker {
    margin: 0 0 4px;
    color: #667085;
    font-size: 16px;
}

.result-intro h2 {
    font-size: clamp(42px, 5vw, 58px);
}

.result-summary {
    margin: 16px 0 0;
    color: #475467;
    font-size: 18px;
    line-height: 1.7;
}

.result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.result-card {
    padding: 28px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.result-card-primary {
    border-color: #c7d7fe;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.result-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.result-card-label {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.result-card h3 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.025em;
}

.best-fit-badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff4ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.fit-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fit-list li {
    position: relative;
    padding-left: 26px;
    color: #344054;
    line-height: 1.6;
}

.fit-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "✓";
    color: #2563eb;
    font-weight: 700;
}

.tradeoff-box {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f8fafc;
}

.tradeoff-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.tradeoff-box p,
.alternative-summary {
    margin: 0;
    color: #667085;
    line-height: 1.65;
}

.result-cta {
    margin-top: 22px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 13px 20px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    font-weight: 700;
}

.secondary-button:hover {
    border-color: #98a2b3;
    color: #101828;
}

.result-footer-note {
    margin-top: 22px;
    color: #98a2b3;
    font-size: 13px;
}


.comparison-section {
    margin-top: 72px;
    padding-top: 64px;
    border-top: 1px solid #e4e7ec;
}

.comparison-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.comparison-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.comparison-heading p {
    margin: 14px 0 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #e4e7ec;
    text-align: left;
    vertical-align: top;
}

.comparison-table thead th {
    background: #f8fafc;
    color: #101828;
    font-size: 15px;
}

.comparison-table thead th:first-child {
    width: 28%;
}

.comparison-table tbody th {
    color: #344054;
    font-size: 15px;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.comparison-table td strong {
    display: block;
    margin-bottom: 6px;
    color: #101828;
    font-size: 15px;
}

.comparison-table td span {
    display: block;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.comparison-recommended {
    display: inline-flex;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eff4ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.comparison-tool-card {
    padding: 28px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.comparison-tool-card.is-recommended {
    border-color: #c7d7fe;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.comparison-tool-card h3 {
    margin: 0 0 20px;
    font-size: 23px;
    letter-spacing: -0.025em;
}

.comparison-cta {
    margin-top: 24px;
}

.how-we-choose {
    margin-top: 40px;
    padding: 28px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.how-we-choose h3 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.how-we-choose p {
    max-width: 780px;
    margin: 0;
    color: #667085;
    line-height: 1.7;
}

.affiliate-note {
    margin: 20px 0 0;
    color: #98a2b3;
    font-size: 13px;
    line-height: 1.6;
}



.site-footer {
    border-top: 1px solid #e4e7ec;
    background: #f8fafc;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 80px;
    padding-top: 46px;
    padding-bottom: 34px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-brand-block > p {
    max-width: 620px;
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.footer-brand-block .footer-disclosure {
    margin-top: 14px;
    color: #7f8a9d;
    font-size: 13px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-heading {
    margin-bottom: 4px;
    color: #101828;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links a {
    color: #667085;
    font-size: 14px;
}

.footer-links a:hover {
    color: #101828;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid #e4e7ec;
    color: #98a2b3;
    font-size: 12px;
}

.page-main {
    background: #ffffff;
}

.page-container {
    width: min(820px, calc(100% - 40px));
}

.page-hero {
    padding: 82px 0 54px;
    border-bottom: 1px solid #eef1f5;
}

.page-eyebrow {
    display: block;
}

.page-hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(40px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.page-hero > .page-container > p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #667085;
    font-size: 19px;
    line-height: 1.7;
}

.page-content {
    padding: 54px 0 88px;
    background: #f8fafc;
}

.content-card {
    padding: 30px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.content-card + .content-card,
.content-card + .principles-grid,
.principles-grid + .content-card,
.content-card + .page-cta-card {
    margin-top: 20px;
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.content-card p {
    margin: 0;
    color: #667085;
    line-height: 1.75;
}

.content-card p + p {
    margin-top: 14px;
}

.inline-link {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.principle-card {
    padding: 26px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
}

.principle-number {
    display: block;
    margin-bottom: 30px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.principle-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.principle-card p {
    margin: 0;
    color: #667085;
    line-height: 1.65;
}

.page-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
    padding: 30px;
    border: 1px solid #c7d7fe;
    border-radius: 16px;
    background: #ffffff;
}

.page-cta-card h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.025em;
}

.page-cta-card p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #667085;
}

.page-cta-button {
    flex: 0 0 auto;
    margin-top: 0;
}

.policy-meta strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.content-card code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #f2f4f7;
    color: #344054;
    font-size: 0.92em;
}


@media (min-width: 761px) and (max-height: 1000px) {
    .hero {
        padding: 58px 0;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 64px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding: 72px 0 82px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .matcher-view {
        min-height: calc(100vh - 65px);
        padding: 22px 0 60px;
    }

    .matcher-topbar {
        margin-bottom: 18px;
    }

    .matcher-progress {
        margin-bottom: 34px;
    }

    .need-grid,
    .answer-grid,
    .answer-grid-four,
    .answer-grid-two,
    .result-layout,
    .comparison-cards {
        grid-template-columns: 1fr;
    }

    .need-card {
        min-height: 0;
    }

    .need-card-number {
        margin-bottom: 28px;
    }

    .simple-answer,
    .simple-answer-large {
        min-height: 0;
    }

    .result-card {
        padding: 22px;
    }

    .result-card-heading {
        align-items: center;
    }

    .comparison-section {
        margin-top: 54px;
        padding-top: 46px;
    }

    .comparison-tool-card,
    .how-we-choose {
        padding: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 38px;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .page-container {
        width: min(100% - 28px, 820px);
    }

    .page-hero {
        padding: 58px 0 42px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .page-hero > .page-container > p {
        font-size: 17px;
    }

    .page-content {
        padding: 42px 0 64px;
    }

    .content-card,
    .principle-card,
    .page-cta-card {
        padding: 22px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .page-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

