
/* =========================================================
   PURCHASING GUIDE
========================================================= */

.guide-page {
    width: 100%;
    color: #171717;
    background: #f5f5f5;
    font-family: "Inter", sans-serif;
}

body:has(.guide-page),
body:has(.guide-page) main {
    background: #f5f5f5;
}

/* =========================================================
   UNIVERSAL CONTENT WIDTH
========================================================= */

.guide-hero,
.guide-section,
.guide-cta {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* =========================================================
   HERO
========================================================= */

.guide-hero {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto 48px;
    padding: 32px 0 0;
    text-align: center;
}

.guide-hero-eyebrow {
    margin: 0 0 32px;
    color: #444;
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.guide-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transform: scaleY(1.125);
    transform-origin: center;
}

.guide-hero-intro {
    max-width: 700px;
    margin: 24px auto 0;
    color: #666;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.guide-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.guide-section-content {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.guide-section h2,
.guide-section-heading h2 {
    margin: 0 0 24px;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: black;
}

.guide-section-content > p,
.guide-section-heading > p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.guide-section-content > p:last-child,
.guide-section-heading > p:last-child {
    margin-bottom: 0;
}

.guide-section a {
    color: black;
    font-weight: 600;
    text-decoration: none;
}

.guide-section a:hover {
    text-decoration: underline;
}

.guide-section-heading {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 45px;
    font-size: 20px;
}

/* =========================================================
   MAIN GUIDE STEP CARDS
========================================================= */

.guide-step-card {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto 48px;
    padding: 64px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.guide-step-card .guide-section-content {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.guide-step-card h2 {
    margin: 0 0 28px;
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #000;
}

.guide-step-card p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    overflow-wrap: break-word;
}

.guide-step-card p:last-child {
    margin-bottom: 0;
}

.guide-step-card a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.guide-step-card a:hover {
    text-decoration: underline;
}

.guide-step-browse {
    padding-bottom: 55px;
}

.guide-step-learn {
    height: auto;
    min-height: 0;
}

.guide-step-learn .guide-card-grid {
    width: 100%;
    max-width: 900px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* =========================================================
   LEARN CARDS
========================================================= */

.guide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid #dedede;
    border-radius: 16px;
    background: #e8f9ff;
}

.guide-card h3 {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: black;
}

.guide-card p {
    margin: 0 0 17px;
    font-size: 15px;
    line-height: 1.7;
    color: #4d4d4d;
}

.guide-card-link {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
}

.guide-step-purchase {
    padding-top: 55px;
    padding-bottom: 55px;
}

/* =========================================================
   PURCHASE CHECKLIST
========================================================= */

.guide-purchase-checklist {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.guide-purchase-item {
    padding: 24px 26px;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #f8fafc;
}

.guide-purchase-item h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    color: #0d234f;
}

.guide-purchase-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

/* =========================================================
   PURCHASE CTA
========================================================= */

.guide-purchase-cta {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 42px 40px;
    box-sizing: border-box;
    border-radius: 16px;
    background: #0d234f;
    text-align: center;
}

.guide-purchase-cta h3 {
    margin: 0 0 12px;
    font-family: "Instrument Serif", serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.guide-purchase-cta p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
}

.guide-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 7px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.guide-button:hover {
    transform: translateY(-2px);
}

.guide-button-primary {
    background: #304cb2;
    color: #fff !important;
}

.guide-button-primary:hover {
    background: #253d96;
}

.guide-button-secondary {
    border: 1px solid #0d234f;
    background: transparent;
    color: #0d234f !important;
}

.guide-button-secondary:hover {
    background: #0d234f;
    color: #fff !important;
}

/* =========================================================
   NOTES
========================================================= */

.guide-note {
    margin-top: 40px;
    padding: 28px 30px;
    border-left: 4px solid #20e1ff;
    border-radius: 0 12px 12px 0;
    background: #dceff6;
}

.guide-note h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: black;
}

.guide-note p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.guide-note p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   NEXT STEPS
========================================================= */

.guide-step-next {
    padding-bottom: 60px;
}

.guide-next-steps {
    width: 100%;
    max-width: 900px;
    margin: 45px auto 0;
    display: flex;
    flex-direction: column;
}

.guide-next-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 24px;
    position: relative;
    padding-bottom: 38px;
}

.guide-next-step:last-child {
    padding-bottom: 0;
}

.guide-next-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8f9ff;
    font-size: 13px;
    font-weight: 700;
    color: #0d234f;
}

.guide-next-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    left: 23px;
    width: 1px;
    height: calc(100% - 48px);
    background: #d8d8d8;
}

.guide-next-step h3 {
    margin: 2px 0 10px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: #0d234f;
}

.guide-next-step p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.75;
    color: #555;
}

.guide-next-step p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ADDENDUM — LIGHT BACKGROUND
========================================================= */

.guide-addendum {
    width: 100%;
    margin-top: 20px;
    padding: 100px 30px;
    box-sizing: border-box;
    background: #f5f7fa;
    color: #171717;
}

.guide-addendum-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.guide-addendum-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.guide-addendum-heading h2 {
    margin: 0 0 20px;
    font-family: "Inter", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #171717;
    transform: scaleY(1.125);
    transform-origin: center;
}

.guide-addendum-heading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #555555;
}

.guide-addendum-item {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 0;
    border-top: 1px solid #d9dde3;
}

.guide-addendum-item:last-child {
    border-bottom: 1px solid #d9dde3;
}

