:root {
 --bg: #0a0b0f;
 --bg-elevated: #12141c;
 --bg-card: #161822;
 --border: #2a2d3a;
 --border-glow: #3d4460;
 --text: #e8eaf0;
 --text-muted: #9aa0b4;
 --accent: #7c6cff;
 --accent-2: #00d4aa;
 --accent-hot: #ff6b9d;
 --warning: #f5a623;
 --danger: #ff5c7a;
 --xp: #5eead4;
 --level: #a78bfa;
 --radius: 14px;
 --font: "Segoe UI", system-ui, -apple-system, sans-serif;
 --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
 --nav-break: 900px;
 --tap: 44px;
}

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

html { scroll-behavior: smooth; }

body {
 font-family: var(--font);
 background: var(--bg);
 color: var(--text);
 line-height: 1.6;
 min-height: 100vh;
 overflow-x: hidden;
 padding-left: env(safe-area-inset-left);
 padding-right: env(safe-area-inset-right);
 padding-bottom: env(safe-area-inset-bottom);
 background-image:
 radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 108, 255, 0.18), transparent),
 radial-gradient(ellipse 40% 30% at 90% 10%, rgba(0, 212, 170, 0.08), transparent);
}

body.nav-open { overflow: hidden; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
 width: min(1100px, 92vw);
 margin: 0 auto;
}

/* Persistent not-advice strip — every page (ack-hideable via disclaimer.js) */
.disclaimer-bar {
 position: sticky;
 top: 0;
 z-index: 100;
 background: rgba(245, 166, 35, 0.1);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border-bottom: 1px solid rgba(245, 166, 35, 0.35);
 color: var(--warning);
 font-size: 0.8rem;
 font-weight: 600;
 text-align: center;
 padding: 0.4rem 0.85rem;
 letter-spacing: 0.01em;
 transition: opacity 0.15s ease;
}

.disclaimer-bar[hidden],
.disclaimer-bar.is-dismissed {
 display: none !important;
}

.disclaimer-bar a,
.disclaimer-bar-link {
 color: var(--warning);
 text-decoration: underline;
 text-underline-offset: 2px;
}

.disclaimer-bar-inner {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0.65rem 1rem;
 flex-wrap: wrap;
 max-width: min(1100px, 96vw);
 margin: 0 auto;
}

.disclaimer-bar-text {
 margin: 0;
 font-weight: 600;
 line-height: 1.35;
 text-align: left;
 flex: 1 1 16rem;
 min-width: 0;
}

.disclaimer-bar-summary {
 color: var(--warning);
}

.disclaimer-ack-btn {
 flex: 0 0 auto;
 appearance: none;
 font-family: inherit;
 font-size: 0.75rem;
 font-weight: 700;
 letter-spacing: 0.02em;
 color: #0a0b0f;
 background: var(--warning);
 border: 1px solid rgba(245, 166, 35, 0.7);
 border-radius: 999px;
 padding: 0.35rem 0.85rem;
 min-height: 32px;
 cursor: pointer;
 transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
 white-space: nowrap;
}

.disclaimer-ack-btn:hover {
 background: #ffb84a;
 box-shadow: 0 2px 12px rgba(245, 166, 35, 0.35);
 transform: translateY(-1px);
}

.disclaimer-ack-btn:focus-visible {
 outline: 2px solid var(--accent-2);
 outline-offset: 2px;
}

/* Corner chip after acknowledge — restores full sticky bar */
.disclaimer-chip {
 position: fixed;
 z-index: 110;
 right: max(0.75rem, env(safe-area-inset-right));
 bottom: max(0.75rem, env(safe-area-inset-bottom));
 appearance: none;
 font-family: inherit;
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.02em;
 color: var(--warning);
 background: rgba(18, 20, 28, 0.88);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(245, 166, 35, 0.45);
 border-radius: 999px;
 padding: 0.4rem 0.75rem;
 min-height: 34px;
 cursor: pointer;
 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
 transition: border-color 0.15s ease, background 0.15s ease;
}

