:root {
    /* TuffPuff core palette */
    --x1-primary: #18143B;
    --x1-secondary: #59FF8B;
    --x1-tertiary: #18143B;
    --x1-bg-deep: #2B2749;
    --x1-login-blue: rgba(69, 66, 96, 0.7);

    /* TuffPuff surfaces */
    --bg-secondary: #373354;
    --bg-tertiary: #454260;
    --bg-elevated: #373354;

    /* Surface aliases */
    --surface-a: #18143B;
    --surface-b: #373354;
    --surface-c: #454260;
    --surface-d: #2B2749;

    /* Content colors */
    --content-primary: #FFFFFF;
    --content-secondary: #9894B3;
    --content-tertiary: #B6B5C1;
    --content-on-accent: #000000;

    /* Controls & borders */
    --control-neutral: rgba(69, 66, 96, 0.7);
    --control-neutral-hover: rgba(69, 66, 96, 0.85);
    --border-divider: rgba(255, 255, 255, 0.25);
    --border-focus: #00F2FF;

    /* Legacy aliases used in current stylesheet */
    --iris-bg: var(--x1-bg-deep);
    --iris-purple-a: #8D1CFF;
    --iris-purple-b: #FF33EB;
    --iris-cta-a: #59FF8B;
    --iris-cta-b: #FDF45B;

    --hero-sand: var(--content-secondary);
    --hero-deep: var(--x1-bg-deep);
    --hero-gold: var(--content-primary);
    --hero-gold-bright: var(--content-primary);
    --hero-cream: var(--content-primary);
    --accent-pink-rgb: 255, 66, 135;
    --accent-gold-rgb: 253, 244, 91;
    --accent-green-rgb: 89, 255, 139;
    --accent-blue-rgb: 0, 242, 255;
    --ui-panel: 24, 20, 59;
    --ui-panel-2: 43, 39, 73;
    --link-accent: #9894B3;

    /* Brand aliases remapped to TuffPuff accents */
    --gold-brand: #18143B;
    --gold-accent: #59FF8B;
    --cream: #FFFFFF;
    --offer-cream: #FFFFFF;
    --parchment-ink: #FFFFFF;
    --jewel: #59FF8B;
    --jewel-dark: #8D1CFF;
    --header-brick-mid: #18143B;
    --brand-purple: #8D1CFF;
    --brand-magenta: #FF33EB;
    --accent-orange: #59FF8B;
    --accent-orange-hover: #9BFFB9;
    --btn-promo: #59FF8B;
    --btn-promo-hover: #9BFFB9;
    --hero-stage: #18143B;
    --gradient-brand: linear-gradient(90deg, #8D1CFF 0%, #FF33EB 100%);
    --gradient-night: linear-gradient(180deg, #18143B, #2B2749);
    --shadow-m: 0 3px 16px 0 #18143B;

    /* CTA & decorative tokens */
    --cta-gradient: linear-gradient(90deg, #59FF8B 0%, #FDF45B 100%);
    --cta-secondary-bg: transparent;
    --cta-inset-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6);
    --header-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    --logo-glow: none;
    --divider-gradient: linear-gradient(90deg, rgba(24, 20, 59, 0) 0%, rgba(255, 255, 255, 0.1) 27.6%, rgba(255, 255, 255, 0.3) 52.62%, rgba(255, 255, 255, 0.1) 74.48%, rgba(24, 20, 59, 0) 100%);

    --radius-pill: 9999px;
    --radius-btn: 12px;
    --radius-tab: 6px;
    --radius-card: 12px;
    --radius-hero: 20px;
    --offer-gold: #FFE251;
    --border-card: #484C61;

    /* Header CTA radii — separate full pills (TuffPuff reference) */
    --radius-cta-join-start: 9999px;
    --radius-cta-join-end: 9999px;
    --header-register-radius: var(--radius-pill);
    --header-login-radius: var(--radius-pill);
    --header-cta-gap: 8px;

    --header-fade-gradient: none;

    --primary-color: #18143B;
    --primary-color-light: #2B2749;
    --btn-dark-color: rgba(69, 66, 96, 0.7);

    --secondary-color: #59FF8B;
    --btn-secondary-color: #8D1CFF;
    --btn-primary-hover: #9BFFB9;
    --tertiary-color: #18143B;
    --red-color: #FF4287;
    --blue-color: var(--x1-tertiary);
    --dark-btn-text: #000000;

    /* Typography — Barlow body + Barlow Semi Condensed display/CTAs */
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Barlow Semi Condensed", "Barlow", var(--font-body);
    --font-sans: var(--font-body);
    --font-offer: var(--font-display);

    /* Layout & spacing */
    --space-page-x-mobile: 16px;
    --space-page-x-desktop: 20px;
    --btn-height: 48px;
    --btn-padding-x: 16px;
    --section-gap: 16px;
    --card-padding: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    color-scheme: dark;
    overflow-x: clip;
    background: var(--x1-primary);
    color: var(--content-primary);
    font-family: var(--font-body);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.anchor-heading {
    scroll-margin-top: 72px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--content-primary);
    min-height: 100%;
    min-height: 100dvh;
    position: relative;
    background: var(--x1-primary);
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--content-primary);
    text-decoration: none;
}

a:hover {
    color: var(--x1-secondary);
}

a:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

/* Global control centering — section CTA chrome stays on their own classes */
button {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-fill {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--x1-primary);
}

.page-fill > .content-section {
    flex: 1 1 auto;
}

.page-fill > .legal-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page-fill .legal-main .content-section {
    flex: 1 1 auto;
}

/* ===== Header & navigation (TuffPuff 64px bar, separate pill CTAs) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--x1-primary);
    background-image: none;
    border-bottom: 1px solid rgba(72, 76, 97, 0.45);
    box-shadow: none;
    padding: 0;
}

.header-top-bar {
    display: none;
}

.page-legal .header {
    background: var(--x1-primary);
    background-image: none;
    box-shadow: none;
}

.header-content {
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px var(--space-page-x-mobile);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
    color: inherit;
    transition: opacity 0.2s ease-in-out;
}

.header-logo:hover {
    color: inherit;
    opacity: 0.92;
}

.header-logo-img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: opacity 0.2s ease-in-out;
}

.header-logo-img--desktop {
    height: 49px;
    width: auto;
    max-width: 122px;
}

.header-logo-img--mobile {
    display: none;
    height: 48px;
    width: auto;
    max-width: 49px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.header-right > * + * {
    margin-left: 10px;
}

/* Language dropdown — chrome/colors only; CSS Anchor + Popover positioning unchanged */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1100;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    padding: 0 12px;
    min-height: 36px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    background: var(--control-neutral);
    color: var(--content-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    text-shadow: none;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.lang-dropdown--mobile .lang-dropdown-btn {
    anchor-name: --lang-dropdown-mobile;
}

.lang-dropdown--desktop .lang-dropdown-btn {
    anchor-name: --lang-dropdown-desktop;
}

.lang-dropdown-btn:hover {
    background: var(--control-neutral-hover);
    color: var(--content-primary);
}

.lang-dropdown-btn:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.lang-dropdown-btn-label {
    white-space: nowrap;
}

.lang-dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.85;
    color: currentColor;
    transition: transform 0.2s ease;
}

.lang-dropdown:has(.lang-dropdown-panel:popover-open) .lang-dropdown-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-panel {
    min-width: 10rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    padding: 6px 0;
    margin: 0;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-divider);
    background: var(--bg-secondary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.lang-dropdown-panel[popover] {
    display: none;
    position: fixed;
    inset: auto;
}

.lang-dropdown-panel[popover]:popover-open {
    display: flex;
    flex-direction: column;
}

.lang-dropdown--mobile .lang-dropdown-panel[popover] {
    position-anchor: --lang-dropdown-mobile;
    top: calc(anchor(bottom) + 6px);
    /* Left-align to trigger: right-anchor overflows viewport on ≤360px */
    left: anchor(left);
    right: auto;
    bottom: auto;
}

.lang-dropdown--desktop .lang-dropdown-panel[popover] {
    position-anchor: --lang-dropdown-desktop;
    top: calc(anchor(bottom) + 6px);
    right: anchor(right);
    left: auto;
    bottom: auto;
}

.lang-dropdown-item-form {
    display: contents;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    border: none;
    text-align: left;
    box-sizing: border-box;
}

.lang-dropdown-item:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: -2px;
}

button.lang-dropdown-item {
    width: 100%;
    background: none;
    font: inherit;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
}

.lang-dropdown-item.lang-dropdown-link {
    color: var(--content-secondary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-dropdown-item.lang-dropdown-link:hover {
    background: var(--control-neutral-hover);
    color: var(--content-primary);
}

.lang-dropdown-current {
    color: var(--content-tertiary);
    cursor: pointer;
}

/* Download links (desktop icon buttons) — plum secondary pills */
.download-links {
    display: none;
    align-items: center;
    gap: 8px;
}

.download-label {
    display: none;
}

.download-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--control-neutral);
    text-decoration: none;
    text-align: center;
    color: var(--content-secondary);
    transition: background 0.15s ease, color 0.15s ease;
}

.download-link:hover {
    background: var(--control-neutral-hover);
    color: var(--content-primary);
}

.download-link:hover .download-icon {
    fill: var(--content-primary);
}

.download-link:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: var(--content-secondary);
    transition: fill 0.15s ease;
}

