.buying-guides-hero,
.buying-guide-article-hero,
.buying-tool-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(90, 164, 255, .24), transparent 31rem),
        linear-gradient(145deg, #eef4ff 0%, #fff 56%, #f5f8ff 100%);
}

.buying-guides-hero h1,
.buying-guide-article-hero h1,
.buying-tool-hero h1 {
    max-width: 980px;
    margin-inline: auto;
    font-size: clamp(2.35rem, 5.1vw, 4.7rem);
    line-height: 1.02;
}

.buying-guides-section,
.calculator-section,
.readiness-section {
    background: #f6f8fc;
}

.buying-section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.buying-section-heading h2 {
    margin: .4rem 0 0;
    font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.buying-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.buying-guide-card,
.buying-tool-card,
.buying-answer-card,
.buying-article-section,
.buying-calculator,
.calculator-result,
.readiness-check,
.readiness-result {
    border: 1px solid #dfe6f4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(16, 30, 68, .08);
}

.buying-guide-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.buying-guide-card > span,
.buying-answer-card > span,
.buying-article-aside span {
    color: #52627e;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.buying-guide-card h2 {
    margin: .75rem 0 .6rem;
    color: #101936;
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    line-height: 1.17;
}

.buying-guide-card p {
    color: #53617a;
}

.buying-guide-card a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: auto;
    padding-top: 1.2rem;
    color: #2446d8;
    font-weight: 800;
    text-decoration: none;
}

.buying-guide-card a i {
    transition: transform .2s ease;
}

.buying-guide-card a:hover i {
    transform: translateX(.3rem);
}

.buying-tools-section {
    background: #101936;
    color: #fff;
}

.buying-tools-section .eyebrow,
.buying-tools-section h2 {
    color: #fff;
}

.buying-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.buying-tool-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #101936;
}

.buying-tool-card > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 14px;
    background: #eaf0ff;
    color: #2446d8;
    font-size: 1.35rem;
    font-weight: 900;
}

.buying-tool-card h2 {
    margin: 1rem 0 .55rem;
    color: #101936;
}

.buying-tool-card p {
    color: #53617a;
}

.buying-article {
    padding: clamp(3rem, 7vw, 6.5rem) 0;
    background: #f6f8fc;
}

.buying-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 2rem;
    align-items: start;
}

.buying-article-main {
    display: grid;
    gap: 1.5rem;
}

.buying-answer-card,
.buying-article-section {
    padding: clamp(1.5rem, 3.5vw, 2.7rem);
}

.buying-answer-card {
    border-color: rgba(36, 70, 216, .22);
    background: linear-gradient(135deg, #eef3ff, #fff);
}

.buying-answer-card p {
    margin: .65rem 0 0;
    color: #101936;
    font-size: clamp(1.22rem, 2.2vw, 1.65rem);
    font-weight: 750;
    line-height: 1.45;
}

.buying-article-section h2 {
    margin-top: 0;
    color: #101936;
    font-size: clamp(1.55rem, 2.7vw, 2.25rem);
}

.buying-factor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.buying-factor-grid article {
    padding: 1.3rem;
    border-radius: 18px;
    background: #f6f8fc;
}

.buying-factor-grid article > span {
    color: #2446d8;
    font-size: 1.4rem;
    font-weight: 900;
}

.buying-factor-grid h3 {
    margin: .7rem 0 .35rem;
    color: #101936;
    font-size: 1.05rem;
}

.buying-factor-grid p,
.buying-article-section > p,
.buying-article-section li {
    color: #53617a;
}

.comparison-table {
    overflow: hidden;
    margin-top: 1.4rem;
    border: 1px solid #dfe6f4;
    border-radius: 18px;
}

.comparison-table > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}

.comparison-table > div:nth-child(even) {
    background: #f6f8fc;
}

.comparison-table strong {
    color: #101936;
}

.comparison-table span {
    color: #53617a;
}

.buying-fit-section {
    border-color: rgba(36, 70, 216, .25);
}

.buying-fit-section ul,
.buying-checklist ol,
.buying-sources ul {
    display: grid;
    gap: .65rem;
    padding-left: 1.25rem;
}

.buying-sources a {
    color: #2446d8;
    font-weight: 750;
}

.buying-article-aside {
    position: sticky;
    top: 115px;
}

.buying-article-aside > div {
    display: grid;
    gap: .8rem;
    padding: 1.35rem;
    border: 1px solid #dfe6f4;
    border-radius: 20px;
    background: #fff;
}

.buying-article-aside strong {
    margin-bottom: .6rem;
    color: #101936;
}

.buying-article-aside a {
    color: #2446d8;
    font-weight: 750;
    text-decoration: none;
}

.calculator-layout,
.readiness-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    gap: 1.5rem;
    align-items: start;
}

.buying-calculator,
.calculator-result,
.readiness-check,
.readiness-result {
    padding: clamp(1.4rem, 3vw, 2.4rem);
}

.calculator-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.calculator-fields label {
    display: grid;
    gap: .5rem;
    color: #27344f;
    font-size: .9rem;
    font-weight: 750;
}

.calculator-fields input {
    min-height: 48px;
    padding: .75rem .9rem;
    border: 1px solid #cfd8ea;
    border-radius: 12px;
    background: #fff;
    color: #101936;
    font: inherit;
}

.calculator-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin: 1.2rem 0;
}

.calculator-metrics > div {
    display: grid;
    gap: .25rem;
    padding: 1rem;
    border-radius: 15px;
    background: #f0f4ff;
}

.calculator-metrics span {
    color: #64718a;
    font-size: .82rem;
}

.calculator-metrics strong {
    color: #101936;
    font-size: 1.4rem;
}

.tool-next-step {
    background: #101936;
    color: #fff;
    text-align: center;
}

.tool-next-step h2,
.tool-next-step p {
    color: #fff;
}

.tool-next-step .hero-actions {
    justify-content: center;
}

.readiness-check {
    display: grid;
    gap: .8rem;
}

.readiness-check fieldset {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dfe6f4;
    border-radius: 15px;
}

.readiness-check legend {
    display: contents;
    color: #101936;
    font-weight: 750;
}

.readiness-check legend span {
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    margin-right: .55rem;
    place-items: center;
    border-radius: 50%;
    background: #eaf0ff;
    color: #2446d8;
}

.readiness-check label {
    white-space: nowrap;
    color: #52627e;
}

.readiness-score {
    display: flex;
    align-items: baseline;
    color: #2446d8;
}

.readiness-score strong {
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: .9;
}

.readiness-score span {
    font-size: 1.4rem;
    font-weight: 800;
}

.readiness-result ul {
    display: grid;
    gap: .6rem;
    padding-left: 1.2rem;
    color: #53617a;
}

@media (max-width: 900px) {
    .buying-article-layout,
    .calculator-layout,
    .readiness-layout {
        grid-template-columns: 1fr;
    }

    .buying-article-aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 680px) {
    .buying-guide-grid,
    .buying-tool-grid,
    .buying-factor-grid,
    .calculator-fields,
    .calculator-metrics {
        grid-template-columns: 1fr;
    }

    .comparison-table > div {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .readiness-check fieldset {
        grid-template-columns: 1fr 1fr;
    }

    .readiness-check legend {
        display: block;
        grid-column: 1 / -1;
        width: 100%;
    }
}
