:root {
    --bg: #f6f9fb;
    --surface: #ffffff;
    --surface-soft: #eef6f8;

    --text: #102a43;
    --text-soft: #52697d;
    --text-light: #718096;

    --primary: #08758f;
    --primary-dark: #075d72;
    --primary-soft: #e7f5f8;

    --navy: #102f45;
    --navy-dark: #0b2638;

    --border: #dce7ec;
    --border-strong: #c7d7df;

    --success: #247a55;

    --shadow-sm:
        0 1px 3px rgba(16, 42, 67, 0.06);

    --shadow-md:
        0 10px 30px rgba(16, 42, 67, 0.08);

    --shadow-lg:
        0 22px 55px rgba(16, 42, 67, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shell: 1180px;
}


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;

    background:
        var(--bg);

    color:
        var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}

a {
    color:
        var(--primary);

    text-underline-offset: 3px;
}

a:hover {
    color:
        var(--primary-dark);
}

img {
    max-width: 100%;
}

.site-shell {
    width:
        min(
            calc(100% - 40px),
            var(--shell)
        );

    margin:
        0 auto;
}


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

h1,
h2,
h3,
h4 {
    margin-top: 0;

    color:
        var(--text);

    line-height: 1.16;

    letter-spacing: -0.02em;
}

h1 {
    max-width: 760px;

    margin-bottom: 24px;

    font-size:
        clamp(
            2.45rem,
            5vw,
            4.45rem
        );
}

h2 {
    margin-bottom: 18px;

    font-size:
        clamp(
            1.9rem,
            3.4vw,
            2.8rem
        );
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1.15rem;
}

p {
    margin-top: 0;
}

.eyebrow,
.section-number,
.program-label,
.card-kicker {
    margin-bottom: 12px;

    color:
        var(--primary);

    font-size: 0.82rem;
    font-weight: 750;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid
        var(--border);

    backdrop-filter:
        blur(14px);
}

.site-header-inner {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    color:
        var(--navy);

    font-size: 1.25rem;
    font-weight: 800;

    letter-spacing: -0.025em;

    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px 24px;
}

.site-nav a {
    color:
        var(--text);

    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;
}

.site-nav a:hover {
    color:
        var(--primary);
}

.site-nav .nav-account {
    padding:
        8px 14px;

    color:
        var(--primary-dark);

    background:
        var(--primary-soft);

    border-radius:
        var(--radius-sm);
}


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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        11px 20px;

    border:
        1px solid transparent;

    border-radius:
        10px;

    font-size: 0.97rem;
    font-weight: 700;

    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

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

.button-primary {
    color: #ffffff;

    background:
        var(--primary);

    border-color:
        var(--primary);
}

.button-primary:hover {
    color: #ffffff;

    background:
        var(--primary-dark);

    border-color:
        var(--primary-dark);
}

.button-secondary {
    color:
        var(--primary-dark);

    background:
        #ffffff;

    border-color:
        var(--border-strong);
}

.button-secondary:hover {
    color:
        var(--primary-dark);

    background:
        var(--primary-soft);

    border-color:
        var(--primary);
}

.button-light {
    color:
        var(--primary-dark);

    background:
        var(--primary-soft);

    border-color:
        transparent;
}

.button-light:hover {
    background:
        #d9eef3;
}

.button-white {
    color:
        var(--navy-dark);

    background:
        #ffffff;

    border-color:
        #ffffff;
}

.button-white:hover {
    color:
        var(--navy-dark);

    background:
        #eef6f8;
}

.button-dark-outline {
    color:
        #ffffff;

    background:
        transparent;

    border-color:
        rgba(255, 255, 255, 0.42);
}

.button-dark-outline:hover {
    color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.08);
}

.button-small {
    min-height: 42px;

    padding:
        9px 14px;

    font-size:
        0.91rem;
}

.cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


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

.hero {
    position: relative;

    overflow: hidden;

    padding:
        88px 0 92px;

    background:
        linear-gradient(
            135deg,
            #f8fcfd 0%,
            #edf7f9 55%,
            #e8f2f6 100%
        );

    border-bottom:
        1px solid
        var(--border);
}

.hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    top: -240px;

    background:
        rgba(8, 117, 143, 0.07);

    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.8fr);

    gap: 72px;

    align-items: center;
}

.hero-lead {
    max-width: 720px;

    margin-bottom: 0;

    color:
        var(--text-soft);

    font-size:
        clamp(
            1.08rem,
            2vw,
            1.28rem
        );

    line-height: 1.65;
}

.hero-note {
    margin-top: 18px;
    margin-bottom: 0;

    color:
        var(--text-soft);

    font-size: 0.94rem;
}


/* =========================================================
   PREP PATH
   ========================================================= */

.prep-path-card {
    padding: 28px;

    background:
        rgba(255, 255, 255, 0.94);

    border:
        1px solid
        rgba(199, 215, 223, 0.95);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-lg);
}

.prep-step {
    display: grid;

    grid-template-columns:
        38px 1fr;

    gap: 14px;

    padding:
        17px 0;

    border-bottom:
        1px solid
        var(--border);
}

.prep-step:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.prep-step-number {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color:
        #ffffff;

    background:
        var(--primary);

    border-radius: 50%;

    font-weight: 800;
}

.prep-step strong {
    display: block;

    margin-bottom: 3px;
}

.prep-step p {
    margin: 0;

    color:
        var(--text-soft);

    font-size: 0.93rem;
}


/* =========================================================
   HOME SECTIONS
   ========================================================= */

