
/* =========================================================
   CUSTOMIZATION PAGE
========================================================= */

main:has(.customization-page) {
    background: #f5f5f5;
}

/* =========================================================
   RESOURCES PAGE SELECTOR
========================================================= */

.resources-selector {
    width: min(1600px, calc(100% - 48px));
    margin: 0 auto 16px;
}

.resources-selector-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.resources-selector-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.resources-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    max-width: 180px;
    height: 32px;
    margin: 16px;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #171717;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.resources-option:hover {
    border-color: #171717;
}

.resources-option.active {
    background: #171717;
    color: #fff;
    border-color: #171717;
}

.resources-label {
    display: block;
}

/* =========================================================
   RESOURCE CONTENT SWITCHING
========================================================= */

[data-resources-content] {
    display: none;
}

[data-resources-content].is-active {
    display: block;
}

/* =========================================================
   SHARED RESOURCE CONTENT
========================================================= */

.resources-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px;
    background: #fff;
    box-sizing: border-box;
}

/* =========================================================
   CUSTOMIZATION CONTAINER
========================================================= */

.customization-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 64px;
    background: #f5f5f5;
    color: #171717;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}

.customization-page *,
.customization-page *::before,
.customization-page *::after {
    box-sizing: border-box;
}

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

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

.customization-hero-brand {
    max-width: 900px;
    margin: 0 auto 32px;
    color: #444;
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.customization-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;
}

.customization-hero-intro {
    max-width: 700px;
    margin: 24px auto 0;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

/* =========================================================
   MAIN WHITE SECTIONS
========================================================= */

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

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

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

.customization-section-description {
    max-width: 760px;
    margin: 0;
    color: #777;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

/* =========================================================
   BODY COPY
========================================================= */

.customization-step-card p {
    margin: 0 0 22px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

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

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

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

/* =========================================================
   CUSTOMIZATION CARDS
========================================================= */

.customization-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 36px auto 0;
}

.customization-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid #dedede;
    border-radius: 16px;
    background: #e8f9ff;
}

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

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

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

/* =========================================================
   CUSTOMIZATION OPTIONS
========================================================= */

.customization-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 36px auto 0;
}

.customization-option {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    border: 1px solid #dedede;
    border-radius: 16px;
    background: #f8fafc;
}

.customization-option h3 {
    margin: 0 0 18px;
    color: #0d234f;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.customization-option p {
    margin: 0 0 17px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.customization-option p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   MAKE IT YOUR OWN
========================================================= */

.customization-partnership {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 24px;
    padding: 80px 48px;
    border-radius: 18px;
    background: #0d234f;
    color: #fff;
}

.customization-partnership-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

.customization-partnership p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================================
   MIX & MATCH CTA
========================================================= */

.customization-cta {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0;
}

.customization-cta-content {
    width: 100%;
    padding: 65px 60px;
    border-radius: 18px;
    background: #f1f4f8;
    text-align: center;
}

.customization-cta h2 {
    max-width: 800px;
    margin: 0 auto 18px;
    color: #0d234f;
    font-family: "Inter", sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

/* =========================================================
   BUTTONS
========================================================= */

.customization-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

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

.customization-button-primary:hover {
    background: #253d96;
    color: #fff !important;
}

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

@media (max-width: 900px) {

    .resources-selector-options {
        gap: 12px;
    }

    .resources-option {
        width: 180px;
        max-width: 180px;
        margin: 16px 8px;
    }

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

    .customization-step-card,
    .customization-partnership,
    .customization-cta {
        width: calc(100% - 32px);
    }

    .customization-step-card {
        padding: 40px;
    }

    .customization-card-grid,
    .customization-option-grid {
        grid-template-columns: 1fr;
    }

    .customization-partnership {
        padding: 65px 40px;
    }

    .customization-cta-content {
        padding: 55px 40px;
    }
}

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

@media (max-width: 600px) {

    .resources-selector-options {
        flex-direction: column;
        align-items: center;
    }

    .resources-option {
        width: 100%;
        max-width: 180px;
        margin: 8px 0;
    }

    .customization-page {
        padding-bottom: 48px;
    }

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

    .customization-hero-brand {
        margin-bottom: 16px;
        font-size: 20px;
    }

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

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

    .customization-step-card {
        width: calc(100% - 24px);
        margin-bottom: 20px;
        padding: 35px 25px;
        border-radius: 14px;
    }

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

    .customization-section-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .customization-card-grid,
    .customization-option-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .customization-card,
    .customization-option {
        padding: 25px;
    }

    .customization-card h3,
    .customization-option h3 {
        font-size: 19px;
    }

    .customization-card p,
    .customization-option p {
        font-size: 14px;
        line-height: 1.75;
    }

    .customization-partnership {
        width: calc(100% - 24px);
        margin-bottom: 20px;
        padding: 55px 25px;
        border-radius: 14px;
    }

    .customization-partnership h2 {
        font-size: 42px;
    }

    .customization-partnership p {
        font-size: 15px;
        line-height: 1.75;
    }

    .customization-cta {
        width: calc(100% - 24px);
    }

    .customization-cta-content {
        padding: 45px 25px;
        border-radius: 14px;
    }

    .customization-cta h2 {
        font-size: 32px;
    }

    .customization-cta p {
        font-size: 14px;
        line-height: 1.75;
    }

    .customization-buttons {
        flex-direction: column;
        width: 100%;
    }

    .customization-button {
        width: 100%;
    }
}

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

@media (max-width: 400px) {

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

    .customization-card,
    .customization-option {
        padding: 22px;
    }

    .customization-partnership {
        padding: 45px 20px;
    }

    .customization-cta-content {
        padding: 40px 20px;
    }
}
