@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/nunito-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/nunito-latin-900.woff2") format("woff2");
}

:root {
  --blue: #2b4ec5;
  --blue-deep: #17328f;
  --blue-dark: #101d50;
  --blue-soft: #e7edff;
  --cream: #fff8ed;
  --cream-deep: #f3e8d6;
  --cream-panel: #fffaf1;
  --yellow: #ffc93c;
  --teal: #2ec4b6;
  --coral: #ff7657;
  --ink: #25221f;
  --muted: #6b625a;
  --paper: #ffffff;
  --line: #e7ddd0;
  --shadow: 0 24px 70px rgba(30, 39, 75, .14);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Nunito", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header, .onboarding-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(231, 221, 208, .9);
  background: rgba(255, 248, 237, .92);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.brand > span:last-child > span { color: var(--blue); }
.brand-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--yellow);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--yellow);
  transform: rotate(-3deg);
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 21px; }
.main-nav a { color: var(--muted); font-size: .86rem; font-weight: 900; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }
.nav-cta, .primary-cta, .window-button, .plan-button, .next-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 17px;
  padding: 14px 24px;
  color: white !important;
  background: var(--blue);
  box-shadow: 0 7px 0 var(--blue-deep);
  font-weight: 900;
  letter-spacing: .015em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta { padding: 11px 17px; border-radius: 14px; font-size: .78rem !important; box-shadow: 0 5px 0 var(--blue-deep); }
.primary-cta { min-width: 290px; min-height: 58px; }
.nav-cta:hover, .primary-cta:hover, .window-button:hover, .plan-button:hover, .next-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 var(--blue-deep);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  background: white;
  font-weight: 900;
}

.hero {
  min-height: 730px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 24%, rgba(255, 201, 60, .26), transparent 23%),
    radial-gradient(circle at 91% 19%, rgba(46, 196, 182, .17), transparent 24%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; padding: 78px 0 82px; }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, .section h2, .final-cta h2, .onboarding-card h1 {
  margin: 0;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 720px; font-size: clamp(3.5rem, 7.1vw, 6.6rem); }
.hero h1 span { position: relative; color: var(--blue); white-space: nowrap; }
.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.02em;
  height: .12em;
  z-index: -1;
  border-radius: 99px;
  background: var(--yellow);
  transform: rotate(-1deg);
}
.hero-lead { max-width: 610px; margin: 27px 0 30px; color: var(--muted); font-size: 1.1rem; font-weight: 700; }
.login-note { margin: 20px 0 0; color: var(--muted); font-weight: 700; }
.login-note a { color: var(--blue); font-weight: 900; }
.hero-visual { min-height: 570px; position: relative; display: grid; place-items: end center; isolation: isolate; }
.hero-orbit {
  position: absolute;
  inset: 5% 0 4% 7%;
  z-index: -2;
  border-radius: 48% 52% 46% 54%;
  border: 2px solid var(--line);
  background: linear-gradient(145deg, var(--cream-deep), var(--cream-panel));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.hero-orbit::before { width: 180px; height: 180px; top: 35px; left: 35px; background: rgba(255, 201, 60, .28); }
.hero-orbit::after { width: 120px; height: 120px; right: 30px; bottom: 80px; background: rgba(46, 196, 182, .28); }
.hero-visual img { width: min(500px, 94%); max-height: 565px; z-index: 2; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(12, 21, 63, .24)); }
.speech-bubble, .companion-card {
  position: absolute;
  z-index: 4;
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 45px rgba(18, 29, 70, .22);
}
.speech-bubble { top: 62px; right: -18px; padding: 15px 19px; transform: rotate(2deg); }
.speech-bubble::after { content: ""; position: absolute; left: 18px; bottom: -10px; border: 11px solid transparent; border-top-color: white; border-left: 0; }
.speech-bubble strong, .speech-bubble span, .companion-card strong, .companion-card span { display: block; }
.speech-bubble strong { color: var(--blue); font-size: 1.15rem; }
.speech-bubble span, .companion-card span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.companion-card { left: -20px; bottom: 36px; width: 230px; padding: 18px; }
.companion-card strong { color: var(--blue); font-size: 1.1rem; }