/* Header CTAs — separate full pills (register gradient / login outlined) */
.header-login,
.header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 36px;
    padding: 7px 11px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-register {
    border-radius: var(--header-register-radius);
    border: none;
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    box-shadow: var(--cta-inset-shadow);
}

.header-login {
    border-radius: var(--header-login-radius);
    border: 1px solid var(--border-divider);
    background: transparent;
    color: var(--content-primary);
    box-shadow: none;
}

.header-register + .header-login {
    margin-left: var(--header-cta-gap);
}

.header-login:hover,
.header-login:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--content-primary);
}

.header-register:hover,
.header-register:active {
    background: linear-gradient(90deg, #9BFFB9 0%, #FBF99E 100%);
    box-shadow: var(--cta-inset-shadow), 0 0 8px #CEFF90;
    color: var(--content-on-accent);
}

.header-login:focus-visible,
.header-register:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.header-help {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--content-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.header-help:hover {
    color: var(--content-primary);
    opacity: 0.85;
}

.header-help:hover .help-icon {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--content-primary);
}

.header-help:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.help-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-divider);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--content-secondary);
    text-align: center;
    transition: border-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 769px) {
    .header-content {
        padding: 8px var(--space-page-x-desktop);
        min-height: 64px;
    }

    .header-logo-img--desktop {
        height: 49px;
        max-width: 122px;
    }

    .lang-dropdown--mobile {
        display: none;
    }

    .download-links {
        display: flex;
    }

    .header-right > * + * {
        margin-left: 10px;
    }

    .header-help {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 36px;
        min-width: 44px;
    }

    .header-login,
    .header-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 7px 15px;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
    }

    .header-login {
        border-radius: var(--header-login-radius);
    }

    .header-register {
        padding: 7px 15px;
        border-radius: var(--header-register-radius);
    }

    .header-register + .header-login {
        margin-left: var(--header-cta-gap);
    }

    .lang-dropdown-btn {
        min-height: 36px;
        font-size: 14px;
        font-weight: 400;
        text-transform: none;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 64px;
    }

    .header {
        padding: 0;
        box-shadow: none;
        border-bottom: 1px solid rgba(72, 76, 97, 0.35);
    }

    .lang-dropdown--desktop {
        display: none;
    }

    .header-content {
        padding: 8px var(--space-page-x-mobile);
        min-height: 64px;
    }

    .header-brand {
        flex: 1;
        min-width: 0;
        gap: 8px;
    }

    /* Wordmark off, logo-icon.svg on ≤768 */
    .header-logo-img--desktop {
        display: none;
    }

    .header-logo-img--mobile {
        display: block;
        height: 48px;
        width: auto;
        max-width: 49px;
    }

    .header-right {
        min-width: 0;
        flex-shrink: 1;
        flex-wrap: nowrap;
    }

    .header-right > * + * {
        margin-left: 8px;
    }

    .header .header-login,
    .header .header-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        order: 0;
        min-height: 36px;
        padding: 7px 11px;
        font-family: var(--font-display);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        text-transform: uppercase;
        text-align: center;
    }

    .header .header-register {
        border-radius: var(--header-register-radius);
    }

    .header .header-login {
        border-radius: var(--header-login-radius);
        border: none;
        background: rgba(69, 66, 96, 0.7);
        color: var(--content-primary);
    }

    .header .header-login:hover,
    .header .header-login:active {
        background: rgba(69, 66, 96, 0.9);
        border: none;
        color: var(--content-primary);
    }

    .header .header-register {
        background: var(--gradient-brand);
        color: var(--content-primary);
        box-shadow: none;
    }

    .header .header-register:hover,
    .header .header-register:active {
        background: linear-gradient(90deg, #9B4DFF 0%, #FF66F0 100%);
        box-shadow: 0 0 8px rgba(141, 28, 255, 0.45);
        color: var(--content-primary);
    }

    .header-register + .header-login {
        margin-left: var(--header-cta-gap);
    }

    .header .lang-dropdown-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        min-width: 36px;
        padding: 0 10px;
        font-size: 13px;
        font-weight: 400;
        text-transform: none;
        text-align: center;
        border-radius: var(--radius-pill);
    }
}