.disclaimer-chip:hover {
 border-color: rgba(245, 166, 35, 0.7);
 background: rgba(22, 24, 34, 0.95);
}

.disclaimer-chip:focus-visible {
 outline: 2px solid var(--accent-2);
 outline-offset: 2px;
}

.disclaimer-chip-action {
 color: var(--accent-2);
 text-decoration: underline;
 text-underline-offset: 2px;
}

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

@media (max-width: 700px) {
 .disclaimer-bar {
 padding: 0.35rem 0.65rem;
 font-size: 0.75rem;
 }
 .disclaimer-bar-inner {
 gap: 0.45rem 0.65rem;
 }
 .disclaimer-bar-text {
 flex-basis: 100%;
 text-align: center;
 }
 .disclaimer-ack-btn {
 width: 100%;
 max-width: 20rem;
 }
 .disclaimer-chip {
 right: max(0.5rem, env(safe-area-inset-right));
 bottom: max(0.5rem, env(safe-area-inset-bottom));
 }
}

/* ---------- Nav (desktop + hamburger ≤900px) ---------- */
.nav {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0.7rem 0;
 border-bottom: 1px solid var(--border);
 margin-bottom: 1.15rem;
 gap: 0.65rem;
 position: relative;
}

.logo {
 font-weight: 700;
 font-size: 1.15rem;
 letter-spacing: -0.02em;
 color: var(--text);
 text-decoration: none;
 flex-shrink: 0;
}

.logo span { color: var(--accent); }
.logo .lab { color: var(--accent-2); font-weight: 600; font-size: 0.8rem; margin-left: 0.3rem; }

.nav-end {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 margin-left: auto;
}

.nav-links {
 display: flex;
 gap: 0.85rem;
 align-items: center;
 list-style: none;
 flex-wrap: wrap;
}

.nav-links a {
 color: var(--text-muted);
 font-size: 0.9rem;
 text-decoration: none;
 min-height: var(--tap);
 display: inline-flex;
 align-items: center;
 padding: 0.25rem 0.15rem;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: center;
 gap: 5px;
 width: var(--tap);
 height: var(--tap);
 padding: 10px;
 border: 1px solid var(--border);
 border-radius: 10px;
 background: var(--bg-elevated);
 cursor: pointer;
}

.nav-toggle span {
 display: block;
 height: 2px;
 width: 100%;
 background: var(--text);
 border-radius: 2px;
 transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
 transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
 transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
 display: none;
}

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.45rem;
 padding: 0.65rem 1.35rem;
 min-height: var(--tap);
 border-radius: 999px;
 font-weight: 600;
 font-size: 0.95rem;
 border: none;
 cursor: pointer;
 transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
 text-decoration: none;
 font-family: inherit;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
 background: linear-gradient(135deg, var(--accent), #5a4fd4);
 color: #fff;
 box-shadow: 0 3px 18px rgba(124, 108, 255, 0.28);
}

.btn-primary:hover {
 box-shadow: 0 5px 24px rgba(124, 108, 255, 0.42);
 color: #fff;
}

.btn-ghost {
 background: transparent;
 color: var(--text);
 border: 1px solid var(--border);
}

.btn-ghost:hover {
 border-color: var(--border-glow);
 background: var(--bg-elevated);
 color: var(--text);
}

.btn-danger {
 background: rgba(255, 92, 122, 0.15);
 color: var(--danger);
 border: 1px solid rgba(255, 92, 122, 0.35);
}

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; min-height: 36px; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }

.hero {
 text-align: center;
 padding: 1.75rem 0 1.5rem;
}

.badge {
 display: inline-block;
 padding: 0.3rem 0.75rem;
 border-radius: 999px;
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 background: rgba(124, 108, 255, 0.15);
 color: var(--accent);
 border: 1px solid rgba(124, 108, 255, 0.35);
 margin-bottom: 0.95rem;
}