.home-section {
    padding:
        88px 0;
}

.home-section-alt {
    background:
        #edf5f7;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}

.home-section-dark {
    color:
        rgba(255, 255, 255, 0.86);

    background:
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-dark) 100%
        );
}

.home-section-dark h2,
.home-section-dark h3,
.home-section-dark strong {
    color:
        #ffffff;
}

.home-section-dark p {
    color:
        rgba(255, 255, 255, 0.79);
}

.section-number {
    margin-bottom: 6px;

    font-size: 0.9rem;
}

.section-number-light {
    color:
        #72d0df;
}

.section-heading {
    max-width: 850px;

    display: grid;

    grid-template-columns:
        62px 1fr;

    gap: 10px;

    margin-bottom: 46px;
}

.section-heading p:last-child {
    max-width: 720px;

    color:
        var(--text-soft);

    font-size: 1.08rem;
}


/* =========================================================
   EXAMS
   ========================================================= */

.exam-groups {
    display: grid;

    gap: 42px;
}

.program-group {
    margin: 0;
}

.program-heading {
    margin-bottom: 18px;
}

.program-heading h3 {
    margin-bottom: 0;

    font-size: 1.45rem;
}

.exam-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 18px;
}

.exam-card {
    display: flex;
    flex-direction: column;

    min-height: 100%;

    padding: 24px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}

.exam-card:hover {
    border-color:
        var(--border-strong);

    box-shadow:
        var(--shadow-md);
}

.exam-card h4 {
    min-height: 52px;

    margin-bottom: 18px;
}

.exam-facts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 18px;
}

.exam-facts > div {
    padding: 12px;

    background:
        var(--surface-soft);

    border-radius:
        var(--radius-sm);
}

.fact-label {
    display: block;

    margin-bottom: 2px;

    color:
        var(--text-soft);

    font-size: 0.78rem;
}

.exam-facts strong {
    font-size: 1.05rem;
}

.exam-card-copy {
    flex: 1;

    color:
        var(--text-soft);

    font-size: 0.94rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 8px;
}


/* =========================================================
   FEATURE SECTIONS
   ========================================================= */

.feature-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(300px, 0.82fr);

    gap: 72px;

    align-items: center;
}

.feature-layout-reverse {
    grid-template-columns:
        minmax(300px, 0.82fr)
        minmax(0, 1.18fr);
}

.feature-lead {
    max-width: 720px;

    color:
        var(--text-soft);

    font-size: 1.18rem;
    font-weight: 600;
}

.home-section-dark .feature-lead {
    color:
        rgba(255, 255, 255, 0.9);
}

.feature-card {
    padding: 30px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-md);
}

.feature-card-highlight {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eef9fa
        );

    border-color:
        #bfdee5;
}

.feature-list {
    margin:
        20px 0 0;

    padding: 0;

    list-style: none;
}

.feature-list li {
    position: relative;

    margin-bottom: 12px;

    padding-left: 28px;
}

.feature-list li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color:
        var(--success);

    font-weight: 800;
}


/* =========================================================
   PRACTICE BENEFITS
   ========================================================= */

.practice-benefits {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.benefit {
    padding: 20px;

    background:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius:
        var(--radius-md);
}

.benefit strong {
    display: block;

    margin-bottom: 7px;
}

.benefit span {
    color:
        rgba(255, 255, 255, 0.72);

    font-size: 0.91rem;
}


/* =========================================================
   VALUE PROPOSITION
   ========================================================= */

.center-heading {
    max-width: 780px;

    margin:
        0 auto 44px;

    text-align: center;
}

.center-heading p:last-child {
    color:
        var(--text-soft);

    font-size: 1.05rem;
}

.value-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.value-card {
    padding: 26px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);
}

.value-card h3 {
    margin-bottom: 10px;
}

.value-card p {
    margin-bottom: 0;

    color:
        var(--text-soft);
}


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

.final-cta {
    padding:
        26px 0 88px;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 42px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-md);
}

.final-cta h2 {
    max-width: 650px;

    margin-bottom: 12px;
}

.final-cta p:last-child {
    max-width: 650px;

    margin-bottom: 0;

    color:
        var(--text-soft);
}

.final-cta .cta-row {
    flex-shrink: 0;

    margin-top: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding:
        52px 0 40px;

    color:
        #dce8ee;

    background:
        var(--navy-dark);
}

