:root {
    --bg: #0B0B0B;
    --bg-soft: #111111;
    --bg-panel: #1A1A1A;
    --bg-panel-strong: #141414;
    --bg-card: #1A1A1A;
    --bg-card-elevated: #222222;
    --bg-input: #121212;
    --line: rgba(212, 175, 55, 0.14);
    --line-strong: rgba(212, 175, 55, 0.32);
    --line-subtle: rgba(255, 255, 255, 0.06);
    --text: #F5F0E8;
    --text-soft: #E8E0D4;
    --muted: #9A9080;
    --accent: #D4AF37;
    --accent-strong: #E8C547;
    --accent-muted: #C5A059;
    --accent-deep: #A8892E;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-glow-soft: rgba(212, 175, 55, 0.15);
    --gold-glow-faint: rgba(212, 175, 55, 0.08);
    --success: #4BC48D;
    --warning: #EFC162;
    --danger: #EE7F7F;
    --section-pad: 56px;
    --content-max: min(1720px, calc(100vw - 112px));
    --card-gap: 28px;
    --section-gap: 1px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 40% at 0% 0%, rgba(212, 175, 55, 0.05), transparent 50%),
        radial-gradient(ellipse 50% 30% at 100% 0%, rgba(197, 160, 89, 0.04), transparent 45%);
    z-index: 0;
}

::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* ── Full-width page shell ── */
.page-shell,
.auth-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* ── Full-width header ── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 18px var(--section-pad);
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 11, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition);
}

.brand-link:hover {
    opacity: 0.92;
}

.site-trust-strip {
    width: 100%;
    padding: 10px var(--section-pad);
    border-bottom: 1px solid var(--line);
    background: rgba(212, 175, 55, 0.06);
}

.site-trust-strip-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.site-trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-link-cta {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 8px 14px !important;
}

.hero-site-url {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: var(--accent-muted);
    letter-spacing: 0.02em;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
    max-width: var(--content-max);
    margin: 0 auto;
}

.transparency-card {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--bg-panel);
    border-radius: var(--radius-md);
}

.transparency-card--warn {
    border-color: rgba(239, 193, 98, 0.35);
    background: rgba(239, 193, 98, 0.04);
}

.trust-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: var(--content-max);
    margin: 24px auto 0;
}

.trust-pill-row .pill a {
    color: inherit;
}

.contact-panel {
    max-width: var(--content-max);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--card-gap);
}

.footer-bottom {
    max-width: var(--content-max);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
}

.footer-legal-note {
    margin-top: 12px !important;
    font-size: 0.82rem;
    line-height: 1.55;
}

.footer-affiliate-disclosure {
    max-width: var(--content-max);
    margin: 32px auto 0;
    padding: 22px 24px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.05);
}

.footer-affiliate-disclosure .subtle-title {
    margin: 0 0 10px;
}

.footer-affiliate-disclosure .muted {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-affiliate-disclosure .muted:last-child {
    margin-bottom: 0;
}

.footer-action-row,
.footer-legal-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-legal-buttons {
    max-width: var(--content-max);
    margin: 24px auto 0;
    justify-content: flex-start;
}

.footer-contact a {
    color: var(--accent);
}

.legal-page {
    padding-top: 48px;
}

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

.legal-content h2 {
    margin: 28px 0 10px;
    font-size: 1.1rem;
}

.legal-list {
    margin: 0;
    padding-left: 1.2rem;
}

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

.auth-form-card--wide {
    max-width: 480px;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    padding: 5px;
    object-fit: contain;
    background: var(--bg-panel);
    border: 1px solid var(--line);
}

.topbar-end {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-profile-link {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.nav-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    padding: 0;
    background: var(--bg-panel);
    border: 2px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 16px var(--gold-glow-soft);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.nav-profile-link:hover .nav-profile-avatar {
    border-color: var(--accent-strong);
    box-shadow: 0 0 20px var(--gold-glow);
}

.brand h1,
.brand h2,
.brand p {
    margin: 0;
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-soft);
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.82rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links button.link-button {
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition), background var(--transition), box-shadow var(--transition);
    border: 0;
    background: transparent;
}

.nav-links a:hover,
.nav-links button.link-button:hover {
    color: var(--accent-strong);
    background: var(--gold-glow-faint);
}

.nav-links a.active {
    color: #0B0B0B;
    background: linear-gradient(135deg, var(--accent), var(--accent-muted));
    box-shadow: 0 0 20px var(--gold-glow-soft);
}

.topbar--responsive {
    flex-wrap: wrap;
}

.topbar-main {
    display: contents;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 901px) {
    .topbar--responsive {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .topbar--responsive .topbar-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1 1 auto;
        width: auto;
    }

    .topbar--responsive .topbar-end {
        margin-left: 0;
    }

    .topbar--responsive .nav-links {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
        padding: 0;
        border-top: none;
    }
}

/* ── Full-width stacked sections ── */
.hero-grid,
.auth-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.split-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.academy-grid {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr;
    gap: 0;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.info-grid,
.cards-grid,
.stats-grid,
.admin-grid,
.detail-grid,
.footer-grid,
.video-grid,
.process-grid,
.hero-metrics,
.stat-strip,
.package-grid {
    display: grid;
    gap: 0;
    width: 100%;
}

.info-grid,
.cards-grid,
.stats-grid,
.admin-grid,
.detail-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics,
.stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-12 { grid-column: span 12; }
.span-8  { grid-column: span 8; }
.span-7  { grid-column: span 7; }
.span-6  { grid-column: span 6; }
.span-5  { grid-column: span 5; }
.span-4  { grid-column: span 4; }
.span-3  { grid-column: span 3; }

/* ── Homepage hero slider ── */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: min(88vh, 920px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.hero-slider-media {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.hero-slide.is-active img {
    transform: scale(1);
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.82) 55%, rgba(11, 11, 11, 0.95) 100%),
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 175, 55, 0.12), transparent 70%);
    z-index: 1;
}

.hero-slider-content {
    position: relative;
    z-index: 2;
    min-height: min(88vh, 920px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px var(--section-pad) 120px;
    max-width: 960px;
    margin: 0 auto;
}

.hero-slide-quote {
    margin: 22px auto 0;
    max-width: 720px;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-soft);
    font-weight: 500;
}

.hero-slider-actions {
    margin-top: 32px;
    justify-content: center;
}

.hero-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(11, 11, 11, 0.65);
    color: var(--accent-strong);
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background var(--transition), border-color var(--transition);
}