.badge.warn {
 background: rgba(245, 166, 35, 0.12);
 color: var(--warning);
 border-color: rgba(245, 166, 35, 0.35);
}

.badge.fake {
 background: rgba(255, 92, 122, 0.12);
 color: var(--danger);
 border-color: rgba(255, 92, 122, 0.4);
 text-transform: uppercase;
 letter-spacing: 0.06em;
}

.badge.game {
 background: rgba(94, 234, 212, 0.12);
 color: var(--xp);
 border-color: rgba(94, 234, 212, 0.35);
}

.hero h1 {
 font-size: clamp(1.85rem, 5vw, 3rem);
 line-height: 1.15;
 letter-spacing: -0.03em;
 max-width: 22ch;
 margin: 0 auto 1.1rem;
}

.hero h1 em {
 font-style: normal;
 background: linear-gradient(135deg, var(--accent-2), var(--accent));
 -webkit-background-clip: text;
 background-clip: text;
 color: transparent;
}

.tagline {
 font-size: 1.05rem;
 color: var(--text-muted);
 max-width: 38rem;
 margin: 0 auto 1.35rem;
 line-height: 1.55;
}

.hero-cta {
 display: flex;
 flex-wrap: wrap;
 gap: 0.85rem;
 justify-content: center;
 margin-bottom: 1.25rem;
}

section { padding: 1.5rem 0; }

.section-title {
 font-size: 1.45rem;
 letter-spacing: -0.02em;
 margin-bottom: 0.35rem;
 text-align: center;
}

.section-sub {
 text-align: center;
 color: var(--text-muted);
 margin-bottom: 1.25rem;
 max-width: 38rem;
 margin-left: auto;
 margin-right: auto;
 font-size: 0.95rem;
}

.grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: 0.85rem;
}

.card {
 background: var(--bg-card);
 border: 1px solid var(--border);
 border-radius: calc(var(--radius) - 2px);
 padding: 1.05rem 1.15rem;
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
 transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
 border-color: var(--border-glow);
 transform: translateY(-1px);
 box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.card h3 {
 font-size: 1.05rem;
 margin-bottom: 0.4rem;
 letter-spacing: -0.01em;
}

.card p {
 color: var(--text-muted);
 font-size: 0.92rem;
}

.card .meta {
 font-size: 0.8rem;
 color: var(--text-muted);
 margin-top: 0.65rem;
}

/* Game chrome: XP / level / quests (educational, not casino) */
.xp-bar-wrap {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 flex-wrap: wrap;
}

.level-badge {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
 padding: 0.35rem 0.7rem;
 border-radius: 999px;
 font-size: 0.8rem;
 font-weight: 700;
 background: rgba(167, 139, 250, 0.15);
 color: var(--level);
 border: 1px solid rgba(167, 139, 250, 0.4);
 white-space: nowrap;
}

.xp-track {
 flex: 1;
 min-width: 120px;
 height: 10px;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: 999px;
 overflow: hidden;
}

.xp-fill {
 height: 100%;
 width: 0%;
 background: linear-gradient(90deg, var(--accent-2), var(--accent));
 border-radius: 999px;
 transition: width 0.45s ease;
}

.xp-label {
 font-size: 0.75rem;
 color: var(--text-muted);
 font-family: var(--mono);
 white-space: nowrap;
}

.streak-chip {
 display: inline-flex;
 align-items: center;
 gap: 0.3rem;
 padding: 0.3rem 0.65rem;
 border-radius: 999px;
 font-size: 0.75rem;
 font-weight: 600;
 background: rgba(245, 166, 35, 0.12);
 color: var(--warning);
 border: 1px solid rgba(245, 166, 35, 0.35);
}

.quest-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 0.75rem;
}

.quest-card {
 display: flex;
 gap: 0.7rem;
 align-items: flex-start;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: 12px;
 padding: 0.8rem 0.95rem;
 transition: border-color 0.15s ease, background 0.15s ease;
}

.quest-card.done {
 border-color: rgba(0, 212, 170, 0.4);
 background: rgba(0, 212, 170, 0.06);
}