.guide-addendum-content {
    width: 100%;
    max-width: 900px;
    min-width: 0;
}

.guide-addendum-content h3 {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #171717;
}

.guide-addendum-content > p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    overflow-wrap: break-word;
}

.guide-addendum-content > p:last-child {
    margin-bottom: 0;
}

.guide-addendum-content > p a {
    color: #171717;
    text-decoration-color: currentColor !important;
}

/* =========================================================
   LICENSING WARNING
========================================================= */

.guide-warning {
    margin-top: 35px;
    padding: 28px 30px;
    border: 1px solid #e2c98d;
    border-radius: 12px;
    background: #fffaf0;
    color: #171717;
}

.guide-warning h4 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    color: #171717;
}

.guide-warning p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #171717;
}

.guide-warning p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   PARTNERSHIP SECTION
========================================================= */

.guide-partnership {
    width: 100%;
    padding: 100px 30px;
    background: #0d234f;
    color: #fff;
    box-sizing: border-box;
}

.guide-partnership-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.guide-partnership h2 {
    margin: 0 0 35px;
    font-family: "Instrument Serif", serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.guide-partnership p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.guide-partnership-final {
    margin-top: 35px !important;
    font-weight: 600;
    color: #20e1ff !important;
}

/* =========================================================
   FAQ
========================================================= */

.guide-faq {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 65px 48px;
    box-sizing: border-box;
}

.guide-faq-grid {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.guide-faq-item {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.guide-faq-item h3 {
    margin: 0 0 10px;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #171717;
}

.guide-faq-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* =========================================================
   FINAL CTA
========================================================= */

.guide-cta {
    padding-top: 30px;
    padding-bottom: 100px;
}

.guide-cta-content {
    width: 100%;
    padding: 65px 60px;
    border-radius: 20px;
    background: #f1f4f8;
    text-align: center;
    box-sizing: border-box;
}

.guide-cta h2 {
    margin: 0 0 18px;
    font-family: "Inter", sans-serif;
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 700;
    line-height: 1;
    color: #0d234f;
}

.guide-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.guide-purchase-cta p {
    color: #fff;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .guide-step-learn .guide-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .guide-card {
        height: auto;
    }

}

@media (max-width: 900px) {

    .guide-purchase-checklist {
        grid-template-columns: 1fr;
    }

    .guide-hero {
        width: min(700px, calc(100% - 32px));
        margin-bottom: 32px;
        padding-top: 24px;
        padding-bottom: 0;
    }

    .guide-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .guide-partnership {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .guide-addendum {
        padding-top: 75px;
        padding-bottom: 75px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .guide-section,
    .guide-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .guide-step-card {
        width: min(1200px, calc(100% - 32px));
        margin-bottom: 20px;
        padding: 35px 25px;
        border-radius: 14px;
    }

    .guide-step-learn .guide-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .guide-card {
        padding: 26px;
    }

    .guide-purchase-checklist {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    .guide-purchase-cta {
        padding: 35px 25px;
    }

    .guide-purchase-cta h3 {
        font-size: 38px;
    }

    .guide-note,
    .guide-warning {
        padding: 22px;
    }

    .guide-next-step {
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
        padding-bottom: 32px;
    }

    .guide-next-number {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .guide-next-step:not(:last-child)::after {
        left: 20px;
        top: 42px;
        height: calc(100% - 42px);
    }

    .guide-addendum {
        padding: 65px 20px;
    }

    .guide-addendum-heading {
        margin-bottom: 40px;
    }

    .guide-addendum-item {
        padding: 35px 0;
    }

    .guide-partnership {
        padding-left: 20px;
        padding-right: 20px;
    }

    .guide-faq {
        width: calc(100% - 32px);
        padding: 40px 24px;
    }

    .guide-cta {
        padding-top: 15px;
        padding-bottom: 70px;
    }

    .guide-cta-content {
        padding: 45px 25px;
    }

    .guide-button {
        width: 100%;
    }

}

/* =========================================================
   MOBILE TYPOGRAPHY
========================================================= */

@media (max-width: 600px) {

    .guide-hero {
        width: calc(100% - 24px);
        margin-bottom: 24px;
        padding: 16px 0 0;
    }

    .guide-hero-eyebrow {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .guide-hero h1 {
        font-size: clamp(32px, 9vw, 52px);
    }

    .guide-hero-intro {
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.7;
    }

    .guide-step-card {
        width: calc(100% - 24px);
    }

    .guide-faq {
        width: calc(100% - 24px);
        padding: 30px 22px;
    }

    .guide-step-card p,
    .guide-card p,
    .guide-next-step p,
    .guide-addendum-content p,
    .guide-addendum-heading p,
    .guide-warning p,
    .guide-note p,
    .guide-partnership p,
    .guide-faq-item p,
    .guide-cta p {
        font-size: 14px;
        line-height: 1.8;
    }

    .guide-step-card h2 {
        font-size: 27px;
        line-height: 1.2;
    }

    .guide-addendum-heading h2 {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.15;
    }

    .guide-partnership h2 {
        font-size: 38px;
        line-height: 1.15;
    }

    .guide-addendum-content h3 {
        font-size: 23px;
    }

    .guide-next-step h3,
    .guide-card h3,
    .guide-faq-item h3 {
        font-size: 18px;
        line-height: 1.35;
    }

}

@media (max-width: 400px) {

    .guide-step-card {
        padding: 28px 20px;
    }

    .guide-card {
        padding: 22px;
    }

}