.container {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 72px var(--space-page-x-desktop) var(--section-gap);
    overflow-x: clip;
    overflow-y: visible;
    background: var(--primary-color);
    box-shadow: none;
}

.container::after {
    display: none;
}

/* Hero row: form card left + cover plate right (donor landing, not Fugu navy stage) */
.content-wrapper {
    display: flex;
    align-items: stretch;
    gap: var(--section-gap);
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: none;
}

.form-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-hero);
    padding: 24px;
    max-width: 420px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    z-index: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--shadow-m);
}

/* Speech-bubble pointer — keep hidden */
.form-container::after {
    content: none;
    display: none;
}

.banner-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-hero);
    align-self: stretch;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(141, 28, 255, 0.12) 0%, rgba(43, 39, 73, 0.6) 100%);
}

.banner-img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-height: 420px;
    aspect-ratio: 941 / 268;
    object-fit: cover;
    object-position: 65% center;
    border-radius: var(--radius-hero);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-m);
    filter: none;
}

.page-bonuses .banner-container {
    align-items: center;
}

.page-bonuses .banner-img {
    object-position: center right;
    transform: none;
    transform-origin: center center;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 0;
        background: none;
        border: none;
        border-radius: 0;
    }

    .form-container {
        margin: 0 auto;
        max-width: 420px;
        align-items: stretch;
    }

    .form-container::after {
        display: none;
        content: none;
    }

    .banner-container,
    .page-bonuses .banner-container {
        display: none;
    }

    /* Single promo block on mobile: strip carries offer; form keeps logo + CTAs only */
    .form-container .headline-1,
    .form-container .headline-2,
    .form-container .headline-offer {
        display: none;
    }
}

.headline-1 {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    color: var(--x1-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2px;
    line-height: 1.25;
    padding: 0;
    background: none;
    border-radius: 0;
    clip-path: none;
}

.headline-2 {
    text-align: center;
    color: var(--x1-secondary);
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    text-transform: none;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: none;
    order: 0;
}

.headline-offer {
    text-align: center;
    margin: 4px 0 8px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--content-primary);
}

.offer-accent-money {
    color: var(--x1-secondary);
}

.offer-accent-fs {
    color: var(--offer-gold);
}

.btn-register {
    width: 100%;
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: none;
    cursor: pointer;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: var(--cta-inset-shadow);
}

.btn-register.btn-login {
    background: transparent;
    background-image: none;
    margin-bottom: 0;
    min-height: var(--btn-height);
    font-size: 14px;
    color: var(--content-primary);
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-pill);
    box-shadow: none;
}

.btn-register.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    background-image: none;
    color: var(--content-primary);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    filter: none;
}