.quest-check {
 width: 1.5rem;
 height: 1.5rem;
 min-width: 1.5rem;
 border-radius: 999px;
 border: 2px solid var(--border-glow);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 0.75rem;
 color: transparent;
 margin-top: 0.1rem;
}

.quest-card.done .quest-check {
 background: var(--accent-2);
 border-color: var(--accent-2);
 color: #0a0b0f;
}

.quest-card h3 {
 font-size: 0.95rem;
 margin-bottom: 0.2rem;
}

.quest-card p {
 font-size: 0.8rem;
 color: var(--text-muted);
 margin: 0;
}

.quest-card .quest-xp {
 font-size: 0.7rem;
 color: var(--xp);
 font-weight: 600;
 margin-top: 0.35rem;
}

.player-card {
 background: linear-gradient(135deg, rgba(124, 108, 255, 0.12), rgba(0, 212, 170, 0.06));
 border: 1px solid var(--border-glow);
 border-radius: var(--radius);
 padding: 1.1rem 1.25rem;
 margin-bottom: 1.25rem;
}

.player-card-top {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 0.75rem;
 margin-bottom: 0.85rem;
}

.player-card h2 {
 font-size: 1.05rem;
 letter-spacing: -0.01em;
}

.player-stats {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
 gap: 0.65rem;
 margin-bottom: 0.85rem;
}

.celebrate-toast {
 position: fixed;
 bottom: calc(1.25rem + env(safe-area-inset-bottom));
 left: 50%;
 transform: translateX(-50%) translateY(120%);
 z-index: 180;
 background: var(--bg-card);
 border: 1px solid rgba(94, 234, 212, 0.45);
 color: var(--text);
 padding: 0.75rem 1.25rem;
 border-radius: 999px;
 font-weight: 600;
 font-size: 0.9rem;
 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
 transition: transform 0.35s ease;
 pointer-events: none;
 max-width: min(92vw, 360px);
 text-align: center;
}

.celebrate-toast.show {
 transform: translateX(-50%) translateY(0);
}

.callout {
 background: rgba(124, 108, 255, 0.08);
 border-left: 3px solid var(--accent);
 padding: 1rem 1.25rem;
 border-radius: 0 10px 10px 0;
 margin: 1.5rem 0;
}

.callout.warn {
 background: rgba(245, 166, 35, 0.08);
 border-left-color: var(--warning);
}

.callout.danger {
 background: rgba(255, 92, 122, 0.08);
 border-left-color: var(--danger);
}

.callout p { margin-bottom: 0; color: var(--text); }

/* Learn layout */
.learn-layout {
 display: grid;
 grid-template-columns: 220px 1fr;
 gap: 2rem;
 padding-bottom: 3rem;
}

.learn-sidebar {
 position: sticky;
 top: 3rem;
 align-self: start;
 background: var(--bg-card);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 padding: 1.25rem;
}

.learn-sidebar h2 {
 font-size: 0.75rem;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--text-muted);
 margin-bottom: 0.75rem;
}

.learn-sidebar nav { display: flex; flex-direction: column; gap: 0.25rem; }

.learn-sidebar a {
 color: var(--text-muted);
 padding: 0.5rem 0.75rem;
 border-radius: 8px;
 font-size: 0.9rem;
 text-decoration: none;
}

.learn-sidebar a:hover,
.learn-sidebar a.active {
 background: rgba(124, 108, 255, 0.12);
 color: var(--text);
 text-decoration: none;
}

.learn-content h1 {
 font-size: 1.85rem;
 letter-spacing: -0.02em;
 margin-bottom: 0.5rem;
}

.learn-content .lead {
 color: var(--text-muted);
 margin-bottom: 1.5rem;
 padding-bottom: 1rem;
 border-bottom: 1px solid var(--border);
}

.learn-content h2 {
 font-size: 1.2rem;
 margin: 1.75rem 0 0.6rem;
 color: var(--accent-2);
}