.hero-slider-arrow:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.15);
    padding: 0;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}

.hero-slider-dot.is-active {
    background: var(--accent);
    transform: scale(1.2);
    border-color: var(--accent);
}

/* Workflow graph + FAQ (homepage) */
.workflow-graph {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.workflow-path {
    padding: 28px 24px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    overflow-x: auto;
}

.workflow-path-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 28px;
}

.workflow-path-header .panel-title {
    margin: 0;
}

.workflow-path-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--accent-muted);
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.workflow-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: min(100%, 920px);
}

.workflow-node {
    flex: 1 1 0;
    min-width: 140px;
    padding: 18px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
}

.workflow-node strong {
    display: block;
    margin: 10px 0 8px;
    font-size: 0.95rem;
    color: var(--text);
}

.workflow-node p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.workflow-node-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-strong);
}

.workflow-node-highlight {
    border-color: var(--accent-muted);
    background: var(--gold-glow-faint);
    box-shadow: 0 0 24px var(--gold-glow-soft);
}

.workflow-node-earn {
    border-color: rgba(120, 200, 140, 0.35);
    background: rgba(80, 160, 100, 0.08);
    flex: 0 0 200px;
}

.workflow-node-earn .workflow-node-step {
    color: #8fd4a0;
    border-color: rgba(120, 200, 140, 0.4);
}

.workflow-connector {
    flex: 0 0 36px;
    align-self: center;
    height: 2px;
    margin: 0 4px;
    background: linear-gradient(90deg, var(--accent-muted), var(--accent-strong));
    position: relative;
}

.workflow-connector::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--accent-strong);
}

.workflow-connector-branch {
    flex: 0 0 28px;
    background: linear-gradient(90deg, var(--accent-muted), rgba(120, 200, 140, 0.8));
}

.workflow-connector-branch::after {
    border-left-color: rgba(120, 200, 140, 0.9);
}

.workflow-legend {
    max-width: var(--content-max);
    margin: 24px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    justify-content: center;
}

.workflow-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.workflow-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.workflow-legend-dot.is-gold {
    background: var(--accent-strong);
    box-shadow: 0 0 10px var(--gold-glow-soft);
}

.workflow-legend-dot.is-green {
    background: #7bc98e;
}

.motivation-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--card-gap);
    max-width: var(--content-max);
    margin: 40px auto 0;
}

.motivation-quote {
    margin: 0;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--gold-glow-faint);
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.65;
    font-style: italic;
}

.faq-section .faq-list {
    max-width: var(--content-max);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    padding: 0 22px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 0;
    font-weight: 600;
    color: var(--text);
}

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

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--accent);
    font-size: 1.25rem;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Centered luxury hero (homepage) ── */
.hero-brand {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px var(--section-pad);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212, 175, 55, 0.09), transparent 65%),
        radial-gradient(ellipse 40% 30% at 50% 100%, rgba(197, 160, 89, 0.05), transparent 50%),
        var(--bg);
    position: relative;
    overflow: hidden;
}

.hero-brand::before,
.hero-brand::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.35;
}

.hero-brand::before {
    top: 28%;
}

.hero-brand::after {
    bottom: 22%;
}

.hero-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-brand-title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 14vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    color: var(--accent-strong);
    background: linear-gradient(180deg, var(--accent-strong) 0%, var(--accent) 45%, var(--accent-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 32px rgba(212, 175, 55, 0.35));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-brand-title {
        -webkit-text-fill-color: currentColor;
        color: var(--accent-strong);
        background: none;
    }
}

.hero-brand-tagline {
    margin: 28px 0 0;
    font-size: clamp(0.85rem, 2.2vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.6;
}

.hero-brand-accent {
    display: block;
    width: 72px;
    height: 2px;
    margin: 36px auto 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 20px var(--gold-glow-soft);
}

/* ── Hero section — full width row (inner pages) ── */
.hero-panel {
    width: 100%;
    padding: 64px var(--section-pad);
    min-height: unset;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    background:
        radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.07), transparent 50%),
        var(--bg);
}

.hero-panel h2 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.08;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    max-width: 900px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 780px;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: var(--gold-glow-faint);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions,
.action-row,
.proof-link-row,
.tag-row,
.pill-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Brand / sidebar section — full width row below hero ── */
.luxury-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 56px var(--section-pad);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    background: var(--bg-panel);
}

.luxury-frame::after {
    display: none;
}

.brand-stack {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.brand-stack > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.luxury-frame .mini-stat {
    padding: 24px 32px;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--line);
    box-shadow: none;
    background: transparent;
}

.luxury-frame .mini-stat:last-child {
    border-right: none;
}

/* ── Content sections — full width bands ── */
.section-block {
    width: 100%;
    margin: 0;
    padding: 80px var(--section-pad);
    border-top: var(--section-gap) solid var(--line);
    background: var(--bg);
}

.section-block .section-heading,
.section-block .info-grid,
.section-block .cards-grid,
.section-block .process-grid,
.section-block .showcase-grid,
.section-block .package-grid,
.section-block > .panel,
.section-block .meta-row {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.section-block .info-grid,
.section-block .cards-grid,
.section-block .process-grid,
.section-block .package-grid {
    gap: var(--card-gap);
}

.section-block:nth-of-type(even) {
    background: var(--bg-panel);
}

.section-block.panel {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
}

.section-block > .panel {
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    padding: 32px;
}

.section-block .showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    width: 100%;
    max-width: var(--content-max);
    gap: var(--card-gap);
}

.section-block .showcase-grid .showcase-card {
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
}

.split-grid.section-block {
    padding: 0;
    gap: 0;
}

.split-grid .showcase-card {
    width: 100%;
    padding: 48px var(--section-pad);
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
}

