
:root {
  --bg: #eef5fc;
  --surface: #ffffff;
  --accent: #2f80ed;      
  --accent-2: #2769c2;    
  --accent-3: #69a7ff;    
  --text: #10233e;
  --text-muted: #6a7b92;
  --nav-border: #dce7f2;
  --card-to: #f8fbff;
  --font-display: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-btn: none;
  --shadow-card: 0 1px 2px rgba(16, 35, 62, 0.06), 0 8px 24px rgba(16, 35, 62, 0.06);
  --max-width: 1120px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--accent-2); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

img, svg { max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.btn-primary {
  background: var(--accent-2);
  color: #ffffff;
}

.btn-primary:hover { background: var(--accent-2); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--nav-border);
  box-shadow: var(--shadow-btn);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent-2); }

.btn-block { width: 100%; justify-content: center; }


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 2px solid var(--nav-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  white-space: nowrap;
}

.brand svg { width: 36px; height: 36px; flex-shrink: 0; }

.nav-toggle-input { display: none; }

.nav-toggle-label {
  display: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--accent-2); }

.lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-muted);
  border: 2px solid transparent;
}

.lang-switch a[aria-current="true"] {
  border-color: var(--nav-border);
  background: var(--bg);
  color: var(--text);
}

.lang-switch a:hover { color: var(--accent-2); }


.hero {
  padding: 64px 0 48px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero-audience {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-audience strong { color: var(--text); }

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-mascot {
  display: flex;
  justify-content: center;
}

.hero-mascot svg { width: min(280px, 70vw); height: auto; }

.hero-mascot .card { width: min(360px, 100%); }


section { padding: 56px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 40px;
}

.card {
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--nav-border);
  padding: 28px;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.feature-card { text-align: left; grid-column: span 2; }
.feature-card--wide { grid-column: span 3; }
.feature-card--full { grid-column: span 6; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .feature-card,
  .feature-card--wide,
  .feature-card--full { grid-column: auto; }
}

.feature-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  display: block;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card--wide {
  background-image: linear-gradient(180deg, var(--surface) 0%, var(--card-to) 100%);
  border-color: var(--accent-3);
}
.feature-card--wide .feature-icon { width: 36px; height: 36px; }
.feature-card--wide h3 { font-size: 1.3rem; }

.feature-card h3 { font-size: 1.15rem; }

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


.mockup-lesson-card {
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--nav-border);
  padding: 24px;
  max-width: 380px;
  margin: 0 auto;
}

.mockup-lesson-card .mockup-badge {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--nav-border);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mockup-lesson-card h4 {
  font-family: var(--font-display);
  margin: 0 0 10px;
}

.mockup-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid var(--nav-border);
}

.mockup-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 65%;
}

.mockup-steps { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--text-muted); }
.mockup-steps li { padding: 4px 0; display: flex; gap: 8px; align-items: center; }
.mockup-steps li.done { color: var(--text); }
.mockup-steps li.done::before { content: "✔"; color: var(--accent); }
.mockup-steps li.active::before { content: "▸"; color: var(--accent-2); }
.mockup-steps li:not(.done):not(.active)::before { content: "○"; opacity: 0.4; }


.assistant-section {
  background: var(--surface);
  border-top: 2px solid var(--nav-border);
  border-bottom: 2px solid var(--nav-border);
}

.assistant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.assistant-copy h2 { text-align: left; }

.assistant-badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.chat-mockup {
  background: var(--bg);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.chat-bubble.student {
  align-self: flex-end;
  background: var(--accent-3);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.assistant {
  align-self: flex-start;
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-bottom-left-radius: 4px;
}

.chat-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}


.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.compare-card {
  text-align: center;
  padding: 32px 20px;
}

.compare-card .compare-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 8px 0;
}

.compare-vs {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
}

.compare-card.tutoring .compare-price { color: var(--text-muted); }
.compare-card.app .compare-price { color: var(--accent-2); }
.compare-card.app { border-color: var(--accent-2); }



.video-frame {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--nav-border);
  overflow: hidden;
  background: #10233e;
  line-height: 0;
}

.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.video-fallback {
  line-height: 1.6;
  padding: 24px;
  color: #ffffff;
  text-align: center;
}

