:root {
  --ink: #153229;
  --muted: #6b7c75;
  --soft: #f4f7f2;
  --surface: #ffffff;
  --line: #dfebe3;
  --green: #08754c;
  --green-deep: #07583c;
  --green-pale: #e5f4ea;
  --yellow: #ffc859;
  --coral: #ef7c63;
  --purple: #8974dc;
  --shadow: 0 18px 45px rgba(18, 54, 39, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #edf3ee; color: var(--ink); font-family: "DM Sans", Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(255, 200, 89, .9); outline-offset: 3px; }

.app-shell { position: relative; min-height: 100vh; max-width: 940px; margin: 0 auto; background: var(--soft); box-shadow: 0 0 0 1px rgba(12, 70, 45, .03); }
.app-header { position: sticky; z-index: 10; top: 0; height: 78px; padding: 0 clamp(20px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(223, 235, 227, .8); background: rgba(244, 247, 242, .88); backdrop-filter: blur(16px); }
.app-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -.7px; }
.app-brand > span:last-child span { color: var(--green); }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px 10px 10px 2px; background: var(--green); color: white; font-size: 17px; transform: rotate(-6deg); }
.brand-mark i { transform: rotate(6deg); }
.app-header-actions { display: flex; align-items: center; gap: 10px; }
.header-streak { display: flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 999px; background: #fff5df; color: #a9610b; font-size: 13px; font-weight: 700; }
.header-streak i { color: #ef861f; }
.icon-button { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.notification-button { position: relative; font-size: 17px; }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 1.5px solid white; border-radius: 50%; background: var(--coral); }

.app-content { width: min(100%, 840px); min-height: calc(100vh - 78px); margin: 0 auto; padding: 46px clamp(20px, 5vw, 52px) 126px; }
.app-screen { display: none; animation: enter .34s ease both; }
.app-screen.active-screen { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow, .mini-label { display: inline-block; margin: 0; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .13em; line-height: 1.4; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.045em; }
em { color: var(--green); font-family: "Fraunces", Georgia, serif; font-style: normal; }

/* Home */
.home-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.home-intro h1, .screen-heading h1 { max-width: 540px; margin-top: 7px; font-size: clamp(34px, 5vw, 49px); line-height: 1.02; }
.intro-copy { max-width: 470px; margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.daily-orbit { position: relative; width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; }
.daily-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.daily-orbit circle { fill: none; stroke: #dce9df; stroke-width: 4; }
.daily-orbit .orbit-progress { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 90; transition: stroke-dashoffset .45s ease; }
.daily-orbit strong { position: relative; font-size: 15px; letter-spacing: -.05em; }
.daily-orbit small { color: var(--muted); font-size: 9px; }
.continue-card { position: relative; overflow: hidden; margin-top: 30px; padding: 25px; border-radius: 25px; background: var(--green); color: white; box-shadow: 0 20px 32px rgba(8, 117, 76, .18); }
.continue-card::before, .continue-card::after { position: absolute; content: ""; pointer-events: none; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.continue-card::before { width: 320px; height: 320px; top: -230px; right: -65px; }
.continue-card::after { width: 230px; height: 230px; bottom: -175px; right: 25px; }
.continue-card > * { position: relative; z-index: 1; }
.continue-card-top, .continue-main, .lesson-progress { display: flex; align-items: center; }
.continue-card-top { justify-content: space-between; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 7px 10px; border-radius: 999px; background: var(--green-pale); color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.pill-light { background: rgba(255,255,255,.14); color: white; }
.xp-chip { padding: 7px 10px; border-radius: 999px; background: rgba(255, 200, 89, .19); color: #ffe0a1; font-size: 11px; font-weight: 700; }
.continue-main { gap: 15px; margin-top: 23px; }
.lesson-symbol { width: 55px; height: 55px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 18px 18px 18px 4px; background: var(--yellow); color: #795005; font-size: 24px; transform: rotate(-3deg); }
.lesson-symbol i { transform: rotate(3deg); }
.continue-main p { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.68); }
.continue-main h2 { margin-top: 3px; font-size: 25px; }
.continue-main span { display: block; max-width: 420px; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; }
.lesson-progress { gap: 12px; margin-top: 24px; }
.progress-track { height: 7px; flex: 1; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.2); }
.progress-track div { width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width .5s ease; }
.lesson-progress > span { min-width: 28px; color: #d8eee2; font-size: 11px; font-weight: 700; text-align: right; }
.continue-button, .dark-button, .completion-button, .lesson-continue { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.continue-button { width: 100%; min-height: 46px; margin-top: 19px; background: white; color: var(--green); font-size: 13px; }
.continue-button:hover { transform: translateY(-2px); background: #f2f8f3; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 36px; }
.section-heading.compact { margin-top: 35px; }
.section-heading h2 { margin-top: 4px; font-size: 21px; }
.section-note { color: var(--muted); font-size: 12px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }
.text-button:hover { color: var(--green-deep); text-decoration: underline; }
.week-card { margin-top: 15px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 6px 18px rgba(17, 54, 38, .025); }
.week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.week-day { display: grid; gap: 7px; place-items: center; color: #97a69f; font-size: 10px; font-weight: 700; }
.week-day i { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fbfcfb; font-size: 12px; font-style: normal; }
.week-day.complete { color: var(--green); }
.week-day.complete i { border-color: transparent; background: var(--green-pale); }
.week-day.today { color: #a56809; }
.week-day.today i { border-color: #f7d184; background: #fff6df; color: #d98c15; }
.week-card p { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.week-card p i { color: #ed8a23; }
.home-activities { display: grid; grid-template-columns: 1.3fr .9fr; gap: 12px; margin-top: 15px; }
.challenge-card, .word-of-day { width: 100%; border: 1px solid var(--line); cursor: pointer; text-align: left; transition: .2s ease; }
.challenge-card { display: flex; align-items: center; gap: 11px; padding: 15px; border-radius: 17px; background: var(--surface); color: var(--ink); }
.challenge-card:hover, .word-of-day:hover { border-color: #aad0b6; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(18, 54, 39, .06); }
.activity-icon { width: 37px; height: 37px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; }
.activity-icon.sun { background: #fff4d9; color: #dd9019; }
.challenge-card > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.challenge-card strong { font-size: 13px; }
.challenge-card small { color: var(--muted); font-size: 10px; }
.challenge-card > b { color: var(--green); font-size: 11px; white-space: nowrap; }
.challenge-card > b small { color: inherit; }
.challenge-card > i { color: var(--muted); font-size: 13px; }
.word-of-day { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; overflow: hidden; padding: 15px; border-radius: 17px; background: #f5eefa; color: #513d81; }
.word-of-day::after { position: absolute; right: -8px; bottom: -28px; content: "✦"; color: rgba(137,116,220,.15); font-size: 88px; }
.word-of-day .mini-label { color: #8065be; font-size: 8px; }
.word-of-day strong { font-family: "Fraunces", Georgia, serif; font-size: 18px; }
.word-of-day > span:not(.mini-label) { font-size: 10px; }
.word-of-day > i { position: absolute; right: 15px; top: 15px; color: #8065be; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 15px; }
.stat { display: flex; align-items: center; gap: 9px; padding: 13px 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.stat-icon { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--green-pale); color: var(--green); font-size: 14px; }
.stat-icon.coral { background: #fff0e9; color: var(--coral); }.stat-icon.purple { background: #f0edfc; color: var(--purple); }
.stat div { display: grid; min-width: 0; gap: 1px; }.stat strong { font-size: 15px; letter-spacing: -.03em; }.stat span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

/* Learn and course */
.screen-heading > span { display: block; max-width: 510px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.language-list { display: grid; gap: 13px; margin-top: 29px; }
.language-card { position: relative; overflow: hidden; width: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: .2s ease; }
.language-card:hover { transform: translateY(-3px); border-color: #abd2b7; box-shadow: var(--shadow); }
.language-pattern { position: absolute; right: -26px; top: -34px; width: 160px; height: 160px; border: 16px solid rgba(8,117,76,.035); border-radius: 45% 55% 46% 54%; transform: rotate(25deg); }
.language-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }.language-top > i { margin-left: auto; font-size: 18px; }.language-badge { width: 49px; height: 49px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 16px 16px 16px 4px; color: var(--green); background: var(--green-pale); font-family: "Fraunces", Georgia, serif; font-size: 25px; font-weight: 700; }.language-info { display: grid; flex: 1; gap: 1px; }.language-info small { color: var(--muted); font-size: 10px; }.language-info strong { font-size: 20px; letter-spacing: -.04em; }.language-info em { color: var(--muted); font-family: inherit; font-size: 11px; font-style: normal; }.language-progress { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 17px; color: var(--muted); font-size: 11px; }.language-progress strong { color: var(--green); }.progress-bar { position: relative; z-index: 1; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #e9efea; }.progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .5s ease; }
.language-card--igbo .language-badge { color: #8f554b; background: #ffede8; }.language-card--igbo .language-pattern { border-color: rgba(239,124,99,.05); }.language-card--hausa .language-badge { color: #886719; background: #fff4d9; }.language-card--hausa .language-pattern { border-color: rgba(255,200,89,.09); }
.language-note { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 16px; border-radius: 16px; background: #e8f2eb; color: var(--green-deep); }.language-note > i { font-size: 22px; }.language-note p { flex: 1; font-size: 11px; line-height: 1.5; }.language-note p strong { display: block; font-size: 12px; }.language-note button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.back-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }.back-button:hover { color: var(--green); }
.course-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding: clamp(22px, 5vw, 32px); overflow: hidden; border-radius: 25px; background: var(--green-deep); color: white; }.course-hero .eyebrow { color: #bfe4ca; }.course-hero h1 { margin-top: 6px; font-size: clamp(34px, 6vw, 46px); }.course-hero h1 em { color: var(--yellow); }.course-hero > div:first-child > p:last-child { max-width: 430px; margin-top: 10px; color: #cce4d3; font-size: 13px; line-height: 1.55; }
.course-progress-ring { position: relative; width: 90px; height: 90px; display: grid; flex: 0 0 auto; place-items: center; }.course-progress-ring svg { position: absolute; inset: 0; width: 100%; transform: rotate(-90deg); }.course-progress-ring circle { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 6; }.course-progress-ring .ring-progress { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 182.2; stroke-dashoffset: 182.2; transition: stroke-dashoffset .5s ease; }.course-progress-ring strong { position: relative; font-size: 20px; letter-spacing: -.06em; }.course-progress-ring small { color: #cce4d3; font-size: 10px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 16px; color: var(--muted); font-size: 11px; }.course-meta span { display: inline-flex; align-items: center; gap: 5px; }.course-meta i { color: var(--green); }.unit-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-top: 37px; }.unit-heading p { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .13em; }.unit-heading h2 { margin-top: 4px; font-size: 23px; }.unit-heading > span { color: var(--muted); font-size: 11px; }
.lesson-path { position: relative; display: grid; gap: 11px; margin-top: 17px; }.path-line { position: absolute; left: 26px; top: 37px; bottom: 37px; z-index: 0; width: 1px; background: #cce3d3; }.lesson-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: .2s ease; }.lesson-row:hover:not(:disabled) { border-color: #9fc8ad; transform: translateX(3px); box-shadow: 0 8px 18px rgba(17,54,38,.05); }.lesson-row:disabled { cursor: not-allowed; opacity: .59; }.path-node { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 14px 14px 14px 3px; background: var(--green-pale); color: var(--green); font-size: 17px; }.lesson-row-copy { display: grid; flex: 1; gap: 2px; }.lesson-row-copy small { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .1em; }.lesson-row-copy strong { font-size: 15px; }.lesson-row-copy em { color: var(--muted); font-family: inherit; font-size: 11px; font-style: normal; }.lesson-row-status { display: grid; place-items: end; gap: 5px; color: var(--green); }.lesson-row-status b { color: var(--muted); font-size: 9px; font-weight: 600; }.lesson-row-status i { font-size: 14px; }.lesson-row.completed { border-color: #bbdfc6; }.lesson-row.completed .path-node { background: var(--green); color: white; }.lesson-row.completed .lesson-row-status i { color: var(--green); }

/* Lesson */
.lesson-header { display: flex; align-items: center; gap: 12px; }.lesson-back { border-radius: 50%; }.lesson-header-info { display: grid; flex: 1; gap: 2px; }.lesson-header-info span { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .12em; }.lesson-header-info strong { font-size: 16px; }.lesson-counter { color: var(--muted); font-size: 11px; font-weight: 700; }.lesson-progress-bar { height: 7px; margin-top: 17px; overflow: hidden; border-radius: 99px; background: #dce8df; }.lesson-progress-bar div { width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .3s ease; }.lesson-content { width: min(100%, 650px); margin: 0 auto; padding-top: clamp(31px, 7vw, 55px); }.lesson-label { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .14em; }.lesson-content h1 { margin-top: 8px; font-size: clamp(31px, 6vw, 44px); line-height: 1.05; }.lesson-description { max-width: 500px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }.word-card { position: relative; margin-top: 27px; padding: clamp(26px, 7vw, 42px) 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; box-shadow: 0 9px 25px rgba(17,54,38,.035); }.word-card::before { position: absolute; left: 50%; top: -83px; width: 200px; height: 130px; content: ""; border-radius: 50%; background: var(--green-pale); transform: translateX(-50%); }.word-card > * { position: relative; }.word-card small { color: var(--muted); font-size: 11px; }.word-card h2 { margin-top: 10px; font-family: "Fraunces", Georgia, serif; font-size: clamp(34px, 7vw, 51px); line-height: 1.05; }.word-card p { margin-top: 7px; color: var(--muted); font-size: 13px; }.listen-button { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; padding: 10px 15px; border: 1px solid #cae6d3; border-radius: 10px; background: #f1faf3; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s ease; }.listen-button:hover { background: var(--green-pale); transform: translateY(-1px); }.answer-list { display: grid; gap: 10px; margin-top: 23px; }.answer-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: left; font-size: 13px; cursor: pointer; transition: .18s ease; }.answer-option:hover:not(:disabled) { border-color: #94c8a6; transform: translateX(2px); }.answer-option:disabled { cursor: default; }.answer-letter { width: 29px; height: 29px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #edf4ee; color: var(--muted); font-size: 11px; font-weight: 700; }.answer-option.correct { border-color: #96c9a6; background: var(--green-pale); color: var(--green-deep); font-weight: 700; }.answer-option.wrong { border-color: #edb2a6; background: #fff1ed; color: #a24433; }.correct .answer-letter { background: var(--green); color: white; }.wrong .answer-letter { background: var(--coral); color: white; }.lesson-continue { width: 100%; min-height: 50px; margin-top: 23px; background: var(--green); color: white; }.lesson-continue:hover, .completion-button:hover { background: var(--green-deep); transform: translateY(-2px); }.hidden { display: none; }.lesson-complete { padding-top: 12px; text-align: center; }.completion-icon { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 19px; border-radius: 27px 27px 27px 5px; background: #fff1cb; color: #c97908; font-size: 32px; transform: rotate(-4deg); }.completion-icon i { transform: rotate(4deg); }.lesson-complete h1 { font-size: 34px; }.lesson-complete > p { max-width: 380px; margin: 10px auto 0; color: var(--muted); font-size: 14px; line-height: 1.55; }.xp-earned { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; padding: 9px 14px; border-radius: 999px; background: var(--green-pale); color: var(--green); font-size: 12px; font-weight: 700; }.completion-progress { margin-top: 23px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; }.completion-progress-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; }.completion-progress-header span { color: var(--muted); }.completion-progress-header strong { color: var(--green); }.completion-progress-bar { height: 7px; overflow: hidden; border-radius: 99px; background: #e6eee7; }.completion-progress-bar div { height: 100%; border-radius: inherit; background: var(--green); }.completion-button { width: 100%; min-height: 48px; margin-top: 15px; background: var(--green); color: white; }

/* Practice */
.practice-feature { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 25px; overflow: hidden; border-radius: 24px; background: #fce9de; }.practice-feature > div { position: relative; z-index: 1; }.practice-feature .pill { background: rgba(255,255,255,.62); color: #a74d38; }.practice-feature h2 { margin-top: 12px; color: #713226; font-size: 28px; }.practice-feature p { max-width: 385px; margin-top: 6px; color: #9a6052; font-size: 12px; line-height: 1.5; }.practice-feature > i { position: absolute; right: 22px; color: #f5b09c; font-size: 102px; transform: rotate(14deg); }.dark-button { min-height: 42px; margin-top: 17px; padding: 0 15px; background: #713226; color: white; font-size: 12px; }.dark-button:hover { background: #582319; transform: translateY(-2px); }.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }.practice-card { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; min-height: 93px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: .2s ease; }.practice-card:hover { transform: translateY(-2px); box-shadow: 0 9px 18px rgba(17,54,38,.06); }.practice-card > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--green-pale); color: var(--green); font-size: 18px; }.practice-card span { display: grid; gap: 2px; }.practice-card strong { font-size: 13px; }.practice-card small { color: var(--muted); font-size: 10px; }.practice-card b { color: var(--muted); font-size: 9px; font-weight: 600; }.listening-card > i { background: #f1edfc; color: var(--purple); }.speaking-card > i { background: #fff0e9; color: var(--coral); }.quiz-card > i { background: #fff4da; color: #c98a14; }.practice-session { margin-top: 16px; }.practice-session-card { padding: 22px; border: 1px solid #bbdfc5; border-radius: 22px; background: white; box-shadow: var(--shadow); }.practice-session-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }.practice-session-header small { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .11em; }.practice-session-header button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; }.practice-session-card h2 { margin-top: 14px; font-size: 25px; }.practice-session-card > p { margin-top: 6px; color: var(--muted); font-size: 13px; }.practice-options { display: grid; gap: 9px; margin-top: 18px; }.practice-option { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); text-align: left; font-size: 12px; cursor: pointer; }.practice-option:hover { border-color: var(--green); }.practice-result { margin-top: 16px; padding: 13px; border-radius: 12px; background: var(--green-pale); color: var(--green-deep); font-size: 12px; font-weight: 700; }

/* Profile */
.profile-hero { display: flex; align-items: center; gap: 14px; }.avatar { position: relative; width: 64px; height: 64px; display: grid; flex: 0 0 auto; place-items: center; border: 3px solid white; border-radius: 23px 23px 23px 5px; background: var(--green); box-shadow: 0 5px 15px rgba(7,88,60,.17); color: white; font-family: "Fraunces", Georgia, serif; font-size: 27px; font-weight: 700; }.avatar > span { position: absolute; right: -2px; bottom: -2px; width: 15px; height: 15px; border: 3px solid var(--soft); border-radius: 50%; background: var(--yellow); }.profile-hero h1 { margin-top: 4px; font-size: 31px; }.profile-hero h1 span { color: #d29119; font-size: 18px; vertical-align: top; }.profile-hero > div:nth-child(2) > p:last-child { margin-top: 3px; color: var(--muted); font-size: 11px; }.profile-edit { width: 36px; height: 36px; display: grid; place-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; }.profile-edit:hover { color: var(--green); border-color: var(--green); }.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }.profile-stats div { padding: 17px 8px; border-right: 1px solid var(--line); text-align: center; }.profile-stats div:last-child { border: 0; }.profile-stats strong { display: block; color: var(--green-deep); font-size: 20px; letter-spacing: -.05em; }.profile-stats span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }.profile-goal { position: relative; margin-top: 16px; padding: 18px; overflow: hidden; border-radius: 19px; background: #f1ecff; }.profile-goal > div:first-child { display: flex; align-items: center; gap: 11px; }.goal-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; background: #dcd4fa; color: #6b57b2; }.profile-goal p { color: #6b57b2; font-size: 9px; font-weight: 700; letter-spacing: .1em; }.profile-goal h2 { margin-top: 2px; color: #463575; font-size: 16px; }.profile-goal > div:first-child span:last-child { display: block; margin-top: 2px; color: #776c9b; font-size: 10px; }.profile-goal > strong { position: absolute; right: 18px; top: 22px; color: #59458e; font-size: 12px; }.profile-goal-track { height: 6px; margin-top: 15px; overflow: hidden; border-radius: 99px; background: #dcd4fa; }.profile-goal-track div { width: 0; height: 100%; border-radius: inherit; background: #806cd0; transition: .4s ease; }.profile-menu { margin-top: 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }.profile-menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }.profile-menu button:last-child { border: 0; }.profile-menu button:hover { background: #fbfdfb; }.profile-menu button > i:first-child { width: 26px; color: var(--green); font-size: 18px; text-align: center; }.profile-menu button > span { display: grid; flex: 1; gap: 2px; }.profile-menu strong { font-size: 13px; }.profile-menu small { color: var(--muted); font-size: 10px; }.profile-menu button > i:last-child { color: var(--muted); font-size: 13px; }

/* Navigation, modals and feedback */
.bottom-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; height: 76px; border-top: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }.nav-item { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; width: min(140px, 25vw); color: #829188; text-decoration: none; font-size: 10px; font-weight: 600; }.nav-item i { font-size: 19px; }.nav-item.active { color: var(--green); }.nav-item.active::before { position: absolute; top: 0; width: 30px; height: 3px; content: ""; border-radius: 0 0 999px 999px; background: var(--green); }.modal-layer { position: fixed; z-index: 60; inset: 0; display: grid; place-items: end center; padding: 18px; background: rgba(12,38,29,.39); backdrop-filter: blur(3px); }.modal-layer[hidden] { display: none; }.modal-card { width: min(100%, 510px); max-height: min(84vh, 680px); overflow: auto; padding: 25px; border-radius: 25px; background: white; box-shadow: 0 26px 80px rgba(0,0,0,.2); animation: rise .25s ease both; }.modal-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.modal-card h2 { font-size: 25px; }.modal-card .modal-close { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); cursor: pointer; }.modal-card > p { margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.55; }.notification-list { display: grid; gap: 11px; margin-top: 19px; }.notification-item { display: flex; gap: 11px; padding: 12px; border-radius: 14px; background: var(--soft); }.notification-item > i { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--green-pale); color: var(--green); }.notification-item strong { display: block; font-size: 12px; }.notification-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }.modal-list { display: grid; gap: 9px; margin-top: 19px; }.modal-list > div { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; }.modal-list i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--green-pale); color: var(--green); }.modal-list strong { display: block; font-size: 12px; }.modal-list span { color: var(--muted); font-size: 10px; }.modal-action { width: 100%; min-height: 44px; margin-top: 19px; border: 0; border-radius: 11px; background: var(--green); color: white; font-size: 12px; font-weight: 700; cursor: pointer; }.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }.settings-row strong { display: block; font-size: 13px; }.settings-row span { color: var(--muted); font-size: 10px; }.settings-row input { accent-color: var(--green); width: 18px; height: 18px; }.achievement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 19px; }.achievement { padding: 14px; border: 1px solid var(--line); border-radius: 15px; }.achievement i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: #fff4d9; color: #bd7b0d; }.achievement strong { display: block; margin-top: 8px; font-size: 12px; }.achievement span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }.achievement.locked { opacity: .5; filter: grayscale(1); }@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }.toast { position: fixed; z-index: 80; bottom: 92px; left: 50%; width: max-content; max-width: calc(100vw - 32px); padding: 12px 15px; border-radius: 12px; background: #17382d; color: white; font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .25s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 941px) { .bottom-nav { left: 50%; width: 940px; transform: translateX(-50%); border-right: 1px solid var(--line); border-left: 1px solid var(--line); }.app-shell { border-right: 1px solid rgba(223,235,227,.8); border-left: 1px solid rgba(223,235,227,.8); } }
@media (max-width: 540px) { .app-header { height: 70px; }.app-content { padding-top: 32px; }.home-intro { align-items: flex-start; }.home-intro h1, .screen-heading h1 { font-size: 35px; }.intro-copy { font-size: 13px; }.continue-card { margin-top: 24px; padding: 20px; border-radius: 21px; }.continue-main h2 { font-size: 22px; }.section-heading { margin-top: 29px; }.section-heading h2 { font-size: 19px; }.home-activities { grid-template-columns: 1fr; }.word-of-day { min-height: 89px; }.stats-row { gap: 8px; }.stat { padding: 10px 8px; gap: 6px; }.stat-icon { width: 27px; height: 27px; border-radius: 9px; font-size: 12px; }.stat strong { font-size: 13px; }.stat span { font-size: 8px; }.language-note { align-items: flex-start; }.language-note button { margin-top: 3px; }.course-hero { margin-top: 18px; }.course-hero h1 { font-size: 35px; }.course-progress-ring { width: 70px; height: 70px; }.course-progress-ring strong { font-size: 16px; }.course-meta { gap: 9px; }.unit-heading { margin-top: 30px; }.lesson-row { gap: 11px; padding: 13px; }.path-node { width: 38px; height: 38px; }.lesson-row-copy em { font-size: 10px; }.lesson-row-status b { display: none; }.practice-feature { padding: 21px; }.practice-feature h2 { font-size: 25px; }.practice-feature > i { right: 9px; font-size: 84px; }.practice-grid { gap: 9px; }.practice-card { grid-template-columns: 35px 1fr; min-height: 82px; padding: 11px; }.practice-card > i { width: 35px; height: 35px; font-size: 15px; }.practice-card b { display: none; }.profile-hero h1 { font-size: 27px; }.profile-goal { padding: 15px; } }
@media (max-width: 360px) { .header-streak { padding: 7px; }.week-days { gap: 3px; }.week-day i { width: 26px; height: 26px; }.continue-main span { font-size: 11px; }.language-card { padding: 16px; }.language-badge { width: 43px; height: 43px; }.course-meta span:last-child { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
