:root {
  --ink: #111827;
  --ink-2: #263244;
  --muted: #687385;
  --line: #dfe3e8;
  --paper: #fffdf8;
  --cream: #f5f0e6;
  --cream-2: #ebe3d4;
  --white: #ffffff;
  --yellow: #f6c744;
  --yellow-2: #ffdb6f;
  --orange: #d97706;
  --red: #c9342f;
  --green: #188460;
  --blue: #3478c0;
  --shadow: 0 24px 70px rgba(17, 24, 39, .12);
  --shadow-sm: 0 10px 30px rgba(17, 24, 39, .08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
p { line-height: 1.7; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; z-index: 999; left: 12px; top: 10px; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { height: 82px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgba(255, 253, 248, .88); backdrop-filter: blur(18px); transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(17,24,39,.04); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: var(--yellow); font-size: 18px; font-weight: 900; letter-spacing: -.04em; box-shadow: inset 0 -3px 0 rgba(17,24,39,.1); }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: .02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--red); transition: right .2s; }
.site-nav > a:not(.button):hover::after { right: 0; }
.nav-login { padding-left: 28px; border-left: 1px solid var(--line); }
.menu-button, .app-menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--cream); padding: 12px; }
.menu-button span, .app-menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 10px; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button-sm { min-height: 42px; padding-inline: 17px; border-radius: 12px; font-size: 12px; }
.button-primary { color: var(--ink); background: var(--yellow); box-shadow: 0 12px 28px rgba(218, 158, 0, .2); }
.button-primary:hover { background: var(--yellow-2); box-shadow: 0 16px 34px rgba(218, 158, 0, .26); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #273244; box-shadow: var(--shadow-sm); }
.button-ghost { color: var(--ink); border-color: #cfd4dc; background: rgba(255,255,255,.6); }
.button-ghost:hover { border-color: var(--ink); background: white; }
.button.full { width: 100%; }

.hero-section { position: relative; min-height: 740px; overflow: hidden; padding: 78px 0 90px; background: linear-gradient(180deg, var(--paper), #f8f3e9); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 72px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-top: 18px; }
.eyebrow, .kicker { margin: 0 0 21px; color: var(--red); font-size: 12px; line-height: 1.2; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.eyebrow span { width: 26px; height: 3px; background: var(--yellow); }
.hero-copy h1 { margin: 0; max-width: 730px; font-size: clamp(52px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--red); font-style: normal; }
.hero-lede { max-width: 630px; margin: 27px 0 33px; color: var(--ink-2); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; margin-top: 47px; }
.hero-proof div { display: grid; padding: 0 30px; border-left: 1px solid #cbc5b9; }
.hero-proof div:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { font-size: 24px; letter-spacing: -.04em; }
.hero-proof span { color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; min-height: 555px; display: grid; align-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 10px 12px 10px 44px; transform: rotate(4deg); border-radius: 48px; background: var(--yellow); }
.hero-card { position: relative; z-index: 2; width: min(100%, 500px); margin-left: auto; padding: 30px; border: 1px solid rgba(17,24,39,.12); border-radius: 30px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.hero-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.hero-card-head div { display: grid; }
.hero-card-head small { margin-bottom: 5px; color: var(--muted); }
.hero-card-head strong { font-size: 20px; }
.day-chip { padding: 9px 11px; border-radius: 11px; color: white; background: var(--ink); font-size: 11px; font-weight: 800; }
.progress-row { display: flex; justify-content: space-between; margin: 28px 0 9px; font-size: 11px; }
.progress-row span { color: var(--muted); }
.progress-track { height: 8px; overflow: hidden; border-radius: 10px; background: var(--cream-2); }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--red); }
.today-list { display: grid; gap: 11px; margin: 25px 0; }
.today-item { display: grid; grid-template-columns: 43px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 15px; }
.today-item:hover { border-color: #b5bbc4; }
.task-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--ink); font-size: 11px; font-weight: 800; }
.today-item.is-done .task-icon { color: var(--ink); background: var(--yellow); }
.today-item div { display: grid; }
.today-item small { margin-bottom: 4px; color: var(--muted); font-size: 9px; }
.today-item strong { font-size: 12px; }
.today-item > b { color: var(--red); font-size: 9px; text-transform: uppercase; }
.today-item.is-done > b { color: var(--green); }
.streak-card { display: flex; gap: 12px; align-items: center; padding: 15px; border-radius: 15px; background: #fff6dc; }
.streak-card > span { font-size: 24px; }
.streak-card div { display: grid; }
.streak-card strong { font-size: 12px; }
.streak-card small { margin-top: 3px; color: #78663b; font-size: 9px; }
.floating-note { position: absolute; z-index: 4; display: grid; padding: 13px 17px; border-radius: 13px; background: var(--ink); color: white; box-shadow: var(--shadow-sm); }
.floating-note b { font-size: 12px; }
.floating-note small { margin-top: 4px; color: #cfd5df; font-size: 8px; }
.note-one { left: -15px; top: 90px; transform: rotate(-5deg); }
.note-two { right: -28px; bottom: 85px; transform: rotate(4deg); }
.note-two b { color: var(--yellow); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-glow-one { width: 230px; height: 230px; left: -160px; top: 80px; background: var(--yellow); opacity: .35; }
.hero-glow-two { width: 180px; height: 180px; right: -120px; bottom: 0; background: var(--red); opacity: .16; }

.proof-strip { border-block: 1px solid var(--line); background: white; }
.proof-row { height: 78px; display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.proof-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.section-heading h2, .curriculum-intro h2, .platform-copy h2, .teacher-copy h2, .faq-intro h2, .consultation-copy h2 { margin: 0; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -.052em; }
.section-heading > p, .curriculum-intro > p, .platform-copy > p, .teacher-copy > p, .faq-intro > p { margin: 0; color: var(--muted); }
.roadmap-section { background: var(--ink); color: white; }
.roadmap-section .kicker { color: var(--yellow); }
.roadmap-section .section-heading > p { color: #b9c0ca; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.roadmap-card { position: relative; min-height: 390px; padding: 34px; border: 1px solid #3b4657; border-radius: var(--radius-md); background: #172131; overflow: hidden; }
.roadmap-card.featured { color: var(--ink); border-color: var(--yellow); background: var(--yellow); transform: translateY(-12px); }
.phase-number { position: absolute; right: 22px; top: 10px; color: rgba(255,255,255,.06); font-size: 94px; font-weight: 900; letter-spacing: -.09em; }
.featured .phase-number { color: rgba(17,24,39,.09); }
.roadmap-card > p { position: relative; margin: 0 0 56px; color: var(--yellow); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.roadmap-card.featured > p { color: var(--ink); }
.roadmap-card h3 { position: relative; margin: 0 0 24px; font-size: 26px; letter-spacing: -.04em; }
.roadmap-card ul { position: relative; min-height: 104px; margin: 0 0 30px; padding: 0; list-style: none; color: #c8ced6; font-size: 13px; }
.roadmap-card li { margin: 12px 0; }
.roadmap-card li::before { content: "→"; margin-right: 9px; color: var(--yellow); }
.roadmap-card.featured ul { color: #343b47; }
.roadmap-card.featured li::before { color: var(--red); }
.phase-line { position: absolute; left: 34px; right: 34px; bottom: 34px; height: 3px; background: rgba(255,255,255,.12); }
.phase-line i { display: block; height: 100%; background: var(--yellow); }
.featured .phase-line { background: rgba(17,24,39,.16); }
.featured .phase-line i { background: var(--ink); }

.curriculum-section { background: var(--paper); }
.curriculum-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 105px; }
.curriculum-intro { position: sticky; top: 130px; align-self: start; }
.curriculum-intro > p { margin: 26px 0; }
.text-link { display: inline-flex; gap: 12px; color: var(--red); font-size: 13px; font-weight: 900; }
.feature-list { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 22px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.feature-row > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--red); background: #f8e7df; font-size: 11px; font-weight: 900; }
.feature-row h3 { margin: 2px 0 8px; font-size: 20px; letter-spacing: -.03em; }
.feature-row p { margin: 0; color: var(--muted); font-size: 13px; }
.feature-row > b { align-self: center; padding: 7px 9px; border-radius: 8px; background: var(--cream); font-size: 10px; white-space: nowrap; }

.platform-section { padding-block: 110px; background: var(--cream); }
.platform-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 92px; align-items: center; }
.platform-demo { position: relative; min-height: 470px; display: grid; grid-template-columns: 78px 1fr; overflow: hidden; border: 8px solid var(--ink); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.platform-demo::after { content: ""; position: absolute; inset: auto -60px -110px auto; width: 230px; height: 230px; border-radius: 50%; background: var(--yellow); }
.mini-sidebar { z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px 0; background: var(--ink); }
.mini-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--yellow); font-size: 12px; font-weight: 900; }
.mini-sidebar i { width: 24px; height: 9px; border-radius: 5px; background: #475266; }
.mini-sidebar i.active { background: var(--yellow); }
.mini-content { position: relative; z-index: 2; padding: 28px; }
.mini-top { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.mini-top b { color: var(--red); }
.mini-title { display: grid; margin: 36px 0 26px; }
.mini-title small { margin-bottom: 7px; color: var(--muted); }
.mini-title strong { font-size: 23px; }
.mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-metrics div { display: grid; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.mini-metrics b { font-size: 20px; }
.mini-metrics span { margin-top: 5px; color: var(--muted); font-size: 8px; }
.mini-chart { height: 150px; display: flex; align-items: end; gap: 13px; margin-top: 20px; padding: 22px 20px 0; border-radius: 15px; background: #f6f4ef; }
.mini-chart span { flex: 1; height: 50%; border-radius: 7px 7px 0 0; background: #c8cdd3; }
.mini-chart span:nth-child(2) { height: 68%; }.mini-chart span:nth-child(3) { height: 46%; }.mini-chart span:nth-child(4) { height: 82%; background: var(--yellow); }.mini-chart span:nth-child(5) { height: 58%; }.mini-chart span:nth-child(6) { height: 74%; }.mini-chart span:nth-child(7) { height: 88%; background: var(--red); }
.platform-copy > p { margin: 25px 0; }
.check-list { margin: 0 0 31px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.check-list li::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 11px; }

.pricing-section { background: white; }
.pricing-heading { margin-bottom: 70px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.price-card.popular { border: 2px solid var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-16px); }
.popular-tag { position: absolute; top: -15px; left: 25px; padding: 7px 12px; border-radius: 20px; color: var(--ink); background: var(--yellow); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.price-card > p { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 900; }
.price-card h3 { margin: 0 0 30px; display: flex; align-items: baseline; gap: 7px; }
.price-card h3 strong { font-size: 38px; letter-spacing: -.05em; }
.price-card h3 span { color: var(--muted); font-size: 11px; font-weight: 500; }
.price-card ul { flex: 1; margin: 0 0 32px; padding: 0; list-style: none; color: var(--ink-2); font-size: 12px; }
.price-card li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 900; }
.pricing-note { margin: 35px 0 0; color: var(--muted); text-align: center; font-size: 11px; }

.teacher-section { overflow: hidden; background: #f8f1e5; }
.teacher-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 94px; align-items: center; }
.teacher-visual { position: relative; min-height: 540px; display: grid; place-items: center; border-radius: 180px 180px 28px 28px; background: linear-gradient(150deg, var(--yellow), #f2a931); }
.teacher-visual::before { content: ""; width: 200px; height: 200px; border-radius: 50%; background: var(--ink); box-shadow: 0 180px 0 75px var(--ink); }
.teacher-monogram { position: absolute; top: 170px; z-index: 2; color: white; font-size: 52px; font-weight: 900; }
.teacher-caption { position: absolute; z-index: 4; left: 28px; right: 28px; bottom: 28px; display: grid; padding: 20px 23px; border-radius: 15px; color: white; background: rgba(17,24,39,.94); }
.teacher-caption b { color: var(--yellow); }
.teacher-caption small { margin-top: 6px; line-height: 1.5; }
.teacher-copy > p { margin: 25px 0; }
.teacher-copy blockquote { margin: 32px 0; padding: 25px 0 25px 28px; border-left: 4px solid var(--yellow); color: var(--ink-2); font-size: 18px; font-weight: 700; line-height: 1.6; }
.teacher-facts { display: flex; gap: 30px; }
.teacher-facts span { display: grid; }
.teacher-facts b { font-size: 14px; }
.teacher-facts small { margin-top: 5px; color: var(--muted); }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; }
.faq-intro { position: sticky; top: 130px; align-self: start; }
.faq-intro > p { margin: 24px 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 27px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 25px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -8px 40px 27px 0; color: var(--muted); font-size: 13px; }

.consultation-section { padding-block: 100px; color: white; background: var(--ink); }
.consultation-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 100px; align-items: start; }
.kicker.light { color: var(--yellow); }
.consultation-copy > p { color: #bcc4cf; }
.consultation-points { display: grid; gap: 14px; margin-top: 40px; }
.consultation-points span { display: flex; align-items: center; gap: 13px; color: #d8dde4; font-size: 13px; }
.consultation-points b { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #4a5567; border-radius: 50%; color: var(--yellow); font-size: 9px; }
.consultation-form { display: grid; gap: 18px; padding: 35px; border-radius: var(--radius-md); color: var(--ink); background: white; box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.form-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-heading span { font-size: 19px; font-weight: 900; }
.form-heading small { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consultation-form label, .auth-form label, .form-field { display: grid; gap: 8px; }
.consultation-form label > span, .auth-form label > span, .form-field > span { color: var(--ink-2); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
input, select, textarea { width: 100%; border: 1px solid #d4d9e0; border-radius: 11px; color: var(--ink); background: white; outline: 0; }
input, select { height: 46px; padding: 0 13px; }
textarea { resize: vertical; padding: 12px 13px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(246,199,68,.35); }
.form-status { margin: 0; color: var(--muted); font-size: 10px; text-align: center; }
.form-status.is-success { color: var(--green); font-weight: 800; }
.form-status.is-error { color: var(--red); font-weight: 800; }

.site-footer { padding: 55px 0 25px; color: white; background: #090e17; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-grid > p { color: #aab2bf; font-size: 12px; text-align: center; }
.footer-grid nav { display: flex; justify-content: flex-end; gap: 22px; color: #c9cfd7; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid #283142; color: #7f8997; font-size: 9px; }
.scroll-progress { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; height: 3px; }
.scroll-progress i { display: block; width: 0; height: 100%; background: var(--red); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Dashboard */
.dashboard-page { min-height: 100vh; overflow-x: hidden; background: #f6f5f1; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 246px 1fr; }
.app-sidebar { position: fixed; z-index: 60; inset: 0 auto 0 0; width: 246px; display: flex; flex-direction: column; padding: 25px 18px 18px; color: white; background: var(--ink); }
.app-brand { margin: 0 12px 27px; color: white; }
.app-brand .brand-mark { width: 42px; height: 42px; }
.app-brand small { color: #98a2b0; }
.app-nav { flex: 1; overflow-y: auto; scrollbar-width: thin; }
.app-nav p { margin: 22px 12px 8px; color: #778295; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.app-nav a { display: flex; align-items: center; gap: 12px; min-height: 43px; margin: 3px 0; padding: 8px 11px; border-radius: 11px; color: #cdd3dc; font-size: 12px; font-weight: 700; transition: background .15s, color .15s; }
.app-nav a:hover { color: white; background: #202b3d; }
.app-nav a.active { color: var(--ink); background: var(--yellow); }
.nav-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #465165; border-radius: 8px; font-size: 9px; font-weight: 900; }
.app-nav a.active .nav-icon { border-color: rgba(17,24,39,.2); background: rgba(255,255,255,.35); }
.sidebar-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid #354053; }
.sidebar-foot > a { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 12px; }
.sidebar-foot > a:hover { background: #202b3d; }
.avatar, .topbar-avatar span { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 10px; font-weight: 900; }
.sidebar-foot a > span:last-child { display: grid; min-width: 0; }
.sidebar-foot strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot small { margin-top: 3px; color: #9ca6b4; font-size: 8px; }
.app-content { grid-column: 2; min-width: 0; }
.app-topbar { position: sticky; z-index: 40; top: 0; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(246,245,241,.91); backdrop-filter: blur(16px); }
.topbar-greeting { display: grid; }
.topbar-greeting small { margin-bottom: 4px; color: var(--muted); font-size: 9px; }
.topbar-greeting strong { font-size: 16px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .streak-button, .topbar-avatar { height: 40px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.icon-button { width: 40px; cursor: pointer; font-size: 20px; }
.streak-button { display: flex; align-items: center; gap: 5px; padding: 0 12px; cursor: pointer; }
.streak-button b { font-size: 11px; }
.topbar-avatar { width: 40px; display: grid; place-items: center; }
.topbar-avatar span { width: 30px; height: 30px; }
#app-main { min-height: calc(100vh - 78px); }
.app-view { width: min(1260px, calc(100% - 64px)); margin: 0 auto; padding: 38px 0 72px; }
.view-loading { min-height: 400px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); }
.view-loading span { width: 34px; height: 34px; border: 3px solid var(--cream-2); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.page-head h1 { margin: 3px 0 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.045em; }
.page-head p { max-width: 630px; margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.page-eyebrow { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: white; font-size: 11px; font-weight: 800; cursor: pointer; }
.app-button:hover { border-color: #aeb5bf; }
.app-button.primary { color: var(--ink); border-color: var(--yellow); background: var(--yellow); }
.app-button.dark { color: white; border-color: var(--ink); background: var(--ink); }
.app-button.danger { color: var(--red); }
.app-button:disabled { opacity: .45; cursor: not-allowed; }
.overview-hero { display: grid; grid-template-columns: 1.28fr .72fr; gap: 18px; margin-bottom: 18px; }
.today-panel { position: relative; overflow: hidden; padding: 34px; border-radius: 24px; color: white; background: var(--ink); }
.today-panel::after { content: ""; position: absolute; width: 230px; height: 230px; right: -100px; top: -100px; border-radius: 50%; background: var(--yellow); opacity: .13; }
.today-panel-top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; }
.today-panel-top h2 { margin: 7px 0 0; font-size: 28px; letter-spacing: -.04em; }
.today-panel-top p { margin: 0; color: #aeb8c6; font-size: 11px; }
.day-badge { min-width: 68px; height: 68px; display: grid; place-items: center; align-content: center; border-radius: 18px; color: var(--ink); background: var(--yellow); }
.day-badge strong { font-size: 23px; line-height: 1; }.day-badge small { font-size: 8px; }
.daily-tasks { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 29px; }
.daily-task { display: grid; min-height: 140px; align-content: space-between; padding: 17px; border: 1px solid #394456; border-radius: 15px; background: #1a2435; }
.daily-task.done { background: #202a33; opacity: .72; }
.daily-task small { color: #98a4b5; font-size: 8px; }
.daily-task strong { margin: 11px 0; font-size: 13px; line-height: 1.45; }
.daily-task button { justify-self: start; padding: 0; border: 0; color: var(--yellow); background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.streak-panel { padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.streak-panel-head { display: flex; justify-content: space-between; align-items: start; }
.streak-panel-head span { font-size: 28px; }
.streak-panel h3 { margin: 5px 0; font-size: 19px; }.streak-panel > p { margin: 0; color: var(--muted); font-size: 10px; }
.week-row { display: flex; justify-content: space-between; margin-top: 28px; }
.week-day { display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 8px; }
.week-day i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-style: normal; font-size: 9px; }
.week-day.done i { color: var(--ink); background: var(--yellow); }.week-day.today i { outline: 2px solid var(--red); outline-offset: 2px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.metric-card { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric-card-top { display: flex; justify-content: space-between; align-items: center; }
.metric-card-top span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.metric-card-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.metric-card h3 { margin: 14px 0 3px; font-size: 28px; letter-spacing: -.05em; }
.metric-card p { margin: 0; color: var(--muted); font-size: 9px; }
.metric-card .metric-bar { height: 4px; margin-top: 15px; border-radius: 5px; background: var(--cream); overflow: hidden; }
.metric-bar i { display: block; height: 100%; border-radius: inherit; background: var(--red); }
.overview-lower { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.content-card { padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.card-head h2, .card-head h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.continue-list { display: grid; gap: 9px; }
.continue-item { display: grid; grid-template-columns: 45px 1fr auto; gap: 13px; align-items: center; padding: 12px; border-radius: 13px; background: #f7f6f2; }
.continue-item > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--ink); font-size: 9px; font-weight: 900; }
.continue-item div { display: grid; }.continue-item strong { font-size: 11px; }.continue-item small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.continue-item a { color: var(--red); font-size: 9px; font-weight: 900; }
.skill-bars { display: grid; gap: 18px; }.skill-bar-head { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; }
.skill-bar-head span:last-child { color: var(--muted); }.skill-bar-track { height: 7px; margin-top: 8px; border-radius: 7px; background: var(--cream); overflow: hidden; }.skill-bar-track i { display: block; height: 100%; border-radius: inherit; background: var(--yellow); }

.toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.search-field { position: relative; flex: 1; min-width: 220px; }
.search-field span { position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: var(--muted); }
.search-field input { padding-left: 37px; background: white; }
.toolbar select { width: auto; min-width: 160px; background: white; }
.content-layout { display: grid; grid-template-columns: 330px 1fr; gap: 18px; align-items: start; }
.library-list { max-height: calc(100vh - 230px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.library-item { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 11px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.library-item:hover { background: #f7f5ef; }.library-item.active { background: #fff2c6; }
.library-number { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--ink); font-size: 9px; font-weight: 900; }
.library-item.active .library-number { color: var(--ink); background: var(--yellow); }
.library-item div { min-width: 0; display: grid; }.library-item strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.library-item small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.library-item > b { color: var(--green); font-size: 10px; }
.detail-panel { min-height: 520px; padding: 31px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.detail-cover { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; margin: -31px -31px 28px; padding: 35px; border-radius: 20px 20px 0 0; color: white; background: var(--ink); }
.detail-cover::after { content: "A1"; position: absolute; right: 30px; top: 5px; color: rgba(255,255,255,.06); font-size: 140px; font-weight: 900; line-height: 1; }
.detail-cover p { position: relative; z-index: 2; margin: 0 0 8px; color: var(--yellow); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.detail-cover h2 { position: relative; z-index: 2; max-width: 620px; margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
.detail-summary { color: var(--muted); font-size: 13px; }
.detail-section { margin-top: 27px; }.detail-section h3 { margin: 0 0 13px; font-size: 15px; }.detail-section ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 12px; line-height: 1.8; }
.phrase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.phrase-card { display: grid; padding: 14px; border-radius: 12px; background: #f6f4ef; }.phrase-card strong { font-size: 12px; }.phrase-card span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.empty-state { min-height: 320px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.empty-state b { color: var(--ink); font-size: 18px; }.empty-state p { max-width: 380px; font-size: 11px; }

.roadmap-board { display: grid; gap: 16px; }
.roadmap-month { padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.roadmap-month-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.roadmap-month-head h2 { margin: 0; font-size: 18px; }.roadmap-month-head span { color: var(--muted); font-size: 10px; }
.day-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.day-cell { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #faf9f6; font-size: 9px; font-weight: 800; cursor: pointer; }
.day-cell:hover { border-color: var(--ink); }.day-cell.done { color: var(--ink); border-color: var(--yellow); background: var(--yellow); }.day-cell.today { color: white; border-color: var(--red); background: var(--red); box-shadow: 0 0 0 3px rgba(201,52,47,.14); }

.flashcard-layout { display: grid; grid-template-columns: 1fr 320px; gap: 18px; }
.flashcard-stage { min-height: 540px; display: grid; place-items: center; padding: 35px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.flashcard { width: min(100%, 560px); min-height: 330px; perspective: 1200px; cursor: pointer; }
.flashcard-inner { position: relative; width: 100%; min-height: 330px; transition: transform .55s; transform-style: preserve-3d; }
.flashcard.flipped .flashcard-inner { transform: rotateY(180deg); }
.flash-face { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; padding: 40px; border-radius: 25px; backface-visibility: hidden; text-align: center; box-shadow: var(--shadow-sm); }
.flash-front { color: white; background: var(--ink); }.flash-back { transform: rotateY(180deg); color: var(--ink); background: var(--yellow); }
.flash-face small { font-size: 10px; opacity: .7; text-transform: uppercase; letter-spacing: .12em; }.flash-face h2 { margin: 18px 0 10px; font-size: clamp(35px, 5vw, 55px); letter-spacing: -.05em; }.flash-face p { margin: 0; max-width: 430px; font-size: 13px; }.flash-hint { margin-top: 28px !important; font-size: 9px !important; opacity: .6; }
.flash-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.flash-side { display: grid; gap: 14px; align-content: start; }
.flash-stat { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: white; }.flash-stat > span { color: var(--muted); font-size: 9px; text-transform: uppercase; }.flash-stat h3 { margin: 10px 0 3px; font-size: 28px; }.flash-stat p { margin: 0; color: var(--muted); font-size: 9px; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.topic-card { display: grid; min-height: 180px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: white; cursor: pointer; text-align: left; }
.topic-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }.topic-card span { color: var(--red); font-size: 9px; font-weight: 900; }.topic-card h3 { margin: 16px 0 8px; font-size: 17px; }.topic-card p { margin: 0; color: var(--muted); font-size: 10px; }.topic-card b { align-self: end; margin-top: 15px; font-size: 9px; }
.practice-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }.practice-card h3 { margin: 0 0 18px; font-size: 16px; }.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.answer-option { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; background: #faf9f6; text-align: left; font-size: 11px; cursor: pointer; }.answer-option:hover { border-color: var(--ink); }.answer-option.correct { border-color: var(--green); background: #e4f5ed; }.answer-option.wrong { border-color: var(--red); background: #fae9e7; }.practice-feedback { min-height: 30px; margin-top: 15px; color: var(--muted); font-size: 10px; }

.tab-row { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: white; }.tab-button { min-height: 37px; padding: 0 17px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; white-space: nowrap; cursor: pointer; }.tab-button.active { color: var(--ink); background: var(--yellow); }
.skill-content { min-height: 500px; }.dialogue { display: grid; gap: 12px; margin: 20px 0; }.dialogue-line { max-width: 82%; padding: 12px 15px; border-radius: 13px 13px 13px 3px; background: #f2f0eb; font-size: 11px; line-height: 1.6; }.dialogue-line:nth-child(even) { justify-self: end; border-radius: 13px 13px 3px 13px; color: white; background: var(--ink); }.reading-copy { color: var(--ink-2); font-size: 12px; line-height: 1.85; }.writing-model { padding: 20px; border-left: 4px solid var(--yellow); background: #faf6e9; font-size: 12px; line-height: 1.8; white-space: pre-line; }.speaking-prompts { display: grid; gap: 9px; }.speaking-prompt { padding: 14px; border-radius: 12px; background: #f5f3ed; font-size: 11px; }

.quiz-shell { display: grid; grid-template-columns: 1fr 280px; gap: 18px; align-items: start; }.quiz-card { min-height: 480px; padding: 32px; border: 1px solid var(--line); border-radius: 21px; background: white; }.quiz-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }.quiz-progress { height: 6px; margin: 18px 0 35px; overflow: hidden; border-radius: 6px; background: var(--cream); }.quiz-progress i { display: block; height: 100%; background: var(--yellow); }.quiz-card h2 { margin: 0 0 27px; font-size: 23px; line-height: 1.45; }.quiz-side { display: grid; gap: 13px; }.quiz-score-box { padding: 24px; border-radius: 18px; color: white; background: var(--ink); }.quiz-score-box span { color: #aab4c2; font-size: 9px; }.quiz-score-box h3 { margin: 10px 0; color: var(--yellow); font-size: 34px; }.quiz-score-box p { margin: 0; color: #c7cdd5; font-size: 9px; }.question-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }.question-dot { aspect-ratio: 1; border: 0; border-radius: 7px; background: var(--cream); font-size: 8px; cursor: pointer; }.question-dot.current { color: white; background: var(--ink); }.question-dot.correct { color: var(--ink); background: var(--yellow); }.question-dot.wrong { color: white; background: var(--red); }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.resource-card { display: flex; flex-direction: column; min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: white; }.resource-card .resource-meta { display: flex; justify-content: space-between; color: var(--red); font-size: 8px; font-weight: 900; text-transform: uppercase; }.resource-card h3 { margin: 22px 0 8px; font-size: 17px; }.resource-card p { flex: 1; margin: 0; color: var(--muted); font-size: 10px; }.resource-card button { align-self: start; margin-top: 18px; padding: 0; border: 0; color: var(--red); background: none; font-size: 9px; font-weight: 900; cursor: pointer; }
.germany-hero { position: relative; overflow: hidden; min-height: 260px; display: flex; align-items: end; margin-bottom: 18px; padding: 32px; border-radius: 23px; color: white; background: linear-gradient(115deg, var(--ink) 0 55%, #2d394b 55%); }.germany-hero::before { content: ""; position: absolute; width: 200px; height: 200px; right: 55px; top: -80px; border-radius: 50%; background: var(--yellow); }.germany-hero::after { content: ""; position: absolute; width: 160px; height: 160px; right: -40px; bottom: -80px; border-radius: 50%; background: var(--red); }.germany-hero div { position: relative; z-index: 2; max-width: 580px; }.germany-hero h2 { margin: 8px 0; font-size: 32px; }.germany-hero p { margin: 0; color: #bbc3cf; font-size: 11px; }

.account-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }.account-card { padding: 28px; border: 1px solid var(--line); border-radius: 19px; background: white; }.account-card h2 { margin: 0 0 8px; font-size: 20px; }.account-card > p { margin: 0 0 24px; color: var(--muted); font-size: 11px; }.auth-tabs { display: flex; gap: 7px; margin-bottom: 20px; }.auth-tabs button { flex: 1; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f6; font-size: 10px; font-weight: 800; cursor: pointer; }.auth-tabs button.active { border-color: var(--ink); color: white; background: var(--ink); }.auth-form { display: grid; gap: 14px; }.cloud-state { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 13px; background: #f6f4ef; }.cloud-state i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-style: normal; }.cloud-state div { display: grid; }.cloud-state strong { font-size: 11px; }.cloud-state small { margin-top: 4px; color: var(--muted); font-size: 8px; }.privacy-list { display: grid; gap: 11px; margin-top: 20px; }.privacy-list span { display: flex; gap: 10px; color: var(--ink-2); font-size: 10px; }.privacy-list span::before { content: "✓"; color: var(--green); font-weight: 900; }

.search-overlay[hidden] { display: none; }.search-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: start center; padding-top: 11vh; }.overlay-backdrop { position: absolute; inset: 0; border: 0; background: rgba(9,14,23,.68); backdrop-filter: blur(4px); }.search-dialog { position: relative; z-index: 2; width: min(680px, calc(100% - 32px)); max-height: 72vh; overflow: hidden; border-radius: 18px; background: white; box-shadow: 0 35px 90px rgba(0,0,0,.3); }.search-input-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }.search-input-wrap input { height: auto; padding: 0; border: 0; box-shadow: none; font-size: 15px; }.search-input-wrap kbd { padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 8px; }.search-results { max-height: 58vh; overflow-y: auto; padding: 14px; }.search-results > p { color: var(--muted); font-size: 11px; text-align: center; }.search-result { width: 100%; display: grid; padding: 12px; border: 0; border-radius: 11px; background: transparent; text-align: left; cursor: pointer; }.search-result:hover { background: #f6f4ef; }.search-result strong { font-size: 11px; }.search-result small { margin-top: 4px; color: var(--muted); font-size: 8px; }.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; max-width: 360px; transform: translateY(120px); opacity: 0; padding: 14px 17px; border-radius: 12px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 10px; transition: .25s; }.toast.show { transform: none; opacity: 1; }

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }.site-nav > a:nth-child(2), .site-nav > a:nth-child(4) { display: none; }
  .hero-grid { gap: 40px; }.note-one { left: 5px; }.note-two { right: 5px; }
  .curriculum-grid, .platform-grid, .teacher-grid, .faq-grid, .consultation-grid { gap: 55px; }
  .app-shell { grid-template-columns: 218px 1fr; }.app-sidebar { width: 218px; }.content-layout { grid-template-columns: 290px 1fr; }
  .overview-hero, .overview-lower { grid-template-columns: 1fr; }.daily-tasks { grid-template-columns: repeat(3, 1fr); }.metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 680px); }.section { padding: 84px 0; }
  .menu-button { display: block; }.site-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 22px 24px 28px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }.site-nav.open { display: grid; }.site-nav > a:nth-child(2), .site-nav > a:nth-child(4) { display: block; }.nav-login { padding-left: 0; border-left: 0; }
  .hero-section { padding-top: 45px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.eyebrow { justify-content: center; }.hero-copy h1 { margin-inline: auto; }.hero-lede { margin-inline: auto; }.hero-actions, .hero-proof { justify-content: center; }.hero-visual { min-height: 530px; }.hero-card { margin-inline: auto; }.note-one { left: 0; }.note-two { right: 0; }
  .proof-row { height: auto; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 22px 0; }.proof-row i { display: none; }
  .section-heading, .curriculum-grid, .platform-grid, .teacher-grid, .faq-grid, .consultation-grid { grid-template-columns: 1fr; gap: 38px; }.section-heading { margin-bottom: 42px; }.curriculum-intro, .faq-intro { position: static; }.roadmap-grid, .pricing-grid { grid-template-columns: 1fr; }.roadmap-card.featured, .price-card.popular { transform: none; }.roadmap-card { min-height: 330px; }
  .platform-demo { min-height: 400px; }.teacher-visual { min-height: 500px; }.teacher-copy { text-align: center; }.teacher-facts { justify-content: center; }.teacher-copy blockquote { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }.footer-grid nav { justify-content: center; }.footer-bottom { gap: 20px; }
  .app-shell { display: block; }.app-sidebar { width: 246px; transform: translateX(-102%); transition: transform .25s; box-shadow: 20px 0 50px rgba(0,0,0,.25); }.app-sidebar.open { transform: none; }.app-content { margin: 0; }.app-menu-button { display: block; margin-right: 10px; }.app-topbar { justify-content: flex-start; padding: 0 17px; }.topbar-actions { margin-left: auto; }.app-view { width: min(100% - 30px, 680px); padding-top: 26px; }
  .content-layout, .flashcard-layout, .quiz-shell, .account-grid { grid-template-columns: 1fr; }.library-list { max-height: 360px; }.topic-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }.flash-side { grid-template-columns: repeat(3, 1fr); }.day-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 26px); }.section { padding: 67px 0; }.site-header { height: 70px; }.site-nav { top: 70px; }
  .hero-section { padding-top: 35px; }.hero-copy h1 { font-size: 46px; }.hero-lede { font-size: 15px; }.hero-actions { display: grid; }.hero-actions .button { width: 100%; }.hero-proof { margin-top: 35px; }.hero-proof div { padding-inline: 14px; }.hero-proof strong { font-size: 20px; }.hero-proof span { font-size: 9px; }
  .hero-visual { min-height: 480px; }.hero-visual::before { inset: 20px 0; }.hero-card { padding: 20px; }.today-item { grid-template-columns: 40px 1fr; }.today-item > b { display: none; }.floating-note { display: none; }
  .section-heading h2, .curriculum-intro h2, .platform-copy h2, .teacher-copy h2, .faq-intro h2, .consultation-copy h2 { font-size: 37px; }.feature-row { grid-template-columns: 42px 1fr; }.feature-row > b { display: none; }.platform-demo { min-height: 330px; grid-template-columns: 55px 1fr; border-width: 5px; }.mini-content { padding: 17px; }.mini-metrics { grid-template-columns: 1fr 1fr; }.mini-metrics div:last-child { display: none; }.mini-chart { height: 105px; gap: 7px; }.teacher-visual { min-height: 440px; }.field-grid { grid-template-columns: 1fr; }.consultation-form { padding: 24px 18px; }.form-heading { display: grid; gap: 5px; }.footer-grid nav { flex-wrap: wrap; }.footer-bottom { display: grid; text-align: center; }
  .app-topbar { height: 68px; }.topbar-greeting small { display: none; }.topbar-greeting strong { font-size: 14px; }.streak-button { display: none; }#app-main { min-height: calc(100vh - 68px); }.app-view { width: calc(100% - 24px); padding-bottom: 45px; }.page-head { display: grid; }.page-actions { width: 100%; }.page-actions .app-button { flex: 1; }.today-panel, .streak-panel, .content-card, .detail-panel, .quiz-card, .account-card { padding: 21px; }.daily-tasks { grid-template-columns: 1fr; }.daily-task { min-height: 105px; }.metric-grid { gap: 9px; }.metric-card { padding: 16px; }.metric-card h3 { font-size: 23px; }.continue-item { grid-template-columns: 40px 1fr; }.continue-item a { display: none; }.topic-grid, .resource-grid { grid-template-columns: 1fr; }.phrase-grid, .answer-grid { grid-template-columns: 1fr; }.detail-cover { min-height: 180px; margin: -21px -21px 24px; padding: 25px 21px; }.detail-cover h2 { font-size: 25px; }.flashcard-stage { padding: 18px; }.flashcard, .flashcard-inner { min-height: 300px; }.flash-face { padding: 24px; }.flash-side { grid-template-columns: 1fr; }.quiz-card { min-height: 430px; }.quiz-card h2 { font-size: 19px; }.day-grid { grid-template-columns: repeat(5, 1fr); }.germany-hero { padding: 23px; }.germany-hero h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hilotuma premium editorial system */
:root {
  --ink: #0b0d10;
  --ink-2: #272a2f;
  --muted: #6f706f;
  --line: #c9c2b6;
  --paper: #f4efe6;
  --cream: #e9e1d4;
  --cream-2: #d9d0c1;
  --white: #fffdf8;
  --yellow: #f6d43a;
  --yellow-2: #ffe366;
  --orange: #d8791d;
  --red: #c84a32;
  --green: #1f765c;
  --blue: #315f90;
  --shadow: 0 30px 80px rgba(11, 13, 16, .16);
  --shadow-sm: 0 14px 36px rgba(11, 13, 16, .10);
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font: "Bahnschrift", "Aptos", "Segoe UI", system-ui, sans-serif;
}

body { letter-spacing: -.01em; }
.landing-page { background-color: var(--paper); background-image: radial-gradient(rgba(11,13,16,.055) .6px, transparent .6px); background-size: 8px 8px; }
.shell { width: min(1280px, calc(100% - 72px)); }
.section { padding: 140px 0; }

.site-header { height: 90px; border-bottom: 1px solid rgba(11,13,16,.72); background: rgba(244,239,230,.94); backdrop-filter: blur(22px); }
.site-header.is-scrolled { border-color: var(--ink); box-shadow: 0 8px 0 rgba(11,13,16,.04); }
.brand { gap: 14px; }
.brand-mark { width: 50px; height: 50px; border: 1px solid var(--ink); border-radius: 50%; color: var(--yellow); background: var(--ink); box-shadow: none; font-size: 19px; }
.brand strong { font-size: 16px; letter-spacing: .12em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.site-nav { gap: 34px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav > a:not(.button)::after { bottom: -12px; height: 7px; background: var(--yellow); }
.nav-login { border-color: var(--ink); }

.button { min-height: 56px; padding-inline: 26px; border-radius: 2px; letter-spacing: .02em; }
.button-sm { min-height: 44px; border-radius: 2px; }
.button-primary { border-color: var(--yellow); background: var(--yellow); box-shadow: 8px 8px 0 var(--ink); }
.button-primary:hover { background: var(--yellow-2); box-shadow: 4px 4px 0 var(--ink); transform: translate(4px,4px); }
.button-dark { border-color: var(--ink); background: var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.button-dark:hover { background: #202329; box-shadow: 4px 4px 0 var(--yellow); transform: translate(4px,4px); }
.button-ghost { border-color: currentColor; border-radius: 2px; background: transparent; }

.hero-section { min-height: 820px; padding: 104px 0 112px; color: var(--paper); background: var(--ink); isolation: isolate; }
.hero-section::before { content: "HILOTUMA / A1 / 90"; position: absolute; z-index: -1; left: 50%; bottom: -12px; transform: translateX(-50%); width: min(1400px, 100%); overflow: hidden; color: rgba(255,255,255,.025); font-size: clamp(90px, 14vw, 210px); font-weight: 900; line-height: .8; letter-spacing: -.08em; white-space: nowrap; }
.hero-section::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg,transparent,black 46%,black 100%); }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 70px; }
.eyebrow, .kicker { color: var(--red); font-size: 11px; letter-spacing: .22em; }
.eyebrow { color: #b9b4aa; }
.eyebrow span { width: 42px; height: 7px; background: var(--yellow); }
.hero-copy h1 { max-width: 760px; font-size: clamp(64px, 7.2vw, 104px); line-height: .88; letter-spacing: -.068em; text-transform: uppercase; }
.hero-copy h1 em { color: var(--yellow); }
.hero-lede { max-width: 590px; margin: 35px 0 39px; color: #c2beb5; font-size: 17px; }
.hero-section .button-ghost { color: var(--paper); border-color: #77766f; background: rgba(255,255,255,.025); }
.hero-section .button-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.07); }
.hero-proof { margin-top: 58px; border-top: 1px solid #3a3d42; }
.hero-proof div { min-width: 142px; padding: 23px 30px 0; border-color: #3a3d42; }
.hero-proof strong { color: var(--paper); font-size: 29px; }
.hero-proof span { color: #8e8e89; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { min-height: 610px; }
.hero-visual::before { inset: -5px 18px 20px 88px; transform: none; border-radius: 50% 50% 6px 6px; background: var(--yellow); }
.hero-visual::after { content: "A1"; position: absolute; z-index: 1; right: 42px; top: 22px; color: rgba(11,13,16,.18); font-size: 150px; font-weight: 900; line-height: 1; letter-spacing: -.09em; }
.hero-card { width: min(100%, 520px); margin-top: 74px; padding: 32px; border: 1px solid var(--ink); border-radius: 3px; color: var(--ink); background: rgba(255,253,248,.97); box-shadow: 18px 18px 0 var(--red); }
.hero-card-head { padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.hero-card-head small { text-transform: uppercase; letter-spacing: .08em; }
.hero-card-head strong { font-size: 22px; }
.day-chip { border-radius: 1px; }
.progress-track { height: 5px; border-radius: 0; }
.progress-track i { border-radius: 0; background: var(--yellow); }
.today-item { border-color: #c8c1b6; border-radius: 2px; background: transparent; }
.task-icon { border-radius: 1px; }
.streak-card { border-left: 7px solid var(--yellow); border-radius: 1px; background: #eee7da; }
.floating-note { border: 1px solid var(--paper); border-radius: 1px; box-shadow: 8px 8px 0 var(--ink); }
.note-one { left: -28px; top: 110px; transform: rotate(-2deg); background: var(--red); }
.note-two { right: -22px; bottom: 72px; transform: rotate(2deg); }
.hero-glow { display: none; }

.proof-strip { border: 0; background: var(--yellow); }
.proof-row { height: 88px; color: var(--ink); font-size: 11px; letter-spacing: .2em; }
.proof-row i { width: 32px; height: 1px; border-radius: 0; background: var(--ink); }

.section-heading { grid-template-columns: 1.4fr .6fr; gap: 110px; }
.section-heading h2, .curriculum-intro h2, .platform-copy h2, .teacher-copy h2, .faq-intro h2, .consultation-copy h2 { font-size: clamp(45px, 5vw, 70px); line-height: .98; letter-spacing: -.058em; }
.roadmap-section { color: var(--ink); background: var(--paper); }
.roadmap-section .kicker { color: var(--red); }
.roadmap-section .section-heading > p { color: var(--muted); }
.roadmap-grid { gap: 0; border: 1px solid var(--ink); }
.roadmap-card { min-height: 430px; margin: 0; padding: 38px; border: 0; border-right: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: rgba(255,253,248,.56); }
.roadmap-card:last-child { border-right: 0; }
.roadmap-card.featured { transform: none; color: var(--paper); background: var(--ink); }
.phase-number { top: 12px; color: rgba(11,13,16,.06); font-size: 112px; }
.featured .phase-number { color: rgba(255,255,255,.06); }
.roadmap-card > p { color: var(--red); letter-spacing: .15em; }
.roadmap-card.featured > p { color: var(--yellow); }
.roadmap-card ul, .roadmap-card.featured ul { color: inherit; opacity: .72; }
.roadmap-card li::before { color: var(--red); }
.roadmap-card.featured li::before { color: var(--yellow); }
.phase-line { height: 7px; background: var(--cream-2); }
.phase-line i { background: var(--red); }
.featured .phase-line { background: #393c42; }
.featured .phase-line i { background: var(--yellow); }

.curriculum-section { background: var(--white); }
.feature-list { border-top-color: var(--ink); }
.feature-row { min-height: 150px; grid-template-columns: 58px 1fr auto; padding: 34px 0; border-bottom-color: var(--ink); }
.feature-row > span { width: 50px; height: 50px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--yellow); }
.feature-row h3 { font-size: 24px; }
.feature-row > b { border-radius: 0; background: var(--ink); color: var(--paper); letter-spacing: .08em; }
.text-link { color: var(--red); letter-spacing: .04em; }

.platform-section { background: #d9d2c7; }
.platform-demo { min-height: 520px; grid-template-columns: 88px 1fr; border: 1px solid var(--ink); border-radius: 3px; box-shadow: 18px 18px 0 var(--ink); }
.platform-demo::after { width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); }
.mini-sidebar { background: var(--ink); }
.mini-logo { border-radius: 50%; }
.mini-sidebar i, .mini-metrics div, .mini-chart { border-radius: 1px; }

.pricing-section { background: var(--paper); }
.pricing-grid { gap: 0; border: 1px solid var(--ink); }
.price-card { padding: 42px 36px; border: 0; border-right: 1px solid var(--ink); border-radius: 0; background: rgba(255,253,248,.55); }
.price-card:last-child { border-right: 0; }
.price-card.popular { transform: none; border: 0; border-right: 1px solid var(--ink); color: var(--paper); background: var(--ink); box-shadow: none; }
.price-card.popular ul, .price-card.popular h3 span { color: #bcb7ae; }
.price-card.popular li { border-color: #3d4045; }
.popular-tag { top: 0; left: 0; border-radius: 0; color: var(--ink); }

.teacher-section { color: var(--paper); background: var(--ink); }
.teacher-visual { min-height: 580px; border: 1px solid var(--paper); border-radius: 50% 50% 3px 3px; background: var(--yellow); }
.teacher-visual::before { background: var(--ink); box-shadow: 0 180px 0 75px var(--ink); }
.teacher-caption { border: 1px solid #6b6d70; border-radius: 2px; background: rgba(11,13,16,.96); }
.teacher-copy > p { color: #b6b3ac; }
.teacher-copy blockquote { border-color: var(--yellow); color: var(--paper); }
.teacher-facts small { color: #92918d; }

.faq-section { background: var(--white); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom-color: var(--ink); }
.faq-list summary { min-height: 84px; font-size: 17px; }
.faq-list summary span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); }

.consultation-section { background: var(--red); }
.consultation-copy > p { color: #f0d2cb; }
.consultation-points b { border-color: #f0b1a4; color: var(--yellow); }
.consultation-form { border: 1px solid var(--ink); border-radius: 3px; box-shadow: 16px 16px 0 var(--ink); }
input, select, textarea { border-radius: 2px; }

.site-footer { background: #050608; }
.footer-bottom { border-color: #31343a; }
.scroll-progress { height: 5px; }
.scroll-progress i { background: var(--yellow); }

/* Hilotuma learner studio */
.dashboard-page { background-color: #ebe6dc; background-image: linear-gradient(rgba(11,13,16,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(11,13,16,.035) 1px,transparent 1px); background-size: 48px 48px; }
.app-shell { grid-template-columns: 272px 1fr; }
.app-sidebar { width: 272px; padding: 30px 22px 22px; border-right: 1px solid #3b3e43; background: #0b0d10; }
.app-sidebar::before { content: "STUDIO / 01"; position: absolute; right: 18px; top: 24px; color: #606268; font-size: 8px; letter-spacing: .18em; }
.app-brand { margin: 0 10px 34px; }
.app-brand .brand-mark { width: 46px; height: 46px; border: 1px solid var(--yellow); }
.app-nav p { margin-top: 27px; color: #686a70; letter-spacing: .2em; }
.app-nav a { min-height: 46px; border-radius: 2px; color: #c3c0b9; letter-spacing: .02em; }
.app-nav a:hover { background: #1f2227; }
.app-nav a.active { position: relative; background: var(--paper); }
.app-nav a.active::before { content: ""; position: absolute; left: -7px; width: 7px; height: 100%; background: var(--yellow); }
.nav-icon { border-radius: 50%; border-color: #51545a; }
.app-nav a.active .nav-icon { border-radius: 50%; }
.sidebar-foot { border-top-color: #3b3e43; }
.avatar, .topbar-avatar span { background: var(--yellow); }
.app-content { grid-column: 2; }
.app-topbar { height: 88px; padding: 0 42px; border-bottom: 1px solid var(--ink); background: rgba(235,230,220,.92); }
.topbar-greeting small { color: var(--red); letter-spacing: .15em; text-transform: uppercase; }
.topbar-greeting strong { font-size: 18px; }
.icon-button, .streak-button, .topbar-avatar { border-color: var(--ink); border-radius: 50%; background: var(--paper); }
.streak-button { border-radius: 22px; }
#app-main { min-height: calc(100vh - 88px); }
.app-view { width: min(1340px, calc(100% - 84px)); padding: 48px 0 86px; }
.page-head { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.page-head h1 { font-size: clamp(36px, 4vw, 56px); line-height: .96; }
.page-eyebrow { color: var(--red); letter-spacing: .2em; }
.app-button { min-height: 44px; border-color: var(--ink); border-radius: 2px; background: var(--paper); }
.app-button.primary { border-color: var(--ink); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.overview-hero { gap: 0; border: 1px solid var(--ink); }
.today-panel { border-radius: 0; background: var(--ink); }
.today-panel::after { width: 290px; height: 290px; right: -85px; top: -125px; opacity: 1; }
.today-panel::before { content: "TODAY"; position: absolute; right: 20px; bottom: -18px; color: rgba(255,255,255,.035); font-size: 92px; font-weight: 900; letter-spacing: -.08em; }
.day-badge { z-index: 2; border-radius: 50%; }
.daily-task { border-color: #4a4d52; border-radius: 2px; background: #171a1f; }
.daily-task.done { background: #25282d; }
.streak-panel { border: 0; border-left: 1px solid var(--ink); border-radius: 0; background: var(--paper); }
.week-day i { border-radius: 50%; }
.metric-grid { gap: 0; border: 1px solid var(--ink); }
.metric-card { border: 0; border-right: 1px solid var(--ink); border-radius: 0; background: rgba(255,253,248,.72); }
.metric-card:last-child { border-right: 0; }
.metric-card .metric-bar { height: 6px; border-radius: 0; }
.metric-bar i { border-radius: 0; background: var(--red); }
.overview-lower { gap: 14px; }
.content-card, .library-list, .detail-panel, .flashcard-stage, .roadmap-month, .topic-card, .practice-card, .quiz-card, .question-map, .resource-card, .account-card { border-color: var(--ink); border-radius: 3px; background: rgba(255,253,248,.88); }
.continue-item, .phrase-card, .writing-model, .speaking-prompt, .cloud-state { border-radius: 1px; background: #e8e0d3; }
.continue-item > span, .library-number { border-radius: 50%; }
.library-list { padding: 7px; }
.library-item { border-radius: 1px; }
.library-item.active { background: var(--yellow); }
.detail-cover { border-radius: 2px 2px 0 0; }
.detail-cover::after { color: rgba(246,212,58,.11); }
.flash-face { border: 1px solid var(--ink); border-radius: 3px; box-shadow: 12px 12px 0 var(--red); }
.flash-back { background: var(--yellow); }
.topic-card:hover, .resource-card:hover { transform: translateY(-3px); box-shadow: 7px 7px 0 var(--ink); }
.tab-row { border-color: var(--ink); border-radius: 2px; background: var(--paper); }
.tab-button { border-radius: 1px; letter-spacing: .04em; }
.germany-hero { border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); }
.search-dialog { border: 1px solid var(--paper); border-radius: 3px; background: var(--paper); }
.toast { border: 1px solid var(--yellow); border-radius: 2px; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 44px, 1020px); }
  .app-shell { grid-template-columns: 232px 1fr; }
  .app-sidebar { width: 232px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 700px); }
  .section { padding: 94px 0; }
  .site-header { height: 78px; }
  .site-nav { top: 78px; background: var(--paper); }
  .hero-section { padding-top: 65px; }
  .hero-copy h1 { font-size: clamp(58px, 14vw, 88px); }
  .hero-visual::before { inset: 5px 15px 25px 55px; }
  .roadmap-grid, .pricing-grid { border: 0; gap: 14px; }
  .roadmap-card, .roadmap-card:last-child, .price-card, .price-card:last-child, .price-card.popular { border: 1px solid var(--ink); }
  .app-shell { display: block; }
  .app-sidebar { width: 272px; }
  .app-content { margin: 0; }
  .app-view { width: min(100% - 30px, 740px); }
  .overview-hero { border: 0; gap: 14px; }
  .streak-panel { border: 1px solid var(--ink); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .metric-card:nth-child(2) { border-right: 0; }
  .metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
}

@media (max-width: 560px) {
  .site-header { height: 70px; }
  .site-nav { top: 70px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand strong { font-size: 13px; }
  .hero-section { min-height: auto; padding-top: 52px; }
  .hero-copy { text-align: left; }
  .eyebrow { justify-content: flex-start; }
  .hero-copy h1 { margin: 0; font-size: 53px; }
  .hero-lede { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-proof { justify-content: flex-start; }
  .hero-proof div { min-width: 0; padding-inline: 12px; }
  .hero-visual { min-height: 500px; }
  .hero-card { margin-top: 55px; box-shadow: 10px 10px 0 var(--red); }
  .section-heading h2, .curriculum-intro h2, .platform-copy h2, .teacher-copy h2, .faq-intro h2, .consultation-copy h2 { font-size: 42px; }
  .feature-row { grid-template-columns: 50px 1fr; }
  .consultation-form { box-shadow: 8px 8px 0 var(--ink); }
  .app-topbar { height: 72px; padding-inline: 16px; }
  #app-main { min-height: calc(100vh - 72px); }
  .app-view { width: calc(100% - 24px); }
  .page-head h1 { font-size: 38px; }
  .metric-grid { border: 0; gap: 9px; }
  .metric-card, .metric-card:nth-child(2), .metric-card:nth-child(-n+2), .metric-card:last-child { border: 1px solid var(--ink); }
}