.video-note {
  max-width: 720px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.price-card.highlight {
  border-color: var(--accent-2);
  position: relative;
}

.price-card-badge {
  align-self: center;
  background: var(--accent-2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.price-card h3 { font-size: 1.1rem; margin-bottom: 4px; }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text);
  margin: 8px 0 0;
}

.price-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }

.price-savings {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.price-features li {
  padding: 6px 0 6px 22px;
  position: relative;
}

.price-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
}

.price-features li.excluded { opacity: 0.6; }
.price-features li.excluded::before { content: "✕"; color: var(--text-muted); }

.price-card.free .price-amount { color: var(--accent-3); }


.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-2);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p { color: var(--text-muted); padding-bottom: 16px; margin: 0; }


.final-cta {
  text-align: center;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  margin: 0 20px;
}

.final-cta h2 { color: #ffffff; }

.final-cta .btn-primary {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 4px 0 rgba(62, 44, 32, 0.25);
}


.site-footer {
  border-top: 2px solid var(--nav-border);
  padding: 32px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-2); }


.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.contact-aside p { color: var(--text-muted); font-size: 0.95rem; }

.contact-aside ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-aside li { margin-bottom: 8px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.field textarea { resize: vertical; min-height: 140px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent-3);
}

.field input.is-invalid,
.field textarea.is-invalid { border-color: #c4342b; }

.field-error {
  color: #c4342b;
  font-size: 0.85rem;
  margin-top: 6px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-row input { width: 120px; }

#captcha-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.form-error {
  background: #fdecea;
  border: 1px solid #f3b7b2;
  color: #8f231d;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.form-success {
  text-align: center;
  padding: 12px 0;
}

.form-success .form-success-mark {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 8px;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 16px 0 0;
}

.no-js-fallback { margin-bottom: 24px; }


@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-mascot { order: 0; }
  .assistant-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { padding: 4px 0; }
}



.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb .sep { margin: 0 7px; opacity: 0.6; }

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-lede {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.article h2 {
  font-size: 1.45rem;
  margin: 40px 0 14px;
}

.article h3 {
  font-size: 1.1rem;
  margin: 26px 0 10px;
}

.article p,
.article li {
  line-height: 1.75;
  color: var(--text-muted);
}

.article ul,
.article ol { padding-left: 22px; margin: 12px 0; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }

.example {
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 22px 0;
}

.example > :first-child { margin-top: 0; }
.example > :last-child { margin-bottom: 0; }

.callout {
  border-left: 5px solid var(--accent-2);
  background: rgba(217, 132, 82, 0.09);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 22px 0;
}

.callout > :last-child { margin-bottom: 0; }

.calc {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
  background: var(--surface);
  border: 2px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0;
  color: var(--text);
}

.table-scroll { overflow-x: auto; margin: 20px 0; }

.article table {
  border-collapse: collapse;
  width: 100%;
  min-width: 360px;
}

.article th,
.article td {
  border: 1px solid var(--nav-border);
  padding: 9px 12px;
  text-align: left;
  color: var(--text-muted);
}

.article th { background: var(--surface); color: var(--text); }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.guide-card { display: flex; flex-direction: column; }
.guide-card h2 { font-size: 1.12rem; margin-bottom: 8px; }
.guide-card h2 a { text-decoration: none; color: var(--text); }
.guide-card h2 a:hover { color: var(--accent-2); }
.guide-card p { flex: 1; font-size: 0.95rem; color: var(--text-muted); }
.guide-card .guide-more { font-weight: 700; }

.related {
  max-width: 760px;
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 2px solid var(--nav-border);
}

.related h2 { font-size: 1.1rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-bottom: 8px; }

@media (max-width: 1100px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid var(--nav-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 14px;
  }
  .nav-toggle-input:checked ~ .site-nav { display: flex; }
  .site-header { position: relative; }
  .lang-switch { margin-top: 6px; }
}


.footer-note {
  flex-basis: 100%;
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}


.assistant-visual { display: flex; flex-direction: column; align-items: center; }

.robot {
  width: 100%;
  max-width: 190px;
  height: auto;
  margin-bottom: 22px;
  animation: robot-float 5s ease-in-out infinite;
}

.robot-eyes {
  transform-origin: 100px 70px;
  animation: robot-blink 6.5s ease-in-out infinite;
}

.robot-spark {
  transform-origin: 100px 11px;
  animation: robot-spark 2.6s ease-in-out infinite;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@keyframes robot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.12); }
}