a.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.btn-register:hover {
    background: linear-gradient(90deg, #9BFFB9 0%, #FBF99E 100%);
    box-shadow: var(--cta-inset-shadow), 0 0 8px #CEFF90;
    filter: none;
    color: var(--content-on-accent);
}

.btn-register:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.form-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-login-banner {
    width: 100%;
    padding: 18px;
    background: var(--red-color);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login-banner:hover {
    transform: scale(1.02);
}

/* ===== Main content sections (TuffPuff article shell) ===== */
.content-section {
    position: relative;
    background: var(--x1-primary);
    padding: 48px var(--space-page-x-mobile) 56px;
}

@media (min-width: 769px) {
    .content-section {
        padding-left: var(--space-page-x-desktop);
        padding-right: var(--space-page-x-desktop);
    }
}

/* Tablet: match header 24px inset; desktop 40px stays ≥1025 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .content-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.content-section > * {
    position: relative;
    z-index: 1;
}

.content-max-width {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: var(--section-gap);
    text-align: left;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.content-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 12px);
}

/* Mid + bottom CTA: donor radial pill (never joined header radii) */
.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    min-height: var(--btn-height);
    min-width: 200px;
    padding: 0 24px;
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--cta-inset-shadow);
    cursor: pointer;
    transition: filter 0.15s ease, color 0.15s ease;
}

.content-btn:hover {
    filter: none;
    background: linear-gradient(90deg, #9BFFB9 0%, #FBF99E 100%);
    color: var(--content-on-accent);
    border: none;
    transform: none;
    box-shadow: var(--cta-inset-shadow), 0 0 8px #CEFF90;
}

.content-btn:active {
    filter: brightness(1.04);
    background: var(--cta-gradient);
    color: var(--content-on-accent);
}

.content-btn:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.content-max-width > .content-button-wrapper:last-child {
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 0;
}

.pros-cons + .content-button-wrapper {
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 0;
}

/* Pros / cons: plum cards, green checks vs pink cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--section-gap);
    margin: var(--section-gap) 0;
}

.pros-block,
.cons-block {
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-m);
}

.cons-block {
    background: var(--bg-tertiary);
}

.pros-cons-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--content-primary);
}

.pros-block .pros-cons-title,
.cons-block .pros-cons-title {
    color: var(--content-primary);
}

.pros-cons-head-icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.pros-cons-head-icon svg {
    display: block;
}

.pros-block .pros-cons-head-icon svg circle {
    fill: #59FF8B;
}

.pros-block .pros-cons-head-icon svg path {
    fill: #18143B;
}

.cons-block .pros-cons-head-icon svg circle {
    fill: #FF4287;
}

.pros-cons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros-cons-list li {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--content-secondary);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pros-block .pros-cons-list li::before {
    content: "✓";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: rgb(var(--accent-green-rgb));
    margin-top: 2px;
}

.cons-block .pros-cons-list li::before {
    content: "✗";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--red-color);
    margin-top: 2px;
}

@media (max-width: 700px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }

    .pros-block,
    .cons-block {
        min-width: 0;
    }
}

/* Intro band: plum meta card, muted labels */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: var(--section-gap);
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-m);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--content-secondary);
    line-height: 1.4;
}

.article-meta-icon {
    width: 16px;
    height: 16px;
    fill: var(--content-tertiary);
    flex-shrink: 0;
}

.article-meta-label {
    color: var(--content-primary);
    font-weight: 600;
}

.article-author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--section-gap);
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-m);
}

.article-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-card);
}

.article-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.article-author-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--content-primary);
    line-height: 1.3;
}

.article-author-link {
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-author-link:hover,
.article-author-link:focus-visible {
    color: var(--x1-primary);
    text-decoration: underline;
}

.article-author-role {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--content-secondary);
    line-height: 1.4;
}

.article-author-date {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--content-tertiary);
    line-height: 1.4;
}

.article-author-bio {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--content-secondary);
    line-height: 1.45;
    margin: 4px 0 2px;
}

.article-breadcrumbs {
    margin-bottom: 16px;
}

.article-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--content-tertiary);
}

.article-breadcrumbs-list li {
    display: inline-flex;
    align-items: center;
}

.article-breadcrumbs-list li:not(:last-child)::after {
    content: "/";
    margin-left: 6px;
    color: var(--content-tertiary);
    opacity: 0.7;
}

.article-breadcrumbs-list a {
    color: var(--content-secondary);
    text-decoration: none;
}

.article-breadcrumbs-list a:hover,
.article-breadcrumbs-list a:focus-visible {
    color: var(--content-primary);
    text-decoration: underline;
}

.article-breadcrumbs-list li[aria-current="page"] {
    color: var(--content-primary);
    font-weight: 600;
}

.content-screen-caption,
.stats-table-caption {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.45;
    color: var(--content-tertiary);
    text-align: center;
    margin-top: 8px;
}

.stats-table-caption {
    caption-side: top;
    padding-bottom: 10px;
    text-align: left;
}

.article-related-links {
    margin-top: 24px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
}

.article-related-links p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--content-secondary);
}

/* Rating card: plum tile with diagonal gradient, green score */
.rating-card {
    background:
        linear-gradient(54deg, var(--bg-tertiary) 4%, var(--x1-primary) 50%),
        var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    margin-bottom: var(--section-gap);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 24px;
    box-shadow: var(--shadow-m);
}

.rating-card-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
    border-right: 1px solid var(--border-divider);
    padding-right: 24px;
}

.rating-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--x1-secondary);
    line-height: 1;
}

.rating-max {
    font-size: 16px;
    color: var(--content-tertiary);
    font-weight: 400;
}

.rating-stars {
    display: flex;
    gap: 3px;
    margin: 8px 0 6px;
}

.rating-stars .star {
    color: var(--x1-secondary);
    font-size: 18px;
}

.rating-stars .star-half {
    color: var(--x1-secondary);
    font-size: 18px;
    opacity: 0.65;
}

.rating-count {
    font-size: 12px;
    color: var(--content-tertiary);
}

