:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #dbe5e7;
  --canvas: #f6fbfc;
  --paper: #ffffff;
  --tint: #eaf7f5;
  --accent: #127569;
  --accent-dark: #0f5f56;
  --gold: #f3c44e;
  --coral: #ef6f6c;
  --blue: #27548a;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
select,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 188px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(18, 117, 105, 0.22);
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--tint);
  color: var(--accent-dark);
}

.language-control select {
  height: 40px;
  min-width: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  padding: 0 12px;
}

.hero-band,
.page-hero,
.content-band,
.split-band,
.article-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  padding: 58px 0 34px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.05;
}

.hero-copy p,
.page-hero p,
.section-heading p,
.split-band p,
.subject-card p,
.guide-card p,
.plain-stack p,
.source-list p {
  color: var(--ink-soft);
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  font-size: 1.12rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(18, 117, 105, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 10px;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action,
.quiz-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  padding: 10px 16px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.primary-action,
.quiz-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(18, 117, 105, 0.2);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover,
.quiz-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.hero-panel {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.dashboard-top,
.subject-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-top span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.dashboard-top strong {
  color: var(--accent-dark);
  font-size: 2rem;
  line-height: 1;
}

.meter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.meter-grid div {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.meter-grid span {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
}

.meter-grid div:nth-child(2) span {
  background: var(--coral);
}

.meter-grid div:nth-child(3) span {
  background: var(--blue);
}

.meter-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 1.65rem;
}

.meter-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.paper-preview {
  display: grid;
  gap: 8px;
}

.paper-preview a,
.index-list a {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 11px;
}

.paper-preview span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.paper-preview em,
.index-list em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.page-hero {
  padding: 54px 0 24px;
}

.content-band {
  padding: 34px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 20px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading h2,
.split-band h2,
.article-section h2,
.article-content h2 {
  margin: 6px 0 8px;
  font-size: 1.85rem;
  line-height: 1.18;
}

.subject-grid,
.guide-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.subject-card,
.guide-card,
.topic-grid article,
.plain-stack article,
.source-list article,
.quiz-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.subject-card,
.guide-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  padding: 18px;
}

.subject-card-link {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.subject-card-link:hover {
  border-color: rgba(18, 117, 105, 0.28);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.subject-card h3,
.guide-card h2,
.topic-grid h3,
.plain-stack h3,
.source-list h2 {
  margin: 12px 0 8px;
  line-height: 1.22;
}

.subject-card p,
.guide-card p {
  margin: 0;
  flex: 1;
}

.card-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 117, 105, 0.22);
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 18px;
  padding: 9px 12px;
  white-space: nowrap;
}

.pill,
.code {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 3px 8px;
}

.pill {
  background: var(--tint);
  color: var(--accent-dark);
}

.code {
  background: #fff7df;
  color: #73540d;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  border: 1px solid rgba(18, 117, 105, 0.22);
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  padding: 9px 12px;
  white-space: nowrap;
}

.icon-link:hover {
  border-color: rgba(18, 117, 105, 0.36);
  background: #fff;
}

.split-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 22px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
}

.check-list,
.source-panel ul,
.article-meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li,
.source-panel li,
.article-meta li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink-soft);
  font-weight: 750;
}

.plain-stack,
.source-list {
  display: grid;
  gap: 12px;
}

.plain-stack article,
.source-list article {
  padding: 16px;
}

.index-list {
  display: grid;
  gap: 8px;
}

