    /* =========================================
       NEXUS LABS | RESPONSIVE SAAS CHECKOUT
       CSS ONLY
    ========================================= */

    :root {
        color-scheme: var(--color-scheme);
        --color-scheme: dark;
        --bg-primary: #080d18;
        --bg-input: rgba(8, 15, 29, 0.88);
        --border-color: rgba(148, 163, 184, 0.16);
        --border-hover: rgba(148, 163, 184, 0.34);
        --text-primary: #f5f8ff;
        --text-secondary: #9aa9bd;
        --text-label: #a5b4c8;
        --text-muted: #64748b;
        --text-feature: #cbd5e1;
        --accent: #6ee7b7;
        --accent-strong: #34d399;
        --page-gradient:
            radial-gradient(ellipse at 0% 0%, rgba(16, 185, 129, 0.13), transparent 38%),
            radial-gradient(ellipse at 100% 100%, rgba(99, 102, 241, 0.14), transparent 40%),
            linear-gradient(145deg, #080d18 0%, #0b1220 52%, #080d18 100%);
        --panel-bg:
            linear-gradient(150deg, rgba(30, 41, 59, 0.66), rgba(15, 23, 42, 0.86) 46%, rgba(10, 17, 31, 0.96));
        --panel-border: rgba(148, 163, 184, 0.19);
        --focus-bg: rgba(2, 6, 23, 0.95);
        --option-bg: #0f172a;
        --option-text: #f8fafc;
        --verify-bg: #1e293b;
        --verify-hover: #334155;
        --verify-text: #f8fafc;
        --product-card-bg: rgba(15, 23, 42, 0.48);
        --product-cover-bg:
            radial-gradient(ellipse at 85% 15%, rgba(52, 211, 153, 0.38), transparent 42%),
            linear-gradient(145deg, #10251f, #122238 65%, #172033);
        --product-border: rgba(148, 163, 184, 0.18);
        --product-copy: #e6fff4;
        --product-muted: #9aa9bd;
        --radius-panel: 26px;
        --radius-control: 13px;
        --shadow-panel:
            0 32px 90px rgba(0, 0, 0, 0.42),
            0 8px 24px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.025);
    }

    :root[data-theme="light"] {
        color-scheme: light;
        --bg-primary: #f5f7f2;
        --bg-input: #ffffff;
        --border-color: rgba(71, 85, 75, 0.16);
        --border-hover: rgba(16, 128, 91, 0.38);
        --text-primary: #172a22;
        --text-secondary: #5c6e64;
        --text-label: #47574f;
        --text-muted: #718078;
        --text-feature: #34483e;
        --accent: #087f5b;
        --accent-strong: #059669;
        --page-gradient:
            radial-gradient(ellipse at 0% 0%, rgba(16, 185, 129, 0.11), transparent 40%),
            radial-gradient(ellipse at 100% 100%, rgba(251, 191, 36, 0.12), transparent 42%),
            linear-gradient(145deg, #fbfcf8 0%, #f1f5ef 54%, #f8f6ef 100%);
        --panel-bg:
            linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9) 46%, rgba(248, 250, 247, 0.96));
        --panel-border: rgba(71, 85, 75, 0.14);
        --focus-bg: #ffffff;
        --option-bg: #ffffff;
        --option-text: #172a22;
        --verify-bg: #e8eee9;
        --verify-hover: #dce7df;
        --verify-text: #20372b;
        --product-card-bg: rgba(246, 249, 246, 0.9);
        --product-cover-bg:
            radial-gradient(ellipse at 85% 15%, rgba(52, 211, 153, 0.42), transparent 42%),
            linear-gradient(145deg, #e1f4e9, #e9f1f5 65%, #f5efe0);
        --product-border: rgba(71, 85, 75, 0.15);
        --product-copy: #17362a;
        --product-muted: #5c6e64;
        --shadow-panel:
            0 28px 70px rgba(37, 61, 47, 0.12),
            0 8px 20px rgba(37, 61, 47, 0.06),
            0 0 0 1px rgba(255, 255, 255, 0.7);
    }

    /* Global layout */

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

    html {
        min-width: 320px;
        min-height: 100%;
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        position: relative;
        isolation: isolate;
        display: grid;
        place-items: center;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        padding: clamp(28px, 5vw, 76px) clamp(18px, 4vw, 64px);
        overflow-x: clip;
        background-color: var(--bg-primary);
        background-image: var(--page-gradient);
        color: var(--text-primary);
        font-family:
            Inter,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;
        font-size: 14px;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        transition:
            background-color 240ms ease,
            background-image 240ms ease,
            color 240ms ease;
    }

    button,
    input,
    select,
    textarea {
        font: inherit;
    }

    button,
    select {
        -webkit-tap-highlight-color: transparent;
    }

    ::selection {
        background: rgba(16, 185, 129, 0.3);
        color: #ffffff;
    }

    /* Background atmosphere */

    body > div.absolute {
        position: absolute;
        z-index: 0;
        top: 8%;
        left: 50%;
        width: min(500px, 90vw);
        height: 250px;
        opacity: 0.75;
        filter: blur(110px);
        border-radius: 999px;
        background: rgba(16, 185, 129, 0.12);
        transform: translateX(-50%);
        pointer-events: none;
    }

    /* Main checkout layout */

    body > div.relative {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 1200px;
        margin: auto;
    }

    /* Pricing and product information */

    body > div.relative > div:first-child {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
        column-gap: clamp(32px, 6vw, 84px);
        row-gap: 0;
        min-width: 0;
        padding: 8px 0;
    }

    body > div.relative > div:first-child > div:first-child {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 30px;
    }

    body > div.relative > div:first-child > div:first-child > div {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
    }

    body > div.relative > div:first-child > div:first-child > div > span:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: linear-gradient(145deg, #34d399, #059669);
        border-radius: 11px;
        box-shadow: 0 0 28px rgba(16, 185, 129, 0.18);
    }

    body > div.relative > div:first-child > div:first-child > div > span:first-child > span {
        display: block;
        width: 12px;
        height: 12px;
        background: #07131a;
        border-radius: 4px;
    }

    :root[data-theme="light"] body > div.relative > div:first-child h1,
    :root[data-theme="light"] body > div.relative > div:first-child > div.glass-panel h3 {
        color: var(--text-primary);
    }

    body > div.relative > div:first-child > div:first-child > div > span:last-child {
        font-size: 12px;
        font-weight: 750;
        letter-spacing: 0.14em;
        color: var(--accent);
        text-transform: uppercase;
    }

    body > div.relative > div:first-child h1 {
        margin: 0;
        font-size: clamp(32px, 3.4vw, 48px);
        line-height: 1.2;
        letter-spacing: -0.045em;
        font-weight: 800;
        overflow-wrap: anywhere;
        transition: color 240ms ease;
    }

    body > div.relative > div:first-child > div:first-child > p {
        max-width: 380px;
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.8;
        color: var(--text-secondary);
        transition: color 240ms ease;
    }

    /* Included features */

    body > div.relative > div:first-child ul {
        grid-column: 1;
        grid-row: 2;
        display: grid;
        gap: 15px;
        margin: 0 0 24px;
        padding: 26px 0;
        list-style: none;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        font-size: 13px;
        line-height: 1.6;
    }

    body > div.relative > div:first-child ul li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        min-width: 0;
        color: var(--text-feature);
        transition: color 240ms ease;
    }

    body > div.relative > div:first-child ul li svg {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        flex: 0 0 18px;
        filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.15));
    }

    /* Invoice summary */

    body > div.relative > div:first-child > div:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
        display: grid;
        gap: 12px;
        font-size: 12px;
        color: var(--text-secondary);
        transition: color 240ms ease;
    }

    body > div.relative > div:first-child > div:nth-child(3) > div {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }

    body > div.relative > div:first-child > div:nth-child(3) > div span:last-child {
        text-align: right;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    body > div.relative > div:first-child > div:nth-child(3) > div:last-child {
        margin-top: 6px;
        padding-top: 18px;
        border-top: 1px solid var(--border-color);
        font-size: 14px;
    }

    body > div.relative > div:first-child > div:nth-child(3) > div:last-child span:last-child {
        font-size: 20px;
        font-weight: 750;
        color: var(--accent);
    }

    /* Glassmorphism payment panel */

    body > div.relative > div:first-child > div.glass-panel {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: center;
        width: 100%;
        min-width: 0;
        padding: clamp(28px, 3.5vw, 44px);
        border: 1px solid var(--panel-border);
        border-radius: var(--radius-panel);
        background: var(--panel-bg);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        box-shadow: var(--shadow-panel);
        position: relative;
        overflow: hidden;
        transition:
            background 240ms ease,
            border-color 240ms ease,
            box-shadow 240ms ease;
    }

    body > div.relative > div:first-child > div.glass-panel::before {
        content: "";
        position: absolute;
        inset: 0 12% auto;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(52, 211, 153, 0.42),
            transparent
        );
        pointer-events: none;
    }

    body > div.relative > div:first-child > div.glass-panel h3 {
        margin: 0;
        font-size: clamp(22px, 2vw, 27px);
        line-height: 1.35;
        font-weight: 750;
        letter-spacing: -0.025em;
        transition: color 240ms ease;
    }

    .panel-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 4px;
    }

    .theme-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: 999px;
        background: var(--bg-input);
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 650;
        line-height: 1;
        cursor: pointer;
        transition:
            color 200ms ease,
            background-color 200ms ease,
            border-color 200ms ease,
            transform 200ms ease,
            box-shadow 200ms ease;
    }

    .theme-toggle:hover {
        color: var(--accent);
        border-color: var(--border-hover);
        transform: translateY(-1px);
        box-shadow: 0 5px 16px rgba(16, 128, 91, 0.1);
    }

    .theme-toggle:focus-visible {
        outline: 3px solid rgba(5, 150, 105, 0.35);
        outline-offset: 3px;
    }

    .theme-icon {
        width: 16px;
        height: 16px;
    }

    .theme-icon-moon {
        display: none;
    }

    :root[data-theme="light"] .theme-icon-sun {
        display: none;
    }

    :root[data-theme="light"] .theme-icon-moon {
        display: block;
    }

    body > div.relative > div:first-child > div.glass-panel > p {
        margin-top: 8px;
        margin-bottom: 28px;
        font-size: 12px;
        line-height: 1.8;
        color: var(--text-secondary);
        transition: color 240ms ease;
    }

    /* Form layout */

    #paymentForm {
        display: flex;
        flex-direction: column;
        gap: 22px;
        min-width: 0;
    }

    #paymentForm > div {
        display: flex;
        flex-direction: column;
        gap: 9px;
        min-width: 0;
    }

    #paymentForm label {
        display: block;
        font-size: 11px;
        font-weight: 750;
        line-height: 1.5;
        letter-spacing: 0.09em;
        color: var(--text-label);
        transition: color 180ms ease;
    }

    /* Input and select controls */

    #paymentForm input,
    #paymentForm select {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 13px 15px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-control);
        background-color: var(--bg-input);
        color: var(--text-primary);
        font-size: 14px;
        line-height: 1.5;
        outline: none;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
        transition:
            color 180ms ease,
            border-color 180ms ease,
            box-shadow 180ms ease,
            background-color 180ms ease;
    }

    #paymentForm input:hover,
    #paymentForm select:hover {
        border-color: var(--border-hover);
    }

    #paymentForm input:focus,
    #paymentForm select:focus {
        border-color: var(--accent-strong);
        background-color: var(--focus-bg);
        box-shadow:
            0 0 0 3px rgba(16, 185, 129, 0.12),
            0 0 24px rgba(16, 185, 129, 0.04);
    }

    #paymentForm input:focus-visible,
    #paymentForm select:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

    #paymentForm input::placeholder {
        color: var(--text-muted);
        opacity: 1;
    }

    #paymentForm select {
        cursor: pointer;
        padding-right: 36px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #paymentForm select option {
        background: var(--option-bg);
        color: var(--option-text);
    }

    #verify-button:not([hidden]) {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-control);
        background: var(--verify-bg);
        color: var(--verify-text);
        font-size: 13px;
        font-weight: 650;
        cursor: pointer;
        transition:
            color 180ms ease,
            background-color 180ms ease,
            border-color 180ms ease,
            transform 180ms ease;
    }

    #verify-button:not([hidden]):hover {
        background: var(--verify-hover);
    }

    #verify-button:focus-visible {
        outline: 3px solid rgba(5, 150, 105, 0.4);
        outline-offset: 3px;
    }

    #verify-button:disabled {
        cursor: wait;
        opacity: 0.7;
    }

    .pdf-product-card {
        display: grid;
        grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
        gap: 16px;
        min-width: 0;
        padding: 14px;
        border: 1px solid var(--product-border);
        border-radius: 18px;
        background: var(--product-card-bg);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .pdf-product-cover {
        position: relative;
        display: flex;
        align-items: flex-end;
        min-height: 184px;
        overflow: hidden;
        padding: 15px;
        border: 1px solid var(--product-border);
        border-radius: 13px;
        background: var(--product-cover-bg);
        color: var(--product-copy);
    }

    .pdf-product-cover-copy {
        display: grid;
        gap: 7px;
        filter: blur(2px);
        opacity: 0.8;
        transition: filter 240ms ease, opacity 240ms ease;
    }

    .pdf-cover-brand,
    .pdf-product-eyebrow {
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.14em;
    }

    .pdf-cover-title {
        font-size: clamp(18px, 2vw, 23px);
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .pdf-cover-caption {
        font-size: 10px;
        color: var(--product-muted);
    }

    .pdf-locked-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 9px;
        border: 1px solid var(--product-border);
        border-radius: 999px;
        background: var(--panel-bg);
        color: var(--text-primary);
        font-size: 10px;
        font-weight: 700;
        backdrop-filter: blur(12px);
    }

    .pdf-locked-badge svg {
        width: 13px;
        height: 13px;
    }

    .pdf-product-card[data-unlocked="true"] .pdf-product-cover-copy {
        filter: none;
        opacity: 1;
    }

    .pdf-product-details {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        min-width: 0;
        gap: 9px;
    }

    .pdf-product-heading {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
    }

    .pdf-product-eyebrow {
        margin: 0 0 4px;
        color: var(--accent);
    }

    .pdf-product-heading h4 {
        margin: 0;
        color: var(--text-primary);
        font-size: 14px;
        line-height: 1.35;
    }

    .pdf-product-heading strong {
        flex: 0 0 auto;
        color: var(--accent);
        font-size: 13px;
        white-space: nowrap;
    }

    .pdf-product-description,
    .pdf-product-status {
        margin: 0;
        color: var(--product-muted);
        font-size: 11px;
        line-height: 1.6;
    }

    .pdf-buy-button,
    .pdf-download-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        border: 1px solid rgba(167, 243, 208, 0.3);
        border-radius: 11px;
        background: linear-gradient(110deg, #34d399, #10b981 52%, #14b8a6);
        color: #022c22;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        transition: filter 180ms ease, transform 180ms ease, opacity 180ms ease;
    }

    .pdf-download-button {
        border-color: var(--product-border);
        background: var(--verify-bg);
        color: var(--verify-text);
    }

    .pdf-buy-button:hover,
    .pdf-download-button:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    .pdf-buy-button:focus-visible,
    .pdf-download-button:focus-visible {
        outline: 3px solid rgba(5, 150, 105, 0.4);
        outline-offset: 3px;
    }

    .pdf-buy-button:disabled,
    .pdf-download-button:disabled {
        cursor: wait;
        opacity: 0.65;
        transform: none;
    }

    .pdf-product-card [hidden] {
        display: none;
    }

    /* Primary CTA */

    #paymentForm button[type="submit"] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 54px;
        margin-top: 2px;
        padding: 14px 18px;
        border: 1px solid rgba(167, 243, 208, 0.3);
        border-radius: 13px;
        background: linear-gradient(
            110deg,
            #34d399 0%,
            #10b981 52%,
            #14b8a6 100%
        );
        color: #022c22;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.5;
        text-align: center;
        box-shadow:
            0 8px 24px rgba(16, 185, 129, 0.13),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition:
            transform 180ms ease,
            box-shadow 180ms ease,
            filter 180ms ease;
    }

    #paymentForm button[type="submit"] span {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    #paymentForm button[type="submit"] svg {
        flex: 0 0 16px;
    }

    #paymentForm button[type="submit"]:hover {
        filter: brightness(1.08);
        box-shadow:
            0 10px 32px rgba(16, 185, 129, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }

    #paymentForm button[type="submit"]:active {
        transform: translateY(0) scale(0.99);
    }

    #paymentForm button[type="submit"]:focus-visible {
        outline: 3px solid rgba(52, 211, 153, 0.65);
        outline-offset: 4px;
    }

    #paymentForm button[type="submit"]:disabled {
        opacity: 0.65;
        cursor: not-allowed;
        transform: none;
    }

    /* Tablet */

    @media (max-width: 900px) {
        body {
            padding: 40px 24px;
        }

        body > div.relative > div:first-child {
            max-width: 740px;
            margin: 0 auto;
            grid-template-columns: minmax(0, 1fr);
            row-gap: 0;
            padding: 0;
        }

        body > div.relative > div:first-child > div.glass-panel {
            grid-column: 1;
            grid-row: 4;
            margin-top: 30px;
        }

        body > div.relative > div:first-child > div:first-child {
            margin-bottom: 22px;
        }

        body > div.relative > div:first-child h1 {
            font-size: clamp(28px, 5vw, 36px);
        }

        body > div.relative > div:first-child > div:first-child > p {
            max-width: 560px;
        }

        body > div.relative > div:first-child ul {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 20px;
            row-gap: 14px;
            margin-bottom: 22px;
            padding: 22px 0;
        }

        body > div.relative > div:first-child > div.glass-panel {
            padding: clamp(28px, 4vw, 40px);
        }
    }

    /* Mobile */

    @media (max-width: 600px) {
        body {
            justify-content: flex-start;
            padding:
                max(24px, env(safe-area-inset-top))
                max(16px, env(safe-area-inset-right))
                max(28px, env(safe-area-inset-bottom))
                max(16px, env(safe-area-inset-left));
        }

        body > div.absolute {
            top: 100px;
            width: 85vw;
            height: 180px;
            filter: blur(85px);
        }

        body > div.relative {
            margin-top: 0;
            margin-bottom: 0;
        }

        body > div.relative > div:first-child > div.glass-panel {
            margin-top: 24px;
        }

        body > div.relative > div:first-child > div:first-child {
            margin-bottom: 18px;
        }

        body > div.relative > div:first-child > div:first-child > div {
            margin-bottom: 14px;
        }

        body > div.relative > div:first-child > div:first-child > div > span:first-child {
            width: 32px;
            height: 32px;
        }

        body > div.relative > div:first-child h1 {
            font-size: clamp(27px, 7vw, 32px);
            letter-spacing: -0.035em;
        }

        body > div.relative > div:first-child > div:first-child > p {
            margin-top: 10px;
            font-size: 13px;
            line-height: 1.75;
        }

        body > div.relative > div:first-child ul {
            grid-template-columns: minmax(0, 1fr);
            gap: 13px;
            padding: 20px 0;
            margin-bottom: 20px;
        }

        body > div.relative > div:first-child ul li {
            font-size: 13px;
        }

        body > div.relative > div:first-child > div:nth-child(3) {
            gap: 11px;
        }

        body > div.relative > div:first-child > div:nth-child(3) > div {
            gap: 12px;
            font-size: 12px;
        }

        body > div.relative > div:first-child > div:nth-child(3) > div:last-child {
            padding-top: 15px;
        }

        body > div.relative > div:first-child > div.glass-panel {
            padding: 22px 18px;
            border-radius: 20px;
        }

        body > div.relative > div:first-child > div.glass-panel h3 {
            font-size: 21px;
        }

        .theme-toggle {
            min-height: 38px;
            padding: 8px 10px;
            font-size: 11px;
        }

        body > div.relative > div:first-child > div.glass-panel > p {
            margin-top: 7px;
            margin-bottom: 24px;
            font-size: 12px;
        }

        #paymentForm {
            gap: 19px;
        }

        #paymentForm input,
        #paymentForm select {
            min-height: 50px;
            padding: 13px 12px;
            font-size: 16px;
        }

        #paymentForm select {
            padding-right: 30px;
            font-size: 14px;
        }

        .pdf-product-card {
            grid-template-columns: minmax(0, 1fr);
            gap: 12px;
            padding: 12px;
        }

        .pdf-product-cover {
            min-height: 145px;
        }

        .pdf-product-cover-copy {
            gap: 5px;
        }

        .pdf-cover-title {
            font-size: 21px;
        }

        #paymentForm button[type="submit"] {
            min-height: 54px;
            padding: 14px 12px;
            font-size: 12px;
        }
    }

    /* Small phones */

    @media (max-width: 360px) {
        body {
            padding-right: 12px;
            padding-left: 12px;
        }

        body > div.relative > div:first-child > div.glass-panel {
            padding: 20px 14px;
            border-radius: 17px;
        }

        .panel-heading {
            flex-wrap: wrap;
            gap: 8px;
        }

        .panel-heading h3 {
            flex-basis: 100%;
        }

        .theme-toggle {
            margin-left: auto;
        }

        body > div.relative > div:first-child h1 {
            font-size: 26px;
        }

        #paymentForm button[type="submit"] span {
            gap: 7px;
        }

        #paymentForm button[type="submit"] svg {
            width: 14px;
        }

        body > div.relative > div:first-child > div:nth-child(3) > div {
            font-size: 11px;
        }
    }

    @media (min-width: 1440px) {
        body > div.relative {
            max-width: 1280px;
        }

        body > div.relative > div:first-child {
            column-gap: clamp(64px, 7vw, 112px);
        }
    }

    /* Reduced motion accessibility */

    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            scroll-behavior: auto !important;
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