.rating-card-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    align-content: center;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fact-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--content-tertiary);
}

.fact-value {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--content-primary);
}

.fact-value.good {
    color: rgb(var(--accent-green-rgb));
}

.fact-value.warn {
    color: #FFC107;
}

@media (max-width: 600px) {
    .rating-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .rating-card-score {
        border-right: none;
        border-bottom: 1px solid var(--border-divider);
        padding-right: 0;
        padding-bottom: 16px;
    }

    .rating-card-facts {
        grid-template-columns: 1fr 1fr;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Facts table: plum row cards, #484C61 borders */
.stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 8px);
    font-family: var(--font-body);
    font-size: 15px;
    background: transparent;
}

.stats-table tr {
    background: var(--bg-secondary);
}

.stats-table td {
    padding: 12px var(--card-padding);
    vertical-align: middle;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.stats-table td:first-child {
    color: var(--content-secondary);
    width: 42%;
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--radius-card) 0 0 var(--radius-card);
    border-left: 1px solid var(--border-card);
}

.stats-table td:last-child {
    color: var(--content-primary);
    font-weight: 600;
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    border-right: 1px solid var(--border-card);
}

.text-content {
    color: var(--content-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.text-content p {
    margin-bottom: var(--section-gap);
    color: var(--content-primary);
    font-size: 16px;
    line-height: 1.5;
}

.text-content a {
    color: var(--link-accent);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.text-content a:hover {
    color: var(--border-focus);
}

.text-content a:focus-visible {
    color: var(--border-focus);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.text-content a[href*="register"],
.text-content a[href*="_cr"] {
    color: var(--x1-secondary);
    font-weight: 600;
}

.text-content a[href*="register"]:hover,
.text-content a[href*="_cr"]:hover,
.text-content a[href*="register"]:focus-visible,
.text-content a[href*="_cr"]:focus-visible {
    color: var(--border-focus);
}

.text-content strong,
.text-content b {
    color: var(--content-primary);
    font-weight: 700;
}

.text-content em {
    color: var(--content-secondary);
    font-style: italic;
}

.text-content img:not(.content-screen-img) {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
}

/* Table of contents — numbered plum card */
.article-toc {
    width: 100%;
    margin: var(--section-gap) 0;
    padding: 16px 20px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    background: var(--bg-secondary);
    box-sizing: border-box;
    box-shadow: var(--shadow-m);
    position: static;
}

.text-content .article-toc-heading,
.article-toc-heading {
    margin: 0 0 14px;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 700;
    color: var(--content-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-transform: none;
}

.text-content .article-toc-list {
    margin: 0;
    padding: 0 0 0 30px;
    list-style: decimal;
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.article-toc-list .level-1 {
    margin: 0 0 10px;
    padding: 0;
    color: var(--content-secondary);
    list-style: decimal;
}

.article-toc-list .level-1::marker {
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-weight: 600;
}

.article-toc-list .level-1:hover::marker,
.article-toc-list .level-1:focus-within::marker {
    color: var(--x1-secondary);
}

.text-content .article-toc-list a,
.article-toc-list a {
    display: inline;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: var(--link-accent);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    transition: color 0.15s ease;
}

.article-toc-list a:hover,
.article-toc-list a:focus-visible {
    background: transparent;
    border: none;
    color: var(--border-focus);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-toc-list a:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.article-toc-list a:active {
    background: transparent;
    border: none;
    color: var(--border-focus);
}

@media (max-width: 768px) {
    .article-toc {
        max-width: 100%;
        padding: 14px 16px;
        background: var(--bg-secondary);
    }

    .text-content .article-toc-list {
        padding-left: 24px;
        font-size: 15px;
        line-height: 1.45;
    }

    .article-toc-list a {
        font-size: 15px;
    }
}

.content-screen-figure {
    margin: var(--section-gap) 0;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}

/* Full 1900×900 lobby screenshot — framed plate, not hero crop.
   Beat .text-content img { max-width: 100% } so the 384px display cap holds. */
.text-content .content-screen-img,
.content-screen-img {
    display: block;
    max-width: min(100%, 384px);
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: top center;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-m);
    background: var(--bg-secondary);
}

.text-content h2:not(:first-of-type)::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 16px;
    background: var(--divider-gradient);
}

.text-content h2,
.text-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 12px;
    color: var(--content-primary);
    text-align: left;
    line-height: 1.3;
    letter-spacing: 0;
}

.text-content h2.anchor-heading {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    color: var(--content-primary);
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--content-primary);
}

.text-content ul,
.text-content ol:not(.article-toc-list) {
    margin: 0 0 var(--section-gap) 1.25em;
    padding: 0;
    color: var(--content-primary);
}

.text-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.text-content li::marker {
    color: var(--x1-secondary);
}

.text-content blockquote {
    margin: var(--section-gap) 0;
    padding: 14px 18px;
    border-left: 3px solid var(--x1-secondary);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    background: var(--bg-secondary);
    color: var(--content-secondary);
    font-style: italic;
}

.text-content blockquote p {
    margin-bottom: 10px;
    color: var(--content-secondary);
}

.text-content blockquote p:last-child {
    margin-bottom: 0;
}

.text-content table:not(.stats-table) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--section-gap) 0;
    font-size: 15px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.text-content table:not(.stats-table) th,
.text-content table:not(.stats-table) td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-card);
    text-align: left;
    vertical-align: top;
}

.text-content table:not(.stats-table) th {
    background: var(--bg-tertiary);
    color: var(--content-primary);
    font-weight: 600;
    font-family: var(--font-display);
}