.practice-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.practice-index-card {
  display: grid;
  min-height: 126px;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  padding: 16px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.practice-index-card:hover {
  border-color: rgba(18, 117, 105, 0.28);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.practice-index-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.practice-index-card em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.topic-grid article {
  min-height: 126px;
  padding: 16px;
}

.topic-grid span {
  display: inline-grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.practice-hero {
  padding-bottom: 14px;
}

.quiz-root {
  display: grid;
  gap: 14px;
}

.study-engine {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.study-rail {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
}

.rail-card,
.rail-stats,
.rail-map {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.rail-card {
  padding: 15px;
}

.rail-kicker {
  display: block;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rail-card h3 {
  margin: 6px 0 12px;
  font-size: 1rem;
  line-height: 1.25;
}

.rail-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.rail-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
}

.rail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
}

.summary-mode .rail-stats {
  grid-template-columns: repeat(2, 1fr);
}

.rail-stats div {
  min-height: 72px;
  background: #fff;
  padding: 12px 10px;
}

.rail-stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
}

.rail-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.rail-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
}

.rail-map button {
  display: grid;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.rail-map button.current {
  border-color: rgba(18, 117, 105, 0.5);
  background: var(--tint);
  color: var(--accent-dark);
}

.rail-map button.correct {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.rail-map button.wrong {
  border-color: #fecaca;
  background: #fff7ed;
  color: #9a3412;
}

.quiz-workspace {
  min-width: 0;
}

.quiz-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.quiz-progress-head span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.quiz-progress-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.96rem;
}

.quiz-progress-head em {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 950;
}

.single-question {
  min-height: 420px;
}

.quiz-card {
  padding: 18px;
}

.quiz-card h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.quiz-meta span {
  border-radius: 8px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 8px;
}

.choice-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice-list label,
.engine-choices button {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.choice-list label:hover,
.engine-choices button:hover {
  border-color: rgba(18, 117, 105, 0.32);
  background: var(--tint);
}

.engine-choices button b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--blue);
  font-size: 0.82rem;
}

.engine-choices button.selected {
  border-color: rgba(18, 117, 105, 0.45);
  background: var(--tint);
}

.engine-choices button.correct-choice {
  border-color: #86efac;
  background: #f0fdf4;
}

.engine-choices button.wrong-choice {
  border-color: #fed7aa;
  background: #fff7ed;
}

.engine-choices button:disabled {
  cursor: default;
}

.quiz-hint {
  margin-top: 12px;
  min-height: 20px;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 850;
}

.choice-list input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.quiz-result {
  display: none;
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px;
  font-weight: 760;
}

.quiz-result.visible {
  display: block;
}

.quiz-result.correct {
  border: 1px solid #86efac;
  background: #f0fdf4;
  color: #166534;
}

.quiz-result.incorrect {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.quiz-toolbar {
  position: sticky;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 12px;
  backdrop-filter: blur(12px);
}

.engine-toolbar {
  position: static;
}

.engine-toolbar button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.summary-card {
  display: grid;
  min-height: 360px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.summary-mark {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent-dark);
  font-size: 1.8rem;
  font-weight: 950;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.score-output {
  color: var(--ink-soft);
  font-weight: 900;
}

.source-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-panel li {
  padding: 8px 10px;
}

.article-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px 0 46px;
}

.article-meta {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.article-meta strong {
  display: block;
  margin-bottom: 10px;
}

.article-content {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.article-content p {
  color: #27354a;
  font-size: 1rem;
}

.article-content ul,
.article-content ol {
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 8px;
}

.generated-article h2:first-child {
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 26px max(20px, calc((100vw - 1180px) / 2));
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.fine-print {
  font-size: 0.86rem;
}

.hero-photo {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #07111f;
}

.hero-bg-image,
.booklet-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-image {
  object-position: 72% 50%;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 23, 0.94) 0%, rgba(7, 17, 31, 0.82) 36%, rgba(7, 17, 31, 0.28) 62%, rgba(7, 17, 31, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.38), rgba(7, 17, 31, 0.08));
}

.hero-photo-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 52px;
}

.hero-photo .hero-copy {
  max-width: 620px;
}

.hero-photo .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff7df;
}

.hero-photo h1 {
  margin: 14px 0 14px;
  color: #fff;
  font-size: 4.15rem;
  line-height: 0.96;
}

.hero-photo p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
}

.hero-photo .secondary-action {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 42px;
}

.hero-stats div {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 15px;
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-stats strong,
.proof-metrics strong,
.price-card strong {
  display: block;
  line-height: 1;
}

.hero-stats strong {
  font-size: 2rem;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 900;
}

.product-proof-band,
.booklet-band,
.course-showcase {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.product-proof-band,
.course-showcase,
.booklet-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.proof-copy h2,
.booklet-copy h2 {
  margin: 8px 0 12px;
  font-size: 2.35rem;
  line-height: 1.08;
}

.proof-copy p,
.booklet-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.proof-metrics div {
  min-height: 96px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 14px;
}

.proof-metrics strong {
  color: #07111f;
  font-size: 1.75rem;
}

.proof-metrics span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.dashboard-stage,
.course-stage,
.booklet-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1500px;
}

.dashboard-wrap,
.course-wrap {
  position: relative;
  width: 630px;
  height: 420px;
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateX(6deg) translateY(-8px);
  animation: dashboardFloat 5.8s ease-in-out infinite;
}

@keyframes dashboardFloat {
  0%,
  100% {
    transform: rotateY(-12deg) rotateX(6deg) translateY(-8px);
  }

  50% {
    transform: rotateY(-8deg) rotateX(7deg) translateY(-22px);
  }
}

.dashboard-shadow,
.course-shadow {
  position: absolute;
  inset: 34px -22px -20px 38px;
  border-radius: 28px;
  background: rgba(7, 17, 31, 0.16);
  filter: blur(26px);
  transform: translateZ(-36px);
}

.dashboard-back,
.course-back {
  position: absolute;
  inset: 16px -18px -16px 26px;
  border-radius: 26px;
  background: linear-gradient(135deg, #dbe5ee, #fff 38%, #cbd5e1);
  transform: translateZ(-20px);
  box-shadow: 18px 28px 54px rgba(7, 17, 31, 0.16);
}

.dashboard-screen,
.course-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 48px 110px rgba(7, 17, 31, 0.26);
  transform: translateZ(26px);
}

.screen-top {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #07111f, #132d52);
  color: #fff;
  padding: 0 18px;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.traffic span:nth-child(2) {
  background: #f59e0b;
}

.traffic span:nth-child(3) {
  background: #10b981;
}

.screen-title,
.secure-pill {
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.secure-pill {
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #b7ffe1;
  padding: 6px 9px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 364px;
}

.mini-sidebar {
  background: #07111f;
  color: #fff;
  padding: 16px 11px;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.76rem;
}

.mini-logo {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #ffe08a);
  color: #07111f;
  font-weight: 950;
}

.mini-nav {
  display: grid;
  gap: 7px;
}

.mini-nav span {
  display: flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 850;
  padding: 0 9px;
}

.mini-nav span.active {
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
}

.mini-upgrade {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(243, 196, 78, 0.24), rgba(39, 84, 138, 0.22));
  padding: 11px;
}

.mini-upgrade strong,
.mini-upgrade span {
  display: block;
  font-size: 0.62rem;
}

.mini-upgrade span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}

.dash-content {
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc, #fff);
  padding: 16px;
}

.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}

.dash-head h3 {
  margin: 0;
  color: #07111f;
  font-size: 1.1rem;
  line-height: 1.15;
}

.dash-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.64rem;
}