/* Member dashboard — two-column lower section */
.split-grid.member-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 48px var(--section-pad) 80px;
    border-top: 1px solid var(--line);
    background: var(--bg-panel);
}

.split-grid.member-dashboard-grid .showcase-card {
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    border-top: 1px solid var(--line);
}

.page-shell--member > .flash {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.stats-grid.section-block {
    gap: 0;
}

.stats-grid .stat-card {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
}

.stats-grid .stat-card:first-child {
    border-left: 1px solid var(--line);
}

.stats-grid .stat-card:last-child {
    border-right: 1px solid var(--line);
}

.section-heading,
.meta-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    width: 100%;
}

.section-heading h2,
.section-heading p,
.meta-row h2,
.meta-row p {
    margin: 0;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-soft);
}

.gold-line {
    width: 56px;
    height: 2px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-muted));
    box-shadow: 0 0 10px var(--gold-glow-soft);
    flex-shrink: 0;
}

.eyebrow,
.subtle-title {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 12px;
}

.panel-title {
    margin: 0 0 12px;
    font-size: 1.3rem;
    line-height: 1.3;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-soft);
}

.muted,
.inline-note {
    color: var(--muted);
}

.inline-note {
    font-size: 0.92rem;
    line-height: 1.55;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.landing-hero-copy,
.centered-copy {
    max-width: 780px;
}

/* ── Cards inside sections ── */
.panel,
.feature-card,
.status-card,
.video-card,
.stat-card,
.admin-card,
.showcase-card,
.executive-card,
.journey-step,
.detail-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    box-shadow: none;
    transition: border-color var(--transition), background var(--transition);
}

.panel,
.feature-card,
.status-card,
.video-card,
.stat-card,
.admin-card,
.showcase-card,
.executive-card,
.journey-step,
.detail-card {
    padding: 32px;
}

.mini-stat {
    padding: 22px 24px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    box-shadow: none;
}

.panel strong,
.mini-stat strong,
.stat-card strong {
    color: var(--accent);
}

.stat-card--with-action .stat-card-cta {
    margin-top: 14px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.feature-card:hover,
.status-card:hover,
.stat-card:hover,
.executive-card:hover,
.journey-step:hover {
    border-color: var(--line-strong);
    background: var(--bg-card-elevated);
}

.info-grid .executive-card,
.cards-grid .feature-card,
.process-grid .journey-step {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap);
    width: 100%;
}

/* ── Metrics row ── */
.hero-metrics,
.stat-strip {
    gap: 0;
    margin-top: 36px;
    max-width: 900px;
}

.metric-card,
.stat-highlight {
    padding: 24px 28px;
    border-radius: 0;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-right: none;
    transition: background var(--transition);
}

.metric-card:last-child,
.stat-highlight:last-child {
    border-right: 1px solid var(--line);
}

.metric-card:hover,
.stat-highlight:hover {
    background: var(--bg-card-elevated);
}

.metric-card strong,
.stat-highlight strong {
    display: block;
    font-size: 1.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

/* ── Buttons ── */
.button,
.button-secondary,
.button-danger,
.button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.button {
    color: #0B0B0B;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-muted) 100%);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px var(--gold-glow), 0 0 32px var(--gold-glow-soft);
}

.button-secondary {
    color: var(--text-soft);
    border-color: var(--line-strong);
    background: transparent;
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
    background: var(--gold-glow-faint);
    box-shadow: 0 0 20px var(--gold-glow-soft);
}

.panel-danger-zone {
    border-color: rgba(238, 127, 127, 0.35);
}

.button-danger {
    color: #fff;
    border-color: rgba(238, 127, 127, 0.3);
    background: rgba(238, 127, 127, 0.1);
}

.button-small {
    min-height: 36px;
    padding: 0 16px;
    font-size: 0.86rem;
}

/* ── Status & flash ── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.status-success {
    background: rgba(75, 196, 141, 0.12);
    color: #97F0BF;
    border: 1px solid rgba(75, 196, 141, 0.2);
}

.status-warning {
    background: rgba(239, 193, 98, 0.12);
    color: var(--accent-strong);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.status-danger {
    background: rgba(238, 127, 127, 0.12);
    color: #FFB2B2;
    border: 1px solid rgba(238, 127, 127, 0.2);
}

.status-neutral {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border: 1px solid var(--line-subtle);
}

.page-shell > .flash,
.auth-shell > .flash {
    width: 100%;
    margin: 0;
    padding: 14px var(--section-pad);
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.flash {
    margin-bottom: 0;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.flash-success {
    color: #BAF0D3;
    background: rgba(75, 196, 141, 0.1);
    border-color: rgba(75, 196, 141, 0.2);
}

.flash-error {
    color: #FFC2C2;
    background: rgba(238, 127, 127, 0.1);
    border-color: rgba(238, 127, 127, 0.2);
}

.flash-info {
    color: var(--accent-strong);
    background: var(--gold-glow-faint);
    border-color: var(--line-strong);
}

/* ── Form-only auth pages (login / register) ── */
.auth-page {
    min-height: 100vh;
}

.auth-form-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px var(--section-pad);
}

.auth-form-shell--in-page {
    min-height: auto;
    padding: 56px var(--section-pad) 72px;
    flex-direction: column;
    align-items: center;
}

.auth-form-shell--in-page .auth-back-link {
    position: static;
    width: 100%;
    max-width: 480px;
    margin-bottom: 16px;
}

.auth-form-wrap {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.auth-back-link {
    position: absolute;
    top: 24px;
    left: var(--section-pad);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.auth-back-link:hover {
    color: var(--accent-strong);
    border-color: var(--accent-muted);
    background: var(--gold-glow-faint);
    box-shadow: 0 0 20px var(--gold-glow-soft);
}

.auth-form-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 32px var(--gold-glow-faint);
}

.auth-form-card .flash {
    margin-bottom: 20px;
}

.auth-form-card .form-grid {
    max-width: none;
}

.admin-auth-page .admin-auth-card {
    max-width: 460px;
}

.admin-auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.admin-auth-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 16px;
}

.admin-auth-brand .panel-title {
    margin: 8px 0 10px;
}

.admin-auth-lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.admin-auth-form {
    margin-top: 8px;
}