.text-content table:not(.stats-table) td {
    background: var(--bg-secondary);
    color: var(--content-secondary);
}

.text-content table:not(.stats-table) tr:last-child td,
.text-content table:not(.stats-table) tr:last-child th {
    border-bottom: none;
}

/* FAQ accordion — plum panels, green left rail when open */
.faq-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    border-top: 1px solid var(--border-card);
    border-right: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: transparent;
    overflow: hidden;
    transition: background 0.15s ease;
}

.faq-item[open] {
    background: var(--bg-tertiary);
    border-left-color: var(--x1-secondary);
}

.faq-item[open] .faq-summary {
    color: var(--content-primary);
}

.faq-summary {
    list-style: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 44px;
    padding: 14px 40px 14px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--content-primary);
    position: relative;
    line-height: 1.4;
}

.faq-summary .faq-question {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--content-primary);
}

.faq-summary:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: -2px;
}

.faq-item[open] .faq-summary:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--content-primary);
}

.faq-summary::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--content-tertiary);
    border-bottom: 2px solid var(--content-tertiary);
    transform: rotate(45deg);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
    border-right-color: var(--border-focus);
    border-bottom-color: var(--border-focus);
}

.faq-body {
    padding: 0 16px 16px;
}

.faq-body p {
    margin: 0;
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.faq-body .faq-answer-plain {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: var(--content-primary);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: stretch;
        padding: 64px var(--space-page-x-mobile) 12px;
        margin-top: 0;
        justify-content: flex-start;
    }

    .content-section {
        padding: 32px var(--space-page-x-mobile) 40px;
    }

    .content-max-width {
        padding-top: 0;
    }

    .content-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .anchor-heading {
        scroll-margin-top: 64px;
    }

    .content-button-wrapper {
        width: 100%;
    }

    .content-button-wrapper .content-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        min-width: 0;
        min-height: var(--btn-height);
        border-radius: var(--radius-pill);
    }

    .form-container .hero-buttons > a[href] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .article-meta {
        padding: 12px;
    }

    .text-content {
        font-size: 15px;
        line-height: 1.6;
    }

    .text-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .text-content h2,
    .text-content h3 {
        font-size: 18px;
        margin-top: 28px;
        margin-bottom: 10px;
    }

    .text-content h2.anchor-heading {
        font-size: 18px;
        font-weight: 600;
        color: var(--x1-secondary);
    }

    .text-content h3 {
        font-size: 16px;
        color: var(--content-primary);
    }

    .stats-table td {
        padding: 10px 12px;
        word-break: break-word;
    }

    .stats-table td:first-child {
        font-size: 13px;
        width: 45%;
    }

    .text-content .content-screen-img,
    .text-content .content-screen-img,
    .content-screen-img {
        max-width: min(100%, 384px);
        border-radius: var(--radius-card);
    }

    .faq-list {
        gap: 8px;
    }

    .faq-summary {
        font-size: 15px;
        font-weight: 600;
        min-height: 44px;
        padding: 12px 36px 12px 14px;
    }

    .faq-summary::after {
        right: 14px;
    }

    .faq-body {
        padding: 0 14px 14px;
    }

    .faq-item[open] {
        background: var(--bg-tertiary);
        border-left-color: var(--x1-secondary);
    }

    .headline-2 {
        font-size: 28px;
        font-weight: 900;
        line-height: 1;
    }

    .headline-offer {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 20px 16px 18px;
        border-radius: var(--radius-hero);
    }

    .headline-1 {
        font-size: 13px;
        font-weight: 800;
        line-height: 1.3;
        padding: 0;
        background: none;
        clip-path: none;
        border-radius: 0;
    }

    .headline-2 {
        font-size: 26px;
        line-height: 1;
    }

    .headline-offer {
        font-size: 16px;
    }
}

/* Footer — TuffPuff dark plum shell, muted nav, plum hairline */
.footer {
    flex-shrink: 0;
    position: relative;
    background: #18143B;
    background-image: none;
    padding: 24px var(--space-page-x-mobile) 32px;
    border-top: none;
    box-shadow: none;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--space-page-x-mobile);
    right: var(--space-page-x-mobile);
    height: 1px;
    background: var(--border-card);
    pointer-events: none;
}

