:root {
  --nav: #0b1120;
  --nav2: #111a2d;
  --paper: #f4f5f8;
  --card: #fff;
  --ink: #152033;
  --muted: #697386;
  --line: #e4e7ed;
  --lime: #c8f35b;
  --violet: #7957e8;
  --blue: #3d82f5;
  --cyan: #27b8c7;
  --coral: #ef735c;
  --amber: #e7a93f;
  --green: #32af78;
  --pink: #e96b9d;
  --purple: #8e62df;
  --gold: #d7a72d;
  --danger: #c84747;
  --shadow: 0 18px 50px rgba(24, 32, 54, 0.09);
  --radius: 24px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  min-width: 320px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
.skip-link {
  position: fixed;
  z-index: 999;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
}
.app {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: 270px;
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--nav), #070b13);
  color: #eaf0fb;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 27px;
}
.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: var(--lime);
  box-shadow: 0 7px 25px rgba(200, 243, 91, 0.17);
  color: #111827;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 900;
  transform: rotate(-3deg);
}
.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: #8290a8;
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  font-weight: 800;
}
.main-nav {
  display: grid;
  gap: 5px;
}
.main-nav button,
.sidebar-bottom button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #8f9bb0;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  text-align: left;
  cursor: pointer;
}
.main-nav button span {
  font-size: 1.15rem;
}
.main-nav button b {
  font-size: 0.88rem;
}
.main-nav button i {
  min-width: 23px;
  padding: 4px 6px;
  border-radius: 99px;
  background: #26314a;
  color: #dce6f8;
  font-style: normal;
  font-size: 0.67rem;
  text-align: center;
}
.main-nav button:hover,
.main-nav button.active,
.sidebar-bottom button:hover {
  background: #182238;
  color: #fff;
}
.main-nav button.active {
  box-shadow: inset 3px 0 0 var(--lime);
}
.sidebar-level {
  margin-top: auto;
  padding: 19px 16px;
  border: 1px solid #263047;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.level-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.72rem;
}
.level-copy span {
  color: #9aa6b9;
}
.level-copy b {
  color: var(--lime);
}
.xp-track {
  display: block;
  width: 100%;
  height: 6px;
  margin: 12px 0 9px;
  border: 0;
  border-radius: 99px;
  background: #263047;
  overflow: hidden;
}
.xp-track::-webkit-progress-bar {
  background: #263047;
}
.xp-track::-webkit-progress-value {
  background: linear-gradient(90deg, var(--lime), #6ee7b7);
}
.xp-track::-moz-progress-bar {
  background: var(--lime);
}
.sidebar-level small {
  color: #6f7c91;
  font-size: 0.65rem;
}
.sidebar-bottom {
  display: grid;
  gap: 2px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid #1d2638;
}
.sidebar-bottom button {
  min-height: 38px;
  font-size: 0.74rem;
}
.sidebar-bottom button span {
  font-size: 0.78rem;
}
.main {
  min-height: 100vh;
  margin-left: 270px;
  padding: 0 clamp(24px, 4vw, 66px) 80px;
}
.demo-banner {
  max-width: 1280px;
  margin: 22px auto -24px;
  padding: 11px 15px;
  border: 1px solid #d8e9a4;
  border-radius: 12px;
  background: #f2fad9;
  color: #34431f;
  font-size: 0.76rem;
  line-height: 1.45;
}
.demo-banner b {
  margin-right: 10px;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
}
.mobile-header {
  display: none;
}
.dashboard-page,
.standard-page,
.review-page {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 52px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 35px;
}
.page-head h1 {
  margin: 5px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.page-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.eyebrow {
  margin: 0;
  color: #7a8497;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.home-head {
  padding-top: 7px;
}
.today-chip {
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: right;
}
.today-chip span {
  color: #7c8799;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.today-chip b {
  font-size: 0.82rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 28px 0;
}
.stat-grid article {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.stat-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  font-size: 1.05rem;
  font-weight: 900;
}
.stat-icon.fire {
  background: #fff1db;
  color: #c2741b;
}
.stat-icon.xp {
  background: #f0eaff;
  color: #7957e8;
}
.stat-icon.done {
  background: #e7f8ef;
  color: #168153;
}
.stat-icon.badge {
  background: #e5f1ff;
  color: #2c70d4;
}
.stat-grid small {
  display: block;
  color: #8993a4;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-grid b {
  display: block;
  margin: 3px 0 1px;
  font-size: 1.12rem;
}
.stat-grid p {
  margin: 0;
  color: #8d96a5;
  font-size: 0.69rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.72fr);
  gap: 18px;
}
.mission-feature {
  position: relative;
  min-height: 365px;
  padding: 31px 34px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(140deg, #2f2363, #5e45c6);
  box-shadow: 0 24px 60px rgba(54, 40, 126, 0.22);
  color: #fff;
}
.mission-feature.color-mint {
  background: linear-gradient(140deg, #173d36, #267c68);
}
.mission-feature.color-blue {
  background: linear-gradient(140deg, #18375f, #2f78db);
}
.mission-feature.color-amber {
  background: linear-gradient(140deg, #603d15, #b87920);
}
.mission-feature.color-coral {
  background: linear-gradient(140deg, #692f29, #cf5c48);
}
.mission-feature.color-cyan {
  background: linear-gradient(140deg, #164c53, #2199a5);
}
.mission-feature.color-pink {
  background: linear-gradient(140deg, #632642, #c95282);
}
.mission-feature.color-purple {
  background: linear-gradient(140deg, #38255e, #7652bb);
}
.mission-feature.color-green {
  background: linear-gradient(140deg, #154d37, #24885e);
}
.mission-feature.color-gold {
  background: linear-gradient(140deg, #554011, #ad8120);
}
.mission-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 70px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  right: -90px;
  top: -80px;
}
.feature-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}
.feature-top b {
  padding: 7px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.64rem;
  letter-spacing: 0;
}
.path-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  font-weight: 700;
}
.path-label i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  font-style: normal;
  font-size: 0.65rem;
}
.mission-feature h2 {
  position: relative;
  max-width: 650px;
  margin: 15px 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.mission-feature > p {
  position: relative;
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  line-height: 1.6;
}
.feature-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 30px;
}
.feature-actions small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
}
.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 850;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  background: var(--nav);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 17, 32, 0.18);
}
.button.primary:hover {
  background: #1b2942;
}
.button.light {
  background: #fff;
  color: #182238;
}
.button.ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}
.button.secondary {
  border-color: #ccd2dc;
  background: #fff;
  color: #263248;
}
.button.danger {
  background: #fff0f0;
  color: #a92d2d;
  border-color: #f0caca;
}
.button.wide {
  width: 100%;
}
.review-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-title h2,
.section-heading h2 {
  margin: 4px 0 0;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}
.round-count {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #edf0f5;
  color: #4a566c;
  font-weight: 900;
}
.round-count.large {
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
}
.review-panel > p {
  margin: 38px 0 25px;
  color: var(--muted);
  line-height: 1.65;
}
.all-clear {
  display: grid;
  place-items: center;
  margin-top: 40px;
  text-align: center;
}
.all-clear > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #e7f8ef;
  color: #168153;
  font-size: 1.4rem;
}
.all-clear b {
  margin-top: 14px;
}
.all-clear p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.path-preview {
  margin-top: 42px;
}
.demo-shield {
  display: grid;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 22px;
  background: #e9f6c9;
  color: #34431f;
  font-size: 2rem;
}
.demo-welcome {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  min-height: 330px;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 15%, rgba(200, 243, 91, 0.32), transparent 28%),
    linear-gradient(135deg, #15233d, #273a61);
  box-shadow: var(--shadow);
  color: #fff;
}
.demo-welcome::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -170px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.demo-welcome > div {
  position: relative;
  z-index: 1;
}
.demo-kicker {
  color: var(--lime);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.demo-welcome h2 {
  max-width: 650px;
  margin: 11px 0 15px;
  font-family: Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.demo-welcome p {
  max-width: 700px;
  margin: 0;
  color: #c7d0df;
  line-height: 1.65;
}
.demo-lock {
  display: grid;
  min-width: 160px;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}
.demo-lock span {
  display: grid;
  width: 53px;
  height: 53px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #243016;
  font-size: 1.2rem;
  font-weight: 900;
}
.demo-lock small {
  margin-top: 5px;
  color: #9ba9bd;
}
.demo-map-mark {
  padding: 13px 18px;
  border: 1px solid #d8e9a4;
  border-radius: 14px;
  background: #f2fad9;
  color: #35441f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}
.demo-map-mark small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}
.text-link,
.back-link {
  border: 0;
  background: transparent;
  color: #59657a;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}
.path-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.path-mini {
  display: grid;
  justify-items: start;
  min-height: 175px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.path-mini:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.path-orb {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #e5f6ef;
  color: #1f7c59;
  font-size: 0.71rem;
  font-weight: 900;
}
.path-mini b {
  margin-top: 16px;
}
.path-mini small {
  color: #8d96a5;
  font-size: 0.68rem;
}
.path-mini > progress {
  width: 100%;
  height: 4px;
  margin-top: auto;
  border: 0;
  border-radius: 99px;
  background: #e8ebf0;
  overflow: hidden;
}
.path-mini > progress::-webkit-progress-bar {
  background: #e8ebf0;
}
.path-mini > progress::-webkit-progress-value {
  background: var(--green);
}
.path-mini > progress::-moz-progress-bar {
  background: var(--green);
}
.path-mini.locked {
  opacity: 0.55;
}
.mastery-ring {
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border: 8px solid #dcd6f7;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
}
.mastery-ring b,
.mastery-ring span {
  z-index: 1;
}
.mastery-ring b {
  font-size: 1.35rem;
  margin-top: 19px;
}
.mastery-ring span {
  margin-top: -27px;
  color: var(--muted);
  font-size: 0.62rem;
}
.path-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.path-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 7px 30px rgba(30, 40, 60, 0.04);
}
.path-card.locked {
  opacity: 0.6;
}
.path-card-head {
  display: flex;
  gap: 16px;
}
.path-card-head h2 {
  margin: 2px 0 4px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
}
.path-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.path-card-head small {
  color: #9099a8;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.mission-dots {
  display: grid;
  gap: 7px;
  margin: 23px 0;
}
.mission-dot {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  background: #f7f8fa;
  color: #344056;
  text-align: left;
  cursor: pointer;
}
.mission-dot:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mission-dot span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #e7eaf0;
  font-size: 0.65rem;
  font-weight: 900;
}
.mission-dot.done span {
  background: #dff5e9;
  color: #168153;
}
.mission-dot b {
  font-size: 0.75rem;
}
.mission-dot small {
  padding-right: 12px;
  color: #939ba9;
  font-size: 0.61rem;
}
.path-card-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.path-card-progress > progress {
  height: 5px;
  flex: 1;
  border: 0;
  border-radius: 99px;
  background: #e8ebf0;
  overflow: hidden;
}
.path-card-progress > progress::-webkit-progress-bar {
  background: #e8ebf0;
}
.path-card-progress > progress::-webkit-progress-value {
  background: var(--violet);
}
.path-card-progress > progress::-moz-progress-bar {
  background: var(--violet);
}
.path-card-progress b {
  font-size: 0.67rem;
  color: #778195;
}
.lesson-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 0 80px;
}
.back-link {
  margin-bottom: 18px;
}
.lesson-hero {
  position: relative;
  overflow: hidden;
  padding: 45px clamp(28px, 6vw, 67px);
  border-radius: 30px;
  background: linear-gradient(140deg, #24304a, #55637e);
  color: #fff;
}
.lesson-hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -130px;
  top: -130px;
  border: 70px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.lesson-hero.color-mint {
  background: linear-gradient(140deg, #163d36, #267c68);
}
.lesson-hero.color-violet,
.lesson-hero.color-purple {
  background: linear-gradient(140deg, #352263, #7355c7);
}
.lesson-hero.color-blue {
  background: linear-gradient(140deg, #18375f, #3479d7);
}
.lesson-hero.color-amber {
  background: linear-gradient(140deg, #594017, #ae7b27);
}
.lesson-hero.color-coral {
  background: linear-gradient(140deg, #633027, #ca5d49);
}
.lesson-hero.color-cyan {
  background: linear-gradient(140deg, #174851, #269aa5);
}
.lesson-hero.color-pink {
  background: linear-gradient(140deg, #5c2941, #c4517d);
}
.lesson-hero.color-green {
  background: linear-gradient(140deg, #154b36, #28865f);
}
.lesson-hero.color-gold {
  background: linear-gradient(140deg, #514016, #a67d27);
}
.lesson-meta {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 800;
}
.lesson-hero > .eyebrow {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.6);
}
.lesson-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 10px 0 15px;
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.lesson-hero > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}
.lesson-objective {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 13px;
  max-width: 670px;
  margin-top: 28px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
}
.lesson-objective > span {
  font-size: 1.4rem;
}
.lesson-objective b {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.lesson-objective p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}
.lesson-content {
  max-width: 820px;
  margin: 0 auto;
}
.learning-pulse {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 29px 5px 12px;
  color: #8a94a5;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.learning-pulse i {
  height: 1px;
  flex: 1;
  background: #dfe3e9;
}
.lesson-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 43px 0;
  border-bottom: 1px solid var(--line);
}
.card-index {
  color: #a1a9b7;
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
}
.lesson-card h2 {
  margin: 0 0 13px;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.lesson-card p {
  margin: 0;
  color: #526076;
  line-height: 1.8;
  font-size: 1.02rem;
}
.real-example {
  margin: 38px 0;
  padding: 25px 29px;
  border: 1px solid #d8cfb7;
  border-radius: 18px;
  background: #fff9e8;
}
.real-example span {
  color: #9b741c;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.real-example p {
  margin: 9px 0 0;
  color: #564b32;
  line-height: 1.65;
}
.memory-anchor {
  margin: 35px 0;
  padding: 31px;
  border-radius: 22px;
  background: #111a2d;
  color: #fff;
}
.memory-anchor > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.memory-anchor > div span {
  color: var(--lime);
}
.memory-anchor h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 500;
}
.memory-anchor blockquote {
  margin: 22px 0;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.45;
}
.memory-anchor p {
  margin: 0;
  color: #aeb8ca;
  font-size: 0.83rem;
  line-height: 1.55;
}
.note-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin: 35px 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.note-card h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 500;
}
.note-card p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.note-card form {
  display: grid;
  gap: 9px;
}
.note-card textarea {
  min-height: 105px;
  padding: 13px;
  border: 1px solid #ccd2dc;
  border-radius: 12px;
  resize: vertical;
}
.note-card .button {
  justify-self: end;
}
.demo-note {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 35px 0;
  padding: 21px 24px;
  border: 1px solid #d8e9a4;
  border-radius: 18px;
  background: #f6fae9;
}
.demo-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #dff0ae;
  color: #40531f;
  font-weight: 900;
}
.demo-note h2,
.demo-note p {
  margin: 0;
}
.demo-note h2 {
  font-family: Georgia, serif;
  font-weight: 500;
}
.demo-note p {
  margin-top: 4px;
  color: #65734b;
  font-size: 0.78rem;
}
.quiz-shell {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.quiz-heading {
  padding: 31px 35px;
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
}
.quiz-heading h2 {
  margin: 5px 0 7px;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}
.quiz-heading > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}
.quiz-heading small {
  display: block;
  margin-top: 10px;
  color: #8a94a4;
}
.quiz-shell form {
  padding: 0 35px 35px;
}
.quiz-shell fieldset {
  margin: 0;
  padding: 32px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.quiz-shell legend {
  display: flex;
  gap: 11px;
  font-weight: 800;
  line-height: 1.5;
}
.quiz-shell legend > span {
  display: grid;
  flex: 0 0 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: #edf0f5;
  color: #6b7688;
  font-size: 0.65rem;
}
.quiz-shell fieldset > div,
.review-options {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}
.quiz-shell label,
.review-options label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 49px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.quiz-shell label:has(input:checked),
.review-options label:has(input:checked) {
  border-color: #7a65d1;
  background: #f2efff;
}
.quiz-shell input,
.review-options input,
.confidence input {
  position: absolute;
  opacity: 0;
}
.quiz-shell label i,
.review-options label i {
  width: 18px;
  height: 18px;
  border: 2px solid #aeb5c1;
  border-radius: 50%;
}
.quiz-shell label:has(input:checked) i,
.review-options label:has(input:checked) i {
  border: 5px solid var(--violet);
}
.question-feedback {
  display: none;
  margin: 12px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.quiz-shell fieldset.correct .question-feedback,
.quiz-shell fieldset.wrong .question-feedback {
  display: block;
}
.quiz-shell fieldset.correct .question-feedback {
  background: #eaf8f0;
  color: #246d4d;
}
.quiz-shell fieldset.wrong .question-feedback {
  background: #fff0ef;
  color: #95423a;
}
.quiz-shell form > .button {
  margin-top: 25px;
}
.review-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.review-source {
  display: flex;
  justify-content: space-between;
  color: #8a94a5;
  font-size: 0.68rem;
}
.review-card h2 {
  margin: 35px 0 25px;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.2;
}
.confidence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 28px 0;
  padding: 0;
  border: 0;
}
.confidence legend {
  grid-column: 1/-1;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #7d8797;
}
.confidence label span {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  text-align: center;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}
.confidence label:has(input:checked) span {
  border-color: var(--violet);
  background: #f2efff;
}
.confidence small {
  color: #9199a7;
  font-size: 0.58rem;
  font-weight: 500;
}
.review-feedback {
  display: none;
  padding: 13px;
  border-radius: 11px;
  font-size: 0.84rem;
  line-height: 1.5;
}
.review-feedback.correct,
.review-feedback.wrong {
  display: block;
}
.review-feedback.correct {
  background: #eaf8f0;
  color: #246d4d;
}
.review-feedback.wrong {
  background: #fff0ef;
  color: #95423a;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-grid article {
  position: relative;
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}
.project-number {
  position: absolute;
  right: 17px;
  top: 6px;
  color: #eff1f5;
  font-family: Georgia, serif;
  font-size: 5rem;
}
.project-grid h2 {
  position: relative;
  margin: 8px 0;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
}
.project-grid > article > p:not(.eyebrow) {
  position: relative;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.project-status {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
  font-weight: 800;
}
.project-status button {
  border: 0;
  background: transparent;
  color: var(--violet);
  font-weight: 800;
  cursor: pointer;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.achievement-grid article {
  display: flex;
  gap: 18px;
  min-height: 150px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}
.achievement-grid article > span {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #edf0f5;
  color: #97a0af;
  font-size: 1.25rem;
}
.achievement-grid article.earned > span {
  background: linear-gradient(145deg, #e9ffad, var(--lime));
  color: #273414;
  box-shadow: 0 9px 25px rgba(173, 210, 76, 0.25);
}
.achievement-grid small {
  color: #9aa2af;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}
.achievement-grid h2 {
  margin: 5px 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.achievement-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.achievement-grid .locked {
  filter: grayscale(0.5);
  opacity: 0.65;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.settings-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.settings-grid h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}
.settings-grid h3 {
  font-size: 0.9rem;
}
.settings-grid p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}
.settings-grid form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.settings-grid label,
.login-form label {
  display: grid;
  gap: 6px;
  color: #6d7788;
  font-size: 0.68rem;
  font-weight: 800;
}
.settings-grid input,
.login-form input,
.search-field input {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #cbd1db;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
}
.settings-grid hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.about-card {
  grid-column: 1/-1;
}
.about-card dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.about-card dl div {
  padding: 15px;
  border-radius: 12px;
  background: #f5f6f8;
}
.about-card dt {
  color: #8b94a3;
  font-size: 0.63rem;
}
.about-card dd {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 0.8rem;
}
.empty-page {
  display: grid;
  justify-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 16vh 20px;
  text-align: center;
}
.empty-orb {
  display: grid;
  width: 85px;
  height: 85px;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #168153;
  font-size: 2rem;
}
.empty-page h1 {
  margin: 8px 0;
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
}
.empty-page > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}
.empty-page .button {
  margin-top: 18px;
}
.login-view {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background: radial-gradient(
    circle at 50% -10%,
    #2b3c61,
    #0b1120 55%,
    #070a11
  );
  color: #fff;
}
.login-view[hidden] {
  display: none;
}
.login-orbit {
  position: absolute;
  border: 1px solid rgba(200, 243, 91, 0.13);
  border-radius: 50%;
}
.orbit-one {
  width: 650px;
  height: 650px;
}
.orbit-two {
  width: 950px;
  height: 950px;
}
.login-panel {
  position: relative;
  width: min(430px, 100%);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(10, 16, 30, 0.82);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  text-align: center;
}
.school-seal {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 23px;
  border: 1px solid rgba(200, 243, 91, 0.4);
  border-radius: 20px;
  transform: rotate(-4deg);
}
.school-seal span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  background: var(--lime);
  color: #111827;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
}
.login-panel .eyebrow {
  color: #aeb9ca;
}
.login-panel h1 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-size: 3.2rem;
  font-weight: 500;
}
.login-lead {
  margin: 0 auto 27px;
  color: #9da9bd;
  line-height: 1.55;
}
.login-form {
  display: grid;
  gap: 14px;
  text-align: left;
}
.login-form input {
  border-color: #2a3650;
  background: #111a2d;
  color: #fff;
}
.login-form .button {
  margin-top: 3px;
}
.form-error {
  min-height: 17px !important;
  margin: 0 !important;
  color: #e88383 !important;
  font-size: 0.72rem !important;
}
.privacy-note {
  margin: 23px 0 0;
  color: #748096;
  font-size: 0.66rem;
}
.privacy-note span {
  color: var(--lime);
}
.dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: 84vh;
  padding: 31px;
  border: 0;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.32);
}
.dialog::backdrop {
  background: rgba(7, 10, 17, 0.75);
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
}
.dialog h2 {
  margin: 6px 0;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}
.icon-button {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid #d0d5de;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.search-field {
  display: grid;
  gap: 5px;
  margin: 22px 0;
  color: #788295;
  font-size: 0.68rem;
  font-weight: 800;
}
.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.glossary-list div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.glossary-list dt {
  font-weight: 850;
}
.glossary-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.completion-dialog {
  text-align: center;
  width: min(500px, calc(100vw - 28px));
}
.celebration {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 0 auto 19px;
  border-radius: 50%;
  background: linear-gradient(145deg, #efffc6, var(--lime));
  color: #2b3818;
  font-size: 2rem;
}
.celebration i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--violet);
}
.celebration i:nth-child(2) {
  left: -17px;
  top: 20px;
}
.celebration i:nth-child(3) {
  right: -15px;
  top: 5px;
  background: var(--coral);
}
.celebration i:nth-child(4) {
  right: -7px;
  bottom: 2px;
  background: var(--blue);
}
.completion-dialog > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}
.reward-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.reward-row div {
  display: grid;
  padding: 14px 8px;
  border-radius: 13px;
  background: #f3f5f8;
}
.reward-row b {
  font-size: 1.1rem;
}
.reward-row span {
  color: #8b94a4;
  font-size: 0.61rem;
  text-transform: uppercase;
}
.toast {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100vw - 44px));
  padding: 14px 17px;
  transform: translateY(140%);
  border-radius: 12px;
  background: #111a2d;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.82rem;
  opacity: 0;
  transition: 0.22s;
}
.toast.visible {
  transform: none;
  opacity: 1;
}
@media (max-width: 1050px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .path-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-grid,
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 780px) {
  .sidebar {
    transform: translateX(-105%);
    transition: transform 0.22s;
    width: min(285px, 86vw);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.25);
  }
  body.menu-open .sidebar {
    transform: none;
  }
  .mobile-header {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    height: 68px;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    border-bottom: 1px solid var(--line);
    background: rgba(244, 245, 248, 0.92);
    backdrop-filter: blur(12px);
  }
  .mobile-header .brand {
    padding: 0;
  }
  .mobile-header .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.1rem;
  }
  .mobile-header .brand strong {
    color: var(--ink);
    font-size: 1.08rem;
  }
  .avatar {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #172136;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
  }
  .main {
    margin-left: 0;
    padding: 0 17px 60px;
  }
  .demo-banner {
    margin: 14px auto -12px;
  }
  .dashboard-page,
  .standard-page,
  .review-page {
    padding-top: 29px;
  }
  .page-head {
    align-items: flex-start;
  }
  .today-chip {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .mission-feature {
    min-height: 390px;
    padding: 27px;
  }
  .path-map {
    grid-template-columns: 1fr;
  }
  .path-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid,
  .achievement-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    grid-column: auto;
  }
  .about-card dl {
    grid-template-columns: repeat(2, 1fr);
  }
  .lesson-page {
    padding-top: 20px;
  }
  .lesson-hero {
    border-radius: 23px;
    padding: 34px 24px;
  }
  .lesson-content {
    padding: 0 4px;
  }
  .note-card {
    grid-template-columns: 1fr;
  }
  .demo-welcome {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 24px;
  }
  .demo-lock {
    grid-template-columns: auto 1fr;
    justify-items: start;
    gap: 4px 12px;
    min-width: 0;
    padding: 16px;
    text-align: left;
  }
  .demo-lock span {
    grid-row: 1 / 3;
    margin: 0;
  }
  .confidence {
    grid-template-columns: repeat(2, 1fr);
  }
  .dialog {
    padding: 24px;
  }
  .glossary-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-grid article {
    display: grid;
    gap: 8px;
    padding: 14px;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
  }
  .feature-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .path-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 7px;
  }
  .path-mini {
    min-width: 160px;
  }
  .page-head h1 {
    font-size: 2.55rem;
  }
  .page-head .mastery-ring {
    display: none;
  }
  .path-card {
    padding: 19px;
  }
  .mission-dot {
    grid-template-columns: 29px 1fr;
  }
  .mission-dot small {
    display: none;
  }
  .lesson-hero h1 {
    font-size: 2.7rem;
  }
  .lesson-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 34px 0;
  }
  .learning-pulse {
    gap: 6px;
  }
  .learning-pulse i {
    min-width: 8px;
  }
  .quiz-shell form,
  .quiz-heading {
    padding-left: 21px;
    padding-right: 21px;
  }
  .review-card {
    padding: 23px;
  }
  .project-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }
  .login-panel {
    padding: 32px 22px;
  }
  .reward-row {
    gap: 5px;
  }
  .reward-row div {
    padding: 11px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