.learn-content ul, .learn-content ol {
 margin: 0.75rem 0 1.25rem 1.25rem;
 color: var(--text-muted);
}

.learn-content li { margin-bottom: 0.4rem; }
.learn-content p { color: var(--text-muted); margin-bottom: 0.85rem; }
.learn-content strong { color: var(--text); }

.path-list {
 list-style: none;
 margin-left: 0 !important;
}

.path-list li {
 padding: 0.85rem 1rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: 10px;
 margin-bottom: 0.6rem;
}

.path-list li strong {
 display: block;
 margin-bottom: 0.2rem;
}

/* Glossary */
.glossary-list dt {
 font-weight: 700;
 color: var(--accent-2);
 margin-top: 1.25rem;
 font-size: 1.05rem;
}

.glossary-list dd {
 color: var(--text-muted);
 margin-left: 0;
 padding-left: 0;
 margin-top: 0.25rem;
}

/* Mock trading UI (shared bits) */
.mock-banner {
 background: rgba(255, 92, 122, 0.12);
 border: 2px solid rgba(255, 92, 122, 0.45);
 border-radius: var(--radius);
 padding: 1rem 1.25rem;
 text-align: center;
 margin-bottom: 1.5rem;
}

.mock-banner strong {
 display: block;
 font-size: 1.15rem;
 color: var(--danger);
 letter-spacing: 0.04em;
 text-transform: uppercase;
}

.mock-banner p {
 color: var(--text-muted);
 font-size: 0.9rem;
 margin-top: 0.35rem;
}

.mock-panel {
 background: var(--bg-card);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 padding: 1.5rem;
 margin-bottom: 1.25rem;
}

.mock-stats {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
 gap: 1rem;
 margin-bottom: 1.5rem;
}

.stat {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: 10px;
 padding: 1rem;
}

.stat .label {
 font-size: 0.75rem;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--text-muted);
}

.stat .value {
 font-family: var(--mono);
 font-size: 1.35rem;
 font-weight: 700;
 margin-top: 0.25rem;
 color: var(--accent-2);
}

.stat .value.fake-tag::after {
 content: " FAKE";
 font-size: 0.65rem;
 color: var(--danger);
 vertical-align: super;
 letter-spacing: 0.04em;
}

.mock-form {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
 gap: 0.75rem;
 align-items: end;
 margin-bottom: 1rem;
}

.mock-form label {
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 font-size: 0.8rem;
 color: var(--text-muted);
 text-transform: uppercase;
 letter-spacing: 0.04em;
}

.mock-form select,
.mock-form input {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: 8px;
 color: var(--text);
 padding: 0.6rem 0.75rem;
 font-family: var(--mono);
 font-size: 0.95rem;
 min-height: 44px;
}

.mock-form .actions {
 display: flex;
 gap: 0.5rem;
 flex-wrap: wrap;
}

.positions-table {
 width: 100%;
 border-collapse: collapse;
 font-size: 0.9rem;
}

.positions-table th,
.positions-table td {
 text-align: left;
 padding: 0.65rem 0.5rem;
 border-bottom: 1px solid var(--border);
}

.positions-table th {
 color: var(--text-muted);
 font-size: 0.75rem;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 font-weight: 600;
}

.positions-table td { font-family: var(--mono); }
.positions-table .sym { color: var(--text); font-weight: 600; }

.empty-state {
 color: var(--text-muted);
 font-size: 0.95rem;
 padding: 1rem 0;
 text-align: center;
}

.news-empty {
 text-align: center;
 padding: 3rem 1.5rem;
 color: var(--text-muted);
}

.news-empty .note {
 font-size: 0.85rem;
 margin-top: 1rem;
 max-width: 28rem;
 margin-left: auto;
 margin-right: auto;
}

.footer {
 border-top: 1px solid var(--border);
 padding: 1.5rem 0;
 margin-top: 2.25rem;
 text-align: center;
 color: var(--text-muted);
 font-size: 0.82rem;
 line-height: 1.55;
}