.admin-auth-foot {
    margin: 22px 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
}

.admin-auth-foot strong {
    color: var(--accent-strong);
}

.admin-auth-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* ── Auth pages — full width stacked (admin) ── */
.auth-side,
.auth-card {
    width: 100%;
    padding: 56px var(--section-pad);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: var(--bg-panel);
    box-shadow: none;
}

.auth-side {
    min-height: unset;
    background:
        radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.06), transparent 50%),
        var(--bg);
}

.auth-card {
    background: var(--bg-panel);
}

.auth-card h2,
.auth-side h2 {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.auth-card .form-grid {
    max-width: 480px;
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.logo-lockup img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    padding: 6px;
    object-fit: contain;
    background: var(--bg-panel-strong);
    border: 1px solid var(--line);
}

.auth-side .highlight-banner {
    margin-top: 36px;
    border-radius: 0;
    border: 1px solid var(--line);
    box-shadow: none;
    background: var(--bg-panel-strong);
}

/* ── Forms ── */
.form-grid {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.label-optional {
    font-weight: 500;
    color: var(--text-soft);
    font-size: 0.85em;
    text-transform: none;
    letter-spacing: normal;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.input,
.textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg-input);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--gold-glow-faint), 0 0 20px var(--gold-glow-soft);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

.divider {
    height: 1px;
    margin: 28px 0;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.list-bullet {
    width: 7px;
    height: 7px;
    margin-top: 9px;
    border-radius: 999px;
    flex: none;
    background: var(--accent);
    box-shadow: 0 0 8px var(--gold-glow-soft);
}

/* ── Timeline & process ── */
.timeline,
.feature-list {
    display: grid;
    gap: 20px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    color: var(--accent);
    background: var(--gold-glow-faint);
    font-size: 0.82rem;
    font-weight: 500;
}

.timeline-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
}

.timeline-step {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: #0B0B0B;
    font-weight: 700;
    font-size: 0.88rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-muted));
    box-shadow: 0 2px 12px var(--gold-glow-soft);
}

.feature-showcase {
    display: grid;
    gap: 20px;
}

.feature-card h3,
.status-card h3,
.journey-step h3,
.showcase-card h3,
.detail-card h3,
.executive-card h3 {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-soft);
}

.feature-card::before,
.status-card::before,
.journey-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-muted), transparent);
    opacity: 0.6;
    pointer-events: none;
}

.feature-card,
.status-card,
.journey-step {
    position: relative;
    overflow: hidden;
}

.journey-step {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.journey-step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    color: #0B0B0B;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-muted));
    box-shadow: 0 2px 12px var(--gold-glow-soft);
}

/* ── CTA & footer — full width ── */
.highlight-banner {
    width: 100%;
    padding: 80px var(--section-pad);
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06), transparent 60%),
        var(--bg-panel);
    box-shadow: none;
}

.highlight-banner .meta-row {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.footer-panel {
    width: 100%;
    margin: 0;
    padding: 72px var(--section-pad);
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line);
    background: var(--bg-panel-strong);
    box-shadow: none;
}

.footer-panel .footer-grid {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    gap: var(--card-gap);
}

.footer-panel h3,
.footer-panel p {
    margin-top: 0;
}

/* ── Packages ── */
.package-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid var(--line);
    border-right: none;
    background: var(--bg-panel);
    box-shadow: none;
    transition: background var(--transition), border-color var(--transition);
}

.package-card:last-child,
.package-card:nth-child(2n) {
    border-right: 1px solid var(--line);
}

.package-card:hover {
    background: var(--bg-card-elevated);
    border-color: var(--line-strong);
}

.package-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 24px;
    overflow: hidden;
    background: var(--bg-panel-strong);
    border-bottom: 1px solid var(--line);
}

.package-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(420px, 55vw);
    object-fit: contain;
    object-position: center;
}

.package-card:hover .package-media img {
    transform: none;
}

.package-card-body {
    padding: 28px;
}

.package-price {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--gold-glow-faint);
    border: 1px solid var(--line-strong);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.package-copy {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.package-benefits {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.package-admin-form {
    display: grid;
    gap: 20px;
}

/* ── Tables ── */
.proof-preview,
.proof-thumb {
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
}

.proof-preview img,
.proof-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.proof-thumb img {
    max-height: 160px;
}

.proof-thumb-compact {
    max-width: 280px;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 0;
    border: 1px solid var(--line);
    width: 100%;
}

.table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line-subtle);
}

.table th {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--bg-panel-strong);
}

.table tbody tr:hover {
    background: var(--gold-glow-faint);
}

/* ── Video / academy ── */
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #060606;
    border: 1px solid var(--line);
}

.video-frame iframe,
.video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
}

.locked-video {
    display: grid;
    place-items: center;
    min-height: 260px;
    text-align: center;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--line-strong);
    background: var(--bg-panel-strong);
    padding: 32px;
}

.academy-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid var(--line);
    background: var(--bg-panel);
}

.academy-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
}

.academy-sidebar .showcase-card,
.academy-sidebar .detail-card,
.academy-main .panel {
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 32px 28px;
    box-shadow: none;
    background: transparent;
}

.academy-sidebar .detail-card {
    flex: 1;
}

.academy-hero {
    min-height: unset;
}

.academy-main .panel {
    flex: 1;
    padding: 40px 36px;
}

.training-page-intro {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 48px var(--section-pad) 0;
}

.training-page-intro .section-heading {
    margin-bottom: 28px;
}

.training-upload-zone {
    margin-top: 8px;
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--line-strong);
    background: var(--gold-glow-faint);
}

.training-upload-zone .form-group {
    margin-bottom: 0;
}

.training-upload-zone input[type="file"] {
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.proof-preview {
    margin-top: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line);
}

.proof-preview img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: #060606;
}

.proof-thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line-strong);
}

.proof-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.training-approved-banner {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 48px var(--section-pad) 0;
}

.training-approved-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--card-gap);
    margin-bottom: 48px;
}

.training-approved-grid .showcase-card {
    padding: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
}

.training-lessons-section {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--section-pad) 80px;
}

.training-lessons-section .cards-grid {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
}

