:root {
    --bg: #07111f;
    --bg-soft: #101d33;
    --surface: rgba(10, 18, 32, 0.78);
    --surface-strong: rgba(14, 26, 46, 0.92);
    --surface-light: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f4f7fb;
    --text-soft: #b7c4da;
    --text-dark: #10203a;
    --brand: #39a900;
    --brand-deep: #287603;
    --brand-soft: rgba(57, 169, 0, 0.16);
    --accent: #5ce1e6;
    --accent-soft: rgba(92, 225, 230, 0.16);
    --warning: #ffcf5c;
    --danger: #ef5350;
    --shadow: 0 24px 60px rgba(1, 7, 17, 0.34);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(92, 225, 230, 0.16), transparent 35%),
        radial-gradient(circle at top right, rgba(57, 169, 0, 0.18), transparent 32%),
        linear-gradient(180deg, #060b14 0%, #0a1424 42%, #13223e 100%);
}

body.page-light {
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(57, 169, 0, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(92, 225, 230, 0.12), transparent 32%),
        linear-gradient(180deg, #f5f8fc 0%, #edf3fb 48%, #dce8f4 100%);
}

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

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

.site-shell {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(18px);
    background: rgba(4, 11, 20, 0.7);
    border-bottom: 1px solid var(--line);
}

body.page-light .site-header {
    background: rgba(245, 248, 252, 0.82);
    border-bottom-color: rgba(16, 32, 58, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-lockup img {
    width: 48px;
    height: 48px;
    padding: 0.35rem;
    border-radius: 14px;
    background: #ffffff;
}

.brand-copy small,
.brand-copy span {
    display: block;
}

.brand-copy small {
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.page-light .brand-copy small {
    color: #5d6f8d;
}

.brand-copy span {
    font-size: 1rem;
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.desktop-nav a,
.desktop-nav button,
.mobile-links a,
.mobile-links button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.nav-link,
.nav-toggle {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: var(--text-soft);
    transition: 180ms ease;
}

body.page-light .nav-link,
body.page-light .nav-toggle {
    color: #41506a;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

body.page-light .nav-link:hover,
body.page-light .nav-toggle:hover,
body.page-light .nav-link.is-active {
    color: var(--text-dark);
    background: rgba(16, 32, 58, 0.06);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    color: #07111f;
    background: linear-gradient(135deg, #7cfb3a 0%, #39a900 100%);
    box-shadow: 0 16px 32px rgba(57, 169, 0, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(57, 169, 0, 0.32);
}

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    color: inherit;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

body.page-light .mobile-menu-button {
    background: rgba(16, 32, 58, 0.04);
    border-color: rgba(16, 32, 58, 0.08);
}

.mobile-panel {
    display: none;
    padding: 0 0 1rem;
}

.mobile-panel.is-open {
    display: block;
}

.mobile-links {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

body.page-light .mobile-links {
    border-color: rgba(16, 32, 58, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    min-width: 250px;
    padding: 0.75rem;
    display: none;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
}

body.page-light .dropdown-panel {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(16, 32, 58, 0.08);
}

.dropdown.is-open .dropdown-panel {
    display: grid;
    gap: 0.35rem;
}

.dropdown-panel a {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    color: var(--text-soft);
    transition: 180ms ease;
}

body.page-light .dropdown-panel a {
    color: #4b5973;
}

.dropdown-panel a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

body.page-light .dropdown-panel a:hover {
    color: var(--text-dark);
    background: rgba(16, 32, 58, 0.06);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 3rem;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.7;
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -60px;
    background: radial-gradient(circle, rgba(92, 225, 230, 0.42) 0%, transparent 70%);
}

.hero::after {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(57, 169, 0, 0.28) 0%, transparent 72%);
}

.hero-grid,
.split-grid,
.resource-grid,
.stats-grid,
.footer-grid,
.dashboard-top {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: 1.35fr 0.95fr;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(92, 225, 230, 0.24);
    background: rgba(92, 225, 230, 0.09);
    color: var(--accent);
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.statement-card h2,
.profile-card h1 {
    margin: 0;
    font-family: "Clash Display", "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.92;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    max-width: 12ch;
}

.hero-copy p,
.section-heading p,
.body-copy,
.meta-copy {
    color: var(--text-soft);
    line-height: 1.7;
}

body.page-light .hero-copy p,
body.page-light .section-heading p,
body.page-light .body-copy,
body.page-light .meta-copy {
    color: #51617b;
}

.hero-actions,
.button-row,
.pill-row {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.button-primary,
.button-secondary,
.status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    font-weight: 700;
}

.button-primary {
    padding: 1rem 1.4rem;
    color: #07111f;
    background: linear-gradient(135deg, #7cfb3a 0%, #39a900 100%);
    box-shadow: 0 16px 32px rgba(57, 169, 0, 0.28);
}

.button-secondary {
    padding: 1rem 1.4rem;
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

body.page-light .button-secondary {
    color: var(--text-dark);
    border-color: rgba(16, 32, 58, 0.08);
    background: rgba(255, 255, 255, 0.68);
}

.status-chip {
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
}

body.page-light .status-chip {
    border-color: rgba(16, 32, 58, 0.08);
    background: rgba(16, 32, 58, 0.04);
    color: #4b5973;
}

.glass-card,
.surface-card,
.metric-card,
.timeline-card,
.tool-card,
.profile-card,
.statement-card,
.session-card,
.info-card,
.footer-panel,
.dashboard-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.glass-card,
.surface-card,
.metric-card,
.timeline-card,
.tool-card,
.session-card,
.info-card,
.footer-panel,
.dashboard-card {
    background: var(--surface);
    backdrop-filter: blur(18px);
}

body.page-light .glass-card,
body.page-light .surface-card,
body.page-light .metric-card,
body.page-light .timeline-card,
body.page-light .tool-card,
body.page-light .session-card,
body.page-light .info-card,
body.page-light .footer-panel,
body.page-light .dashboard-card {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(16, 32, 58, 0.08);
    box-shadow: 0 24px 48px rgba(63, 83, 111, 0.12);
}

.surface-card,
.metric-card,
.timeline-card,
.tool-card,
.session-card,
.info-card,
.footer-panel,
.dashboard-card {
    padding: 1.5rem;
}

.hero-panel {
    padding: 1.6rem;
}

.signal-list,
.session-list,
.timeline-list,
.clean-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.signal-item,
.session-row,
.timeline-step {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.signal-item strong,
.session-row strong,
.timeline-step strong,
.metric-card strong {
    display: block;
    font-size: 1rem;
}

.signal-item span,
.session-row span,
.timeline-step span,
.muted {
    color: var(--text-soft);
}

body.page-light .signal-item span,
body.page-light .session-row span,
body.page-light .timeline-step span,
body.page-light .muted {
    color: #566682;
}

.section-block {
    padding: 1.25rem 0 3.5rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.25rem;
    margin-bottom: 1.4rem;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 3vw, 3.4rem);
}

.section-heading p {
    max-width: 52ch;
}

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

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.metric-card h3,
.tool-card h3,
.session-card h3,
.timeline-card h3,
.info-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.08rem;
}

.metric-card .metric-value {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.session-grid,
.resource-grid {
    grid-template-columns: repeat(3, 1fr);
}

.session-card {
    display: grid;
    gap: 1rem;
    min-height: 100%;
}

.session-card .session-header,
.session-card .session-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.session-card .session-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.session-state {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.session-state[data-state="available"] {
    color: #0b2412;
    background: #8ef85d;
}

.session-state[data-state="scheduled"] {
    color: #1b2230;
    background: #ffda80;
}

.session-state[data-state="locked"] {
    color: #fce3e3;
    background: rgba(239, 83, 80, 0.2);
}

.session-card p {
    margin: 0;
    line-height: 1.65;
}

.session-card ul {
    margin: 0;
    padding-left: 1rem;
    color: var(--text-soft);
}

body.page-light .session-card ul {
    color: #50617c;
}

.session-card .session-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.session-card .is-locked {
    opacity: 0.58;
    pointer-events: none;
}

.mini-link {
    color: var(--accent);
    font-weight: 700;
}

.timeline-card {
    display: grid;
    gap: 1rem;
}

.timeline-step {
    padding-top: 0.95rem;
    border-top: 1px solid var(--line);
}

body.page-light .timeline-step {
    border-top-color: rgba(16, 32, 58, 0.08);
}

.timeline-step:first-child {
    padding-top: 0;
    border-top: 0;
}

.step-marker {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #07111f;
    background: linear-gradient(135deg, #89ff57 0%, #39a900 100%);
    flex-shrink: 0;
}

.resource-grid {
    gap: 1.25rem;
}

.tool-card {
    display: grid;
    gap: 0.9rem;
    transition: transform 180ms ease, border-color 180ms ease;
}

.tool-card:hover,
.session-card:hover,
.info-card:hover,
.dashboard-card:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 225, 230, 0.32);
}

body.page-light .tool-card:hover,
body.page-light .session-card:hover,
body.page-light .info-card:hover,
body.page-light .dashboard-card:hover {
    border-color: rgba(57, 169, 0, 0.24);
}

.tool-card[data-filter] {
    display: grid;
}

.tool-card.is-hidden {
    display: none;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filter-button {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font: inherit;
}

body.page-light .filter-button {
    border-color: rgba(16, 32, 58, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: #4d5d78;
}

.filter-button.is-active {
    color: #07111f;
    border-color: rgba(57, 169, 0, 0.24);
    background: linear-gradient(135deg, #8ef85d 0%, #39a900 100%);
}

.statement-card,
.profile-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.92) 0%, rgba(14, 26, 46, 0.96) 100%);
    border: 1px solid rgba(92, 225, 230, 0.16);
}

.profile-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 243, 251, 0.96) 100%);
    color: var(--text-dark);
    border-color: rgba(16, 32, 58, 0.08);
}

.profile-card .eyebrow {
    background: rgba(57, 169, 0, 0.12);
    border-color: rgba(57, 169, 0, 0.2);
    color: var(--brand-deep);
}

.hero-portrait,
.profile-portrait {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.2), rgba(7, 17, 31, 0.72)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.profile-portrait {
    min-height: 520px;
    background:
        linear-gradient(180deg, rgba(16, 32, 58, 0.1), rgba(16, 32, 58, 0.6)),
        url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.portrait-badge,
.floating-panel {
    position: absolute;
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.portrait-badge {
    left: 1rem;
    bottom: 1rem;
    padding: 1rem 1.1rem;
    max-width: 260px;
}

.floating-panel {
    right: 1rem;
    top: 1rem;
    padding: 0.95rem 1rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
}

.signature {
    font-family: "Instrument Serif", serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    margin: 0;
}

.social-row {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 32, 58, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text-dark);
}

.video-shell {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

body.page-light .video-shell {
    border-color: rgba(16, 32, 58, 0.08);
}

.video-shell iframe,
.video-shell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-footer {
    padding: 1rem 0 2.5rem;
}

.footer-panel {
    padding: 2rem;
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    margin-bottom: 1.5rem;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.95rem;
}

body.page-light .footer-meta {
    border-top-color: rgba(16, 32, 58, 0.08);
    color: #5c6d89;
}

.footer-title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
}

.footer-list {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    list-style: none;
    margin: 0;
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.summary-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.summary-bar .metric-card {
    text-align: left;
}

.field-group {
    display: grid;
    gap: 0.5rem;
}

.field-group label {
    font-weight: 700;
}

.field-group textarea,
.field-group input,
.field-group select {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(16, 32, 58, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 0.95rem 1rem;
    font: inherit;
}

.field-group textarea {
    min-height: 190px;
    resize: vertical;
}

.stack {
    display: grid;
    gap: 1rem;
}

.dashboard-grid,
.level-grid {
    display: grid;
    gap: 1rem;
}

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

.level-grid {
    grid-template-columns: repeat(4, 1fr);
}

.dashboard-card textarea {
    min-height: 132px;
}

.points-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.points-adjuster {
    display: grid;
    gap: 0.55rem;
}

.points-adjuster label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.points-adjuster-controls {
    display: grid;
    grid-template-columns: 110px 1fr 1fr;
    gap: 0.65rem;
    align-items: center;
}

.points-step-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(16, 32, 58, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-dark);
    padding: 0.8rem 0.9rem;
    text-align: center;
    font: inherit;
    font-weight: 700;
}

.point-button {
    min-width: 100%;
    height: 48px;
    border-radius: 16px;
    border: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}

.point-button.plus {
    background: linear-gradient(135deg, #7cfb3a 0%, #39a900 100%);
}

.point-button.minus {
    background: linear-gradient(135deg, #ff8581 0%, #ef5350 100%);
}

.points-display {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.06em;
}

.points-display.updated {
    transform: scale(1.12);
}

.level-card {
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
}

body.page-light .level-card {
    border-color: rgba(16, 32, 58, 0.08);
    background: rgba(255, 255, 255, 0.74);
}

.level-card.border-gold {
    border-color: rgba(255, 207, 92, 0.4);
}

.level-card.border-cyan {
    border-color: rgba(92, 225, 230, 0.36);
}

.level-card.border-green {
    border-color: rgba(57, 169, 0, 0.3);
}

.level-card.border-muted {
    border-color: var(--line);
}

.toast-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    display: grid;
    gap: 0.75rem;
}

.toast {
    min-width: 280px;
    max-width: min(92vw, 420px);
    padding: 1rem;
    border-radius: 20px;
    background: rgba(7, 17, 31, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    color: #f4f7fb;
    line-height: 1.5;
}

.toast-message {
    font-size: 1rem;
}

.toast-field {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.toast-field label {
    font-size: 0.88rem;
    color: rgba(232, 240, 252, 0.84);
}

.toast-field input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f7fb;
    padding: 0.8rem 0.95rem;
    font: inherit;
}

.toast-field input::placeholder {
    color: rgba(232, 240, 252, 0.5);
}

.toast-field input:focus {
    outline: 2px solid rgba(92, 225, 230, 0.34);
    outline-offset: 1px;
}

.toast-error {
    margin: 0;
    font-size: 0.88rem;
    color: #ffb3b0;
}

.toast-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.toast-actions button {
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    font: inherit;
    cursor: pointer;
}

.toast-actions .confirm {
    color: #ffffff;
    background: var(--danger);
}

.toast-actions .cancel {
    color: var(--text);
    background: rgba(255, 255, 255, 0.12);
}

.empty-copy {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
}

body.page-light .empty-copy {
    color: #5a6a85;
    background: rgba(16, 32, 58, 0.04);
}

@media (max-width: 1100px) {
    .hero-grid,
    .split-grid,
    .profile-grid,
    .dashboard-grid,
    .session-grid,
    .resource-grid,
    .stats-grid,
    .footer-grid,
    .level-grid,
    .summary-bar,
    .dashboard-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 840px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: inline-grid;
        place-items: center;
    }

    .hero,
    .section-block {
        padding-top: 4.2rem;
    }

    .hero-grid,
    .split-grid,
    .profile-grid,
    .dashboard-grid,
    .session-grid,
    .resource-grid,
    .stats-grid,
    .footer-grid,
    .level-grid,
    .summary-bar,
    .dashboard-top {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

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

@media (max-width: 560px) {
    .site-shell {
        width: min(var(--max-width), calc(100% - 1rem));
    }

    .header-inner {
        gap: 0.75rem;
    }

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

    .button-primary,
    .button-secondary,
    .nav-cta {
        width: 100%;
    }

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

    .floating-panel,
    .portrait-badge {
        position: static;
        margin-top: 1rem;
    }

    .points-adjuster-controls {
        grid-template-columns: 1fr;
    }
}