.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent-2); }

.cross-link {
 margin-top: 1.5rem;
 padding: 1rem 1.15rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: calc(var(--radius) - 2px);
 text-align: center;
 font-size: 0.9rem;
 color: var(--text-muted);
}

.legal-wall h2 {
 font-size: 1.2rem;
 margin: 1.75rem 0 0.6rem;
 color: var(--accent-2);
}

.legal-wall p, .legal-wall li {
 color: var(--text-muted);
 margin-bottom: 0.75rem;
}

.legal-wall ul {
 margin: 0.5rem 0 1rem 1.25rem;
}

.auth-card label {
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 font-size: 0.85rem;
 color: var(--text-muted);
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: 8px;
 color: var(--text);
 padding: 0.65rem 0.75rem;
 font-size: 1rem;
 min-height: var(--tap);
 font-family: inherit;
}

@media (max-width: 900px) {
 .nav-links-desktop { display: none !important; }

 .nav-toggle { display: flex; }

 .nav-drawer {
 display: block;
 position: absolute;
 top: calc(100% + 0.35rem);
 left: 0;
 right: 0;
 z-index: 90;
 background: var(--bg-card);
 border: 1px solid var(--border-glow);
 border-radius: var(--radius);
 padding: 0.75rem;
 box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
 }

 .nav-drawer[hidden] { display: none !important; }

 .nav-drawer .nav-links {
 flex-direction: column;
 align-items: stretch;
 gap: 0.15rem;
 }

 .nav-drawer .nav-links a {
 padding: 0.75rem 0.85rem;
 border-radius: 8px;
 min-height: var(--tap);
 }

 .nav-drawer .nav-links a:hover,
 .nav-drawer .nav-links a.active {
 background: rgba(124, 108, 255, 0.12);
 }
}

@media (min-width: 901px) {
 .nav-toggle { display: none !important; }
 .nav-drawer { display: none !important; }
 .nav-end .nav-cta-secondary { display: none; }
}

@media (max-width: 800px) {
 .learn-layout { grid-template-columns: 1fr; }
 .learn-sidebar { position: static; }
}

@media (max-width: 700px) {
 .container {
 width: min(1100px, 100%);
 padding-left: max(1rem, env(safe-area-inset-left));
 padding-right: max(1rem, env(safe-area-inset-right));
 }

 .nav {
 padding: 0.75rem 0;
 margin-bottom: 1.1rem;
 }

 .hero { padding: 1.15rem 0 1rem; }
 .hero h1 { max-width: none; }
 .grid { grid-template-columns: 1fr; }
 section { padding: 1.15rem 0; }
 .card { padding: 0.95rem 1rem; }

 .mock-form { grid-template-columns: 1fr 1fr; }
 .positions-table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
 .hero-cta { flex-direction: column; align-items: stretch; }
 .hero-cta .btn { width: 100%; }
 .mock-form { grid-template-columns: 1fr; }
 .nav-end .nav-cta-secondary { display: none; }
}

.disclaimer-bar.secondary {
 position: static;
 background: rgba(124, 108, 255, 0.08);
 backdrop-filter: none;
 -webkit-backdrop-filter: none;
 border-bottom: 1px solid rgba(124, 108, 255, 0.25);
 color: var(--text-muted);
 font-weight: 500;
 font-size: 0.78rem;
 padding: 0.35rem 0.85rem;
}
.fake-banner {
 background: rgba(255, 92, 122, 0.12);
 border: 2px solid rgba(255, 92, 122, 0.45);
 border-radius: var(--radius);
 padding: 1rem 1.25rem;
 text-align: center;
 margin-bottom: 1.5rem;
 color: var(--text);
}
.fake-banner strong { color: var(--danger); letter-spacing: 0.04em; }
.site-footer {
 border-top: 1px solid var(--border);
 padding: 2rem 0;
 margin-top: 3rem;
 text-align: center;
 color: var(--text-muted);
 font-size: 0.85rem;
}
