:root {
  color-scheme: light;
  --ink: #17153d;
  --muted: #696982;
  --paper: #faf9ff;
  --white: #fff;
  --purple: #6751e8;
  --purple-dark: #4c3ac5;
  --lavender: #eeeaff;
  --cyan: #9df2ef;
  --lime: #d9fa8d;
  --coral: #ff8f79;
  --line: #e8e5f3;
  --shadow: 0 24px 70px rgba(33, 25, 96, .12);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a79bff; outline-offset: 3px; }
.is-hidden { display: none !important; }
.preview-ribbon { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 31px; padding: 5px 12px; color: #e8e4ff; background: #292452; font-size: 12px; font-weight: 700; letter-spacing: .025em; }
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(217,250,141,.15); }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 76px; padding: 0 max(5.3vw, 22px); background: rgba(250,249,255,.92); border-bottom: 1px solid rgba(232,229,243,.8); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { display: inline-flex; align-items: end; justify-content: center; gap: 2.5px; width: 29px; height: 29px; padding: 5px; border-radius: 10px 10px 10px 4px; background: var(--purple); transform: rotate(-5deg); }
.brand-mark span { display: block; width: 4px; border-radius: 4px; background: var(--lime); transform: rotate(5deg); }
.brand-mark span:nth-child(1) { height: 9px; }.brand-mark span:nth-child(2) { height: 16px; }.brand-mark span:nth-child(3) { height: 12px; }
.brand-name { font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.07em; }
.brand-name span { color: var(--purple); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin-left: auto; margin-right: 42px; color: #5b5975; font-size: 14px; font-weight: 700; }
.main-nav a:hover, .footer-links a:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.profile-chip { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.avatar-small { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #ebe7ff; color: var(--purple); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 21px; border: 0; border-radius: 14px; cursor: pointer; font-size: 14px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44,35,120,.16); }
.button:active { transform: translateY(0); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #292452; }
.button-purple { color: white; background: var(--purple); }
.button-purple:hover { background: var(--purple-dark); }
.button-small { min-height: 42px; padding: 0 17px; border-radius: 12px; font-size: 13px; }
.button-large { min-height: 56px; padding: 0 25px; font-size: 15px; border-radius: 16px; }
.button-wide { width: 100%; }
.button-light { color: var(--ink); background: white; }
.button-outline { color: var(--ink); border: 1px solid var(--line); background: white; }
.button-outline:hover { border-color: #c8c0ff; }
.menu-toggle { display: none; border: 0; background: transparent; }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 35px; padding: 38px max(6vw, 24px) 27px; background: #17153d; color: #dfddf4; }
.brand-footer .brand-name { color: white; }.brand-footer .brand-name span { color: var(--cyan); }
.brand-footer + p { grid-column: 1; margin: 0; color: #aaa7c9; font-size: 13px; }
.footer-links { display: flex; gap: 22px; grid-column: 2; grid-row: 1; color: #dfddf4; font-size: 13px; font-weight: 700; }
.site-footer small { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13); color: #aaa7c9; font-size: 11px; }

/* Shared sections */
.page { min-height: 68vh; }
.section { padding: 95px max(6vw, 24px); }
.section-inner { width: min(1180px, 100%); margin: 0 auto; }
.section-kicker, .eyebrow { margin: 0 0 13px; color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section-title { max-width: 720px; margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.03; letter-spacing: -.055em; }
.section-subtitle { max-width: 630px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.purple-text { color: var(--purple); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid rgba(103,81,232,.12); border-radius: 999px; color: #5141c1; background: #f1efff; font-size: 11px; font-weight: 800; }
.tag-lime { color: #49620d; background: #f3ffd8; border-color: #e7f8bd; }
.tag-dark { color: #fff; background: #343057; border-color: #343057; }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: 65px max(6vw, 24px) 75px; background: radial-gradient(ellipse at 67% 47%, #f1edff 0, #f6f4ff 28%, #faf9ff 63%); }
.hero::before { position: absolute; top: 14px; right: 4%; width: 500px; height: 500px; border: 1px solid rgba(127,104,239,.1); border-radius: 50%; content: ""; }
.hero::after { position: absolute; top: 83px; right: 2.5%; width: 540px; height: 540px; border: 1px dashed rgba(127,104,239,.12); border-radius: 50%; content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .97fr) minmax(430px, 1.03fr); align-items: center; gap: clamp(40px, 7vw, 95px); width: min(1190px,100%); margin: 0 auto; }
.hero-copy { padding: 20px 0 28px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #e8e3ff; border-radius: 999px; color: #4e44aa; background: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; }
.hero-pill .pill-spark { display: inline-grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #3829a8; background: var(--lime); }
.hero h1 { max-width: 610px; margin: 24px 0 20px; font-family: "Space Grotesk", sans-serif; font-size: clamp(49px, 6vw, 77px); line-height: .99; letter-spacing: -.075em; }
.hero h1 .highlight { position: relative; z-index: 0; display: inline-block; white-space: nowrap; }
.hero h1 .highlight::after { position: absolute; z-index: -1; right: -3px; bottom: 4px; left: 0; height: 18px; border-radius: 5px; background: var(--lime); content: ""; transform: rotate(-1.2deg); }
.hero-copy > p { max-width: 510px; margin: 0; color: #65637e; font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 29px; }
.hero-avatars { display: flex; align-items: center; margin-left: 4px; }
.hero-avatars span { display: grid; width: 32px; height: 32px; margin-left: -5px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: #ffc29f; font-size: 15px; }
.hero-avatars span:nth-child(2) { background: #b8eced; }.hero-avatars span:nth-child(3) { background: #d8cbff; }.hero-avatars span:nth-child(4) { color: white; background: var(--purple); font-size: 11px; font-weight: 900; }
.hero-social-proof { margin: 15px 0 0; color: #83819a; font-size: 11px; font-weight: 700; }
.hero-sample { position: relative; z-index: 2; padding: 23px; border: 1px solid rgba(255,255,255,.86); border-radius: 27px; background: rgba(255,255,255,.86); box-shadow: 0 27px 80px rgba(56,43,143,.15); backdrop-filter: blur(16px); }
.sample-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sample-title { display: flex; align-items: center; gap: 11px; }
.sample-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 13px; background: #eeebff; font-size: 18px; }
.sample-title strong { display: block; font-size: 14px; }.sample-title span { display: block; margin-top: 3px; color: #85839d; font-size: 11px; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; color: #2f8a69; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.live-tag::before { width: 7px; height: 7px; border-radius: 50%; background: #4ac696; box-shadow: 0 0 0 3px #e4f8f0; content: ""; }
.sample-label { display: block; margin-bottom: 8px; color: #706e89; font-size: 11px; font-weight: 800; }
.sample-text { display: block; width: 100%; min-height: 97px; resize: vertical; padding: 14px 15px; border: 1px solid #e8e5f3; border-radius: 14px; color: var(--ink); background: #fcfbff; font-size: 14px; line-height: 1.6; }
.sample-text:focus { border-color: #aa9fff; outline: 3px solid #f0edff; }
.sample-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding: 13px 14px; border-radius: 14px; background: #f0fdf9; }
.sample-result.is-info { background: #eff7ff; }
.result-label { display: flex; align-items: center; gap: 10px; }
.result-sticker { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #d7f8eb; font-size: 16px; }
.is-info .result-sticker { background: #dcecff; }
.result-label span { display: block; color: #76748e; font-size: 10px; font-weight: 700; }
.result-label strong { display: block; margin-top: 2px; color: #1a7c5d; font-size: 15px; }.is-info .result-label strong { color: #4269ab; }
.confidence { text-align: right; }.confidence strong { display: block; font-size: 15px; }.confidence span { color: #818099; font-size: 10px; }
.confidence-track { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #e7e5ef; }
.confidence-track span { display: block; height: 100%; border-radius: inherit; background: #52caa0; transition: width .25s ease; }.is-info .confidence-track span { background: #85a8ed; }
.sample-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; color: #8b899f; font-size: 10px; }
.sample-foot strong { color: #5141c1; font-size: 11px; }
.floating-note { position: absolute; z-index: 3; right: -22px; bottom: 19px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 2px solid white; border-radius: 14px; background: var(--lime); box-shadow: 0 8px 24px rgba(43,42,90,.14); font-size: 11px; font-weight: 900; transform: rotate(3deg); }
.floating-note span { font-size: 16px; }
.hero-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 45px; color: #79778f; font-size: 11px; font-weight: 700; }
.hero-bottom i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #b7b2d0; }

/* Value blocks */
.proof-strip { display: grid; grid-template-columns: repeat(4,1fr); width: min(1080px, calc(100% - 48px)); margin: -1px auto 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.proof-item { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 5px 20px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 13px; background: white; font-size: 18px; box-shadow: 0 4px 14px rgba(43,37,104,.06); }
.proof-item strong { display: block; font-size: 12px; }.proof-item span { display: block; margin-top: 3px; color: #85839b; font-size: 10px; }
.how-section { background: #fff; }
.how-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.mini-stat { flex: 0 0 auto; padding: 13px 16px; border: 1px solid #e7e4f3; border-radius: 16px; background: #fbfaff; }
.mini-stat strong { font-family: "Space Grotesk", sans-serif; font-size: 21px; }.mini-stat span { display: block; margin-top: 3px; color: #85839b; font-size: 10px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin-top: 42px; }
.step-card { position: relative; padding: 23px; border: 1px solid #eeecf5; border-radius: 22px; background: #fff; }
.step-number { display: grid; width: 35px; height: 35px; margin-bottom: 22px; place-items: center; border-radius: 12px; color: #5443c7; background: #f0edff; font-family: "Space Grotesk",sans-serif; font-size: 13px; font-weight: 700; }
.step-card:nth-child(2) .step-number { color: #257862; background: #e5fbf3; }.step-card:nth-child(3) .step-number { color: #a2573e; background: #fff0eb; }
.step-card h3 { margin: 0 0 9px; font-family: "Space Grotesk",sans-serif; font-size: 18px; letter-spacing: -.035em; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.step-emoji { position: absolute; top: 21px; right: 22px; font-size: 21px; }
.path-section { overflow: hidden; color: white; background: #1b1845; }
.path-section .section-kicker { color: var(--cyan); }.path-section .section-title { color: white; }.path-section .section-subtitle { color: #b3afd1; }
.path-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 45px; }
.path-node { position: relative; min-height: 171px; padding: 23px 18px 20px; border-top: 1px solid rgba(220,216,255,.28); }
.path-node::before { position: absolute; top: -6px; left: 18px; width: 10px; height: 10px; border: 2px solid #262254; border-radius: 50%; background: var(--lime); content: ""; box-shadow: 0 0 0 3px rgba(217,250,141,.1); }
.path-node:not(:last-child)::after { position: absolute; top: -1px; right: 0; width: 14px; height: 1px; background: rgba(220,216,255,.28); content: ""; }
.path-node small { color: #b1aed0; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.path-node h3 { margin: 16px 0 8px; color: white; font-family: "Space Grotesk",sans-serif; font-size: 17px; letter-spacing: -.035em; }
.path-node p { margin: 0; color: #b1aed0; font-size: 11px; line-height: 1.5; }
.path-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 27px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.05); }
.path-footer span { color: #d1cde9; font-size: 12px; }.path-footer strong { color: var(--lime); }
.pricing-section { background: #f5f3ff; }
.pricing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; max-width: 820px; margin: 39px auto 0; }
.price-card { position: relative; padding: 25px; border: 1px solid #e5e1f3; border-radius: 22px; background: white; }
.price-card.is-featured { border: 2px solid #8170f0; box-shadow: 0 15px 42px rgba(82,66,186,.12); }
.price-card h3 { margin: 0; font-family: "Space Grotesk",sans-serif; font-size: 17px; }
.price-number { display: flex; align-items: baseline; gap: 6px; margin: 21px 0 4px; }.price-number strong { font-family: "Space Grotesk",sans-serif; font-size: 40px; letter-spacing: -.06em; }.price-number span { color: #77758e; font-size: 12px; }
.price-card > p { min-height: 39px; margin: 8px 0 20px; color: #74728a; font-size: 12px; line-height: 1.55; }
.price-checks { display: grid; gap: 12px; margin: 0 0 21px; padding: 0; list-style: none; }
.price-checks li { display: flex; align-items: start; gap: 9px; color: #52516a; font-size: 12px; line-height: 1.45; }.price-checks li::before { display: grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; border-radius: 50%; color: #267a60; background: #e5fbf3; content: "✓"; font-size: 10px; font-weight: 900; }
.total-note { margin: 14px 0 0!important; color: #8b899e!important; font-size: 10px!important; }
.difference-section { background: white; }
.difference-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 65px; margin-top: 38px; }
.difference-list { display: grid; gap: 15px; }
.difference-item { display: flex; align-items: flex-start; gap: 13px; padding: 15px; border: 1px solid #efedf6; border-radius: 16px; background: #fdfcff; }
.difference-item .d-icon { display: grid; width: 33px; height: 33px; flex: 0 0 33px; place-items: center; border-radius: 11px; background: #eeeaff; }
.difference-item strong { display: block; font-size: 13px; }.difference-item p { margin: 5px 0 0; color: #73718a; font-size: 11px; line-height: 1.55; }
.quote-card { position: relative; padding: 29px; border-radius: 24px; background: #e9fcf7; }
.quote-card::before { position: absolute; top: 16px; right: 19px; color: rgba(48,137,110,.19); content: "✳"; font-size: 43px; }
.quote-card strong { display: block; max-width: 330px; font-family: "Space Grotesk",sans-serif; font-size: 25px; line-height: 1.2; letter-spacing: -.04em; }
.quote-card p { margin: 17px 0 0; color: #537c70; font-size: 12px; line-height: 1.65; }
.closing-cta { padding: 70px 24px; text-align: center; background: var(--lime); }
.closing-cta h2 { max-width: 720px; margin: 0 auto; font-family: "Space Grotesk",sans-serif; font-size: clamp(34px,5vw,58px); letter-spacing: -.06em; line-height: 1; }
.closing-cta p { margin: 16px auto 22px; color: #4c5b2b; font-size: 14px; }

/* Course & lesson views */
.course-hero { padding: 53px max(6vw,24px) 42px; background: #eeebff; }
.course-hero-inner, .course-map-inner, .lesson-layout, .dashboard-inner { width: min(1160px,100%); margin: 0 auto; }
.course-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 25px; }
.course-hero h1 { max-width: 730px; margin: 14px 0 12px; font-family: "Space Grotesk",sans-serif; font-size: clamp(38px,5vw,60px); letter-spacing: -.07em; line-height: 1; }
.course-hero p { max-width: 680px; margin: 0; color: #696682; line-height: 1.6; }
.course-stats { display: flex; gap: 9px; }
.course-stat { min-width: 98px; padding: 12px 15px; border: 1px solid rgba(83,69,175,.1); border-radius: 15px; background: rgba(255,255,255,.7); }
.course-stat strong { display: block; font-family: "Space Grotesk",sans-serif; font-size: 18px; }.course-stat span { display: block; margin-top: 4px; color: #77758e; font-size: 10px; }
.course-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px max(6vw,24px); background: white; border-bottom: 1px solid var(--line); }
.course-toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: min(1160px,100%); margin: 0 auto; }
.course-progress { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 420px; }.course-progress label { white-space: nowrap; color: #67657e; font-size: 11px; font-weight: 800; }
.progress-track { height: 8px; flex: 1; overflow: hidden; border-radius: 9px; background: #efedf5; }.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--purple),#9788ff); transition: width .4s ease; }
.course-map { padding: 34px max(6vw,24px) 85px; background: #fbfaff; }
.unit-card { overflow: hidden; margin: 12px 0; border: 1px solid #e9e6f2; border-radius: 19px; background: white; }
.unit-toggle { display: grid; grid-template-columns: 46px minmax(0,1fr) auto auto; align-items: center; gap: 15px; width: 100%; padding: 17px 19px; border: 0; text-align: left; background: white; cursor: pointer; }
.unit-toggle:hover { background: #fdfcff; }
.unit-number { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 14px; color: #5141c1; background: #efedff; font-family: "Space Grotesk",sans-serif; font-size: 15px; font-weight: 700; }
.unit-card:nth-child(3n) .unit-number { color: #317762; background: #e6faf3; }.unit-card:nth-child(3n + 2) .unit-number { color: #9a5740; background: #fff0e9; }
.unit-title-wrap strong { display: block; font-size: 14px; }.unit-title-wrap span { display: block; margin-top: 4px; color: #85839a; font-size: 11px; }
.unit-meta { color: #77758e; font-size: 10px; font-weight: 700; white-space: nowrap; }
.unit-chevron { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #edeaf5; border-radius: 9px; color: #77758e; transition: transform .18s ease; }
.unit-card.is-open .unit-chevron { transform: rotate(180deg); }
.unit-body { display: none; padding: 0 17px 17px; }.unit-card.is-open .unit-body { display: block; }
.unit-project-note { display: flex; align-items: start; gap: 9px; margin: 0 3px 13px; padding: 12px 14px; border-radius: 13px; color: #514877; background: #f3f0ff; font-size: 11px; line-height: 1.5; }
.lesson-row { display: grid; grid-template-columns: 45px minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 13px 11px; border-top: 1px solid #f1eff6; }
.lesson-status { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #736e8d; background: #f5f4f9; font-size: 12px; }
.lesson-row.is-passed .lesson-status { color: #1f8a63; background: #e2f8ef; }.lesson-row.is-free .lesson-status { color: #a15137; background: #fff0e9; }
.lesson-copy strong { display: block; font-size: 12px; }.lesson-copy span { display: block; margin-top: 4px; color: #85839a; font-size: 10px; line-height: 1.4; }
.lesson-badges { display: flex; gap: 5px; }.lesson-row .button { min-height: 35px; padding: 0 12px; border-radius: 10px; font-size: 10px; }
.locked-row { opacity: .74; }
.lesson-layout { display: grid; grid-template-columns: minmax(0,1fr) 286px; gap: 26px; padding: 34px 0 90px; }
.lesson-main { min-width: 0; }
.lesson-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #77758e; font-size: 11px; font-weight: 700; }
.lesson-title { max-width: 790px; margin: 0; font-family: "Space Grotesk",sans-serif; font-size: clamp(33px,4vw,47px); letter-spacing: -.06em; line-height: 1.04; }
.lesson-lede { max-width: 760px; margin: 15px 0 22px; color: #6f6d85; font-size: 15px; line-height: 1.65; }
.lesson-mission { display: flex; gap: 15px; padding: 18px; border: 1px solid #e7e2ff; border-radius: 18px; background: #f3f0ff; }
.mission-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: white; font-size: 18px; }
.lesson-mission strong { display: block; margin: 2px 0 6px; font-size: 12px; }.lesson-mission p { margin: 0; color: #625d7e; font-size: 12px; line-height: 1.6; }
.lesson-section { margin-top: 29px; }
.island-route { margin: 20px 0; padding: 16px; border: 1px solid #dcebea; border-radius: 20px; background: linear-gradient(120deg,#f1fffc 0%,#f7f4ff 74%); }
.island-route-heading,.island-route-stage,.game-panel-heading,.game-action-row,.game-checkpoint-footer,.warmup-card-top,.readiness-station-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.island-route-heading { margin-bottom: 12px; color: #69677f; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.island-route-stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.island-route-stage { justify-content: flex-start; min-height: 59px; padding: 10px; border: 1px solid #e7e4ef; border-radius: 14px; color: #77758e; background: rgba(255,255,255,.86); }
.island-route-number { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 10px; background: #efedf6; font-weight: 900; }
.island-route-stage strong,.island-route-stage small { display: block; }.island-route-stage strong { font-size: 12px; }.island-route-stage small { margin-top: 3px; color: #89869d; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.island-route-stage.is-current { border-color: #aaa0f4; color: #3f358c; background: white; box-shadow: 0 5px 16px rgba(73,56,173,.09); }.island-route-stage.is-current .island-route-number { color: #31277c; background: var(--lime); }.island-route-stage.is-cleared .island-route-number { color: #21674d; background: #d7f8e9; }
.game-panel { padding: clamp(17px,3vw,25px); border: 1px solid #ded9f7; border-radius: 22px; background: linear-gradient(145deg,#f3f0ff 0%,#f0fffc 100%); }
.game-panel-heading { align-items: flex-start; }.game-panel-heading .section-kicker { margin: 0 0 5px; color: #6554ca; }.game-panel-heading h2 { margin: 0 0 8px; }.game-token { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(103,81,232,.15); border-radius: 999px; color: #4938ad; background: rgba(255,255,255,.84); font-size: 12px; font-weight: 800; }
.game-panel-copy { max-width: 760px; margin: 0 0 17px; color: #5f5d76; font-size: 15px; line-height: 1.6; }
.warmup-grid,.readiness-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 11px; }
.warmup-card,.readiness-station { min-width: 0; padding: 15px; border: 1px solid #e4e0ef; border-radius: 16px; background: rgba(255,255,255,.94); }
.warmup-card.is-correct { border-color: #8dd8b5; background: #f5fff9; }.warmup-card.is-retry { border-color: #f2d68c; background: #fffdf6; }
.warmup-card-top,.readiness-station-head { color: #7d7992; font-size: 10px; font-weight: 900; letter-spacing: .08em; }.warmup-card-top span:last-child { color: #6554ca; }
.warmup-card > p:not(.warmup-feedback) { min-height: 50px; margin: 12px 0; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.45; }
.warmup-actions,.readiness-options { display: flex; flex-wrap: wrap; gap: 8px; }
.warmup-actions button,.readiness-options button { min-height: 44px; padding: 9px 12px; border: 1px solid #e8e5f3; border-radius: 11px; color: #55516e; background: #fbfaff; cursor: pointer; font-size: 13px; font-weight: 800; }
.warmup-actions button[aria-pressed="true"],.readiness-options button.is-selected { border-color: var(--purple); color: #4938ad; background: #f2efff; }
.warmup-feedback { min-height: 22px; margin: 11px 0 0; color: #5c6382; font-size: 13px; line-height: 1.45; }
.game-checkpoint-footer { flex-wrap: wrap; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(103,81,232,.15); color: #615d7a; font-size: 13px; }.game-checkpoint-footer strong { color: #3f358c; }
.build-slots { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 10px; }
.build-slot { display: flex; align-items: flex-start; gap: 11px; min-height: 91px; padding: 13px; border: 1px solid #e4e0ef; border-radius: 15px; background: rgba(255,255,255,.94); }
.build-slot-number { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 10px; color: #31277c; background: var(--lime); font-weight: 900; }.build-slot-copy { display: grid; width: 100%; gap: 9px; }.build-slot-copy strong { color: #4b4866; font-size: 14px; line-height: 1.4; }.build-slot select { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #ded9ef; border-radius: 10px; color: #403b62; background: white; font-size: 14px; }
.game-action-row { flex-wrap: wrap; justify-content: flex-start; margin-top: 14px; }.game-action-row > span { color: #77758e; font-size: 13px; }
.game-result { margin-top: 13px; padding: 14px 16px; border: 1px dashed #c8c2e7; border-radius: 14px; color: #5f5d76; background: rgba(255,255,255,.76); }.game-result.is-visible { border-style: solid; border-color: #8dd8b5; background: #f6fff9; }.game-result strong { color: #332b75; font-size: 15px; }.game-result p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }.game-result small { display: block; margin-top: 7px; font-size: 12px; line-height: 1.45; }.prediction-chip { display: inline-block; padding: 3px 8px; border-radius: 999px; color: #245c49; background: #d7f8e9; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.readiness-station-head { margin-bottom: 11px; }.readiness-station h3 { min-height: 48px; margin: 0 0 12px; color: #393653; font-size: 15px; line-height: 1.5; }.readiness-options { display: grid; grid-template-columns: 1fr; }.readiness-options button { text-align: left; }
.lesson-section h2 { margin: 0 0 13px; font-family: "Space Grotesk",sans-serif; font-size: 21px; letter-spacing: -.04em; }
.learn-card { padding: 20px; border: 1px solid #edeaf5; border-radius: 19px; background: white; }
.learn-card p { margin: 0; color: #5f5d76; font-size: 13px; line-height: 1.7; }.learn-card p + p { margin-top: 13px; }
.notes-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.notes-list li { display: flex; gap: 10px; color: #5f5d76; font-size: 12px; line-height: 1.55; }.notes-list li::before { flex: 0 0 auto; color: #4eae89; content: "✳"; }
.real-world-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }.real-world-heading .section-kicker { margin: 0 0 6px; }.real-world-heading h2 { margin-bottom: 0; }
.real-world-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.real-world-card { position: relative; display: flex; flex-direction: column; gap: 7px; min-height: 118px; padding: 16px 42px 16px 16px; border: 1px solid #e9e6f2; border-radius: 16px; color: var(--ink); background: white; text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.real-world-card:hover { transform: translateY(-2px); border-color: #c8c0ff; box-shadow: 0 10px 24px #30236d0d; }.real-world-card strong { font-family: "Space Grotesk",sans-serif; font-size: 13px; }.real-world-card > span:last-child { color: #6e6b84; font-size: 11px; line-height: 1.55; }.real-world-link { position: absolute; top: 14px; right: 15px; color: var(--purple); font-size: 16px; }
.practice-card { padding: 20px; border: 1px solid #e9e6f2; border-radius: 19px; background: white; }
.practice-card > p { margin: 0 0 15px; color: #69677f; font-size: 12px; line-height: 1.55; }
.practice-prompt { padding: 13px 14px; border-left: 3px solid var(--purple); border-radius: 0 12px 12px 0; color: #383654; background: #f7f5ff; font-size: 12px; font-weight: 700; line-height: 1.55; }
.practice-options { display: grid; gap: 9px; margin-top: 13px; }
.practice-option { display: flex; align-items: start; gap: 10px; width: 100%; padding: 12px; border: 1px solid #ebe8f2; border-radius: 12px; text-align: left; color: #605e76; background: white; cursor: pointer; font-size: 11px; line-height: 1.5; }
.practice-option:hover { border-color: #bdb3ff; background: #fcfbff; }.practice-option.is-selected { border-color: var(--purple); color: #4536a5; background: #f4f1ff; }
.option-dot { display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border: 1.5px solid #d1cede; border-radius: 50%; font-size: 9px; font-weight: 900; }
.practice-option.is-selected .option-dot { border-color: var(--purple); color: white; background: var(--purple); }
.artifact-label { display: block; margin: 17px 0 7px; color: #58566f; font-size: 11px; font-weight: 800; }
.artifact-input { display: block; width: 100%; min-height: 112px; padding: 13px; resize: vertical; border: 1px solid #e8e5f0; border-radius: 13px; color: var(--ink); background: #fdfcff; font-size: 12px; line-height: 1.6; }
.artifact-help { margin: 7px 0 0; color: #9290a3; font-size: 10px; line-height: 1.5; }
.practice-feedback { margin-top: 12px; padding: 12px; border-radius: 12px; color: #835333; background: #fff7e6; font-size: 11px; line-height: 1.5; }.practice-feedback.good { color: #26735b; background: #e9f9f1; }
.code-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 8px; color: #514f69; }.code-heading strong { font-size: 11px; }.code-heading span { color: #8b899e; font-size: 9px; }
.code-editor { display: block; width: 100%; min-height: 365px; padding: 15px; resize: vertical; border: 1px solid #28264f; border-radius: 14px; color: #e4e1ff; background: #191737; font: 11px/1.58 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 4; }
.code-actions { display: flex; align-items: center; gap: 12px; margin-top: 11px; }.code-actions .button { min-height: 40px; padding: 0 15px; border-radius: 11px; font-size: 11px; }.code-actions .button:disabled { opacity: .65; cursor: wait; transform: none; }.code-status { color: #818098; font-size: 10px; line-height: 1.45; }
.code-output { min-height: 58px; margin: 11px 0 0; padding: 13px; overflow: auto; border: 1px solid #ece9f4; border-radius: 12px; color: #c1f5e2; background: #23213f; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.check-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.check-list span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 9px; color: #77758e; background: #f4f2f9; font-size: 9px; font-weight: 700; }.check-list .check-ok { color: #28775e; background: #e8f8f1; }.check-list .check-bad { color: #a85b4b; background: #fff0eb; }
.notebook-box { margin: 16px 0; padding: 15px; border: 1px solid #e9e6f2; border-radius: 15px; background: #fbfaff; }.notebook-box strong { display: block; font-size: 11px; }.notebook-box p { margin: 6px 0 11px; color: #77758e; font-size: 10px; line-height: 1.55; }.notebook-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }.notebook-file { display: block; width: 100%; padding: 11px; border: 1px dashed #c9c4dd; border-radius: 11px; color: #65627c; background: white; font-size: 10px; }.notebook-box code { color: #5141c1; font-size: 10px; }
.rubric-checks { display: grid; gap: 9px; margin: 15px 0 4px; padding: 13px; border: 1px solid #e8e4f4; border-radius: 13px; background: #fcfbff; }.rubric-checks > strong { margin-bottom: 2px; font-size: 10px; }.rubric-checks label { display: flex; align-items: start; gap: 9px; color: #69677f; font-size: 10px; line-height: 1.45; cursor: pointer; }.rubric-checks input { flex: 0 0 auto; accent-color: var(--purple); }
.quiz-card { display: grid; gap: 14px; }
.quiz-question { padding: 16px; border: 1px solid #ece9f3; border-radius: 15px; background: white; }
.quiz-question h3 { margin: 0 0 11px; font-size: 12px; line-height: 1.5; }.quiz-question small { display: block; margin-bottom: 9px; color: #89869d; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.quiz-choices { display: grid; gap: 7px; }
.quiz-choice { width: 100%; padding: 10px 11px; border: 1px solid #efedf5; border-radius: 10px; text-align: left; color: #66647d; background: #fdfcff; cursor: pointer; font-size: 11px; line-height: 1.4; }
.quiz-choice:hover { border-color: #c4bcfb; }.quiz-choice.is-selected { border-color: var(--purple); color: #4938ad; background: #f4f1ff; }
.quiz-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid #edeaf5; border-radius: 15px; background: #fbfaff; }
.quiz-footer span { color: #77758e; font-size: 11px; line-height: 1.5; }
.lesson-sidebar { position: sticky; top: 105px; align-self: start; }
.side-card { margin-bottom: 13px; padding: 17px; border: 1px solid #ece9f4; border-radius: 17px; background: white; }
.side-card h3 { margin: 0 0 12px; font-family: "Space Grotesk",sans-serif; font-size: 14px; letter-spacing: -.02em; }
.side-stat { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid #f1eff6; color: #77758e; font-size: 10px; }.side-stat strong { color: var(--ink); font-size: 11px; }
.side-note { color: #77758e; font-size: 10px; line-height: 1.55; }
.side-reward { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 13px; background: #f5ffd9; }.side-reward-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: white; font-size: 16px; }.side-reward strong { display: block; font-size: 11px; }.side-reward span { display: block; margin-top: 3px; color: #697b3f; font-size: 9px; }
.lesson-bottom-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 29px; padding-top: 20px; border-top: 1px solid var(--line); }
.pass-banner { display: flex; align-items: center; gap: 15px; margin: 18px 0 0; padding: 16px; border-radius: 16px; color: #165b47; background: #e0f8ee; }
.pass-banner strong { display: block; font-family: "Space Grotesk",sans-serif; font-size: 17px; }.pass-banner p { margin: 4px 0 0; color: #427362; font-size: 11px; line-height: 1.5; }
.certificate-card { margin-top: 14px; padding: 18px; border: 1px dashed #a69cec; border-radius: 17px; background: #f8f6ff; }
.certificate-card strong { display: block; font-size: 12px; }.certificate-card p { margin: 6px 0 13px; color: #77758e; font-size: 10px; line-height: 1.5; }
.certificate-name-field { display: grid; gap: 7px; margin: 12px 0 0; color: #4e4b67; font-size: 10px; font-weight: 700; }.certificate-name-field input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #ded9ed; border-radius: 10px; color: var(--ink); background: white; font: inherit; font-weight: 500; }.certificate-name-field input:focus { outline: 2px solid #d3cdfd; border-color: var(--purple); }.certificate-card .certificate-name-note { margin: 6px 0 12px; font-size: 9px; }
.certificate-preview { position: relative; overflow: hidden; padding: 24px 20px; border: 1px solid #e4defb; border-radius: 14px; text-align: center; background: white; }
.certificate-preview::before, .certificate-preview::after { position: absolute; width: 85px; height: 85px; border: 1px solid #eeeaff; border-radius: 50%; content: ""; }
.certificate-preview::before { top: -42px; left: -42px; }.certificate-preview::after { right: -42px; bottom: -42px; }
.certificate-preview small { color: #6751e8; font-size: 8px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }.certificate-preview h3 { margin: 12px 0 5px; font-family: "Space Grotesk",sans-serif; font-size: 20px; }.certificate-preview p { margin: 0; color: #77758e; font-size: 10px; }

/* Dashboard, dialogs and status */
.dashboard-hero { padding: 49px max(6vw,24px) 38px; background: linear-gradient(112deg,#ece9ff 0%,#f5f3ff 70%,#e4faf6 100%); }
.dashboard-hero h1 { margin: 12px 0 8px; font-family: "Space Grotesk",sans-serif; font-size: clamp(34px,4.5vw,52px); letter-spacing: -.065em; }
.dashboard-hero p { margin: 0; color: #6e6b86; font-size: 14px; }
.dashboard-body { padding: 31px max(6vw,24px) 80px; }
.dash-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.dash-stat { padding: 17px; border: 1px solid #ece9f4; border-radius: 17px; background: white; }.dash-stat span { color: #87859b; font-size: 10px; font-weight: 800; }.dash-stat strong { display: block; margin-top: 8px; font-family: "Space Grotesk",sans-serif; font-size: 24px; letter-spacing: -.04em; }
.dash-columns { display: grid; grid-template-columns: 1.05fr .95fr; gap: 17px; margin-top: 17px; }.dash-card { padding: 21px; border: 1px solid #ece9f4; border-radius: 19px; background: white; }.dash-card h2 { margin: 0 0 15px; font-family: "Space Grotesk",sans-serif; font-size: 18px; letter-spacing: -.035em; }
.continue-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 14px; background: #f5f3ff; }.continue-card strong { display: block; font-size: 12px; }.continue-card span { display: block; margin-top: 5px; color: #7c7a91; font-size: 10px; }.empty-state { padding: 20px 0; color: #7c7a91; font-size: 12px; line-height: 1.6; }
.certificate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #f0eef6; }.certificate-row:first-of-type { border-top: 0; }.certificate-row strong { display: block; font-size: 11px; }.certificate-row span { display: block; margin-top: 4px; color: #87859b; font-size: 9px; }
.modal { position: fixed; inset: 0; width: min(490px, calc(100vw - 30px)); max-height: min(90vh, 720px); padding: 31px; overflow: auto; border: 0; border-radius: 25px; color: var(--ink); background: #fff; box-shadow: 0 25px 90px rgba(20,16,63,.28); }
.modal::backdrop { background: rgba(21,18,57,.62); backdrop-filter: blur(5px); }
.modal-close { position: absolute; top: 16px; right: 16px; display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid #eeecf4; border-radius: 50%; color: #7b7893; background: white; cursor: pointer; font-size: 21px; }
.modal-icon { display: grid; width: 46px; height: 46px; margin-bottom: 18px; place-items: center; border-radius: 15px; color: #4e3dc0; background: #f0edff; font-size: 22px; }.coin-icon { color: #54720b; background: #f1ffd3; font-family: "Space Grotesk",sans-serif; font-size: 20px; font-weight: 800; }
.modal h2 { margin: 0; font-family: "Space Grotesk",sans-serif; font-size: 33px; line-height: 1.03; letter-spacing: -.06em; }.modal h2 span { color: var(--purple); }
.modal-copy { margin: 13px 0 18px; color: #76748c; font-size: 12px; line-height: 1.65; }
.google-button { width: 100%; border: 1px solid #e8e6ef; color: #3c3b53; background: white; }.google-g { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #4285f4; font-weight: 900; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #9896a8; font-size: 10px; }.auth-divider span { height: 1px; flex: 1; background: #eeecf3; }
.field-label { display: block; margin: 10px 0 7px; color: #5d5b73; font-size: 10px; font-weight: 800; }
.input-row { display: flex; align-items: stretch; gap: 8px; }.input-row input { width: 100%; min-width: 0; min-height: 46px; padding: 0 12px; border: 1px solid #e8e5f0; border-radius: 12px; color: var(--ink); background: #fdfcff; font-size: 12px; }.input-row .button { min-height: 46px; padding: 0 15px; font-size: 11px; white-space: nowrap; }
.auth-status { min-height: 18px; margin-top: 8px; color: #5c53a4; font-size: 10px; line-height: 1.5; }
.guardian-note { display: flex; gap: 9px; margin-top: 15px; padding: 11px; border-radius: 12px; color: #68657b; background: #f6f5fa; font-size: 9px; line-height: 1.5; }
.checkout-price { display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; align-items: center; margin: 18px 0; padding: 16px; border: 1px solid #eeeaf8; border-radius: 16px; background: #fbfaff; }.checkout-price span { color: #67657d; font-size: 11px; font-weight: 700; }.checkout-price strong { grid-row: span 2; font-family: "Space Grotesk",sans-serif; font-size: 27px; }.checkout-price small { color: #8e8ca1; font-size: 9px; }
.purchase-guardian { display: flex; align-items: flex-start; gap: 9px; margin: -6px 0 14px; color: #68667d; font-size: 10px; line-height: 1.5; cursor: pointer; }.purchase-guardian input { flex: 0 0 auto; accent-color: var(--purple); }
.checkout-footnote { margin: 12px 0 0; text-align: center; color: #9290a3; font-size: 9px; line-height: 1.5; }
.qr-wrap { margin: 16px 0; padding: 17px; border: 1px solid #ece9f4; border-radius: 16px; text-align: center; background: white; }.qr-wrap img { width: 210px; max-width: 100%; height: auto; image-rendering: pixelated; }.qr-wrap p { max-width: 270px; margin: 11px auto 0; color: #77758e; font-size: 10px; line-height: 1.5; }
.text-button { display: block; margin: 12px auto 0; border: 0; color: #5343c0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: min(370px,calc(100vw - 40px)); padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; color: white; background: #25224f; box-shadow: 0 14px 40px rgba(22,18,63,.2); font-size: 12px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .2s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }
.loading-state { display: grid; min-height: 50vh; place-items: center; color: #77758e; }
.instructor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.instructor-card { margin-top: 17px; padding: 22px; border: 1px solid #ece9f4; border-radius: 19px; background: #fff; }
.instructor-card h2 { margin: 0 0 7px; font-family: "Space Grotesk",sans-serif; font-size: 20px; letter-spacing: -.035em; }
.instructor-card > p { margin: 0 0 15px; color: #77758e; font-size: 12px; line-height: 1.6; }
.instructor-table-wrap { overflow-x: auto; }
.instructor-table { width: 100%; border-collapse: collapse; text-align: left; }
.instructor-table th { padding: 12px 10px; color: #77758e; background: #f9f8fd; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.instructor-table td { padding: 13px 10px; border-top: 1px solid #efedf5; color: #424057; font-size: 12px; white-space: nowrap; }
.instructor-table td strong,.instructor-table td span { display: block; }
.instructor-table td span { margin-top: 4px; color: #89879d; font-size: 10px; }
.instructor-footnote { color: #818096; font-size: 11px; line-height: 1.6; }
.editor-select-label { display: grid; gap: 7px; color: #56536c; font-size: 11px; font-weight: 800; }
.editor-select { min-height: 43px; min-width: min(370px, 76vw); padding: 0 12px; border: 1px solid #e6e2ef; border-radius: 11px; color: var(--ink); background: #fff; font: inherit; }
.editor-status-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.editor-status-row p { margin: 5px 0 0; color: #7b798f; font-size: 11px; }
.lesson-editor-form { display: grid; gap: 14px; }
.lesson-editor-form label { display: grid; gap: 7px; color: #56536c; font-size: 11px; font-weight: 800; }
.lesson-editor-form label span { color: #87859b; font-weight: 500; }
.lesson-editor-form input,.lesson-editor-form textarea { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #e6e2ef; border-radius: 11px; color: var(--ink); background: #fff; font: 500 13px/1.5 "DM Sans",sans-serif; }
.lesson-editor-form textarea { resize: vertical; }
.lesson-editor-form input:focus,.lesson-editor-form textarea:focus,.editor-select:focus { outline: 2px solid #d4cffd; border-color: var(--purple); }
.editor-actions,.editor-revision-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.editor-preview { margin-top: 8px; padding: 20px; border: 1px solid #e5e1f3; border-radius: 16px; background: #fbfaff; }
.editor-preview .section-kicker { margin: 0 0 8px; }
.editor-preview h3 { margin: 0 0 9px; font: 700 20px "Space Grotesk",sans-serif; }
.editor-preview h4 { margin: 16px 0 5px; color: #5143b4; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.editor-preview p,.editor-preview li { white-space: pre-wrap; color: #5e5c72; font-size: 12px; line-height: 1.65; }
.editor-preview p { margin: 0; }
.editor-preview ul { margin: 0; padding-left: 20px; }
.preview-pass-rule { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid #e8e4f3; }
.editor-revision-row .editor-select { flex: 1; }
.revision-card { margin-top: 13px; }
.revision-card h2 { margin-bottom: 13px; }
@media (max-width: 760px) {
  .instructor-actions,.editor-status-row { align-items: stretch; flex-direction: column; }
  .editor-select { min-width: 100%; }
  .lesson-editor-form .button { flex: 1; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0,.95fr) minmax(370px,1.05fr); gap: 35px; }
  .hero h1 { font-size: clamp(48px,6.4vw,65px); }
  .floating-note { right: -6px; }
  .lesson-layout { padding-right: 24px; padding-left: 24px; }
  .difference-grid { gap: 35px; }
}
@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 19px; }.main-nav { display: none; position: absolute; top: 65px; right: 12px; left: 12px; align-items: stretch; gap: 0; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }.main-nav.is-open { display: flex; flex-direction: column; }.main-nav a { padding: 13px; }.menu-toggle { display: grid; width: 37px; height: 37px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 11px; background: white; }.menu-toggle span { width: 16px; height: 2px; border-radius: 3px; background: var(--ink); }.header-actions { gap: 7px; }.header-actions .button-small { display: none; }.profile-chip { gap: 5px; font-size: 11px; }
  .hero { padding: 43px 20px 45px; }.hero-grid { grid-template-columns: 1fr; gap: 22px; }.hero-copy { padding: 0; }.hero h1 { max-width: 560px; margin: 19px 0 14px; font-size: clamp(47px,12vw,68px); }.hero-copy > p { font-size: 15px; }.hero-actions { flex-wrap: wrap; gap: 11px; margin-top: 22px; }.hero-avatars { display: none; }.hero-social-proof { margin-top: 11px; }.hero-sample { padding: 17px; border-radius: 21px; }.floating-note { right: 5px; bottom: -11px; }.hero-bottom { flex-wrap: wrap; gap: 9px; margin-top: 33px; font-size: 9px; }
  .proof-strip { grid-template-columns: repeat(2,1fr); width: calc(100% - 40px); padding: 17px 0; }.proof-item { justify-content: flex-start; padding: 10px 8px; border-right: 0; }.proof-item:nth-child(odd) { border-right: 1px solid var(--line); }.proof-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; }.proof-item strong { font-size: 10px; }.proof-item span { font-size: 9px; }
  .section { padding: 65px 21px; }.section-title { font-size: clamp(32px,9vw,45px); }.section-subtitle { font-size: 14px; }.how-head { align-items: flex-start; flex-direction: column; gap: 15px; }.steps-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }.step-card { padding: 18px; }.step-number { margin-bottom: 14px; }.step-card p { font-size: 12px; }
  .path-grid { grid-template-columns: 1fr; margin-top: 27px; }.path-node { min-height: 0; padding: 17px 17px 21px 27px; border-top: 0; border-left: 1px solid rgba(220,216,255,.28); }.path-node::before { top: 19px; left: -6px; }.path-node::after { display: none; }.path-node h3 { margin: 8px 0 5px; }.path-node p { font-size: 10px; }.path-footer { align-items: flex-start; flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 430px; margin-top: 27px; }.price-card { padding: 21px; }.difference-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 26px; }.quote-card { padding: 22px; }.quote-card strong { font-size: 22px; }.closing-cta { padding: 57px 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 13px; padding: 29px 22px 20px; }.brand-footer + p { grid-column: 1; }.footer-links { grid-column: 1; grid-row: auto; flex-wrap: wrap; }.site-footer small { grid-column: 1; }
  .course-hero { padding: 35px 21px 26px; }.course-hero-grid { grid-template-columns: 1fr; }.course-stats { flex-wrap: wrap; }.course-stat { min-width: 85px; }.course-hero h1 { font-size: 42px; }.course-hero p { font-size: 13px; }
  .course-toolbar { padding: 13px 20px; }.course-toolbar-inner { align-items: flex-start; flex-direction: column; }.course-progress { width: 100%; max-width: none; }.course-map { padding: 19px 13px 55px; }.unit-toggle { grid-template-columns: 39px minmax(0,1fr) auto; gap: 10px; padding: 14px 12px; }.unit-number { width: 37px; height: 37px; border-radius: 12px; font-size: 12px; }.unit-meta { display: none; }.unit-title-wrap strong { font-size: 12px; }.unit-title-wrap span { font-size: 9px; }.unit-body { padding: 0 10px 12px; }.lesson-row { grid-template-columns: 30px minmax(0,1fr) auto; gap: 9px; padding: 11px 3px; }.lesson-status { width: 29px; height: 29px; border-radius: 9px; }.lesson-row .button { grid-column: 3; grid-row: 1; min-height: 31px; padding: 0 10px; }.lesson-badges { display: none; }.lesson-copy strong { font-size: 10px; }.lesson-copy span { font-size: 9px; }
  .lesson-layout { grid-template-columns: 1fr; gap: 18px; padding: 24px 18px 60px; }.lesson-sidebar { position: static; order: -1; }.lesson-sidebar .side-card:not(.side-progress) { display: none; }.lesson-title { font-size: 38px; }.lesson-lede { font-size: 13px; }.lesson-mission { padding: 14px; }.lesson-mission p { font-size: 11px; }.lesson-section { margin-top: 22px; }.lesson-section h2 { font-size: 19px; }.learn-card,.practice-card { padding: 15px; }.learn-card p { font-size: 12px; }.quiz-question { padding: 13px; }.quiz-footer { align-items: stretch; flex-direction: column; }.quiz-footer .button { width: 100%; }.lesson-bottom-nav { flex-wrap: wrap; }.lesson-bottom-nav .button { flex: 1; }
  .real-world-grid { grid-template-columns: 1fr; }
  .dashboard-hero { padding: 37px 21px 26px; }.dashboard-body { padding: 23px 18px 60px; }.dash-grid { grid-template-columns: repeat(2,1fr); }.dash-stat { padding: 13px; }.dash-stat strong { font-size: 21px; }.dash-columns { grid-template-columns: 1fr; }
  .modal { padding: 25px 21px; border-radius: 21px; }.modal h2 { font-size: 29px; }.input-row .button { padding: 0 11px; }.guardian-note { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