.video-card {
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
}

.site-note {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: var(--gold-glow-faint);
    color: var(--text-soft);
    line-height: 1.65;
    margin-top: 20px;
}

/* ── Responsive ── */
@media (max-width: 1040px) {
    .workflow-flow {
        flex-direction: column;
        min-width: 0;
    }

    .workflow-connector {
        flex: 0 0 auto;
        width: 2px;
        height: 28px;
        margin: 6px auto;
        background: linear-gradient(180deg, var(--accent-muted), var(--accent-strong));
    }

    .workflow-connector::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -2px;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: var(--accent-strong);
        border-left-color: transparent;
    }

    .workflow-node-earn {
        flex: 1 1 auto;
    }

    .motivation-quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--card-gap);
    }

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

    .academy-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .training-approved-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .brand-stack,
    .section-block .showcase-grid {
        grid-template-columns: 1fr;
    }

    .video-grid,
    .process-grid,
    .hero-metrics,
    .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid > *,
    .process-grid .journey-step,
    .hero-metrics > *,
    .stat-strip > * {
        grid-column: auto !important;
    }

    .hero-brand {
        min-height: 60vh;
        padding: 64px var(--section-pad);
    }

    .hero-brand-title {
        letter-spacing: 0.18em;
        text-indent: 0.18em;
    }

    .hero-brand-tagline {
        letter-spacing: 0.14em;
    }

    .luxury-frame .mini-stat {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 24px 0;
    }

    .luxury-frame .mini-stat:last-child {
        border-bottom: none;
    }

    .brand-stack > div:first-child {
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .metric-card,
    .stat-highlight {
        border-right: 1px solid var(--line);
        border-bottom: none;
    }

    .metric-card:not(:last-child),
    .stat-highlight:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }

    .journey-step {
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        border-bottom: none;
    }

    .journey-step:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 860px) {
    :root {
        --section-pad: 28px;
        --card-gap: 20px;
    }

    .section-block {
        padding: 56px var(--section-pad);
    }

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-grid .package-card {
        grid-column: auto !important;
    }

    .package-card {
        border-right: 1px solid var(--line);
    }

    .transparency-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-trust-strip-inner {
        font-size: 0.78rem;
    }

    .info-grid .executive-card,
    .cards-grid .feature-card {
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
        border-bottom: none;
    }

    .info-grid .executive-card:last-child,
    .cards-grid .feature-card:last-child {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .auth-back-link {
        top: 14px;
        left: 16px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .auth-form-shell {
        padding-top: 72px;
    }

    .hero-slider-content {
        padding: 88px 20px 110px;
    }

    .hero-brand-title {
        letter-spacing: 0.16em;
        text-indent: 0.16em;
    }

    .hero-slider-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-slider-actions .button,
    .hero-slider-actions .button-secondary {
        width: 100%;
    }

    .hero-panel {
        padding: 40px var(--section-pad);
    }

    .hero-panel h2,
    .auth-card h2,
    .auth-side h2 {
        font-size: 1.9rem;
    }

    .nav-links {
        width: 100%;
    }

    .topbar {
        flex-wrap: wrap;
        padding: 14px var(--section-pad);
    }

    .section-block,
    .luxury-frame,
    .highlight-banner,
    .footer-panel,
    .auth-side,
    .auth-card {
        padding: 40px var(--section-pad);
    }
}

/* ── Admin sidebar layout ── */
.admin-body {
    background: var(--bg);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    border-right: 1px solid var(--line-subtle);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--line-subtle);
}

.admin-nav-toggle {
    display: none;
    margin-left: auto;
}

.admin-sidebar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.admin-sidebar-brand strong {
    display: block;
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1rem;
}

.admin-sidebar-brand span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.admin-sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.admin-nav-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--text);
}

.admin-nav-link.active {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.22);
}

.admin-nav-icon {
    width: 18px;
    text-align: center;
    opacity: 0.85;
    font-size: 0.75rem;
}

.admin-nav-label {
    flex: 1;
}

.admin-nav-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(239, 193, 98, 0.2);
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--line-subtle);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-logout {
    color: #ffb2b2;
}

.admin-nav-logout:hover {
    background: rgba(238, 127, 127, 0.1);
    color: #ffb2b2;
}

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 28px 32px 48px;
    overflow-x: hidden;
}

.admin-page-header {
    margin-bottom: 24px;
}

.admin-page-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 4px 0 0;
    color: var(--text);
}

.admin-page-desc {
    color: var(--muted);
    margin: 8px 0 0;
    font-size: 0.92rem;
}

.admin-main .flash {
    margin-bottom: 20px;
}

.admin-main .panel,
.admin-main .section-block {
    margin-bottom: 24px;
}

.admin-quick-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}

.admin-quick-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

.admin-quick-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
}

/* ── Copy link row ── */
.copy-input-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.copy-input-row .input {
    flex: 1;
    min-width: 0;
}

.copy-link-btn {
    flex-shrink: 0;
    align-self: stretch;
    min-width: 88px;
}

.copy-link-btn--success {
    border-color: rgba(75, 196, 141, 0.45);
    color: #97f0bf;
}

.identity-copy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 10px;
}

.identity-copy-row .profile-identity {
    margin: 0;
}

.copy-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: var(--bg-panel-strong);
    color: var(--accent-strong);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.copy-icon-btn:hover,
.copy-icon-btn.copy-link-btn--success {
    border-color: var(--accent-muted);
    background: var(--gold-glow-faint);
    box-shadow: 0 0 16px var(--gold-glow-soft);
}

.copy-icon-btn.copy-link-btn--success {
    color: #97f0bf;
}

.admin-user-search {
    max-width: 720px;
}

.admin-users-table td {
    vertical-align: middle;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.admin-modal[hidden] {
    display: none !important;
}

body.admin-modal-open {
    overflow: hidden;
}

.admin-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 32px 28px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-strong);
    background: var(--bg-panel);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 40px var(--gold-glow-faint);
}

.admin-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--text-soft);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.admin-modal-close:hover {
    color: var(--accent-strong);
    border-color: var(--accent-muted);
    background: var(--gold-glow-faint);
}