.footer::after {
    content: none;
    display: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px 40px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
    gap: 8px 20px;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 4px 0;
    background: transparent;
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.footer-nav a:hover {
    color: var(--content-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.footer-nav a:focus-visible {
    color: var(--border-focus);
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-radius: 2px;
    z-index: 1;
}

.legal-main {
    min-height: 50vh;
}

.page-legal .content-section,
.page-legal .legal-main .content-section {
    background: var(--x1-primary);
    padding-top: 72px;
}

.legal-document {
    background: var(--bg-elevated);
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-card);
    padding: calc(var(--card-padding) * 2) calc(var(--card-padding) * 1.5);
    box-shadow: none;
}

.page-legal .content-title {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-weight: 700;
    text-align: left;
}

.legal-document .text-content {
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.legal-document .text-content h2,
.legal-document .text-content h3,
.legal-document .text-content h4 {
    font-family: var(--font-display);
    line-height: 1.3;
    letter-spacing: 0;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--content-primary);
    font-weight: 600;
    text-align: left;
}

.legal-document .text-content h2 {
    font-size: 20px;
}

.legal-document .text-content h3 {
    font-size: 18px;
}

.legal-document .text-content h4 {
    font-size: 16px;
    color: var(--content-secondary);
}

.legal-document .text-content strong {
    color: var(--content-primary);
}

/* Beat O5 `.text-content a` (0,1,1 white) — legal pages only */
.legal-link,
.page-legal .legal-link,
.page-legal .text-content a,
.legal-document .text-content a.legal-link {
    color: var(--link-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.legal-link:hover,
.page-legal .legal-link:hover,
.page-legal .text-content a:hover,
.legal-document .text-content a.legal-link:hover {
    color: var(--x1-secondary);
}

.legal-link:focus-visible,
.page-legal .legal-link:focus-visible,
.page-legal .text-content a:focus-visible,
.legal-document .text-content a.legal-link:focus-visible {
    color: var(--x1-secondary);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

.legal-meta {
    margin-top: var(--section-gap);
    font-size: 14px;
    color: var(--content-tertiary) !important;
}

/* APK visual: elevated cyan-border abyss card (donor has no apk img) */
.legal-visual-block,
.page-apk .legal-visual-block,
.page-bonuses .legal-visual-block {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-card);
    background: var(--bg-elevated);
    box-shadow: 0 0 20px rgba(0, 246, 255, 0.06);
}

.legal-visual-block .legal-visual-eyebrow {
    margin: 0 0 10px 0 !important;
    font-family: var(--font-display);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--x1-secondary) !important;
}

.legal-visual-title {
    margin: 0 0 10px 0 !important;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--content-primary);
}

.legal-visual-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 280px);
    justify-self: end;
}

.legal-visual-media img {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 220px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-divider);
    box-shadow: 0 0 16px rgba(0, 246, 255, 0.08);
    background: var(--bg-tertiary);
}

.legal-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
    margin-bottom: 8px;
}

.legal-mini-card {
    padding: 14px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-divider);
    background: var(--bg-tertiary);
}

.legal-mini-card h3,
.legal-document .text-content .legal-mini-card h3 {
    margin: 0 0 8px 0 !important;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--content-primary);
}

.legal-mini-card p {
    margin: 0 !important;
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 14px;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 280px;
    min-width: 0;
}

.age-restriction-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    min-width: 36px;
    min-height: 36px;
    width: auto;
    height: auto;
    padding: 4px 6px;
    border-radius: 2px;
    background: transparent;
    border: 1px solid var(--border-card);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--content-secondary);
    box-shadow: none;
}

.age-number {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    position: static;
}

.age-plus {
    font-size: 0.75em;
    font-weight: inherit;
    color: inherit;
    position: static;
    margin-left: 1px;
}

.footer-disclaimer p.footer-copyright,
.footer-copyright {
    color: var(--content-tertiary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    margin: 0 0 8px 0 !important;
}

.footer-disclaimer p {
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.54;
    letter-spacing: normal;
    margin: 0;
}

.footer-disclaimer p + p {
    margin-top: 4px;
}

@media (min-width: 769px) {
    .footer {
        padding: 24px 40px 32px;
    }

    .footer::before {
        left: 40px;
        right: 40px;
    }

    .footer-content {
        gap: 24px 40px;
    }
}

@media (max-width: 768px) {
    .page-legal .content-section,
    .page-legal .legal-main .content-section {
        padding-top: 64px;
    }

    .footer {
        padding: 16px var(--space-page-x-mobile) 24px;
    }

    .footer::before {
        left: var(--space-page-x-mobile);
        right: var(--space-page-x-mobile);
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 0;
    }

    .footer-left {
        display: flex;
        width: 100%;
        flex: none;
    }

    .footer-nav {
        position: relative;
        width: 100%;
        max-width: none;
        flex: none;
        justify-content: flex-start;
        padding-top: 16px;
        border-top: none;
        gap: 8px 16px;
    }

    .footer-nav::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border-card);
        pointer-events: none;
    }

    .legal-visual-block,
    .page-apk .legal-visual-block,
    .page-bonuses .legal-visual-block {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .legal-visual-media {
        width: 100%;
        justify-self: center;
    }

    .legal-visual-media img {
        max-width: 240px;
        max-height: 180px;
    }

    .legal-mini-grid {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }
}

/* Hero logo: desktop only (mobile — centered logo in .header) */
.form-container .logo {
    display: none;
}

@media (min-width: 769px) {
    .form-container .logo {
        display: flex;
        justify-content: center;
        text-decoration: none;
    }

    .form-container .logo-img {
        max-height: 36px;
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        transform: none;
        filter: none;
    }
}

/* Hero CTA — TuffPuff: outlined login + green gradient register */
.form-container .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
    text-align: center;
}

.form-container .hero-buttons > a[href] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.form-container .hero-buttons > a[href]:hover {
    color: inherit;
}

.form-container .hero-buttons button.btn-register {
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--font-display);
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-container .hero-buttons .btn-register,
.form-container .hero-buttons a.btn-register {
    background: var(--cta-gradient);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--content-on-accent);
    text-shadow: none;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--cta-inset-shadow);
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.form-container .hero-buttons .btn-register.btn-login,
.form-container .hero-buttons a.btn-register.btn-login {
    background: transparent;
    background-image: none;
    margin-bottom: 0;
    min-height: var(--btn-height);
    font-size: 14px;
    color: var(--content-primary);
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-pill);
    box-shadow: none;
}

.form-container .hero-buttons .btn-register:hover,
.form-container .hero-buttons a.btn-register:hover,
.form-container .hero-buttons button.btn-register:hover {
    background: linear-gradient(90deg, #9BFFB9 0%, #FBF99E 100%);
    box-shadow: var(--cta-inset-shadow), 0 0 8px #CEFF90;
    filter: none;
    color: var(--content-on-accent);
    transform: none;
}

.form-container .hero-buttons .btn-register.btn-login:hover,
.form-container .hero-buttons a.btn-register.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    background-image: none;
    color: var(--content-primary);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    filter: none;
}