@keyframes robot-spark {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .robot, .robot-eyes, .robot-spark { animation: none; }
}

@media (max-width: 720px) {
  .robot { max-width: 132px; margin-bottom: 16px; }
}


.stat-strip {
  padding: 30px 0;
  background-color: var(--surface);
  background-image: linear-gradient(180deg, var(--surface) 0%, var(--card-to) 100%);
  border-top: 1px solid var(--nav-border);
  border-bottom: 1px solid var(--nav-border);
}

.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 12px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #47576f;
}

@media (max-width: 560px) {
  .stat-value { font-size: 27px; }
  .stat-label { font-size: 13px; }
}


.section-dark {
  --bg: #091426;
  --surface: #0d1728;
  --accent: #3d7dff;
  --accent-2: #9aa8bd;
  --accent-3: #1964d8;
  --text: #f4f7ff;
  --text-muted: #9aa8bd;
  --nav-border: #24334b;
  --card-to: #111d30;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px rgba(0, 0, 0, 0.35);

  background: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(60% 55% at 50% 42%, rgba(61, 125, 255, 0.22) 0%, rgba(9, 20, 38, 0) 70%);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--text); }

.section-dark .section-lede,
.section-dark .video-note,
.section-dark p { color: var(--text-muted); }

.section-dark .mockup-lesson-card {
  background: var(--surface);
  border-color: var(--nav-border);
  box-shadow: var(--shadow-card);
}

.section-lede {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 17px;
  line-height: 1.65;
}


.exam-facts { text-align: left; padding: 22px 24px; }
.exam-facts-title { font-size: 19px; margin-bottom: 14px; }
.exam-facts-list { margin: 0; }


.timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0;
  list-style: none;
  margin: 30px auto 14px;
  padding: 0;
  max-width: 560px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5.5%;
  right: 5.5%;
  top: 7px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.timeline-month {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}

.timeline-target .timeline-dot {
  width: 20px;
  height: 20px;
  margin-top: -3px;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.timeline-target .timeline-month { font-size: 15px; color: #ffffff; }

.timeline-flag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.timeline-caption {
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
  .timeline { max-width: 100%; }
  .timeline-month { font-size: 11px; }
  .timeline-flag { font-size: 10px; padding: 2px 6px; }
}


.paper-map {
  max-width: 620px;
  margin: 0 auto;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.task {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.task--closed {
  background: var(--card-to);
  border: 1px solid var(--nav-border);
  color: var(--text-muted);
}

.task--open {
  background: var(--accent);
  border: 2px solid var(--accent-2);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(47, 128, 237, 0.28);
}

.paper-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 14px;
  color: var(--text-muted);
}

.paper-legend li { display: flex; align-items: center; gap: 8px; }

.legend-swatch {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  flex-shrink: 0;
}

.legend-swatch--closed { background: var(--card-to); border: 1px solid var(--nav-border); }
.legend-swatch--open { background: var(--accent); border: 2px solid var(--accent-2); }

.paper-note {
  max-width: 620px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .paper-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .task { font-size: 12px; border-radius: 8px; }
}


.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fit-card { text-align: left; }

.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.fit-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.fit-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.fit-card--yes { border-color: #25805a; }
.fit-card--yes li::before { background: #25805a; }

.fit-card--no { border-color: #b05f30; }
.fit-card--no li::before { background: #b05f30; }

.fit-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  color: #ffffff;
}

.fit-mark--yes { background: #25805a; }
.fit-mark--no { background: #b05f30; }


.curriculum-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: -8px 0 24px;
}

.curriculum {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.curriculum-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.curriculum-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.curriculum-free {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  white-space: nowrap;
}

.curriculum-n {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: auto;
  padding-right: 12px;
}

.curriculum-lessons {
  margin: 0;
  padding: 0 0 16px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: grid;
  gap: 6px;
}

.curriculum-lessons li { padding-left: 4px; }

@media (max-width: 560px) {
  .curriculum-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .curriculum-n { margin-left: 0; padding-right: 0; }
}