.admin-modal-form {
    margin-top: 20px;
    max-width: none;
}

.admin-modal-dialog .panel-title {
    margin: 8px 0 6px;
}

.admin-modal-dialog .muted {
    margin: 0 0 4px;
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 640px) {
    .copy-input-row {
        flex-direction: column;
    }

    .copy-link-btn {
        width: 100%;
    }
}

/* ── Gallery videos (member + admin) ── */
.gallery-videos-section {
    padding-bottom: 64px;
}

.gallery-videos-grid {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
    max-width: var(--content-max);
    margin: 0 auto;
}

.gallery-video-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
    overflow: hidden;
}

.gallery-video-player .video-frame,
.gallery-video-player .locked-video {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
}

.gallery-video-player .video-frame {
    aspect-ratio: 16 / 9;
}

.gallery-video-player .video-frame iframe,
.gallery-video-player .video-frame video {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    display: block;
}

.gallery-video-body {
    padding: 20px 22px 24px;
}

.gallery-video-body .panel-title {
    margin: 0 0 8px;
}

.gallery-admin-video-card {
    position: relative;
}

.gallery-admin-delete-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-subtle);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-soft);
    cursor: pointer;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.commission-approve-options {
    margin-top: 4px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    display: grid;
    gap: 10px;
}

.commission-approve-options .inline-note {
    margin: 0 0 4px;
}

@media (max-width: 900px) {
    .gallery-videos-grid {
        padding: 0 var(--section-pad);
    }
}


/* ── Distributor code ── */
.distributor-code-banner .panel {
    border-color: var(--accent-muted);
    background: var(--gold-glow-faint);
}

.distributor-code-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.distributor-code-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--accent-strong);
    letter-spacing: 0.08em;
    margin: 8px 0;
}

@media (max-width: 640px) {
    .distributor-code-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* ── Package delivery form ── */
.delivery-form-block {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--gold-glow-faint);
}

.delivery-form-block .panel-title {
    margin: 8px 0 8px;
    font-size: 1.05rem;
}

.delivery-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.delivery-form-full {
    grid-column: 1 / -1;
}

.delivery-summary {
    margin-top: 1rem;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel-strong);
}

.delivery-summary--admin {
    margin-top: 14px;
    margin-bottom: 14px;
}

.delivery-summary-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.delivery-summary-list li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    font-size: 0.9rem;
    align-items: start;
}

.delivery-summary-list li span {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.delivery-summary-list li strong {
    color: var(--text);
    font-weight: 600;
    word-break: break-word;
}

@media (max-width: 640px) {
    .delivery-form-grid {
        grid-template-columns: 1fr;
    }

    .delivery-summary-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ── Package buy checkout ── */
.buy-checkout-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 24px;
    align-items: start;
}

.buy-checkout-sidebar {
    position: sticky;
    top: 24px;
}

.payment-instructions-body {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.payment-instructions-body strong {
    color: var(--text);
}

.buy-package-summary-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 1rem;
}

.buy-package-summary-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line-subtle);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
}

.buy-package-summary-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.buy-checkout-main {
    display: grid;
    gap: 24px;
}

@media (max-width: 900px) {
    .buy-checkout-layout {
        grid-template-columns: 1fr;
    }

    .buy-checkout-sidebar {
        position: static;
    }

    .buy-package-summary-grid {
        grid-template-columns: 1fr;
    }

    .buy-package-summary-media {
        max-width: 200px;
    }
}

/* ── Member profile ── */
.profile-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 24px;
    align-items: start;
}

.profile-card {
    padding: 28px;
}

.profile-avatar-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-id-block {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-subtle);
}

.profile-identity {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-top: 6px;
}

.profile-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.profile-meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-subtle);
}

.profile-meta-list li span {
    color: var(--muted);
}

.profile-meta-list li strong {
    text-align: right;
    color: var(--text);
}

/* ── Mobile & tablet (site-wide) ── */
@media (max-width: 900px) {
    :root {
        --section-pad: 20px;
        --card-gap: 16px;
        --content-max: 100%;
    }

    html,
    body {
        overflow-x: hidden;
    }

    body.nav-menu-open {
        overflow: hidden;
    }

    .topbar--responsive {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px var(--section-pad);
        position: sticky;
        top: 0;
        z-index: 200;
    }

    .topbar--responsive.nav-open {
        z-index: 250;
    }

    .topbar-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .topbar-end {
        margin-left: auto;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: var(--radius-sm);
        border: 1px solid var(--line-strong);
        background: var(--bg-panel);
        color: var(--accent-strong);
        flex-shrink: 0;
    }

    .nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform var(--transition), opacity var(--transition);
    }

    .topbar--responsive.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .topbar--responsive.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .topbar--responsive.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .topbar--responsive .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px 0 4px;
        border-top: 1px solid var(--line);
        margin-top: 12px;
        max-height: min(70vh, 420px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .topbar--responsive.nav-open .nav-links {
        display: flex;
    }

    .topbar--responsive .nav-links a {
        width: 100%;
        text-align: left;
        padding: 12px 14px;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .section-heading,
    .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .action-row .button,
    .action-row .button-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-grid.section-block,
    .page-shell--member > .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        padding-left: var(--section-pad);
        padding-right: var(--section-pad);
        gap: 1px;
    }

    .stats-grid .stat-card,
    .stats-grid .span-3 {
        grid-column: auto !important;
        padding: 20px 14px;
    }

    .stats-grid .stat-card strong {
        font-size: 1.25rem;
    }

    .stats-grid .stat-card .inline-note {
        font-size: 0.78rem;
    }

    .split-grid.member-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--card-gap);
        max-width: 100%;
        padding: 28px var(--section-pad) 40px;
    }

    .split-grid.member-dashboard-grid .showcase-card {
        padding: 20px 16px;
        min-width: 0;
    }

    .info-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid .executive-card,
    .detail-grid > * {
        grid-column: auto !important;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-grid .feature-card,
    .cards-grid .span-4,
    .cards-grid .span-6 {
        grid-column: auto !important;
        padding: 22px 16px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid .journey-step {
        grid-column: auto !important;
        padding: 22px 16px;
    }

    .motivation-quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--card-gap);
        padding: 0 var(--section-pad);
    }

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-grid .package-card {
        grid-column: auto !important;
    }

    .workflow-graph {
        padding: 0 var(--section-pad);
    }

    .section-block .section-heading,
    .section-block .info-grid,
    .section-block .cards-grid,
    .section-block .process-grid,
    .section-block .package-grid,
    .section-block > .panel,
    .section-block .meta-row,
    .section-block .showcase-grid,
    .section-block .faq-list,
    .workflow-graph,
    .workflow-legend,
    .motivation-quotes {
        max-width: 100%;
    }

    .table {
        min-width: 560px;
        font-size: 0.88rem;
    }

    .table th,
    .table td {
        padding: 10px 12px;
    }

    .panel,
    .showcase-card {
        padding: 24px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-slider-controls {
        padding: 0 12px;
    }

    .admin-fund-form-row {
        grid-template-columns: 1fr;
    }

    .admin-users-table .table {
        min-width: 640px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        z-index: 180;
    }

    .admin-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: var(--radius-sm);
        border: 1px solid var(--line-strong);
        background: var(--bg-panel);
        color: var(--accent-strong);
        flex-shrink: 0;
    }

    .admin-nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform var(--transition), opacity var(--transition);
    }

    .admin-layout.admin-nav-open .admin-nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .admin-layout.admin-nav-open .admin-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .admin-layout.admin-nav-open .admin-nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .admin-sidebar-nav,
    .admin-sidebar-footer {
        display: none;
    }

    .admin-layout.admin-nav-open .admin-sidebar-nav,
    .admin-layout.admin-nav-open .admin-sidebar-footer {
        display: flex;
    }

    .admin-sidebar-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        max-height: min(65vh, 400px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 8px;
    }

    .admin-sidebar-footer {
        flex-direction: column;
    }

    .admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
    }

    .admin-grid .admin-card,
    .admin-grid .span-4,
    .admin-grid .span-3 {
        grid-column: auto !important;
    }

    .admin-main {
        padding: 20px 16px 32px;
    }

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

    .buy-checkout-layout {
        grid-template-columns: 1fr;
    }

    .buy-checkout-sidebar {
        position: static;
    }
}