.score,
.progress-ring {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#059669 0 82%, #e5e7eb 82% 100%);
}

.score {
  width: 62px;
  height: 62px;
}

.score span,
.progress-ring span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #07111f;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px #edf2f7;
}

.score span {
  width: 46px;
  height: 46px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.kpi-row div,
.chart,
.modules,
.bottom-grid > div,
.library-stats div,
.lesson {
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.kpi-row div {
  min-height: 64px;
  border-radius: 8px;
  padding: 9px;
}

.kpi-row strong {
  display: block;
  color: #07111f;
  font-size: 0.94rem;
}

.kpi-row span {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 800;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}

.chart,
.modules {
  height: 128px;
  border-radius: 8px;
  padding: 12px;
}

.chart strong,
.bottom-grid strong {
  display: block;
  color: #07111f;
  font-size: 0.7rem;
  margin-bottom: 8px;
}

.bars {
  display: flex;
  height: 80px;
  align-items: end;
  gap: 6px;
}

.bars i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #27548a, #0891b2);
}

.bars i:nth-child(even) {
  background: linear-gradient(180deg, #059669, #0891b2);
}

.modules {
  display: grid;
  gap: 7px;
}

.module-line {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 6px;
  align-items: center;
}

.module-line span,
.module-line b {
  font-size: 0.58rem;
}

.module-line span {
  color: #07111f;
  font-weight: 850;
}

.module-line b {
  color: var(--muted);
}

.track {
  grid-column: 1 / 3;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5e7eb;
}

.track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #ffe08a);
}

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.bottom-grid > div {
  height: 68px;
  border-radius: 8px;
  padding: 10px;
}

.heat {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.heat i {
  height: 9px;
  border-radius: 3px;
  background: #e2e8f0;
}

.heat i.on {
  background: linear-gradient(135deg, #059669, #0891b2);
}

.risk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.risk {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.45rem;
  font-weight: 900;
  padding: 3px 5px;
}

.risk.red {
  background: #fee2e2;
  color: #b91c1c;
}

.risk.amber {
  background: #fef3c7;
  color: #92400e;
}

.spark {
  display: flex;
  height: 30px;
  align-items: end;
  gap: 4px;
}

.spark i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6d28d9, #a855f7);
}

.floating-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(7, 17, 31, 0.16);
  backdrop-filter: blur(18px);
  padding: 13px;
}

.floating-card strong {
  display: block;
  color: #07111f;
  font-size: 0.84rem;
}

.floating-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.ai-card {
  left: 0;
  bottom: 52px;
  width: 220px;
}

.coach-card {
  right: 2px;
  top: 80px;
  width: 190px;
}

.coach-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5e7eb;
  margin-top: 8px;
}