.trust-strip { border-block: 1px solid var(--line); color: var(--ink); background: var(--cream-deep); }
.trust-grid { min-height: 126px; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: grid; place-content: center; text-align: center; padding: 18px 30px; border-right: 1px solid #d9cbb7; }
.trust-grid > div:last-child { border: 0; }
.trust-grid strong { font-size: 1.35rem; }
.trust-grid span { color: var(--muted); font-size: .82rem; font-weight: 700; }

.section { padding: 112px 0; }
.section h2, .final-cta h2 { font-size: clamp(2.65rem, 5vw, 5rem); }
.split-section { display: grid; grid-template-columns: .87fr 1.13fr; gap: 58px; align-items: center; }
.split-section.reverse { grid-template-columns: 1.05fr .95fr; }
.split-section.reverse .section-copy { order: 2; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; font-weight: 700; }
.level-switch, .demo-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.level-switch { margin-top: 28px; }
.level-switch button, .demo-tabs button {
  min-width: 64px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: white;
  font-weight: 900;
}
.level-switch button.active, .demo-tabs button.active { border-color: var(--blue); color: white; background: var(--blue); }
.product-window { overflow: hidden; border: 2px solid var(--line); border-radius: 34px; background: var(--cream-panel); color: var(--ink); box-shadow: var(--shadow); }
.path-window { padding: 28px; }
.window-head { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .82rem; font-weight: 900; }
.window-head strong { color: var(--ink); }
.path-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 45px 0; }
.path-line::before { content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 4px; background: #d8cbbb; }
.path-node { position: relative; z-index: 2; display: grid; justify-items: center; gap: 9px; text-align: center; }
.path-node i { width: 72px; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid #a9b6e5; border-radius: 24px; color: var(--blue-dark); background: var(--blue-soft); font-size: 1.25rem; font-style: normal; font-weight: 900; }
.path-node small { color: var(--muted); font-weight: 800; }
.path-node.done i { border-color: var(--teal); color: #113b36; background: var(--teal); }
.path-node.now i { border-color: var(--blue); color: var(--ink); background: var(--yellow); box-shadow: 0 0 0 8px rgba(255,201,60,.22); }
.next-step { margin-bottom: 24px; border-radius: 20px; padding: 18px 20px; color: var(--ink); background: white; }
.next-step span, .next-step strong, .next-step small { display: block; }
.next-step span { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.next-step strong { margin-top: 4px; font-size: 1.28rem; }
.next-step small { color: var(--muted); font-weight: 700; }
.window-button { width: 100%; box-shadow: 0 6px 0 var(--blue-deep); }

.practice-section { background: var(--blue-soft); }
.section-heading { max-width: 790px; margin: 0 auto 42px; }
.section-heading.centered { text-align: center; }
.demo-tabs { justify-content: center; margin-bottom: 24px; }
.demo-stage { border-radius: 36px; background: white; box-shadow: var(--shadow); }
.demo-panel { display: none; grid-template-columns: .85fr 1.15fr; gap: 45px; align-items: center; min-height: 430px; padding: 46px; }
.demo-panel.active { display: grid; }
.demo-copy h3 { margin: 8px 0 12px; font-size: 2.1rem; line-height: 1.05; }
.demo-copy p { color: var(--muted); font-weight: 700; }
.tag { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.lesson-card, .quiz-card, .sentence-card { min-height: 310px; display: grid; align-content: center; border: 2px solid var(--line); border-radius: 28px; padding: 32px; background: var(--cream-panel); color: var(--ink); box-shadow: 9px 9px 0 var(--yellow); }
.lesson-label { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lesson-card strong { display: block; font-size: 2rem; }
.lesson-card strong b { color: var(--blue); }
.lesson-card small { margin-top: 18px; color: var(--muted); font-weight: 700; }
.quiz-card > strong { margin: 12px 0 22px; font-size: 2.5rem; }
.quiz-card > span, .sentence-card > span { color: var(--muted); font-weight: 800; }
.quiz-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz-options button { border: 2px solid var(--line); border-radius: 14px; padding: 11px; color: var(--ink); background: white; font-weight: 900; }
.quiz-options button:hover { border-color: var(--yellow); }
.quiz-options button.correct { border-color: var(--teal); color: #153732; background: var(--teal); }
.quiz-options button.wrong { border-color: var(--coral); background: rgba(255,118,87,.24); }
.quiz-feedback { min-height: 24px; margin: 14px 0 0; color: var(--muted); font-size: .84rem; font-weight: 800; }
.word-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 23px 0; }
.word-chips button { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: white; color: var(--blue); font-weight: 900; }
.sentence-target { min-height: 72px; display: grid; place-items: center; border: 2px dashed #cfc0ac; border-radius: 16px; color: var(--blue); font-size: 1.18rem; font-weight: 900; }

.progress-section { background: white; }
.progress-window { padding: 30px; }
.streak-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.streak-top span { color: var(--muted); font-weight: 800; }
.streak-top strong { font-size: 2.5rem; }
.week-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 28px 0; }
.week-row i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-style: normal; font-weight: 900; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-grid div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: white; }
.stat-grid strong, .stat-grid span { display: block; }
.stat-grid strong { font-size: 1.4rem; }
.stat-grid span { color: var(--muted); font-size: .73rem; font-weight: 800; }
.progress-track { height: 11px; margin-top: 25px; overflow: hidden; border-radius: 99px; background: #dfd2c1; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.progress-caption { margin: 12px 0 0; color: var(--muted); font-size: .85rem; font-weight: 800; }
.progress-caption strong { color: var(--ink); }

.plus-section { background: #f2efe8; }
.plan-grid { max-width: 930px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 auto; }
.plan-card { position: relative; border: 2px solid var(--line); border-radius: 30px; padding: 34px; background: white; }
.plan-card.plus-card { border-color: #d8c7ad; color: var(--ink); background: var(--cream-panel); box-shadow: 10px 10px 0 var(--yellow); }
.plan-label { display: inline-block; border-radius: 999px; padding: 6px 10px; color: var(--blue); background: var(--blue-soft); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.plus-card .plan-label { color: var(--ink); background: var(--yellow); }
.plan-card h3 { margin: 17px 0 0; font-size: 2rem; }
.plan-price { margin: 7px 0 22px; color: var(--blue); font-size: 2.25rem; font-weight: 900; }
.plus-card .plan-price { color: var(--blue); }
.plan-card ul { display: grid; gap: 12px; min-height: 176px; margin: 0 0 24px; padding: 0; list-style: none; font-weight: 700; }
.plan-card li::before { content: "✓"; margin-right: 10px; color: var(--teal); font-weight: 900; }
.plus-card li::before { color: var(--teal); }
.plan-button { width: 100%; }
.plan-button.muted { color: var(--muted) !important; background: #eadfce; box-shadow: none; }

.faq-section { background: white; }
.faq-shell { max-width: 880px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 8px 25px rgba(34,40,71,.06); }
.faq-list summary { position: relative; padding: 20px 55px 20px 22px; cursor: pointer; list-style: none; font-size: 1.02rem; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 15px; color: var(--blue); font-size: 1.7rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 55px 22px 22px; color: var(--muted); font-weight: 700; }

.final-cta { overflow: hidden; padding: 92px 0 0; border-top: 1px solid var(--line); color: var(--ink); background: linear-gradient(145deg, var(--cream-deep), var(--cream-panel)); }
.final-cta .eyebrow { color: var(--blue); }
.final-cta-inner { min-height: 500px; display: grid; grid-template-columns: 1fr .65fr; gap: 35px; align-items: center; }
.final-cta p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-weight: 700; }
.final-cta .primary-cta { margin-top: 18px; color: var(--ink) !important; background: var(--yellow); box-shadow: 0 7px 0 #c58c00; }
.final-cta img { width: 100%; max-height: 460px; align-self: end; object-fit: contain; object-position: center bottom; }

footer { padding: 30px 0; color: white; background: var(--ink); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-footer { color: white; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; font-weight: 800; }
.footer-row p { margin: 0; color: rgba(255,255,255,.65); font-size: .88rem; }

/* Onboarding */
.onboarding-page { min-height: 100vh; background: #f2f0ea; }
.onboarding-header { position: relative; background: rgba(255,255,255,.9); }
.close-link { margin-left: auto; color: var(--muted); font-weight: 900; text-decoration: none; }
.onboarding-main { min-height: calc(100vh - 100px); display: grid; place-items: center; padding: 46px 20px 70px; }
.onboarding-card { width: min(720px, 100%); border: 1px solid var(--line); border-radius: 34px; padding: 46px; background: white; box-shadow: var(--shadow); }
.onboarding-welcome { text-align: center; }
.onboarding-mascot { width: 150px; height: 150px; display: grid; place-items: end center; margin: 0 auto 22px; overflow: hidden; border-radius: 50%; background: var(--blue-soft); }
.onboarding-mascot img { width: 140px; height: 168px; object-fit: contain; object-position: center top; transform: translateY(16px); }
.onboarding-card h1 { font-size: clamp(2.45rem, 6vw, 4.3rem); }
.onboarding-card > p:not(.eyebrow):not(.login-status-note) { max-width: 580px; margin: 20px auto 28px; color: var(--muted); font-weight: 700; }
.onboarding-welcome .primary-cta { border: 0; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: .8rem; font-weight: 900; }
.onboarding-progress { height: 10px; margin-bottom: 34px; overflow: hidden; border-radius: 99px; background: var(--blue-soft); }
.onboarding-progress span { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--blue); transition: width .25s ease; }
.answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.answer-option { min-height: 70px; display: flex; align-items: center; border: 2px solid var(--line); border-radius: 16px; padding: 15px 17px; text-align: left; color: var(--ink); background: white; font-weight: 900; }
.answer-option:hover { border-color: #aab9f0; background: #f7f9ff; }
.answer-option.selected { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.onboarding-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }
.back-button, .text-button { border: 0; padding: 13px 6px; color: var(--muted); background: transparent; font-weight: 900; }
.next-button { min-width: 170px; }
.next-button:disabled { cursor: not-allowed; opacity: .42; box-shadow: 0 5px 0 #a7afd0; }
.result-view, .login-view { text-align: center; }
.result-check { width: 62px; aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: #113b36; background: var(--teal); font-size: 1.7rem; font-weight: 900; }
.recommendation-card { margin: 28px 0; border: 2px solid var(--line); border-radius: 24px; padding: 25px; text-align: left; color: var(--ink); background: var(--cream-panel); }
.recommendation-card > div { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.recommendation-card span { color: var(--muted); font-size: .82rem; font-weight: 800; }
.recommendation-card strong { color: var(--blue); font-size: 2.2rem; }
.recommendation-card ol { display: grid; gap: 9px; margin: 20px 0 0; padding-left: 22px; font-weight: 800; }
.result-view .primary-cta { border: 0; }
.result-view .text-button, .login-view .text-button { display: block; margin: 14px auto 0; }
.google-mark { width: 64px; aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 18px; color: white; background: linear-gradient(135deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75%); font-size: 2rem; font-weight: 900; }
.google-button { width: min(390px, 100%); min-height: 56px; border: 1px solid #d7d7d7; border-radius: 14px; color: #323232; background: white; box-shadow: 0 6px 18px rgba(0,0,0,.09); font-weight: 900; }
.google-button span { margin-right: 10px; color: #4285f4; }
.login-status-note { margin: 17px auto 0; color: var(--coral); font-size: .8rem; font-weight: 800; }

/* Dashboard */
.dashboard-page { min-height: 100vh; background: var(--cream); }
.dashboard-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 248, 237, .94); backdrop-filter: blur(18px); }
.dashboard-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.dashboard-links { display: flex; align-items: center; gap: 24px; }
.dashboard-links a { color: var(--muted); font-size: .88rem; font-weight: 900; text-decoration: none; }
.dashboard-links a:hover, .dashboard-links a:focus-visible { color: var(--blue); }
.dashboard-profile { display: inline-flex; align-items: center; gap: 8px; }
.dashboard-profile span { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: .85rem; }
.dashboard-main { padding: 64px 0 100px; }
.dashboard-welcome { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.dashboard-welcome h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.dashboard-welcome > div > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; font-weight: 700; }
.level-badge { min-width: 130px; border: 2px solid var(--line); border-radius: 24px; padding: 15px 20px; text-align: center; background: var(--cream-panel); box-shadow: 7px 7px 0 var(--yellow); }
.level-badge span, .level-badge strong { display: block; }
.level-badge span { color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.level-badge strong { color: var(--blue); font-size: 2.1rem; line-height: 1.1; }
.dashboard-overview { display: grid; grid-template-columns: 1.45fr .55fr; gap: 24px; }
.continue-card { border: 2px solid var(--line); border-radius: 32px; padding: 34px; background: var(--cream-panel); box-shadow: var(--shadow); }
.continue-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.continue-head .eyebrow { margin-bottom: 4px; }
.continue-status { color: var(--muted); font-size: .84rem; font-weight: 800; }
.lesson-number { width: 58px; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border: 3px solid var(--blue); border-radius: 19px; color: var(--ink); background: var(--yellow); font-size: 1.4rem; font-weight: 900; box-shadow: 0 0 0 7px rgba(255,201,60,.2); }
.continue-card h2 { max-width: 680px; margin: 32px 0 9px; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.045em; }
.continue-card > p:not(.lesson-note) { margin: 0; color: var(--muted); font-weight: 700; }
.continue-progress { height: 12px; margin: 33px 0 14px; overflow: hidden; border-radius: 99px; background: #dfd2c1; }
.continue-progress span { display: block; width: 18%; height: 100%; border-radius: inherit; background: var(--teal); }
.continue-actions { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.continue-actions > span { color: var(--muted); font-weight: 800; }
.continue-actions > span strong { color: var(--ink); }
.continue-actions .primary-cta { min-width: 205px; min-height: 52px; }
.lesson-note { min-height: 22px; margin: 15px 0 0 !important; color: var(--coral) !important; font-size: .8rem; font-weight: 800; }
.dashboard-stats { display: grid; gap: 14px; }
.dashboard-stats article { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-content: center; border: 2px solid var(--line); border-radius: 25px; padding: 19px 22px; background: white; }
.stat-icon { width: 45px; aspect-ratio: 1; display: grid; grid-row: 1 / 3; place-items: center; border-radius: 14px; color: var(--blue); background: var(--blue-soft); font-size: 1.25rem; font-weight: 900; }
.dashboard-stats strong { font-size: 1.35rem; line-height: 1.1; }
.dashboard-stats small { color: var(--muted); font-weight: 800; }
.daily-goal { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 24px; border: 2px solid var(--line); border-radius: 28px; padding: 25px 28px; background: white; }
.daily-goal-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.daily-goal-head .eyebrow { margin: 0 0 2px; }
.daily-goal-head h2 { margin: 0; font-size: 1.65rem; }
.daily-goal-head > strong { color: #13867b; font-size: .9rem; }
.daily-goal-track { height: 13px; margin: 15px 0; overflow: hidden; border-radius: 999px; background: var(--cream-deep); }
.daily-goal-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); transition: width .25s ease; }
.daily-missions { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.daily-missions > span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.daily-missions b { display: grid; width: 21px; height: 21px; place-items: center; border: 2px solid var(--line); border-radius: 7px; color: transparent; }
.daily-missions small { color: #b98500; font-weight: 900; }
.daily-missions .is-complete { color: var(--ink); }
.daily-missions .is-complete b { border-color: var(--teal); color: white; background: var(--teal); }
.daily-target-settings { min-width: 245px; border-left: 1px solid var(--line); padding-left: 24px; }
.daily-target-settings > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.daily-target-settings > div { display: flex; gap: 7px; }
.daily-target-settings button { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; color: var(--muted); background: var(--cream); font: inherit; font-size: .76rem; font-weight: 900; cursor: pointer; }
.daily-target-settings button small { display: block; font-size: .68rem; }
.daily-target-settings button.is-active { border-color: var(--blue); color: white; background: var(--blue); }
.dashboard-path { padding-top: 95px; }
.dashboard-section-head { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 34px; }
.dashboard-section-head h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.05em; }
.dashboard-section-head > p { max-width: 430px; margin: 0; color: var(--muted); font-weight: 700; }
.dashboard-path-link { display: inline-block; margin-top: 8px; color: var(--blue); font-weight: 900; text-decoration: none; }
.dashboard-path-link:hover, .dashboard-path-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.dashboard-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dashboard-level-card { border: 2px solid var(--line); border-radius: 28px; padding: 26px; background: white; }
.dashboard-level-card.active { border-color: #d8c7ad; background: var(--cream-panel); box-shadow: 8px 8px 0 var(--yellow); }
.dashboard-level-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dashboard-level-top > span { color: var(--blue); font-size: 2rem; font-weight: 900; }
.dashboard-level-top strong { border-radius: 999px; padding: 6px 9px; color: var(--muted); background: #f0ece6; font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.dashboard-level-card.active .dashboard-level-top strong { color: var(--ink); background: var(--yellow); }
.dashboard-level-card h3 { margin: 24px 0 7px; font-size: 1.45rem; }
.dashboard-level-card p { min-height: 75px; margin: 0; color: var(--muted); font-weight: 700; }
.level-progress { height: 9px; margin: 24px 0 10px; overflow: hidden; border-radius: 99px; background: #e9e3db; }
.level-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); }
.dashboard-level-card small { color: var(--muted); font-weight: 800; }

@media (max-width: 930px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 20px; padding: 12px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .main-nav .nav-cta { margin-top: 7px; }
  .hero-grid, .split-section, .split-section.reverse, .demo-panel, .final-cta-inner { grid-template-columns: 1fr; }
  .hero-copy, .section-copy { text-align: center; }
  .hero-copy .primary-cta { margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .level-switch { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .split-section.reverse .section-copy { order: initial; }
  .final-cta { padding-top: 80px; text-align: center; }
  .final-cta p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .final-cta img { width: min(420px, 100%); margin: 0 auto; }
  .dashboard-overview { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: repeat(3, 1fr); }
  .dashboard-stats article { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; text-align: center; }
  .stat-icon { grid-row: auto; margin-bottom: 9px; }
  .dashboard-levels { grid-template-columns: 1fr; }
  .dashboard-level-card p { min-height: 0; }
  .daily-goal { grid-template-columns: 1fr; }
  .daily-target-settings { border-top: 1px solid var(--line); border-left: 0; padding-top: 18px; padding-left: 0; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 66px; }
  .brand { font-size: .88rem; }
  .brand-mark { width: 34px; }
  .main-nav { top: 66px; left: 14px; right: 14px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 58px 0 65px; }
  .hero h1 { font-size: clamp(3rem, 16.4vw, 4.75rem); }
  .hero h1 span { white-space: normal; }
  .primary-cta { width: 100%; min-width: 0; }
  .hero-visual { min-height: 410px; }
  .hero-orbit { inset: 4% 0 3% 0; }
  .hero-visual img { max-height: 405px; }
  .speech-bubble { top: 25px; right: 0; }
  .companion-card { left: 0; bottom: 5px; width: 205px; }
  .trust-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .trust-grid > div { min-height: 92px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section h2, .final-cta h2 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .path-window, .progress-window { padding: 20px; }
  .path-line { gap: 5px; margin: 36px 0; }
  .path-node i { width: 52px; border-radius: 17px; }
  .path-node small { font-size: .61rem; }
  .window-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .demo-panel { min-height: auto; padding: 25px 18px; }
  .lesson-card, .quiz-card, .sentence-card { min-height: 285px; padding: 23px; }
  .quiz-options { grid-template-columns: 1fr; }
  .week-row { gap: 5px; }
  .stat-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card ul { min-height: 0; }
  .final-cta-inner { min-height: auto; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-meta { align-items: flex-start; }
  .onboarding-main { padding: 28px 14px 55px; }
  .onboarding-card { border-radius: 25px; padding: 28px 20px; }
  .answer-grid { grid-template-columns: 1fr; }
  .onboarding-actions { align-items: stretch; flex-direction: column-reverse; }
  .next-button { width: 100%; }
  .dashboard-nav { min-height: 66px; }
  .dashboard-links > a:not(.dashboard-profile) { display: none; }
  .dashboard-profile { font-size: 0 !important; }
  .dashboard-welcome, .dashboard-section-head { align-items: flex-start; flex-direction: column; }
  .dashboard-main { padding: 45px 0 72px; }
  .dashboard-welcome h1 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .level-badge { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .continue-card { padding: 25px 20px; }
  .continue-actions { align-items: stretch; flex-direction: column; }
  .continue-actions .primary-cta { width: 100%; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .dashboard-stats article { grid-template-columns: auto 1fr; grid-template-rows: auto auto; justify-items: start; text-align: left; }
  .daily-goal { padding: 21px 18px; }
  .daily-goal-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .daily-target-settings { min-width: 0; }
  .daily-target-settings > div { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat-icon { grid-row: 1 / 3; margin: 0; }
  .dashboard-path { padding-top: 72px; }
}

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

/* Hören-Blitz kompakt: Frage, Abspielknopf und Antworten sollen auf dem Handy ohne Scrollen sichtbar sein. */
.play-card[data-panel^="hoeren"] .play-card-head h2{font-size:clamp(1.45rem,4.2vw,2.1rem);line-height:1.1;margin-top:8px}
.play-card[data-panel^="hoeren"] .score-badge{min-width:64px;padding:8px}
.play-card[data-panel^="hoeren"] .game-instruction{font-size:.86rem;line-height:1.4;margin:8px 0}
.play-card[data-panel^="hoeren"] .question-progress{margin:14px 0 10px}
/* Gesperrte Plus-Station und Übersicht aller Audios eines Levels. */
.play-card.is-plus-locked .hoeren-question{background:var(--cream-deep, #f1eadb)}
.play-card.is-plus-locked .hoeren-play-icon{background:var(--muted, #7a7266)}
.play-card.is-plus-locked .hoeren-play-icon:before{content:"";top:15px;left:11px;width:14px;height:11px;border:0;border-radius:3px;background:white}
.play-card.is-plus-locked .hoeren-play-icon:after{content:"";position:absolute;top:7px;left:13px;width:10px;height:10px;border:2.5px solid white;border-bottom:0;border-radius:6px 6px 0 0;box-sizing:border-box}
.hoeren-library{margin-top:22px;padding-top:16px;border-top:2px dashed var(--cream-deep, #e8dfcc)}
.hoeren-library .eyebrow{margin:0 0 10px}
.hoeren-library ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.hoeren-lib-item{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:10px 12px;background:var(--cream, #fbf6ec);border-radius:14px}
.hoeren-lib-item strong{display:block;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.hoeren-lib-item small{display:block;color:var(--muted);font-weight:700;line-height:1.3}
.hoeren-lib-item em{font-style:normal;font-size:.75rem;font-weight:900;white-space:nowrap;padding:4px 8px;border-radius:999px;background:white}
.hoeren-lib-icon{width:28px;height:28px;border-radius:50%;background:var(--blue);position:relative}
.hoeren-lib-icon:before{content:"";position:absolute;top:8px;left:11px;border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent white}
.hoeren-lib-item.is-plus{opacity:.8}
.hoeren-lib-item.is-plus .hoeren-lib-icon,.hoeren-lib-item.is-soon .hoeren-lib-icon{background:var(--muted, #7a7266)}
.hoeren-lib-item.is-plus .hoeren-lib-icon:before{top:12px;left:8px;width:12px;height:9px;border:0;border-radius:2px;background:white}
.hoeren-lib-item.is-plus .hoeren-lib-icon:after{content:"";position:absolute;top:6px;left:10px;width:8px;height:8px;border:2px solid white;border-bottom:0;border-radius:5px 5px 0 0;box-sizing:border-box}
.hoeren-lib-item.is-soon .hoeren-lib-icon:before{top:13px;left:7px;width:14px;height:3px;border:0;border-radius:2px;background:white}
@media (max-width: 520px){.hoeren-lib-item{grid-template-columns:24px 1fr}.hoeren-lib-item em{grid-column:2;justify-self:start}}
/* Plus-Hinweise verlinken auf plus.html. */
.plus-link,.hoeren-lib-item em a{color:var(--blue);font-weight:900;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.hoeren-lib-item em a{text-decoration:none}
.plan-price small { color: var(--muted); font-size: 1rem; font-weight: 800; }
.faq-list p a { color: var(--blue); font-weight: 900; }
/* Hören hat eine eigene Seite: in den Mini-Game-Tabs nur ein Link dorthin. */
.game-tab-link{flex:none;white-space:nowrap;border:2px dashed var(--blue);border-radius:999px;padding:11px 18px;color:var(--blue);background:var(--paper, #fff);font-weight:900;text-decoration:none}
.game-tab-link:hover,.game-tab-link:focus-visible{border-style:solid;background:var(--blue-soft)}