@media (max-width: 520px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .stats-grid.section-block,
    .page-shell--member > .stats-grid,
    .cards-grid,
    .process-grid,
    .package-grid,
    .gallery-videos-grid,
    .split-grid.member-dashboard-grid,
    .motivation-quotes,
    .video-grid,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid .stat-card,
    .stats-grid .span-3,
    .cards-grid .feature-card,
    .cards-grid .span-4,
    .process-grid .journey-step,
    .package-grid .package-card,
    .admin-grid .admin-card,
    .admin-grid .span-4,
    .admin-grid .span-3 {
        grid-column: auto !important;
    }
}

/* Binary team graph (dashboard) */
.binary-graph-section {
    padding-top: 0;
}

.binary-tree-panel {
    overflow: hidden;
}

.binary-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 4px;
}

.binary-tree-level {
    display: flex;
    justify-content: center;
    width: 100%;
}

.binary-tree-level--branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 720px;
    width: 100%;
    margin-top: 0;
}

.binary-tree-connector {
    position: relative;
    width: min(420px, 80%);
    height: 36px;
    margin: 4px 0 8px;
}

.binary-tree-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--accent-muted), var(--accent));
}

.binary-tree-line {
    position: absolute;
    top: 18px;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-muted));
}

.binary-tree-line--left {
    left: 0;
    transform-origin: right center;
    border-radius: 2px 0 0 2px;
}

.binary-tree-line--right {
    right: 0;
    transform-origin: left center;
    border-radius: 0 2px 2px 0;
}

.binary-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-strong);
    background: var(--bg-panel-strong);
    min-width: 120px;
}

.binary-node--you {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
    border-color: var(--accent-muted);
    box-shadow: 0 0 32px var(--gold-glow-soft);
    padding: 20px 28px;
}

.binary-node--leg {
    width: 100%;
}

.binary-node--clickable {
    cursor: pointer;
    transition: background var(--transition);
    position: relative;
}

.binary-node--clickable:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Binary modal for team members */
.binary-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.binary-modal[hidden] {
    display: none;
}

.binary-modal-dialog {
    background: var(--bg-panel-strong);
    border-radius: var(--radius-md);
    border: 1px solid var(--line-strong);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.binary-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background var(--transition);
}

.binary-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.binary-modal-content {
    padding: 20px;
    overflow-y: auto;
    max-height: 400px;
    margin-top: 16px;
}

.binary-modal-content table {
    width: 100%;
    border-collapse: collapse;
}

.binary-modal-content th,
.binary-modal-content td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--line-weak);
}

.binary-modal-content th {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

.binary-modal-content td {
    font-size: 0.9rem;
}

.binary-modal-content tr:last-child td {
    border-bottom: none;
}

.binary-modal-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
}

.binary-branch--left .binary-node--leg {
    border-color: rgba(75, 196, 141, 0.45);
    background: rgba(75, 196, 141, 0.06);
}

.binary-branch--right .binary-node--leg {
    border-color: rgba(120, 160, 255, 0.45);
    background: rgba(120, 160, 255, 0.06);
}

.binary-node-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 4px;
}

.binary-node-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: var(--accent-strong);
}

.binary-node-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--text);
}

.binary-branch--left .binary-node-count {
    color: var(--success);
}

.binary-branch--right .binary-node-count {
    color: #8eb4ff;
}

.binary-node-sub {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

.binary-leg-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.binary-leg-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-subtle);
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
}

.binary-leg-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-soft);
}

.binary-leg-meta {
    font-size: 0.75rem;
    color: var(--muted);
}

.binary-leg-empty {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

.binary-tree-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line-subtle);
}

.binary-summary-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg-panel);
    min-width: 100px;
}

.binary-summary-pill span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.binary-summary-pill strong {
    font-size: 1.35rem;
    font-family: 'Space Grotesk', sans-serif;
}

.binary-summary-pill--left strong {
    color: var(--success);
}

.binary-summary-pill--right strong {
    color: #8eb4ff;
}