.coach-progress i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ffe08a);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  padding: 20px;
}

.price-card.featured {
  border-color: rgba(18, 117, 105, 0.34);
  box-shadow: 0 22px 46px rgba(18, 117, 105, 0.13);
}

.price-card h2 {
  margin: 14px 0 10px;
}

.price-card strong {
  color: #07111f;
  font-size: 2rem;
}

.price-card p {
  flex: 1;
  color: var(--ink-soft);
}

.price-card .primary-action,
.price-card .secondary-action {
  width: 100%;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.intent-grid article,
.intent-grid section,
.topic-intent-list > article {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.intent-grid article,
.intent-grid section {
  min-height: 156px;
  padding: 15px;
}

.intent-grid span,
.topic-intent-head span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intent-grid h3,
.intent-grid h4 {
  margin: 8px 0 8px;
  color: #07111f;
  font-size: 1rem;
  line-height: 1.35;
}

.intent-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.section-actions {
  margin-top: 18px;
}

.topic-intent-list {
  display: grid;
  gap: 14px;
}

.topic-intent-list > article {
  padding: 18px;
}

.topic-intent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.topic-intent-head h3 {
  margin: 0;
}

.booklet-band {
  border-top: 1px solid var(--line);
}

.booklet-stage {
  min-height: 610px;
}

.booklet-wrap {
  position: relative;
  width: 320px;
  height: 466px;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(3deg) rotateZ(-1deg);
  animation: bookletFloat 5s ease-in-out infinite;
}

@keyframes bookletFloat {
  0%,
  100% {
    transform: rotateY(-18deg) rotateX(3deg) rotateZ(-1deg) translateY(0);
  }

  50% {
    transform: rotateY(-14deg) rotateX(4deg) rotateZ(-1deg) translateY(-14px);
  }
}

.booklet-cover,
.booklet-pages {
  position: absolute;
  inset: 0;
  border-radius: 8px 3px 3px 8px;
}

.booklet-cover {
  overflow: hidden;
  background: #14224a;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.22);
  transform: translateZ(26px);
}

.booklet-cover img {
  object-position: 48% 50%;
}

.booklet-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, #14224a 0%, #14224a 42%, transparent 42.2%),
    linear-gradient(315deg, rgba(5, 8, 18, 0.92) 0%, rgba(5, 8, 18, 0.92) 33%, transparent 33.2%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 35%),
    linear-gradient(180deg, rgba(20, 34, 74, 0.05), rgba(20, 34, 74, 0.58));
  pointer-events: none;
}

.booklet-pages {
  left: 12px;
  top: 9px;
  width: 312px;
  height: 450px;
  background: linear-gradient(90deg, #e7e7e7, #fff 18%, #eeeeee);
  transform: translateZ(10px) translateX(12px);
}

.booklet-side {
  position: absolute;
  top: 10px;
  right: -42px;
  width: 42px;
  height: 448px;
  border-radius: 0 8px 8px 0;
  background:
    repeating-linear-gradient(90deg, #f3f3f3 0 3px, #d8d8d8 4px 5px),
    linear-gradient(90deg, #e9e9e9, #fff 45%, #c9c9c9);
  transform: rotateY(88deg) translateZ(21px);
  transform-origin: left center;
  box-shadow: 18px 24px 42px rgba(16, 24, 40, 0.16);
}

.booklet-cover-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  color: #fff;
  padding: 34px 27px;
  text-transform: uppercase;
}

.booklet-paper-label {
  width: fit-content;
  border-bottom: 5px solid #d7eb45;
  margin-bottom: 23px;
  padding-bottom: 9px;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
}

.booklet-cover-title {
  max-width: 250px;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.25;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.booklet-cover-badge {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  margin-top: 20px;
  padding: 8px 11px;
  font-size: 0.62rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.booklet-cover-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 0.74rem;
  font-weight: 950;
}

.booklet-mini-logo {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  color: #d7eb45;
}

.booklet-floating-note {
  position: absolute;
  right: 0;
  bottom: 68px;
  z-index: 3;
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.16);
  color: #14224a;
  padding: 15px;
  backdrop-filter: blur(16px);
}

.booklet-floating-note strong {
  display: block;
  margin-bottom: 4px;
}

.booklet-floating-note span {
  color: var(--muted);
  font-size: 0.78rem;
}

.course-wrap {
  width: 650px;
  height: 420px;
}

.course-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  height: 364px;
  background: #fff;
}

.video-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #07111f, #102a4c);
  padding: 16px;
}

.video-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #07111f 0%, #102a4c 58%, #0f172a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.65;
}