body.page-legal {
    padding-top: 0;
    background: var(--x1-primary);
}

body.page-legal .legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    color: var(--content-secondary);
    font-family: var(--font-body);
    line-height: 1.7;
}

body.page-legal .legal-wrap h1 {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 20px;
}

body.page-legal .legal-wrap p {
    margin-bottom: 16px;
}

body.page-legal .legal-wrap a {
    color: var(--link-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

body.page-legal .legal-wrap a:hover {
    color: var(--x1-secondary);
}

body.page-legal .legal-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--link-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

body.page-legal .legal-back:hover {
    color: var(--x1-secondary);
}

/* Mobile-only promo strip (≤1024 — same breakpoint as hidden desktop banner) */
.banerBody.mobile-promo-banner,
.mobile-promo-banner {
    display: none;
}

.noCopy {
    -webkit-user-select: none;
    user-select: none;
}

/* Show compact promo whenever desktop hero plate is hidden (≤1024) */
@media (max-width: 1024px) {
    .banerBody.mobile-promo-banner,
    .mobile-promo-banner {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 0 12px;
        margin-top: 0;
        position: relative;
        z-index: 50;
        overflow-x: clip;
    }

    .mobile-promo-banner__link {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: 16px;
        text-decoration: none;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-promo-banner__link:focus-visible {
        outline: 2px solid var(--border-focus);
        outline-offset: 2px;
        border-radius: 16px;
    }

    .mobile-promo-banner__banner.bonusBanner {
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: 204px;
        max-height: 204px;
        border-radius: 16px;
        background: var(--x1-primary);
        border: 1px solid var(--border-card);
        box-shadow: var(--shadow-m);
        isolation: isolate;
    }

    /* drawer-promo purple gradient over hero art — strong left, mascot visible right */
    .mobile-promo-banner__banner.bonusBanner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(141, 28, 255, 0.92) 0%,
            rgba(141, 28, 255, 0.45) 52.82%,
            rgba(189, 34, 229, 0.12) 78%,
            rgba(189, 34, 229, 0.58) 100%
        );
        pointer-events: none;
    }

    .mobile-promo-banner__back {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .mobile-promo-banner__backImg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Donor-like crop: 70%/right hid the welcome woman in the 390 strip */
        object-position: -68% 21%;
        display: block;
    }

    .banerBody.mobile-promo-banner img.mobile-promo-banner__mainImg.bonusBannerMain,
    .mobile-promo-banner img.mobile-promo-banner__mainImg.bonusBannerMain {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 72% center;
        transform: none;
        z-index: 0;
        pointer-events: none;
        filter: none;
    }

    .mobile-promo-banner__inside {
        position: relative;
        z-index: 2;
        padding: 16px;
        max-width: 74%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        min-height: 204px;
        box-sizing: border-box;
    }

    .mobile-promo-banner__text {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .mobile-promo-banner__eyebrow {
        margin: 0;
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.06em;
        line-height: 1.2;
        text-transform: uppercase;
        color: var(--content-tertiary);
    }

    .mobile-promo-banner__lead {
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(18px, 5vw, 22px);
        font-weight: 700;
        line-height: 1.05;
        color: var(--content-primary);
        letter-spacing: -0.02em;
        text-transform: uppercase;
        text-shadow: none;
    }

    .mobile-promo-banner__lead .offer-accent-money {
        color: var(--x1-secondary);
    }

    .mobile-promo-banner__lead .offer-accent-fs {
        color: var(--offer-gold);
    }

    .mobile-promo-banner__cta {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 44px;
        min-width: 44px;
        padding: 0 20px;
        box-sizing: border-box;
        font-family: var(--font-display);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--content-on-accent);
        text-shadow: none;
        line-height: 1;
        background: var(--cta-gradient);
        border: none;
        border-radius: var(--radius-pill);
        box-shadow: var(--cta-inset-shadow);
        transition: filter 0.15s ease;
    }

    .mobile-promo-banner__link:hover .mobile-promo-banner__cta,
    .mobile-promo-banner__link:focus-visible .mobile-promo-banner__cta {
        background: linear-gradient(90deg, #9BFFB9 0%, #FBF99E 100%);
        box-shadow: var(--cta-inset-shadow), 0 0 8px #CEFF90;
        filter: none;
        color: var(--content-on-accent);
    }
}

/* Tablet: ultra-wide cover crop — 260px matches live carousel height without becoming a carousel */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-promo-banner__banner.bonusBanner {
        min-height: 260px;
        max-height: 260px;
    }

    .mobile-promo-banner__inside {
        min-height: 260px;
    }
}

@media (max-width: 430px) {
    .headline-offer {
        font-size: 26px;
    }

    .mobile-promo-banner__inside {
        max-width: 74%;
        padding: 14px;
        min-height: 204px;
        gap: 10px;
    }

    .mobile-promo-banner__eyebrow {
        font-size: 12px;
    }

    .mobile-promo-banner__lead {
        font-size: clamp(16px, 5vw, 20px);
    }

    .mobile-promo-banner__cta {
        width: auto;
        max-width: 100%;
        min-height: 44px;
        padding: 0 16px;
    }

    .legal-wrap,
    body.page-legal .legal-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 360px) {
    .headline-offer {
        font-size: 24px;
    }

    .mobile-promo-banner__lead {
        font-size: clamp(16px, 5vw, 18px);
    }
}