.binary-summary-pill--total strong {
    color: var(--accent-strong);
}

.binary-tree-note {
    margin: 20px 0 0;
    text-align: center;
}

@media (max-width: 640px) {
    .section-block.binary-graph-section {
        padding: 32px var(--section-pad) !important;
    }

    .binary-tree-panel {
        padding: 16px 12px !important;
        overflow: visible !important;
    }

    .binary-tree {
        padding: 8px 0 4px;
        width: 100%;
        max-width: 100%;
    }

    .binary-tree-level--branches {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        max-width: 720px !important;
        width: 100% !important;
    }

    .binary-branch {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-connector {
        display: block !important;
    }

    .binary-node {
        padding: 12px 16px !important;
        min-width: 100px;
        width: 100%;
        max-width: 100%;
    }

    .binary-node--you {
        padding: 16px 20px !important;
    }

    .binary-node-label {
        font-size: 0.75rem !important;
    }

    .binary-node-name {
        font-size: 0.9rem !important;
    }

    .binary-node-count {
        font-size: 1.5rem !important;
    }

    .binary-node-sub {
        font-size: 0.7rem !important;
    }

    .binary-leg-list {
        margin: 10px 0 0;
        gap: 6px;
    }

    .binary-leg-name {
        font-size: 0.8rem !important;
    }

    .binary-leg-meta {
        font-size: 0.7rem !important;
    }

    .binary-leg-empty {
        font-size: 0.75rem !important;
        margin: 8px 0 0;
    }

    .binary-tree-summary {
        gap: 6px;
        margin-top: 12px;
    }

    .binary-summary-pill {
        flex: 1 1 calc(33% - 6px);
        min-width: 80px;
        padding: 8px 10px;
    }

    .binary-summary-pill span {
        font-size: 0.65rem !important;
    }

    .binary-summary-pill strong {
        font-size: 1.1rem !important;
    }

    .binary-tree-note {
        font-size: 0.8rem !important;
        margin: 14px 0 0;
    }
}

@media (max-width: 480px) {
    .section-block.binary-graph-section {
        padding: 24px var(--section-pad) !important;
    }

    .binary-tree-panel {
        padding: 12px 8px !important;
        overflow: visible !important;
        max-width: 100% !important;
    }

    .binary-tree {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-level--branches {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        max-width: 720px !important;
        width: 100% !important;
    }

    .binary-branch {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-connector {
        display: block !important;
    }

    .binary-node {
        padding: 10px 14px !important;
        min-width: 90px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-node--you {
        padding: 14px 18px !important;
    }

    .binary-node-label {
        font-size: 0.7rem !important;
    }

    .binary-node-count {
        font-size: 1.3rem !important;
    }

    .binary-node-sub {
        font-size: 0.65rem !important;
    }

    .binary-summary-pill {
        min-width: 70px;
        padding: 6px 8px;
    }

    .binary-summary-pill strong {
        font-size: 1rem !important;
    }
}

@media (max-width: 400px) {
    .section-block.binary-graph-section {
        padding: 20px var(--section-pad) !important;
    }

    .binary-tree-panel {
        padding: 10px 6px !important;
        overflow: visible !important;
        max-width: 100% !important;
    }

    .binary-tree {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-level--branches {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        max-width: 720px !important;
        width: 100% !important;
    }

    .binary-branch {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-connector {
        display: block !important;
    }

    .binary-node {
        padding: 8px 12px !important;
        min-width: 80px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-node--you {
        padding: 12px 16px !important;
    }

    .binary-node-label {
        font-size: 0.65rem !important;
    }

    .binary-node-count {
        font-size: 1.2rem !important;
    }

    .binary-node-sub {
        font-size: 0.6rem !important;
    }

    .binary-summary-pill {
        min-width: 60px;
        padding: 5px 6px;
    }

    .binary-summary-pill span {
        font-size: 0.6rem !important;
    }

    .binary-summary-pill strong {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 360px) {
    .section-block.binary-graph-section {
        padding: 16px var(--section-pad) !important;
    }

    .binary-tree-panel {
        padding: 8px 4px !important;
        overflow: visible !important;
        max-width: 100% !important;
    }

    .binary-tree {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-level--branches {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        max-width: 720px !important;
        width: 100% !important;
    }

    .binary-branch {
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-tree-connector {
        display: block !important;
    }

    .binary-node {
        padding: 6px 10px !important;
        min-width: 70px;
        width: 100% !important;
        max-width: 100% !important;
    }

    .binary-node--you {
        padding: 10px 14px !important;
    }

    .binary-node-label {
        font-size: 0.6rem !important;
    }

    .binary-node-count {
        font-size: 1.1rem !important;
    }

    .binary-node-sub {
        font-size: 0.55rem !important;
    }

    .binary-summary-pill {
        min-width: 50px;
        padding: 4px 5px;
    }

    .binary-summary-pill span {
        font-size: 0.55rem !important;
    }

    .binary-summary-pill strong {
        font-size: 0.85rem !important;
    }
}

.dashboard-view-all-row {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.dashboard-scrollable-container {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 12px;
    border-top: 1px solid var(--border-color, #e5e5e5);
    padding-top: 12px;
}

.dashboard-scrollable-container[hidden] {
    display: none;
}

.dashboard-table-extra[hidden] {
    display: none;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    transition: transform var(--transition), box-shadow var(--transition), background 0.2s;
}

.whatsapp-float:hover {
    color: #fff;
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-float-label {
    white-space: nowrap;
}

@media (max-width: 520px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        padding: 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .whatsapp-float-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/* Page loader (LEO logo splash) */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.12), transparent 55%), var(--bg);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.page-loader-logo {
    width: min(120px, 32vw);
    height: auto;
    animation: page-loader-pulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px var(--gold-glow-soft));
}

.page-loader-text {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.page-loader-bar {
    width: 140px;
    height: 3px;
    border-radius: 999px;
    background: var(--line-subtle);
    overflow: hidden;
}

.page-loader-bar span {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong));
    animation: page-loader-slide 1.1s ease-in-out infinite;
}

@keyframes page-loader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.88;
    }
}

@keyframes page-loader-slide {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}