.video-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  color: #fff;
  padding: 24px;
}

.lesson-tag,
.video-meta span {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.64rem;
  font-weight: 950;
  padding: 8px 10px;
}

.video-title {
  max-width: 360px;
  margin: auto 0 18px;
}

.video-title h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.08;
}

.video-title p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.play-button {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 6px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #07111f;
  margin-left: 5px;
}

.timeline {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 20px;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: block;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ffe08a);
}

.course-panel {
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #fff);
  padding: 16px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.panel-head h3 {
  margin: 0;
  color: #07111f;
  font-size: 1rem;
}

.panel-head span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
}

.progress-ring {
  width: 50px;
  height: 50px;
  background: conic-gradient(#059669 0 64%, #e5e7eb 64%);
}

.progress-ring span {
  width: 36px;
  height: 36px;
  font-size: 0.62rem;
}

.library-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.library-stats div {
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.library-stats strong {
  display: block;
  color: #07111f;
  font-size: 0.78rem;
}

.library-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 850;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.module-tabs span {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.52rem;
  font-weight: 950;
  padding: 6px 8px;
}

.lesson-list {
  display: grid;
  gap: 7px;
}

.lesson {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
  padding: 8px;
}

.lesson.active {
  border-color: rgba(243, 196, 78, 0.56);
  background: linear-gradient(135deg, #fff, #fff9eb);
}

.lesson-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #27548a;
  font-size: 0.62rem;
  font-weight: 950;
}

.lesson.active .lesson-icon {
  background: linear-gradient(135deg, var(--gold), #ffe08a);
  color: #07111f;
}

.lesson strong {
  display: block;
  color: #07111f;
  font-size: 0.58rem;
}

.lesson small,
.lesson em {
  color: var(--muted);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 850;
}

.lesson.locked {
  opacity: 0.72;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-band,
  .split-band,
  .article-shell,
  .site-footer,
  .product-proof-band,
  .course-showcase,
  .booklet-band {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 590px;
  }

  .hero-photo-overlay {
    background: linear-gradient(90deg, rgba(5, 12, 23, 0.94) 0%, rgba(7, 17, 31, 0.84) 52%, rgba(7, 17, 31, 0.34) 100%);
  }

  .hero-photo h1 {
    font-size: 3.2rem;
  }

  .dashboard-stage,
  .course-stage,
  .booklet-stage {
    min-height: 520px;
  }

  .pricing-grid,
  .intent-grid,
  .practice-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-engine {
    grid-template-columns: 1fr;
  }

  .study-rail {
    position: static;
    order: 2;
  }

  .quiz-workspace {
    order: 1;
  }

  .rail-map {
    grid-template-columns: repeat(8, 1fr);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.3rem;
  }

  .subject-grid,
  .guide-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-meta {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero-band,
  .hero-photo-inner,
  .page-hero,
  .content-band,
  .split-band,
  .article-shell,
  .product-proof-band,
  .course-showcase,
  .booklet-band {
    width: min(100% - 28px, 1180px);
  }

  .hero-band {
    padding-top: 36px;
  }

  .hero-copy h1,
  .page-hero h1,
  .hero-photo h1 {
    font-size: 2rem;
  }

  .hero-photo {
    min-height: 560px;
  }

  .hero-photo p {
    font-size: 1rem;
  }

  .hero-bg-image {
    object-position: 64% 50%;
  }

  .hero-stats,
  .proof-metrics,
  .pricing-grid,
  .intent-grid,
  .practice-index-grid {
    grid-template-columns: 1fr;
  }

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

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

  .quiz-progress-head {
    align-items: flex-start;
  }

  .single-question {
    min-height: 0;
  }

  .engine-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-proof-band,
  .course-showcase,
  .booklet-band {
    gap: 26px;
    padding: 38px 0;
  }

  .proof-copy h2,
  .booklet-copy h2 {
    font-size: 1.7rem;
  }

  .dashboard-stage,
  .course-stage {
    min-height: 390px;
    overflow: hidden;
  }

  .dashboard-wrap,
  .course-wrap {
    width: 390px;
    height: 270px;
  }

  .screen-top {
    height: 42px;
    padding: 0 10px;
  }

  .screen-title {
    font-size: 0.5rem;
  }

  .secure-pill {
    font-size: 0.48rem;
    padding: 5px 7px;
  }

  .dashboard-body {
    grid-template-columns: 88px 1fr;
    height: 228px;
  }

  .mini-sidebar {
    padding: 9px 7px;
  }

  .mini-brand {
    font-size: 0.55rem;
    margin-bottom: 9px;
  }

  .mini-logo {
    width: 22px;
    height: 22px;
  }

  .mini-nav span {
    min-height: 22px;
    font-size: 0.46rem;
    padding: 0 6px;
  }

  .mini-upgrade,
  .bottom-grid,
  .floating-card,
  .course-panel {
    display: none;
  }

  .dash-content {
    padding: 9px;
  }

  .dash-head {
    margin-bottom: 7px;
  }

  .dash-head h3 {
    font-size: 0.78rem;
  }

  .dash-head span {
    font-size: 0.48rem;
  }

  .score {
    width: 40px;
    height: 40px;
  }

  .score span {
    width: 29px;
    height: 29px;
    font-size: 0.52rem;
  }

  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-bottom: 7px;
  }

  .kpi-row div {
    min-height: 46px;
    padding: 6px;
  }

  .kpi-row strong {
    font-size: 0.72rem;
  }

  .kpi-row span {
    font-size: 0.44rem;
  }

  .dash-grid {
    gap: 6px;
  }

  .chart,
  .modules {
    height: 78px;
    border-radius: 8px;
    padding: 7px;
  }

  .chart strong {
    font-size: 0.5rem;
    margin-bottom: 5px;
  }

  .bars {
    height: 42px;
    gap: 4px;
  }

  .module-line span,
  .module-line b {
    font-size: 0.43rem;
  }

  .track {
    height: 4px;
  }

  .course-body {
    grid-template-columns: 1fr;
    height: 228px;
  }

  .video-area {
    padding: 10px;
  }

  .video-frame {
    border-radius: 14px;
  }

  .video-content {
    padding: 16px;
  }

  .video-title h3 {
    font-size: 1.1rem;
  }

  .video-title p {
    font-size: 0.62rem;
  }

  .play-button {
    width: 58px;
    height: 58px;
    border-width: 5px;
  }

  .play-button::before {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }

  .booklet-stage {
    min-height: 500px;
  }

  .booklet-wrap {
    width: 265px;
    height: 386px;
  }

  .booklet-pages {
    width: 258px;
    height: 372px;
  }

  .booklet-side {
    right: -36px;
    width: 36px;
    height: 368px;
  }

  .booklet-cover-content {
    padding: 28px 22px;
  }

  .booklet-cover-title {
    font-size: 1.25rem;
  }

  .booklet-floating-note {
    right: 8px;
    bottom: 16px;
  }

  .meter-grid,
  .subject-grid,
  .guide-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .paper-preview a,
  .index-list a {
    grid-template-columns: 42px 1fr;
  }

  .paper-preview em,
  .index-list em {
    grid-column: 2;
  }

  .article-content {
    padding: 18px;
  }
}
