:root {
  --ink: #07121d;
  --ink-soft: #102130;
  --panel: #132939;
  --line: #284456;
  --paper: #f4f1e9;
  --paper-soft: #deddd5;
  --muted: #9bb0bd;
  --mint: #76efba;
  --lime: #c9ff62;
  --blue: #7cbcff;
  --max: 1180px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); }
a { color: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-150%); background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgb(255 255 255 / 8%); background: rgb(7 18 29 / 90%); backdrop-filter: blur(16px); }
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; }
.brand { display: inline-flex; gap: 11px; align-items: center; width: fit-content; text-decoration: none; font-size: 19px; font-weight: 850; letter-spacing: -.03em; }
.brand-accent { color: var(--mint); }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--mint); border-radius: 8px; transform: rotate(12deg); }
.brand-mark span { width: 10px; height: 10px; border-radius: 2px; background: var(--mint); }
.nav-wrap nav { display: flex; gap: 31px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-wrap nav a { position: relative; padding: 28px 0; text-decoration: none; }
.nav-wrap nav a:hover, .nav-wrap nav a[aria-current="page"] { color: var(--paper); }
.nav-wrap nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--mint); content: ""; }
.nav-wrap > .button { justify-self: end; }

.button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 800; }
.button-small { min-height: 42px; padding-inline: 17px; }
.button-primary { background: var(--lime); color: var(--ink); box-shadow: 0 12px 35px rgb(201 255 98 / 15%); }
.button-primary:hover { background: #dcff98; transform: translateY(-1px); }
.button-secondary { border-color: var(--line); background: var(--ink-soft); }
.button-secondary:hover { border-color: var(--mint); }
.button-danger { border-color: rgb(255 125 125 / 45%); background: rgb(255 125 125 / 8%); color: #ffb2b2; cursor: pointer; }
.button-danger:hover { border-color: #ff9b9b; background: rgb(255 125 125 / 14%); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.text-link { color: var(--paper); font-weight: 750; text-underline-offset: 5px; }
.flash { margin-top: 24px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.flash-success { border-color: rgb(118 239 186 / 50%); background: rgb(118 239 186 / 9%); color: var(--mint); }
.flash-error { border-color: rgb(255 125 125 / 50%); background: rgb(255 125 125 / 9%); color: #ffb2b2; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .75fr); gap: clamp(45px, 8vw, 100px); align-items: center; min-height: 720px; padding-block: 90px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 19px; color: var(--mint); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px currentColor; }
.hero h1, .inner-hero h1, .login-copy h1 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 6.5vw, 6.3rem); line-height: .94; letter-spacing: -.067em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: #b8c8d1; font-size: clamp(1.05rem, 1.8vw, 1.32rem); line-height: 1.65; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 35px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 38px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; font-weight: 650; }
.trust-list li::before { margin-right: 8px; color: var(--mint); content: "✓"; }

.course-preview { position: relative; overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #102535, #0b1b29); box-shadow: 0 35px 90px rgb(0 0 0 / 28%); }
.course-preview::after { position: absolute; right: -90px; bottom: -120px; width: 240px; height: 240px; border: 1px solid rgb(118 239 186 / 26%); border-radius: 50%; content: ""; box-shadow: 0 0 80px rgb(118 239 186 / 8%); }
.course-preview-top, .course-meta { display: flex; align-items: center; justify-content: space-between; }
.course-number { color: #496777; font-family: ui-monospace, monospace; font-size: 13px; }
.status-pill { display: inline-flex; width: fit-content; padding: 7px 10px; border: 1px solid rgb(118 239 186 / 35%); border-radius: 999px; background: rgb(118 239 186 / 8%); color: var(--mint); font-size: 11px; font-weight: 800; }
.signal { display: flex; gap: 6px; align-items: end; height: 110px; margin: 30px 0 22px; }
.signal span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgb(118 239 186 / 8%), var(--mint)); }
.signal span:nth-child(1) { height: 25%; }.signal span:nth-child(2) { height: 46%; }.signal span:nth-child(3) { height: 35%; }.signal span:nth-child(4) { height: 72%; }.signal span:nth-child(5) { height: 100%; }
.course-kicker { margin: 0 0 8px; color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.course-preview h2 { max-width: 360px; margin: 0; font-size: clamp(2rem, 3.3vw, 3.05rem); line-height: 1; letter-spacing: -.055em; }
.course-preview > p:not(.course-kicker) { position: relative; z-index: 1; color: var(--muted); line-height: 1.6; }
.course-meta { position: relative; z-index: 1; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: #b6c7cf; font-size: 12px; font-weight: 700; }
.course-preview-link { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 16px 17px; border-radius: 7px; background: var(--lime); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 850; }

.principles-section { padding: 100px 0; background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 40px; align-items: start; }
.section-heading .eyebrow { color: #39755d; }
.section-heading h2, .path-section h2 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -.06em; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 75px; border: 1px solid #ccd0c9; background: #ccd0c9; }
.principles-grid article { min-height: 285px; padding: 32px; background: var(--paper); }
.principle-index { color: #658070; font-family: ui-monospace, monospace; font-size: 12px; }
.principles-grid h3 { margin: 70px 0 12px; font-size: 1.45rem; letter-spacing: -.035em; }
.principles-grid p { margin: 0; color: #566066; line-height: 1.65; }

.path-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 110px; }
.path-section > div > p:not(.eyebrow) { max-width: 570px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.path-list { border-top: 1px solid var(--line); }
.path-list div { display: grid; grid-template-columns: 40px 1fr auto; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.path-list span { color: #4f6b7a; font-family: ui-monospace, monospace; font-size: 12px; }
.path-list strong { font-size: 1.2rem; }
.path-list small { color: var(--muted); }

.curriculum-section { padding-block: 105px; background: #0b1925; border-block: 1px solid var(--line); }
.curriculum-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.curriculum-intro { position: sticky; top: 125px; }
.curriculum-intro h2, .plans-section h2, .final-cta h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -.06em; }
.curriculum-intro > p:not(.eyebrow) { margin: 25px 0 30px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.curriculum-intro > small { display: block; margin-top: 13px; color: var(--muted); }
.module-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.module-list li { display: grid; grid-template-columns: 42px 1fr; gap: 8px 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.module-list span { grid-row: span 2; color: var(--mint); font-family: ui-monospace, monospace; font-size: 12px; }
.module-list strong { font-size: 1.12rem; letter-spacing: -.02em; }
.module-list small { color: var(--muted); line-height: 1.5; }

.plans-section { padding-block: 110px; }
.section-heading-dark { margin-bottom: 65px; }
.section-heading-dark h2 { color: var(--paper); }
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan-card { display: flex; min-height: 570px; padding: 34px; border: 1px solid var(--line); border-radius: 16px; flex-direction: column; background: var(--ink-soft); }
.plan-free { border-color: rgb(201 255 98 / 55%); background: linear-gradient(145deg, #1a302f, var(--ink-soft)); }
.plan-heading { display: flex; align-items: start; justify-content: space-between; }
.plan-heading p { margin: 0 0 7px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.plan-heading h3 { margin: 0; font-size: 2rem; letter-spacing: -.05em; }
.plan-heading > strong { color: var(--lime); font-size: 1.25rem; }
.plan-member .plan-heading > strong { color: var(--blue); }
.plan-summary { min-height: 62px; margin: 30px 0 20px; color: var(--muted); line-height: 1.6; }
.plan-card ul { display: grid; gap: 15px; margin: 10px 0 35px; padding: 25px 0; border-block: 1px solid var(--line); list-style: none; }
.plan-card li { color: #d4dfe3; font-size: 14px; }
.plan-card li::before { margin-right: 10px; color: var(--mint); content: "✓"; }
.button-wide { width: 100%; margin-top: auto; }
.plan-card > small { margin-top: 12px; color: var(--muted); text-align: center; }

.final-cta { overflow: hidden; margin-bottom: 110px; padding: clamp(38px, 7vw, 80px); border: 1px solid rgb(118 239 186 / 40%); border-radius: 20px; background: radial-gradient(circle at 90% 10%, rgb(118 239 186 / 16%), transparent 34%), var(--ink-soft); text-align: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { max-width: 900px; margin-inline: auto; }
.final-cta > p:not(.eyebrow) { max-width: 680px; margin: 25px auto 30px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.inner-hero { padding-block: 100px 70px; }
.inner-hero h1, .login-copy h1 { max-width: 930px; font-size: clamp(3rem, 7vw, 6rem); }
.inner-hero > p:not(.eyebrow), .login-copy > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.course-grid, .security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 100px; }
.course-card, .security-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-soft); }
.course-card-featured { border-color: rgb(118 239 186 / 55%); background: linear-gradient(145deg, #102c32, var(--ink-soft)); }
.course-card > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.course-card-labels { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.course-state-pill { display: inline-flex; width: fit-content; padding: 7px 10px; border: 1px solid rgb(124 188 255 / 45%); border-radius: 999px; background: rgb(124 188 255 / 9%); color: var(--blue); font-size: 11px; font-weight: 850; }
.course-state-completed { border-color: rgb(201 255 98 / 45%); background: rgb(201 255 98 / 9%); color: var(--lime); }
.course-card h2, .security-grid h2 { margin: 50px 0 10px; font-size: 2rem; letter-spacing: -.045em; }
.course-card p, .security-grid p { color: var(--muted); line-height: 1.65; }
.course-card ul { display: flex; gap: 25px; padding: 18px 0 0; border-top: 1px solid var(--line); color: #c9d6db; list-style: none; font-size: 12px; font-weight: 700; }
.course-card > .course-card-progress { display: grid; grid-template-columns: 1fr auto; gap: 0 18px; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.course-card-progress strong { color: var(--paper); font-size: 13px; }
.course-card-progress .course-progress { grid-column: 1 / -1; height: 6px; margin: 10px 0 0; }
.course-card-action { margin-top: 28px; }
.course-card-action form, form.course-card-action { margin-bottom: 0; }
.empty-state { margin-bottom: 100px; padding: clamp(35px, 7vw, 70px); border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 90% 10%, rgb(118 239 186 / 10%), transparent 36%), var(--ink-soft); }
.empty-state h2 { max-width: 760px; margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.empty-state > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 28px; color: var(--muted); line-height: 1.7; }
.transcript-hero { border-bottom: 1px solid var(--line); }
.transcript-grid { display: grid; gap: 18px; padding-block: 50px 110px; }
.transcript-card { padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, #102535, var(--ink-soft)); }
.transcript-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.transcript-card-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 35px; align-items: end; margin-top: 38px; }
.transcript-card-main .eyebrow { margin-bottom: 10px; font-size: 10px; }
.transcript-card h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.055em; }
.transcript-card-main p:not(.eyebrow) { max-width: 720px; margin: 13px 0 0; color: var(--muted); line-height: 1.6; }
.transcript-percentage { color: var(--lime); font-size: clamp(2.4rem, 7vw, 5rem); line-height: .8; letter-spacing: -.07em; }
.transcript-progress { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.transcript-progress > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 750; }
.transcript-progress > div strong { color: var(--paper); }
.transcript-progress .course-progress { height: 8px; margin: 13px 0 0; }
.transcript-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; }
.course-detail-hero { padding-block: 80px 55px; }
.back-link { color: var(--muted); font-size: 13px; text-underline-offset: 4px; }
.course-detail-meta { display: flex; gap: 14px; align-items: center; margin-top: 55px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.course-detail-hero h1 { max-width: 1050px; margin: 25px 0 20px; font-size: clamp(3.3rem, 8vw, 7rem); line-height: .92; letter-spacing: -.065em; }
.course-detail-hero > p { max-width: 790px; color: var(--muted); font-size: 1.18rem; line-height: 1.7; }
.access-notice { display: flex; gap: 20px 35px; align-items: center; justify-content: space-between; margin-top: 40px; padding: 25px; border: 1px solid rgb(118 239 186 / 38%); border-radius: 12px; background: rgb(118 239 186 / 7%); }
.access-notice strong { font-size: 1.15rem; }
.access-notice p { max-width: 560px; margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.access-notice-plus { border-color: rgb(124 188 255 / 38%); background: rgb(124 188 255 / 7%); }
.course-outline { padding-bottom: 110px; }
.module-card { display: grid; grid-template-columns: 75px 1fr; gap: 25px; padding: 35px 0; border-top: 1px solid var(--line); }
.module-number { color: var(--mint); font-family: ui-monospace, monospace; font-size: 12px; }
.module-content h2 { margin: 0 0 10px; font-size: clamp(1.65rem, 4vw, 2.5rem); letter-spacing: -.045em; }
.module-content > p { max-width: 720px; color: var(--muted); line-height: 1.65; }
.lesson-list { display: grid; gap: 8px; margin: 25px 0 0; padding: 0; list-style: none; }
.lesson-list a, .lesson-list li > div { display: flex; gap: 25px; align-items: center; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: #091825; color: var(--paper); text-decoration: none; }
.lesson-list a:hover { border-color: rgb(118 239 186 / 48%); }
.lesson-list a > span:last-child, .lesson-list li > div > span:last-child { flex: 0 0 auto; color: var(--mint); font-size: 12px; font-weight: 800; }
.lesson-list li > div > span:last-child { color: var(--muted); }
.lesson-list small { display: block; max-width: 680px; margin-top: 6px; color: var(--muted); font-weight: 400; line-height: 1.45; }
.module-soon { margin-top: 22px; font-size: 13px; }
.assessment-card { margin-top: 25px; padding: 28px; border: 1px solid rgb(201 255 98 / 40%); border-radius: 12px; background: linear-gradient(145deg, rgb(201 255 98 / 8%), #091825); }
.assessment-card > div { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 800; }
.assessment-card h3 { margin: 35px 0 10px; font-size: 1.65rem; letter-spacing: -.04em; }
.assessment-card p { max-width: 700px; color: var(--muted); line-height: 1.6; }
.assessment-card ul { display: flex; gap: 25px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); color: #d4dfe3; list-style: none; font-size: 13px; }
.assessment-card li::before { margin-right: 8px; color: var(--lime); content: "✓"; }
.assessment-card button:disabled { cursor: not-allowed; opacity: .58; }
.lesson-locked { min-height: 660px; padding-block: 110px; }
.lesson-locked h1 { max-width: 900px; margin: 20px 0; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .94; letter-spacing: -.06em; }
.lesson-locked > p:not(.eyebrow) { max-width: 690px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.lesson-layout { max-width: 920px; padding-block: 75px 120px; }
.lesson-header { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.lesson-header .eyebrow { margin-top: 65px; }
.lesson-header h1 { margin: 20px 0 25px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .95; letter-spacing: -.06em; }
.lesson-meta { display: flex; gap: 22px; color: var(--muted); font-size: 12px; font-weight: 750; }
.lesson-body { padding-block: 45px; }
.lesson-body p { margin: 0 0 25px; color: #d9e3e7; font-size: 1.12rem; line-height: 1.85; }
.lesson-body p:first-child { color: var(--paper); font-size: 1.3rem; }
.slide-deck { scroll-margin-top: 115px; padding-block: 42px; }
.slide-deck-status { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 16px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px; }
.slide-deck-status progress { overflow: hidden; width: 100%; height: 5px; border: 0; border-radius: 99px; background: #07121d; color: var(--mint); }
.slide-deck-status progress::-webkit-progress-bar { background: #07121d; }
.slide-deck-status progress::-webkit-progress-value { background: var(--mint); }
.slide-deck-status progress::-moz-progress-bar { background: var(--mint); }
.slide-stage { min-height: 530px; }
.lesson-slide { display: grid; min-height: 620px; padding: clamp(32px, 5.5vw, 65px); border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(circle at 90% 10%, rgb(118 239 186 / 11%), transparent 32%), var(--ink-soft); align-content: start; }
.lesson-slide[hidden] { display: none; }
.lesson-slide > * { min-width: 0; }
.lesson-slide .eyebrow { margin: 0; }
.lesson-slide h2 { max-width: 900px; margin: 42px 0 24px; font-size: clamp(2.35rem, 5.4vw, 4.45rem); line-height: .98; letter-spacing: -.055em; }
.slide-copy { max-width: 880px; }
.slide-copy p { margin: 0 0 17px; color: #d9e3e7; font-size: 1.08rem; line-height: 1.7; }
.lesson-slide aside { align-self: end; max-width: 760px; margin-top: 34px; padding: 20px 22px; border-left: 3px solid var(--mint); background: rgb(118 239 186 / 7%); color: var(--paper); font-weight: 720; line-height: 1.55; }
.lesson-slide-concepts { background: radial-gradient(circle at 90% 10%, rgb(124 188 255 / 15%), transparent 34%), var(--ink-soft); }
.lesson-slide-concepts aside { border-left-color: var(--blue); }
.lesson-slide-example { background: radial-gradient(circle at 10% 90%, rgb(201 255 98 / 12%), transparent 35%), var(--ink-soft); }
.lesson-slide-summary { border-color: rgb(201 255 98 / 45%); }
.lesson-slide-diagram { background: radial-gradient(circle at 12% 15%, rgb(124 188 255 / 13%), transparent 34%), var(--ink-soft); }
.lesson-slide-decision { background: radial-gradient(circle at 90% 82%, rgb(255 204 112 / 11%), transparent 35%), var(--ink-soft); }
.lesson-slide-practice { border-color: rgb(124 188 255 / 42%); background: radial-gradient(circle at 85% 15%, rgb(124 188 255 / 14%), transparent 32%), var(--ink-soft); }
.slide-visual { display: grid; gap: 12px; width: 100%; max-width: 980px; margin-top: 24px; }
.slide-visual-cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.slide-visual-item { position: relative; min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 11px; background: rgb(7 18 29 / 48%); }
.slide-visual-item h3 { margin: 7px 0 8px; color: var(--paper); font-size: 1.02rem; line-height: 1.25; }
.slide-visual-item p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.52; }
.visual-label { display: block; color: var(--mint); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.visual-value { display: block; margin-bottom: 7px; color: var(--lime); font-size: clamp(1.75rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.055em; }
.visual-index { display: grid; width: 34px; height: 34px; margin-bottom: 12px; place-items: center; border: 1px solid rgb(118 239 186 / 38%); border-radius: 50%; color: var(--mint); font-family: ui-monospace, monospace; font-size: .72rem; }
.slide-visual-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.slide-visual-flow { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.slide-visual-flow .slide-visual-item:not(:last-child)::after { position: absolute; z-index: 1; top: 31px; right: -18px; color: var(--mint); content: "→"; font-weight: 900; }
.slide-visual-metrics { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.slide-visual-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; padding: 0; list-style: none; }
.slide-visual-checklist li { display: grid; grid-template-columns: 25px 1fr; gap: 10px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 9px; background: rgb(7 18 29 / 38%); color: #d9e3e7; line-height: 1.45; }
.slide-visual-checklist li span { color: var(--mint); font-weight: 900; }
.slide-visual-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-column { padding: 22px; border: 1px solid var(--line); border-radius: 11px; background: rgb(7 18 29 / 42%); }
.compare-column-right { border-color: rgb(118 239 186 / 34%); }
.compare-column h3 { margin: 0 0 15px; color: var(--blue); font-size: 1.05rem; }
.compare-column-right h3 { color: var(--mint); }
.compare-column ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: #d9e3e7; line-height: 1.48; }
.lesson-sources { display: grid; grid-template-columns: minmax(230px, .7fr) 1.3fr; gap: clamp(30px, 7vw, 90px); margin: 40px 0 55px; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: rgb(16 33 48 / 55%); }
.lesson-sources h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.lesson-sources ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lesson-sources li { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.lesson-sources li:last-child { padding-bottom: 0; border: 0; }
.lesson-sources li span { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.lesson-sources li a { color: var(--paper); font-size: .92rem; font-weight: 720; line-height: 1.4; text-underline-offset: 4px; }
.slide-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 18px; }
.slide-forward-action { display: flex; min-width: max-content; justify-content: flex-end; }
.slide-forward-action form { margin: 0; }
.slide-dots { display: flex; gap: 8px; justify-content: center; }
.slide-dot { width: 8px; height: 8px; border-radius: 50%; background: #355064; }
.slide-dot.is-visited { background: #537a78; }
.slide-dot.is-current { background: var(--mint); box-shadow: 0 0 0 4px rgb(118 239 186 / 10%); }
.slide-controls button[hidden], [data-slide-completion][hidden] { display: none; }
.lesson-actions { display: grid; gap: 30px; padding-top: 35px; border-top: 1px solid var(--line); }
.completion-badge { display: inline-flex; width: fit-content; padding: 10px 14px; border: 1px solid rgb(118 239 186 / 42%); border-radius: 999px; color: var(--mint); font-size: 13px; font-weight: 800; }
.lesson-navigation { display: flex; gap: 25px; justify-content: space-between; }
.lesson-navigation a { color: var(--mint); font-size: 13px; font-weight: 750; text-underline-offset: 4px; }
.quiz-shell { max-width: 980px; padding-block: 80px 120px; }
.quiz-header { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.quiz-header .eyebrow { margin-top: 60px; }
.quiz-header h1 { margin: 20px 0; font-size: clamp(3rem, 7vw, 6rem); line-height: .94; letter-spacing: -.06em; }
.quiz-header > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.quiz-rules { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.quiz-rules span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 800; }
.quiz-result { display: flex; align-items: center; justify-content: space-between; margin-top: 35px; padding: 22px; border: 1px solid var(--line); border-radius: 11px; }
.quiz-result-passed { border-color: rgb(118 239 186 / 42%); background: rgb(118 239 186 / 7%); }
.quiz-result-retry { border-color: rgb(255 178 178 / 35%); background: rgb(255 178 178 / 6%); }
.quiz-result span { color: var(--muted); font-size: 13px; }
.quiz-finished { padding-block: 45px; }
.quiz-finished p { color: var(--muted); }
.certificate-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz-form { display: grid; gap: 18px; padding-top: 40px; }
.quiz-question { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-soft); }
.quiz-question legend { display: flex; gap: 17px; width: 100%; padding: 0 0 20px; color: var(--paper); font-size: 1.12rem; font-weight: 780; line-height: 1.45; }
.quiz-question legend span { color: var(--mint); font-family: ui-monospace, monospace; font-size: 12px; }
.quiz-options { display: grid; gap: 9px; }
.quiz-options label { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #091825; cursor: pointer; }
.quiz-options label:has(input:checked) { border-color: rgb(118 239 186 / 55%); background: rgb(118 239 186 / 7%); }
.quiz-options input { flex: 0 0 auto; accent-color: var(--mint); }
.quiz-options span { color: #d9e3e7; line-height: 1.45; }
.certificate-verify-shell { min-height: 760px; padding-block: 90px 120px; }
.certificate-verify-shell > header h1 { margin: 20px 0; font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: .93; letter-spacing: -.065em; }
.certificate-verify-shell > header > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.certificate-verify-form { max-width: 760px; margin-top: 45px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-soft); }
.certificate-verify-form label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.certificate-verify-form > div { display: flex; gap: 10px; }
.certificate-verify-form input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #091825; color: var(--paper); font: inherit; text-transform: uppercase; }
.certificate-verify-form input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgb(118 239 186 / 10%); }
.certificate-verification-result { display: grid; grid-template-columns: auto 1fr auto; gap: 25px; align-items: center; margin-top: 25px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-soft); }
.certificate-valid { border-color: rgb(118 239 186 / 42%); background: linear-gradient(145deg, rgb(118 239 186 / 8%), var(--ink-soft)); }
.certificate-invalid { grid-template-columns: auto 1fr; border-color: rgb(255 178 178 / 35%); }
.verification-icon { display: grid; width: 54px; height: 54px; border: 1px solid currentColor; border-radius: 50%; color: var(--mint); font-size: 1.6rem; font-weight: 900; place-items: center; }
.certificate-invalid .verification-icon { color: #ffb2b2; }
.certificate-verification-result h2 { margin: 7px 0; font-size: 2rem; letter-spacing: -.045em; }
.certificate-verification-result p:not(.eyebrow) { margin: 0; color: var(--muted); }
.certificate-verification-result dl { display: flex; gap: 28px; margin: 0; }
.certificate-verification-result dl div { min-width: 90px; }
.certificate-verification-result dt { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.certificate-verification-result dd { margin: 0; font-size: 13px; font-weight: 750; }
.steps { padding-bottom: 110px; }
.steps article { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 36px 0; border-top: 1px solid var(--line); }
.steps article > span { color: var(--mint); font-family: ui-monospace, monospace; }
.steps h2 { margin: 0 0 8px; font-size: 2rem; }
.steps p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.7; }
.security-grid article { min-height: 230px; }
.security-grid h2 { margin-top: 40px; }

.login-shell { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; padding-block: 80px; }
.login-copy { max-width: 940px; }
.auth-stack { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 18px; align-items: start; }
.login-card { padding: 35px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-soft); }
.login-card h2 { margin: 24px 0 8px; font-size: 2rem; letter-spacing: -.04em; }
.login-card > p { color: var(--muted); line-height: 1.6; }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 7px; color: #d9e3e7; font-size: 13px; font-weight: 750; }
.auth-form input:not([type="hidden"]):not([type="checkbox"]), .auth-form select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #091825; color: var(--paper); font: inherit; }
.auth-form input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgb(118 239 186 / 10%); }
.auth-form label small { color: var(--muted); font-weight: 500; line-height: 1.45; }
.auth-form .check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.check-label input { margin-top: 3px; accent-color: var(--mint); }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.auth-form-compact h2 { margin-top: 0; }
.auth-help-link { width: fit-content; color: var(--mint); font-size: 13px; font-weight: 750; text-underline-offset: 4px; }
.account-flow-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .65fr); gap: clamp(35px, 7vw, 100px); align-items: center; min-height: 760px; padding-block: 75px 110px; }
.account-flow-copy h1 { max-width: 760px; margin: 18px 0 25px; font-size: clamp(3.5rem, 8vw, 7rem); line-height: .91; letter-spacing: -.068em; }
.account-flow-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.account-flow-card { width: 100%; }
.account-flow-card h2 { overflow-wrap: anywhere; }
.account-flow-invalid { display: grid; gap: 15px; }
.account-flow-invalid h2 { margin: 6px 0 0; }
.account-flow-invalid p { margin: 0 0 15px; color: var(--muted); line-height: 1.65; }
.flow-icon { display: grid; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; color: var(--mint); font-weight: 900; place-items: center; }

.dashboard-hero { display: flex; align-items: end; justify-content: space-between; padding-block: 80px 55px; border-bottom: 1px solid var(--line); }
.dashboard-hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.dashboard-hero > div > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.dashboard-actions { display: flex; gap: 10px; align-items: center; }
.dashboard-actions form { margin: 0; }
.dashboard-account { padding-block: 50px 80px; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; padding-block: 50px 110px; }
.learning-column { display: grid; gap: 20px; align-content: start; }
.account-alert { display: flex; gap: 25px; align-items: center; justify-content: space-between; margin-top: 30px; padding: 24px; border: 1px solid rgb(201 255 98 / 45%); border-radius: 12px; background: rgb(201 255 98 / 7%); }
.account-alert > div { display: flex; gap: 18px; align-items: center; }
.account-alert h2 { margin: 3px 0 5px; font-size: 1.45rem; letter-spacing: -.035em; }
.account-alert p:not(.eyebrow) { max-width: 690px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-alert .flow-icon { flex: 0 0 auto; color: var(--lime); }
.learning-card, .account-card { padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-soft); }
.learning-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.learning-card .course-kicker { margin-top: 45px; }
.learning-card h2 { max-width: 650px; margin: 0; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.learning-card > p:not(.course-kicker) { color: var(--muted); line-height: 1.65; }
.progress-track { overflow: hidden; height: 7px; margin: 30px 0; border-radius: 99px; background: #07121d; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--mint); }
.course-progress { overflow: hidden; width: 100%; height: 7px; margin: 30px 0; border: 0; border-radius: 99px; background: #07121d; color: var(--mint); }
.course-progress::-webkit-progress-bar { background: #07121d; }
.course-progress::-webkit-progress-value { background: var(--mint); }
.course-progress::-moz-progress-bar { background: var(--mint); }
.learning-card button:disabled { cursor: not-allowed; opacity: .55; }
.account-card dl { margin: 50px 0 0; }
.account-card dl div { padding: 17px 0; border-top: 1px solid var(--line); }
.account-card dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.account-card dd { overflow-wrap: anywhere; margin: 0; }
.account-card-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 38px; }
.account-card-wide > .eyebrow, .account-card-wide > dl, .account-card-wide > .promo-redeem { grid-column: 1 / -1; }
.account-card-wide > dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 28px 0 8px; }
.account-card-wide > dl div { min-width: 0; }
.account-card-wide > .promo-redeem { grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr) auto; gap: 18px; align-items: end; }
.account-card-wide > .promo-redeem .button { width: auto; white-space: nowrap; }
.inline-state { display: inline-flex; margin-left: 7px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.inline-state-ok { border-color: rgb(118 239 186 / 42%); color: var(--mint); }
.inline-state-warn { border-color: rgb(201 255 98 / 42%); color: var(--lime); }
.account-security-actions { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.account-security-actions h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.account-security-actions p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.billing-actions { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.billing-actions h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.billing-actions p, .billing-actions > small { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.promo-redeem { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.promo-redeem-intro h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.promo-redeem-intro p { margin: 8px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dashboard-routes { padding-bottom: 110px; }
.dashboard-certificates { padding-bottom: 80px; }
.certificate-list { display: grid; gap: 12px; }
.certificate-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 25px; border: 1px solid rgb(118 239 186 / 35%); border-radius: 12px; background: linear-gradient(145deg, rgb(118 239 186 / 7%), var(--ink-soft)); }
.certificate-mini-mark { display: grid; width: 50px; height: 50px; border: 1px solid var(--mint); border-radius: 10px; transform: rotate(-7deg); place-items: center; }
.certificate-mini-mark span { width: 13px; height: 13px; border-radius: 3px; background: var(--mint); }
.certificate-list article > div:nth-child(2) > span { color: var(--mint); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.certificate-list h3 { margin: 7px 0; font-size: 1.5rem; letter-spacing: -.04em; }
.certificate-list p { margin: 0; color: var(--muted); font-size: 12px; }
.dashboard-route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dashboard-route-grid a { display: grid; min-height: 190px; padding: 25px; border: 1px solid var(--line); border-radius: 11px; background: var(--ink-soft); color: var(--paper); text-decoration: none; }
.dashboard-route-grid a:hover { border-color: rgb(124 188 255 / 45%); }
.dashboard-route-grid span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-route-grid strong { align-self: end; margin-top: 30px; font-size: 1.55rem; letter-spacing: -.04em; }
.dashboard-route-grid small { margin-top: 8px; color: var(--muted); line-height: 1.5; }

.admin-gate { display: grid; min-height: 760px; padding-block: 75px; place-items: center; }
.admin-gate-card { width: min(620px, 100%); padding: clamp(28px, 6vw, 55px); border: 1px solid var(--line); border-radius: 18px; background: var(--ink-soft); }
.admin-gate-card h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 4.8rem); line-height: .96; letter-spacing: -.06em; }
.admin-gate-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.admin-gate-card > .button { margin-block: 20px; }
.mfa-qr-panel { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; margin: 26px 0 6px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #f7faf8; color: var(--ink); }
.mfa-qr-panel strong { font-size: 1.05rem; }
.mfa-qr-panel p { margin: 8px 0 0; color: #4b5b64; font-size: 13px; line-height: 1.55; }
.mfa-qrcode { display: grid; width: 190px; min-height: 190px; padding: 10px; place-items: center; border-radius: 6px; background: #fff; }
.mfa-qrcode canvas, .mfa-qrcode img { display: block; width: 170px !important; height: 170px !important; }
.secret-box { display: grid; gap: 9px; margin: 15px 0 25px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #081723; }
.secret-box span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.secret-box code { overflow-wrap: anywhere; color: var(--mint); font-size: 15px; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0; }
.recovery-codes code { padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: #081723; color: var(--mint); text-align: center; }

.admin-header { display: flex; align-items: end; justify-content: space-between; padding-block: 75px 45px; }
.admin-header h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: .92; letter-spacing: -.065em; }
.admin-header > div > p:not(.eyebrow) { max-width: 720px; color: var(--muted); line-height: 1.7; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; }
.stats-grid article { display: flex; min-height: 150px; padding: 23px; border: 1px solid var(--line); border-radius: 11px; flex-direction: column; justify-content: space-between; background: var(--ink-soft); }
.stats-grid span { color: var(--muted); font-size: 12px; font-weight: 750; }
.stats-grid strong { font-size: 3rem; letter-spacing: -.06em; }
.admin-users { padding-block: 75px 110px; }
.promo-admin { padding-top: 70px; }
.promo-admin-grid { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); gap: 18px; align-items: start; }
.promo-table { align-self: stretch; }
.new-promo-code { display: flex; gap: 25px; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 22px; border: 1px solid rgb(201 255 98 / 55%); border-radius: 11px; background: rgb(201 255 98 / 8%); }
.new-promo-code > div { display: grid; gap: 8px; }
.new-promo-code span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.new-promo-code code { color: var(--lime); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: .04em; overflow-wrap: anywhere; }
.new-promo-code p { max-width: 330px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.admin-section-title h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.05em; }
.admin-search { width: min(430px, 100%); }
.admin-search label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 750; }
.admin-search > div { display: flex; gap: 8px; }
.admin-search input { width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #091825; color: var(--paper); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
th { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: var(--muted); }
td a, .link-button { color: var(--mint); font-weight: 750; text-underline-offset: 4px; }
.link-button { padding: 0; border: 0; background: transparent; cursor: pointer; text-decoration: underline; }
.data-pill { display: inline-flex; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.data-active, .data-trialing { border-color: rgb(118 239 186 / 40%); color: var(--mint); }
.data-disponible { border-color: rgb(118 239 186 / 40%); color: var(--mint); }
.data-canjeado { border-color: rgb(124 188 255 / 45%); color: var(--blue); }
.data-revocado { color: #ffb2b2; }
.admin-detail-header { padding-bottom: 20px; }
.admin-detail-header .back-link { display: inline-block; margin-bottom: 50px; color: var(--muted); font-size: 13px; }
.user-admin-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; padding-block: 35px; }
.admin-panel { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-soft); }
.data-list { margin: 45px 0 0; }
.data-list div { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid var(--line); }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; }
.grants-section { padding-top: 45px; }
.admin-certificates-section { padding-top: 10px; }
.admin-certificate-actions { display: flex; gap: 14px; }
.admin-certificate-actions a { color: var(--mint); font-weight: 750; text-underline-offset: 4px; }
.revoke-certificate-form { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.revoke-certificate-form input { min-width: 190px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 6px; outline: 0; background: #091825; color: var(--paper); }
.danger-link { color: #ffb2b2; }

footer { border-top: 1px solid var(--line); }
.footer-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 110px; color: var(--muted); font-size: 12px; }
.footer-wrap .brand { color: var(--paper); font-size: 15px; }
.footer-wrap .brand-mark { width: 25px; height: 25px; }
.footer-wrap .brand-mark span { width: 8px; height: 8px; }
.footer-wrap p { margin: 0; }
.footer-links { display: flex; gap: 20px; justify-self: end; }
.footer-links a { color: var(--muted); }
.footer-cookie-button {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.footer-cookie-button:hover, .footer-cookie-button:focus-visible { color: var(--paper); }

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(560px, calc(100% - 48px));
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 18, 30, .97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin: 5px 0 9px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.cookie-consent p { margin: 0; color: var(--muted); line-height: 1.6; }
.cookie-consent .eyebrow { color: var(--accent); }
.cookie-consent-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }

@media (max-width: 820px) {
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-wrap nav { display: none; }
  .hero, .path-section, .curriculum-layout, .login-shell, .account-flow-shell { grid-template-columns: 1fr; }
  .auth-stack { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 70px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .section-heading { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { min-height: 220px; }
  .principles-grid h3 { margin-top: 45px; }
  .path-section { gap: 55px; }
  .course-grid, .security-grid, .plans-grid { grid-template-columns: 1fr; }
  .transcript-card-main { grid-template-columns: 1fr; align-items: start; }
  .access-notice { align-items: flex-start; flex-direction: column; }
  .module-card { grid-template-columns: 45px 1fr; }
  .dashboard-route-grid { grid-template-columns: 1fr; }
  .certificate-list article, .certificate-verification-result { grid-template-columns: 1fr; align-items: start; }
  .certificate-verification-result dl { flex-wrap: wrap; }
  .curriculum-intro { position: static; }
  .dashboard-hero { align-items: flex-start; flex-direction: column; gap: 25px; }
  .dashboard-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .dashboard-actions .button { width: 100%; }
  .account-alert { align-items: flex-start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .account-card-wide, .account-card-wide > dl, .account-card-wide > .promo-redeem { grid-template-columns: 1fr; }
  .account-card-wide > .promo-redeem .button { width: 100%; white-space: normal; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-header, .admin-section-title { align-items: flex-start; flex-direction: column; gap: 25px; }
  .user-admin-grid { grid-template-columns: 1fr; }
  .promo-admin-grid { grid-template-columns: 1fr; }
  .new-promo-code { align-items: flex-start; flex-direction: column; }
  .footer-wrap { grid-template-columns: 1fr; gap: 20px; padding-block: 35px; }
  .footer-links { justify-self: start; }
}

@media (max-width: 520px) {
  .shell { width: min(var(--max), calc(100% - 26px)); }
  .site-header .button { padding-inline: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .course-preview { padding: 25px; }
  .principles-section { padding-block: 75px; }
  .path-list div { grid-template-columns: 32px 1fr; }
  .path-list small { grid-column: 2; }
  .steps article { grid-template-columns: 50px 1fr; }
  .course-card ul { align-items: flex-start; flex-direction: column; gap: 8px; }
  .transcript-progress > div, .transcript-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .transcript-actions .button { width: 100%; }
  .module-card { grid-template-columns: 1fr; gap: 12px; }
  .lesson-list a, .lesson-list li > div { align-items: flex-start; flex-direction: column; }
  .assessment-card ul { flex-direction: column; gap: 9px; }
  .slide-stage, .lesson-slide { min-height: 580px; }
  .lesson-slide h2 { overflow-wrap: anywhere; }
  .slide-visual-cards, .slide-visual-steps, .slide-visual-flow, .slide-visual-metrics,
  .slide-visual-checklist, .slide-visual-compare, .lesson-sources { grid-template-columns: minmax(0, 1fr); }
  .slide-visual-flow .slide-visual-item:not(:last-child)::after { display: none; }
  .slide-controls { grid-template-columns: 1fr 1fr; }
  .slide-dots { grid-column: 1 / -1; grid-row: 1; }
  .slide-forward-action { min-width: 0; }
  .slide-forward-action, .slide-forward-action form { width: 100%; }
  .slide-controls .button { width: 100%; }
  .lesson-navigation { flex-direction: column; }
  .certificate-verify-form > div { flex-direction: column; }
  .mfa-qr-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .account-flow-shell { min-height: auto; padding-block: 60px 90px; }
  .account-flow-card { padding: 27px; }
  .account-alert > div { align-items: flex-start; }
  .cookie-consent { right: 13px; bottom: 13px; width: calc(100% - 26px); padding: 22px; }
  .cookie-consent-actions { align-items: stretch; flex-direction: column-reverse; }
  .cookie-consent-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