.footer-main {
    display: flex;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 32px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.footer-brand {
    display: block;

    margin-bottom: 8px;

    color:
        #ffffff;

    font-size: 1.15rem;
}

.footer-main p {
    max-width: 420px;

    margin-bottom: 0;

    color:
        rgba(255, 255, 255, 0.66);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 24px;
}

.footer-nav a {
    color:
        #ffffff;

    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    max-width: 850px;

    padding-top: 26px;

    color:
        rgba(255, 255, 255, 0.56);

    font-size: 0.82rem;
}

.footer-disclaimer p {
    margin-bottom: 8px;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline:
        3px solid
        rgba(8, 117, 143, 0.32);

    outline-offset: 3px;
}


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

@media (max-width: 900px) {

    .site-header-inner {
        padding:
            14px 0;

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 10px;
    }

    .site-nav {
        gap:
            8px 18px;
    }

    .hero {
        padding:
            64px 0;
    }

    .hero-grid,
    .feature-layout,
    .feature-layout-reverse {
        grid-template-columns:
            1fr;

        gap: 42px;
    }

    .section-heading {
        grid-template-columns:
            1fr;

        gap: 0;
    }

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

    .final-cta-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .final-cta .cta-row {
        margin-top:
            10px;
    }

    .footer-main {
        flex-direction:
            column;
    }
}


@media (max-width: 620px) {

    .site-shell {
        width:
            min(
                calc(100% - 26px),
                var(--shell)
            );
    }

    .site-header {
        position:
            static;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a {
        font-size:
            0.9rem;
    }

    .hero {
        padding:
            48px 0 54px;
    }

    .hero h1 {
        font-size:
            2.45rem;
    }

    .cta-row {
        align-items:
            stretch;

        flex-direction:
            column;
    }

    .button {
        width:
            100%;
    }

    .prep-path-card {
        padding:
            21px;
    }

    .home-section {
        padding:
            62px 0;
    }

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

    .exam-card {
        padding:
            20px;
    }

    .exam-card h4 {
        min-height:
            0;
    }

    .practice-benefits {
        grid-template-columns:
            1fr;
    }

    .feature-card {
        padding:
            22px;
    }

    .final-cta {
        padding-bottom:
            62px;
    }

    .final-cta-inner {
        padding:
            28px 22px;
    }

    .footer-nav {
        flex-direction:
            column;

        gap:
            12px;
    }
}
/* =========================================================
   GENERAL INNER PAGES
   ========================================================= */

body > main,
body > article {
    width:
        min(
            calc(100% - 40px),
            var(--shell)
        );

    margin:
        0 auto;

    padding:
        54px 0 72px;
}

body > h1,
body > h2,
body > h3,
body > p,
body > form,
body > table,
body > ul,
body > ol,
body > hr {
    width:
        min(
            calc(100% - 40px),
            760px
        );

    margin-left:
        auto;

    margin-right:
        auto;
}


/* =========================================================
   CONTENT PAGES / LEGAL PAGES
   ========================================================= */

.legal-page {
    max-width: 820px;

    margin:
        0 auto;

    padding:
        58px 0 78px;
}

.legal-page > p,
.legal-page > ul,
.legal-page > ol {
    color:
        var(--text-soft);
}

.legal-page h2 {
    margin-top:
        46px;
}

.legal-page h3 {
    margin-top:
        30px;
}

.legal-page li {
    margin-bottom:
        8px;
}


/* =========================================================
   GENERIC LINKS / NAVIGATION
   ========================================================= */

main > p:first-child a,
body > p:first-child a {
    font-weight:
        600;
}

main > p:first-child {
    margin-bottom:
        28px;
}


/* =========================================================
   FORMS
   ========================================================= */

form {
    max-width:
        680px;
}

label {
    display:
        block;

    color:
        var(--text);

    font-weight:
        650;
}

input,
select,
textarea {
    width:
        100%;

    margin-top:
        7px;

    padding:
        11px 13px;

    color:
        var(--text);

    background:
        var(--surface);

    border:
        1px solid
        var(--border-strong);

    border-radius:
        var(--radius-sm);

    font:
        inherit;
}

input[type="radio"],
input[type="checkbox"] {
    width:
        auto;

    margin:
        0 8px 0 0;

    accent-color:
        var(--primary);
}

input:focus,
select:focus,
textarea:focus {
    outline:
        3px solid
        rgba(8, 117, 143, 0.16);

    border-color:
        var(--primary);
}

textarea {
    min-height:
        140px;

    resize:
        vertical;
}

button,
input[type="submit"] {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        46px;

    width:
        auto;

    padding:
        10px 18px;

    color:
        #ffffff;

    background:
        var(--primary);

    border:
        1px solid
        var(--primary);

    border-radius:
        10px;

    font:
        inherit;

    font-weight:
        700;

    cursor:
        pointer;
}

button:hover,
input[type="submit"]:hover {
    background:
        var(--primary-dark);

    border-color:
        var(--primary-dark);
}


/* =========================================================
   TABLES
   ========================================================= */

table {
    width:
        100%;

    margin:
        20px 0 30px;

    border-collapse:
        collapse;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}

th,
td {
    padding:
        12px 14px;

    border-bottom:
        1px solid
        var(--border);

    text-align:
        left;

    vertical-align:
        top;
}

th {
    color:
        var(--text);

    background:
        var(--surface-soft);

    font-weight:
        700;
}

tr:last-child td {
    border-bottom:
        0;
}


/* =========================================================
   GENERIC CARDS / ARTICLES
   ========================================================= */

main article {
    padding:
        24px;

    margin-bottom:
        20px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}

main article h2:first-child,
main article h3:first-child,
main article h4:first-child {
    margin-top:
        0;
}


/* =========================================================
   MESSAGES / ERRORS
   ========================================================= */

.error,
.errors,
.alert,
.notice,
.message {
    padding:
        14px 16px;

    margin:
        18px 0;

    background:
        var(--surface-soft);

    border:
        1px solid
        var(--border-strong);

    border-radius:
        var(--radius-sm);
}


/* =========================================================
   QUESTION / EXAM INTERFACE
   ========================================================= */

fieldset {
    margin:
        22px 0;

    padding:
        20px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);
}

legend {
    padding:
        0 7px;

    color:
        var(--text);

    font-weight:
        700;
}

fieldset label {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        8px;

    margin:
        10px 0;

    padding:
        11px 12px;

    background:
        #fbfdfe;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-sm);

    font-weight:
        500;

    cursor:
        pointer;
}

fieldset label:hover {
    background:
        var(--primary-soft);

    border-color:
        var(--border-strong);
}


/* =========================================================
   STUDY GUIDE ARTICLE CONTENT
   ========================================================= */

.study-guide-content {
    max-width:
        820px;

    font-size:
        1.04rem;

    line-height:
        1.75;
}

.study-guide-content h2 {
    margin-top:
        46px;
}

.study-guide-content h3 {
    margin-top:
        32px;
}

.study-guide-content p {
    margin-bottom:
        18px;
}

.study-guide-content ul,
.study-guide-content ol {
    margin-bottom:
        24px;
}

.study-guide-content li {
    margin-bottom:
        8px;
}

.study-guide-content blockquote {
    margin:
        26px 0;

    padding:
        17px 20px;

    background:
        var(--primary-soft);

    border-left:
        4px solid
        var(--primary);

    border-radius:
        0 var(--radius-sm)
        var(--radius-sm) 0;
}

.study-guide-content code {
    padding:
        2px 5px;

    background:
        #edf3f5;

    border-radius:
        4px;
}


/* =========================================================
   GENERIC SEPARATORS
   ========================================================= */

hr {
    margin:
        34px 0;

    border:
        0;

    border-top:
        1px solid
        var(--border);
}


/* =========================================================
   INNER PAGE MOBILE
   ========================================================= */

@media (max-width: 700px) {

    body > main,
    body > article {
        width:
            min(
                calc(100% - 26px),
                var(--shell)
            );

        padding:
            34px 0 52px;
    }

    body > h1,
    body > h2,
    body > h3,
    body > p,
    body > form,
    body > table,
    body > ul,
    body > ol,
    body > hr {
        width:
            min(
                calc(100% - 26px),
                760px
            );
    }

    .legal-page {
        padding:
            38px 0 54px;
    }

    table {
        display:
            block;

        max-width:
            100%;

        overflow-x:
            auto;
    }

    th,
    td {
        min-width:
            120px;

        padding:
            10px;
    }

    main article {
        padding:
            19px;
    }

    fieldset {
        padding:
            16px;
    }
}
/* =========================================================
   PAGE HEIGHT / STICKY FOOTER
   ========================================================= */

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;
}

.site-header {
    flex-shrink: 0;
}

body > main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}
/* =========================================================
   AUTH PAGES
   ========================================================= */

.auth-page {
    width: min(
        calc(100% - 40px),
        720px
    );

    flex: 1 0 auto;

    margin: 0 auto;

    padding: 46px 0 64px;
}

@media (max-width: 700px) {

    .auth-page {
        width: min(
            calc(100% - 26px),
            720px
        );

        padding: 34px 0 48px;
    }
}
/* =========================================================
   PUBLIC CONTENT PAGES
   ========================================================= */

.exam-page,
.pricing-page,
.study-guide-index,
.study-guide-topic-page {
    max-width: 1040px;
}

.exam-page > h1,
.pricing-page > h1,
.study-guide-index > h1,
.study-guide-topic-page > h1 {
    max-width: 850px;
    margin-bottom: 16px;
}

.exam-page > h1 + p,
.study-guide-index > h1 + p,
.study-guide-topic-page > h1 + p {
    max-width: 760px;

    color: var(--text-soft);

    font-size: 1.08rem;
}


/* =========================================================
   BREADCRUMBS / BACK LINKS
   ========================================================= */

.pricing-page > p:first-child,
.study-guide-index > p:first-child,
.study-guide-topic-page > p:first-child,
.study-guide-article-page > p:first-child {
    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: 0.93rem;
}

.pricing-page > p:first-child a,
.study-guide-index > p:first-child a,
.study-guide-topic-page > p:first-child a,
.study-guide-article-page > p:first-child a {
    font-weight: 650;
    text-decoration: none;
}


/* =========================================================
   EXAM PAGE
   ========================================================= */

.exam-page {
    max-width: 900px;
}

.exam-page > hr {
    display: none;
}

.exam-page > section {
    margin-top: 28px;
    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.exam-page > section h2 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 1.55rem;
}

.exam-page > section p:last-child {
    margin-bottom: 0;
}

.exam-page a[href^="/sample.php"],
.exam-page a[href^="/practice.php"],
.exam-page a[href^="/pricing.php"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 10px 18px;

    color: #ffffff;
    background: var(--primary);

    border: 1px solid var(--primary);
    border-radius: 10px;

    font-weight: 700;
    text-decoration: none;
}

.exam-page a[href^="/sample.php"]:hover,
.exam-page a[href^="/practice.php"]:hover,
.exam-page a[href^="/pricing.php"]:hover {
    color: #ffffff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}


/* =========================================================
   PRICING PAGE
   ========================================================= */

.pricing-page {
    max-width: 980px;
}

.pricing-page > h2 {
    margin-bottom: 8px;
}

.pricing-page > article {
    position: relative;

    margin: 24px 0;
    padding: 30px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.pricing-page > article h3 {
    margin-bottom: 14px;

    font-size: 1.5rem;
}

.pricing-page > article ul {
    margin: 16px 0 22px;
}

.pricing-page > article li {
    margin-bottom: 7px;
}

.pricing-page > article a[href^="/checkout.php"],
.pricing-page a[href^="/practice.php"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 10px 19px;

    color: #ffffff;
    background: var(--primary);

    border: 1px solid var(--primary);
    border-radius: 10px;

    font-weight: 700;
    text-decoration: none;
}

.pricing-page > article a[href^="/checkout.php"]:hover,
.pricing-page a[href^="/practice.php"]:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.pricing-page > article + hr {
    display: none;
}

.pricing-page > section {
    margin-top: 42px;
    padding: 24px 26px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.pricing-page > section h2 {
    margin-top: 0;

    font-size: 1.3rem;
}


/* =========================================================
   STUDY GUIDE INDEX / TOPIC
   ========================================================= */

.study-guide-index {
    max-width: 1080px;
}

.study-guide-index > section,
.study-guide-topic-page > section {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 34px;
}

.study-guide-index > section > h2,
.study-guide-topic-page > section > h2 {
    grid-column: 1 / -1;

    margin-bottom: 4px;
}

.study-guide-index > section > article,
.study-guide-topic-page > section > article {
    margin: 0;
    padding: 25px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.study-guide-index > section > article:hover,
.study-guide-topic-page > section > article:hover {
    transform: translateY(-2px);

    border-color: var(--border-strong);

    box-shadow: var(--shadow-md);
}

.study-guide-index > section > article h3,
.study-guide-topic-page > section > article h3 {
    margin-bottom: 10px;
}

.study-guide-index > section > article h3 a,
.study-guide-topic-page > section > article h3 a {
    color: var(--text);

    text-decoration: none;
}

.study-guide-index > section > article h3 a:hover,
.study-guide-topic-page > section > article h3 a:hover {
    color: var(--primary);
}

.study-guide-index > section > article p,
.study-guide-topic-page > section > article p {
    color: var(--text-soft);
}

.study-guide-index > section > hr,
.study-guide-topic-page > section > hr {
    display: none;
}


/* =========================================================
   STUDY GUIDE ARTICLE
   ========================================================= */

.study-guide-article-page {
    max-width: 1080px;
}

.study-guide-article-page > p:first-child {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}

.study-guide-article-page > article {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;

    padding:
        clamp(26px, 4vw, 48px);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.study-guide-article-page > article > h1 {
    max-width: 780px;

    margin-bottom: 18px;

    font-size:
        clamp(
            2rem,
            4vw,
            3.1rem
        );
}

.study-guide-article-page > article > h1 + p {
    color: var(--text-soft);

    font-size: 1.1rem;
}

.study-guide-article-page .study-guide-content {
    max-width: none;
}

.study-guide-article-page .study-guide-content h2 {
    font-size:
        clamp(
            1.55rem,
            3vw,
            2rem
        );
}

.study-guide-article-page .study-guide-content h3 {
    font-size: 1.3rem;
}

.study-guide-article-page > section {
    max-width: 900px;

    margin:
        32px auto 0;

    padding: 26px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.study-guide-article-page > section h2 {
    margin-top: 0;

    font-size: 1.35rem;
}

.study-guide-article-page > hr {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}

.study-guide-article-page > p {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   PUBLIC PAGE MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .study-guide-index > section,
    .study-guide-topic-page > section {
        grid-template-columns: 1fr;
    }

    .exam-page > section,
    .pricing-page > article {
        padding: 21px;
    }

    .study-guide-article-page > article {
        padding: 22px 18px;
    }

    .study-guide-article-page > section {
        padding: 20px;
    }
}
/* =========================================================
   ACCOUNT / DASHBOARD
   ========================================================= */

.account-page,
.progress-page,
.history-page,
.review-page {
    max-width: 1080px;
}

.account-page > h1,
.progress-page > h1,
.history-page > h1,
.review-page > h1 {
    margin-bottom: 14px;
}

.account-page > hr,
.progress-page > hr,
.review-page > hr {
    border-color: var(--border);
}


/* Account identity */

.account-page > form[action="/logout.php"] {
    display: inline-block;

    margin: 4px 0 12px;
}

.account-page > form[action="/logout.php"] button {
    color: var(--text-soft);
    background: transparent;

    border-color: var(--border-strong);
}

.account-page > form[action="/logout.php"] button:hover {
    color: var(--text);
    background: var(--surface-soft);
}


/* =========================================================
   ACCOUNT SECTIONS
   ========================================================= */

.account-page > section {
    margin: 34px 0;
}

.account-page > section > h2 {
    margin-bottom: 20px;
}

.account-page > section > article {
    margin: 18px 0;
    padding: 26px;

    border-radius: var(--radius-lg);
}

.account-page > section > article h3 {
    margin-bottom: 8px;

    font-size: 1.35rem;
}

.account-page > section > article h4 {
    margin-top: 24px;
    margin-bottom: 8px;

    color: var(--text-soft);

    font-size: 0.82rem;
    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.account-page > section > article + hr {
    display: none;
}


/* Primary account actions */

.account-page a[href^="/practice.php"],
.account-page a[href^="/sample.php"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 9px 14px;

    color: #ffffff;
    background: var(--primary);

    border: 1px solid var(--primary);
    border-radius: 9px;

    font-weight: 700;
    text-decoration: none;
}

.account-page a[href^="/practice.php"]:hover,
.account-page a[href^="/sample.php"]:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.account-page a[href^="/progress.php"],
.account-page a[href^="/pricing.php"],
.account-page a[href^="/exam.php"] {
    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 9px 13px;

    background: var(--primary-soft);

    border-radius: 9px;

    font-weight: 650;
    text-decoration: none;
}


/* =========================================================
   DASHBOARD TABLES
   ========================================================= */

.account-page table,
.progress-page table,
.history-page table {
    overflow: hidden;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.account-page th,
.progress-page th,
.history-page th {
    font-size: 0.86rem;
}

.account-page td,
.progress-page td,
.history-page td {
    color: var(--text-soft);
}

.account-page td strong,
.progress-page td strong,
.history-page td strong {
    color: var(--text);
}


/* =========================================================
   PROGRESS PAGE
   ========================================================= */

.progress-page {
    max-width: 1080px;
}

.progress-page > h1 + p {
    color: var(--text-soft);
}

.progress-page > section {
    margin: 30px 0;
    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.progress-page > section h2 {
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 1.55rem;
}

.progress-page > section > p {
    color: var(--text-soft);
}

.progress-page > section > p strong {
    color: var(--text);
}

.progress-page a[href^="/practice.php"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 10px 18px;

    color: #ffffff;
    background: var(--primary);

    border-radius: 10px;

    font-weight: 700;
    text-decoration: none;
}

.progress-page a[href^="/practice.php"]:hover {
    color: #ffffff;
    background: var(--primary-dark);
}


/* =========================================================
   HISTORY
   ========================================================= */

.history-page {
    max-width: 1050px;
}

.history-page table {
    margin-top: 30px;
}

.history-page tbody tr {
    transition: background 0.12s ease;
}

.history-page tbody tr:hover {
    background: #fbfdfe;
}

.history-page tr.result-passed td:nth-child(3) {
    color: var(--success);

    font-weight: 750;
}

.history-page tr.result-not-passed td:nth-child(3) {
    color: #b5473c;

    font-weight: 750;
}

.history-page a[href^="/review.php"] {
    display: inline-flex;

    padding: 6px 10px;

    background: var(--primary-soft);

    border-radius: 7px;

    font-weight: 650;
    text-decoration: none;
}


/* =========================================================
   REVIEW SUMMARY
   ========================================================= */

.review-page {
    max-width: 960px;
}

.review-page > h2:first-of-type {
    margin-bottom: 18px;
}

.review-page > h2:first-of-type ~ p {
    color: var(--text-soft);
}

.review-page > h2:first-of-type ~ p strong {
    color: var(--text);
}


/* =========================================================
   REVIEW QUESTIONS
   ========================================================= */

.review-question {
    position: relative;

    margin: 26px 0;
    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-left-width: 5px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.review-question.review-correct {
    border-left-color: var(--success);
}

.review-question.review-incorrect {
    border-left-color: #c14f42;
}

.review-question h3 {
    margin-bottom: 18px;
}

.review-correct h3 {
    color: var(--success);
}

.review-incorrect h3 {
    color: #a83f35;
}

.review-question > p:nth-of-type(1) {
    color: var(--text);

    font-size: 1.05rem;
    font-weight: 600;

    line-height: 1.6;
}

.review-question ul {
    margin: 20px 0;
    padding: 0;

    list-style: none;
}

.review-question li {
    margin: 9px 0;
    padding: 11px 13px;

    color: var(--text-soft);
    background: #fbfdfe;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.review-question li.answer-selected-correct {
    color: #175c3e;
    background: #edf8f2;

    border-color: #add5bf;
}

.review-question li.answer-selected-wrong {
    color: #8f342c;
    background: #fff1ef;

    border-color: #e3b8b2;
}

.review-question li.answer-correct {
    color: #175c3e;
    background: #f4faf6;

    border-color: #c5dfd0;
}

.review-question a[href^="/feedback.php"] {
    color: var(--text-light);

    font-size: 0.9rem;
}

.review-question + hr {
    display: none;
}


/* Review navigation */

.review-page > p a[href^="/practice.php"] {
    display: inline-flex;

    padding: 10px 16px;

    color: #ffffff;
    background: var(--primary);

    border-radius: 9px;

    font-weight: 700;
    text-decoration: none;
}

.review-page > p a[href^="/progress.php"] {
    display: inline-flex;

    padding: 10px 16px;

    background: var(--primary-soft);

    border-radius: 9px;

    font-weight: 650;
    text-decoration: none;
}


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

@media (max-width: 760px) {

    .account-page > section > article,
    .progress-page > section,
    .review-question {
        padding: 20px;
    }

    .account-page table,
    .progress-page table,
    .history-page table {
        display: block;

        max-width: 100%;

        overflow-x: auto;
    }

    .account-page a[href^="/practice.php"],
    .account-page a[href^="/sample.php"],
    .account-page a[href^="/progress.php"],
    .account-page a[href^="/pricing.php"],
    .account-page a[href^="/exam.php"] {
        margin-bottom: 7px;
    }
}
/* =========================================================
   FREE SAMPLE EXAM
   ========================================================= */

.sample-page {
    max-width: 900px;
}

.sample-page > h1 {
    margin-bottom: 10px;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );
}

.sample-page > h2 {
    margin-top: 10px;
    margin-bottom: 18px;
}

.sample-page > p {
    color: var(--text-soft);
}

.sample-page > p strong {
    color: var(--text);
}


/* Sample question cards */

.sample-form {
    max-width: none;

    margin-top: 36px;
}

.sample-question {
    margin: 0 0 26px;
    padding: 26px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.sample-question legend {
    padding: 0 10px;

    color: var(--primary-dark);

    font-size: 0.9rem;
}

.sample-question > p:first-of-type {
    margin: 8px 0 20px;

    color: var(--text);

    font-size: 1.08rem;
    font-weight: 650;

    line-height: 1.6;
}

.sample-question > p {
    margin: 8px 0;
}

.sample-question label {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 0;
    padding: 13px 14px;

    color: var(--text);

    background: #fbfdfe;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.12s ease,
        border-color 0.12s ease;
}

.sample-question label:hover {
    background: var(--primary-soft);

    border-color: var(--border-strong);
}

.sample-question label:has(input:checked) {
    background: var(--primary-soft);

    border-color: var(--primary);
}

.sample-question input[type="radio"] {
    flex: 0 0 auto;

    margin-top: 4px;
}

.sample-question a[href^="/feedback.php"] {
    color: var(--text-light);

    font-size: 0.88rem;
}


/* Finish Sample */

.sample-form > p:last-child {
    margin-top: 34px;
}

.sample-form > p:last-child button {
    min-height: 50px;

    padding: 12px 24px;

    font-size: 1rem;
}


/* =========================================================
   SAMPLE RESULTS
   ========================================================= */

.sample-result {
    display: inline-block;

    margin-top: 16px;

    padding: 10px 15px;

    border-radius: var(--radius-sm);

    font-size: 1.35rem;
}

.sample-result.result-pass {
    color: #17603f;
    background: #edf8f2;

    border: 1px solid #b5d8c3;
}

.sample-result.result-fail {
    color: #923a31;
    background: #fff1ef;

    border: 1px solid #e3bbb5;
}

.sample-page .sample-result ~ ul {
    max-width: 700px;

    padding: 0;

    list-style: none;
}

.sample-page .sample-result ~ ul li {
    margin: 10px 0;
    padding: 13px 15px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.sample-page a[href^="/sample.php"],
.sample-page a[href^="/exam.php"] {
    display: inline-flex;

    margin-right: 8px;
    margin-bottom: 8px;

    padding: 9px 14px;

    background: var(--primary-soft);

    border-radius: 9px;

    font-weight: 650;
    text-decoration: none;
}

.sample-page a[href^="/sample.php"] {
    color: #ffffff;
    background: var(--primary);
}

.sample-page a[href^="/sample.php"]:hover {
    color: #ffffff;
    background: var(--primary-dark);
}


/* =========================================================
   FULL PRACTICE EXAM
   ========================================================= */

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

    flex: 1 0 auto;

    margin: 0 auto;

    padding: 46px 0 72px;
}

.practice-page > p:first-child {
    margin-bottom: 16px;

    font-size: 0.93rem;
}

.practice-page > h1 {
    margin-bottom: 8px;

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.6rem
        );
}

.practice-page > h1 + p {
    color: var(--text-soft);
}

.practice-page > h2 {
    margin-top: 32px;
    margin-bottom: 12px;

    font-size: 1.18rem;
}


/* Progress bar */

.practice-progress {
    width: 100%;
    height: 8px;

    margin: 0 0 30px;

    overflow: hidden;

    background: #dce8ec;

    border-radius: 999px;
}

.practice-progress-bar {
    height: 100%;

    background: var(--primary);

    border-radius: inherit;
}


/* Question */

.practice-question-text {
    margin: 0 0 24px;
    padding: 26px;

    color: var(--text);

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    font-size: 1.12rem;
    font-weight: 650;

    line-height: 1.65;
}

.practice-question-text + p {
    margin-top: -12px;
}


/* Practice form */

.practice-form {
    max-width: none;
}

.practice-form > p {
    margin: 10px 0;
}

.practice-form label {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 14px 15px;

    color: var(--text);

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.12s ease,
        border-color 0.12s ease,
        box-shadow 0.12s ease;
}

.practice-form label:hover {
    background: var(--primary-soft);

    border-color: var(--border-strong);
}

.practice-form label:has(input:checked) {
    background: var(--primary-soft);

    border-color: var(--primary);

    box-shadow:
        0 0 0 1px
        rgba(8, 117, 143, 0.08);
}

.practice-form input[type="radio"] {
    flex: 0 0 auto;

    margin-top: 4px;
}


/* Navigation */

.practice-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 32px;
    padding-top: 22px;

    border-top: 1px solid var(--border);
}

.practice-actions button {
    min-width: 140px;
}

.practice-actions button[name="previous"] {
    color: var(--primary-dark);
    background: #ffffff;

    border-color: var(--border-strong);
}

.practice-actions button[name="previous"]:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);

    border-color: var(--primary);
}

.practice-actions button[name="next"],
.practice-actions button[name="finish"] {
    margin-left: auto;
}

.practice-actions button[name="finish"] {
    background: var(--navy);

    border-color: var(--navy);
}

.practice-actions button[name="finish"]:hover {
    background: var(--navy-dark);

    border-color: var(--navy-dark);
}


/* Practice validation message */

.practice-page > h2 + p > strong {
    color: #9d3c32;
}


/* Feedback */

.practice-page a[href^="/feedback.php"] {
    color: var(--text-light);

    font-size: 0.9rem;
}


/* =========================================================
   SAMPLE / PRACTICE MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .sample-page,
    .practice-page {
        width:
            min(
                calc(100% - 26px),
                900px
            );

        padding:
            34px 0 52px;
    }

    .sample-question {
        padding: 19px 16px;
    }

    .sample-question > p:first-of-type {
        font-size: 1.03rem;
    }

    .practice-question-text {
        padding: 20px 17px;

        font-size: 1.06rem;
    }

    .practice-form label,
    .sample-question label {
        padding: 13px 12px;
    }

    .practice-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .practice-actions button {
        width: 100%;
    }

    .practice-actions button[name="next"],
    .practice-actions button[name="finish"] {
        order: 2;

        margin-left: 0;
    }
}
/* =========================================================
   CHECKOUT / ORDER / ACTIVATION / FEEDBACK
   ========================================================= */

.checkout-page,
.order-page,
.claim-order-page,
.feedback-page {
    width:
        min(
            calc(100% - 40px),
            820px
        );

    flex: 1 0 auto;

    margin: 48px auto 72px;
    padding: 38px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.checkout-page > h1,
.order-page > h1,
.claim-order-page > h1,
.feedback-page > h1 {
    margin-bottom: 24px;

    font-size:
        clamp(
            2rem,
            4vw,
            2.8rem
        );
}

.checkout-page > p:first-child,
.order-page > p:first-child,
.claim-order-page > p:first-child,
.feedback-page > p:first-child {
    margin-bottom: 24px;

    color: var(--text-soft);

    font-size: 0.92rem;
}


/* =========================================================
   CHECKOUT
   ========================================================= */

.checkout-page > h2 {
    margin-bottom: 12px;

    font-size: 1.55rem;
}

.checkout-page > h2 + p {
    color: var(--text-soft);
}

.checkout-page > ul {
    margin: 10px 0 28px;
    padding: 0;

    list-style: none;
}

.checkout-page > ul li {
    position: relative;

    margin: 9px 0;
    padding-left: 28px;
}

.checkout-page > ul li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--success);

    font-weight: 800;
}

.checkout-form {
    max-width: none;

    margin-top: 30px;
    padding: 26px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.checkout-form > p {
    margin-bottom: 18px;
}

.checkout-form > p:nth-last-of-type(2) {
    color: var(--text-soft);

    font-size: 0.9rem;
    line-height: 1.6;
}

.checkout-form button {
    min-width: 170px;
    min-height: 48px;
}

.checkout-errors {
    margin: 22px 0;
    padding: 15px 17px;

    color: #8f342c;
    background: #fff1ef;

    border: 1px solid #e3b8b2;
    border-radius: var(--radius-sm);
}

.checkout-errors p:last-child {
    margin-bottom: 0;
}


/* Temporary pre-Stripe note */

.checkout-page > form + p {
    margin-top: 18px;

    color: var(--text-light);

    font-size: 0.9rem;
}


/* =========================================================
   ORDER
   ========================================================= */

.order-page {
    max-width: 820px;
}

.order-page > hr {
    margin: 30px 0;
}

.order-page > h2 {
    margin-top: 30px;

    font-size: 1.45rem;
}

.order-page > article {
    padding: 22px;

    background: var(--surface-soft);

    box-shadow: none;
}

.order-page > article h3 {
    margin-bottom: 14px;
}

.order-status {
    display: inline-flex;

    margin-left: 4px;
    padding: 4px 9px;

    border-radius: 999px;

    font-size: 0.84rem;
    font-weight: 750;

    text-transform: capitalize;
}

.order-status-pending {
    color: #835b16;
    background: #fff7df;
}

.order-status-paid {
    color: #17603f;
    background: #edf8f2;
}

.order-status-refunded {
    color: #7b4b46;
    background: #f7efee;
}

.order-page a[href="/claim-order.php"],
.order-page a[href="/account.php"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 9px 15px;

    border-radius: 9px;

    font-weight: 700;
    text-decoration: none;
}

.order-page a[href="/claim-order.php"] {
    color: #ffffff;
    background: var(--primary);
}

.order-page a[href="/claim-order.php"]:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.order-page a[href="/account.php"] {
    background: var(--primary-soft);
}


/* =========================================================
   CLAIM ORDER
   ========================================================= */

.claim-order-page {
    max-width: 700px;
}

.claim-order-page > p {
    color: var(--text-soft);
}

.claim-order-page > p strong {
    color: var(--text);
}

.claim-order-form {
    max-width: none;

    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid var(--border);
}

.claim-order-form button {
    min-height: 48px;

    padding-left: 20px;
    padding-right: 20px;
}

.claim-order-error {
    padding: 14px 16px;

    color: #8f342c;
    background: #fff1ef;

    border: 1px solid #e3b8b2;
    border-radius: var(--radius-sm);
}


/* =========================================================
   FEEDBACK
   ========================================================= */

.feedback-page {
    max-width: 760px;
}

.feedback-page > h1 {
    margin-bottom: 18px;
}

.feedback-page > h1 + p {
    color: var(--text-soft);

    font-size: 1.04rem;
}

.feedback-form {
    max-width: none;

    margin-top: 28px;
}

.feedback-form select,
.feedback-form textarea,
.feedback-form input[type="email"] {
    background: #fbfdfe;
}

.feedback-form textarea {
    min-height: 190px;

    line-height: 1.55;
}

.feedback-form > p {
    margin-bottom: 22px;
}

.feedback-form > p:nth-last-of-type(2) {
    margin-top: -8px;

    color: var(--text-light);

    font-size: 0.9rem;
}

.feedback-form button {
    min-width: 150px;
    min-height: 48px;
}

.feedback-errors {
    margin: 22px 0;
    padding: 14px 16px;

    color: #8f342c;
    background: #fff1ef;

    border: 1px solid #e3b8b2;
    border-radius: var(--radius-sm);
}

.feedback-errors p:last-child {
    margin-bottom: 0;
}


/* Success state */

.feedback-page > p > strong:first-child {
    color: var(--success);
}


/* =========================================================
   COMMERCE / SUPPORT MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .checkout-page,
    .order-page,
    .claim-order-page,
    .feedback-page {
        width:
            min(
                calc(100% - 26px),
                820px
            );

        margin:
            26px auto 46px;

        padding:
            24px 18px;
    }

    .checkout-form {
        padding: 19px 16px;
    }

    .checkout-form button,
    .claim-order-form button,
    .feedback-form button {
        width: 100%;
    }
}
