RezinaLMS-CustomerEnd/packages/features/src/styles.css
n3p-tun3 20946236a0 feat(course): course page polish P6–P10
- P6: "last updated" moves from the hero to the end of About
- P7: quizzes sit inside their chapter; only chapterless quizzes keep a final group,
  and quiz rows share the lesson row's look
- P8: share becomes a glass button in the hero corner; the owned chip joins the stat pills
- P9: prerequisite shown in the buy card before purchase instead of a banner below it
- P10: lesson rows always number in the title; the circle shows state (play, check, lock, now playing)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:53:35 +03:00

1191 lines
108 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Layout: student = quiet single column with Ge'ez titles given room.
Tokens mirror design/tokens.json (§11.3). Components never use raw colors. */
:root {
--ink: #111111; --ink-2: #3A3A3A; --ink-3: #6B6B6B;
--paper: #FFFFFF; --canvas: #F4F4F4; --mist: #F7F7F7; --line: #E4E4E4;
--accent: #111111; --accent-ink: #FFFFFF; --accent-soft: #EFEFEF; --accent-hover: #000000;
--brand-2: #222222; --brand-2-soft: #F0F0F0; --brand-3: #D0D0D0;
--success: #111111; --success-soft: #EFEFEF; --alert: #000000; --alert-soft: #E6E6E6; --warn-soft: #F3F3F3;
--info-soft: #F0F0F0; --on-ink: #FFFFFF;
--tone-rose: #E8E8E8; --tone-clay: #F5F5F5; --tone-plum: #D4D4D4; --tone-sand: #EEEEEE; --tone-sage: #DEDEDE; --tone-ink: #C8C8C8;
--f-latin: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
--f-eth: 'Noto Sans Ethiopic', 'Plus Jakarta Sans', system-ui, sans-serif;
--f-serif: 'Noto Serif Ethiopic', 'Noto Sans Ethiopic', Georgia, serif;
--fs-sm: 14px; --fs-base: 16px; --fs-lg: 20px; --fs-xl: 25px; --fs-2xl: 31px; --fs-3xl: 39px;
--r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 1px rgba(0, 0, 0, .03);
--shadow-pop: 0 12px 32px rgba(0, 0, 0, .16);
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--ink: #F5F5F5; --ink-2: #C8C8C8; --ink-3: #9A9A9A;
--paper: #0A0A0A; --canvas: #000000; --mist: #161616; --line: #2A2A2A;
--accent: #F5F5F5; --accent-ink: #0A0A0A; --accent-soft: #2A2A2A; --accent-hover: #FFFFFF;
--brand-2: #E0E0E0; --brand-2-soft: #1C1C1C; --brand-3: #3A3A3A;
--success: #F5F5F5; --success-soft: #1A1A1A; --alert: #FFFFFF; --alert-soft: #2A2A2A; --warn-soft: #1F1F1F;
--info-soft: #1C1C1C; --on-ink: #0A0A0A;
--tone-rose: #2A2A2A; --tone-clay: #1A1A1A; --tone-plum: #333333; --tone-sand: #242424; --tone-sage: #3A3A3A; --tone-ink: #444444;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--ink: #F5F5F5; --ink-2: #C8C8C8; --ink-3: #9A9A9A;
--paper: #0A0A0A; --canvas: #000000; --mist: #161616; --line: #2A2A2A;
--accent: #F5F5F5; --accent-ink: #0A0A0A; --accent-soft: #2A2A2A; --accent-hover: #FFFFFF;
--brand-2: #E0E0E0; --brand-2-soft: #1C1C1C; --brand-3: #3A3A3A;
--success: #F5F5F5; --success-soft: #1A1A1A; --alert: #FFFFFF; --alert-soft: #2A2A2A; --warn-soft: #1F1F1F;
--info-soft: #1C1C1C; --on-ink: #0A0A0A;
--tone-rose: #2A2A2A; --tone-clay: #1A1A1A; --tone-plum: #333333; --tone-sand: #242424; --tone-sage: #3A3A3A; --tone-ink: #444444;
color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: var(--fs-base)/1.5 var(--f-latin); -webkit-font-smoothing: antialiased; }
:lang(am), :lang(ti), .eth { font-family: var(--f-eth); line-height: 1.7; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; text-wrap: balance; font-weight: 700; }
h1:lang(am), h1:lang(ti), h2:lang(am), h2:lang(ti), .serif { font-family: var(--f-serif); line-height: 1.45; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ---------- buttons, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--ink); color: var(--on-ink); font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); filter: none; }
.btn-quiet { background: transparent; color: var(--ink); padding: 0 10px; min-height: 36px; }
.btn-quiet:hover { background: var(--mist); filter: none; }
.btn-danger { background: var(--alert); color: var(--on-ink); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--mist); }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--ink-3); outline: none; box-shadow: 0 0 0 3px var(--brand-2-soft); }
.hint { font-size: var(--fs-sm); color: var(--ink-3); }
.err { font-size: var(--fs-sm); color: var(--alert); font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.otp { letter-spacing: .5em; font-size: var(--fs-xl); text-align: center; font-variant-numeric: tabular-nums; }
/* ---------- pills, cards ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--mist); color: var(--ink-2); white-space: nowrap; }
.pill-ok { background: var(--success-soft); color: var(--success); }
.pill-warn { background: var(--warn-soft); color: var(--ink); }
.pill-bad { background: var(--alert-soft); color: var(--alert); }
.pill-info { background: var(--info-soft); color: var(--ink); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.panel { background: var(--mist); border-radius: var(--r-lg); padding: 20px; }
.banner { padding: 12px 16px; border-radius: var(--r-md); background: var(--warn-soft); font-size: var(--fs-sm); }
.banner-bad { background: var(--alert-soft); color: var(--alert); }
.banner-ok { background: var(--success-soft); color: var(--success); }
.empty { padding: 32px 20px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.skel { background: linear-gradient(90deg, var(--mist), var(--line), var(--mist)); background-size: 200% 100%; animation: skel 1.2s infinite; border-radius: var(--r-md); }
@keyframes skel { to { background-position: -200% 0; } }
.bar { height: 6px; border-radius: var(--r-pill); background: var(--mist); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand-2); border-radius: inherit; transition: width .6s ease; }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-pop); z-index: 50; max-width: calc(100% - 32px); font-weight: 700; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { background: none; border: 0; padding: 10px 14px; cursor: pointer; color: var(--ink-3); font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.seg { display: inline-flex; background: var(--mist); border-radius: var(--r-pill); padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: var(--r-pill); cursor: pointer; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.modal-back { position: fixed; inset: 0; background: rgba(16, 20, 31, .5); display: grid; place-items: center; padding: 16px; z-index: 40; }
.modal { background: var(--paper); border-radius: var(--r-lg); padding: 24px; width: min(560px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; gap: 16px; }
.feedback-btn { white-space: nowrap; }
@media (max-width: 700px) { .feedback-btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .feedback-btn { padding: 0; width: 36px; } }
/* ---------- student shell ---------- */
.s-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.s-top-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--f-serif); font-size: 19px; }
.s-nav { display: none; gap: 4px; }
.s-nav button { background: none; border: 0; padding: 8px 12px; border-radius: var(--r-pill); cursor: pointer; font-weight: 700; color: var(--ink-2); }
.s-nav button[aria-current="page"] { background: var(--mist); color: var(--ink); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--mist); }
.dot { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--alert); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.s-main { max-width: 1120px; margin: 0 auto; padding: 24px 16px 120px; display: flex; flex-direction: column; gap: 40px; }
.s-tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); }
.s-tabs button { background: none; border: 0; padding: 8px 2px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--ink-3); cursor: pointer; }
.s-tabs button[aria-current="page"] { color: var(--ink); }
.s-tabs button[aria-current="page"] svg { color: var(--ink); background: var(--brand-2-soft); border-radius: var(--r-pill); }
@media (min-width: 900px) { .s-nav { display: flex; } .s-tabs { display: none; } .s-main { padding-bottom: 64px; } }
.lang-select { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-pill); padding: 6px 10px; font-size: var(--fs-sm); font-weight: 700; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-h h2 { font-size: var(--fs-xl); }
.hero { display: grid; gap: 32px; padding: 8px 0; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 1fr; padding: 24px 0 8px; } }
.hero h1 { font-size: clamp(31px, 6vw, 52px); max-width: 16ch; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.facts li { list-style: none; display: flex; align-items: center; gap: 8px; }
.facts li svg { color: var(--success); }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-pop); min-width: 0; }
.hero-card .cover { aspect-ratio: 4 / 3; }
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 32px 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
.foot-in { max-width: 1120px; margin: 0 auto; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); font-size: var(--fs-sm); color: var(--ink-2); }
.foot-in h3 { font-size: var(--fs-sm); color: var(--ink); margin-bottom: 8px; }
.foot-in .stack-sm button, .foot-in .stack-sm a { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .foot { padding-bottom: 32px; } }
.hero p.lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 46ch; }
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--mist); border-radius: var(--r-md); }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 700; }
.pay-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-logo { padding: 10px 16px; border-radius: var(--r-md); border: 1px solid var(--line); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pay-logo i { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
/* course cards */
.cover { position: relative; border-radius: var(--r-md); aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; background: var(--tone-ink); max-width: 100%; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cover .ttl { position: relative; font-family: var(--f-serif); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.35; color: var(--ink); opacity: .82; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 92%; order: 2; }
.cover .pill { position: relative; order: 1; background: var(--paper); }
.cover.has-img .ttl { display: none; }
.tone-rose { background: var(--tone-rose); } .tone-clay { background: var(--tone-clay); } .tone-plum { background: var(--tone-plum); }
.tone-sand { background: var(--tone-sand); } .tone-sage { background: var(--tone-sage); } .tone-ink { background: var(--tone-ink); }
.grid-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-cards > * { max-width: 440px; }
.ccard { display: flex; flex-direction: column; gap: 10px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; min-width: 0; }
.ccard h3 { font-size: var(--fs-lg); }
.ccard:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.ccard .meta { font-size: var(--fs-sm); color: var(--ink-3); }
.continue { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 20px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); }
.continue .bar { background: rgba(255, 255, 255, .18); }
@media (min-width: 720px) { .continue { grid-template-columns: 260px 1fr; align-items: center; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; border-radius: var(--r-pill); cursor: pointer; font-weight: 700; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
/* course page */
.c-hero { display: grid; gap: 24px; }
@media (min-width: 900px) { .c-hero { grid-template-columns: 1fr 360px; align-items: start; } }
.c-hero h1 { font-size: clamp(31px, 5vw, 44px); }
.buybox { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; }
.price { font-size: var(--fs-2xl); font-weight: 700; }
.outcomes { display: grid; gap: 12px; padding: 0; margin: 0; counter-reset: o; }
.outcomes li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.outcomes li::before { counter-increment: o; content: counter(o); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: var(--fs-sm); font-weight: 700; }
.journey { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 0; }
.journey > li { list-style: none; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.journey .node { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; background: var(--paper); }
.journey .node.done { background: var(--success); border-color: var(--success); color: #fff; }
.lesson-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; cursor: pointer; color: inherit; }
.lesson-row:hover { background: var(--mist); }
.lesson-row[aria-current="true"] { background: var(--info-soft); }
.lesson-row .ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--ink-2); }
.lesson-row .ic.done { background: var(--success-soft); color: var(--success); }
/* player */
.p-wrap { display: grid; gap: 20px; }
/* lesson bar replaces the app tabs inside a course on phones/tablets */
.l-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
.l-bar button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: var(--r-pill); padding: 0 14px; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.l-bar .l-next { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.l-bar button:disabled { opacity: .4; cursor: default; }
@media (min-width: 1024px) { .l-bar { display: none; } }
@media (min-width: 1024px) { .p-wrap { grid-template-columns: 340px 1fr; align-items: start; } .p-side { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow: auto; } .p-side-order { order: -1; } }
.screen { position: relative; background: #111; color: #fff; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; }
.screen video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.screen .sim { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(circle at 30% 20%, #3A3A3A, #111 70%); }
.screen .sim h2 { font-family: var(--f-serif); font-size: clamp(22px, 4vw, 36px); color: #fff; }
.screen .sim .muted { color: #C8C8C8; }
.wm { position: absolute; font-size: 12px; color: rgba(255, 255, 255, .28); pointer-events: none; user-select: none; animation: wm 40s linear infinite alternate; font-variant-numeric: tabular-nums; }
@keyframes wm { 0% { left: 6%; top: 10%; } 33% { left: 60%; top: 30%; } 66% { left: 20%; top: 70%; } 100% { left: 70%; top: 80%; } }
.controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.controls .row { gap: 6px; }
.controls button, .controls select { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: var(--r-sm); min-height: 36px; min-width: 36px; padding: 0 10px; cursor: pointer; font-size: var(--fs-sm); font-weight: 700; }
.controls select option { color: #000; }
.controls input[type="range"] { width: 100%; accent-color: var(--accent); }
.ring { width: 56px; height: 56px; }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: var(--mist); }
.ring .fg { stroke: var(--success); stroke-linecap: round; transition: stroke-dashoffset 1s ease; transform: rotate(-90deg); transform-origin: center; }
.done-flash { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-md); background: var(--success-soft); color: var(--success); font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--ink-2); }
.notif-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notif-item.unread { }
.notif-item .unread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 8px; }
.notif-item .read-dot { width: 10px; flex: none; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat { padding: 14px 14px 10px; } .stat .val { font-size: var(--fs-xl); } .stat .note { font-size: 12px; } }
.filters .field { flex: 1 1 160px; }
.filters .field.search { flex: 2 1 240px; }
.filters .input { min-height: 40px; padding: 8px 10px; background: var(--paper); }
.tbl-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; background: var(--canvas); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: var(--mist); }
.tbl .r { text-align: right; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: var(--fs-sm); }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--ink-3); font-size: 11px; font-family: var(--f-latin); }
.chart .grid { stroke: var(--line); }
.chart .barfill { fill: var(--ink); }
.chart .barfill.hl { fill: var(--accent); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.s-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
@media (max-width: 600px) { .lang-select { max-width: 96px; } .s-top-in { gap: 8px; } .hide-sm { display: none !important; } }
@media (max-width: 380px) { .brand > span:last-child { display: none; } }
/* compact course rows on phones (§11.2: catalog cards are compact; the Continue card stays wide) */
@media (max-width: 599px) {
.grid-cards { grid-template-columns: 1fr; gap: 14px; }
.ccard { display: grid; grid-template-columns: 104px 1fr; gap: 2px 14px; align-items: start; }
.ccard .cover { grid-row: 1 / span 4; aspect-ratio: 1; padding: 8px; }
.ccard .cover .ttl { font-size: 13px; -webkit-line-clamp: 4; }
.ccard .cover .pill { display: none; }
.ccard h3 { font-size: var(--fs-base); }
}
/* audit fixes: no sideways scroll at 360–400px */
@media (max-width: 600px) { .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .stat { min-width: 0; } .stat .lbl { flex-wrap: wrap; letter-spacing: .03em; } .stat .lbl span { overflow-wrap: anywhere; } }
@media (max-width: 440px) { .brand > span:last-child { display: none; } .lang-select { max-width: 92px; } }
.cover .ttl { margin-top: auto; }
.hero-card .cover { aspect-ratio: 16 / 10; }
.hero-card .cover .ttl { font-size: clamp(24px, 3.2vw, 36px); }
.ccard .cover { aspect-ratio: 16 / 9; }
/* touch targets: 40px minimum everywhere, 44px on touch screens */
.btn-sm { min-height: 40px; }
@media (pointer: coarse) { .btn-sm, .controls button, .controls select { min-height: 44px; min-width: 44px; } .lesson-row { min-height: 56px; } }
.pay-logo { gap: 10px; }
/* ================= v3: cleaner shell, landing, course page, sign-in (inspo: e-Learning landing, OnlineLMS, Slothui course) ================= */
:root { --f-head: 'Plus Jakarta Sans', var(--f-latin); --shadow-soft: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .07); --hero-a: #FFFFFF; --hero-b: #F2F2F2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --hero-a: #0A0A0A; --hero-b: #1A1A1A; } }
:root[data-theme="dark"] { --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --hero-a: #0A0A0A; --hero-b: #1A1A1A; }
h1:lang(en), h2:lang(en), h3:lang(en), h1:lang(om), h2:lang(om), h3:lang(om), .brand { font-family: var(--f-head); letter-spacing: -.01em; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: var(--fs-base); }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.card { box-shadow: var(--shadow-soft); border-color: transparent; }
.lesson-row { border-radius: var(--r-sm); }
/* navbar: brand | links | actions */
.s-top { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.s-top-in { max-width: 1200px; min-height: 64px; padding: 8px 20px; }
.s-nav { margin-left: 24px; }
.s-nav button { padding: 8px 14px; font-weight: 600; color: var(--ink-3); position: relative; }
.s-nav button:hover { color: var(--ink); }
.s-nav button[aria-current="page"] { background: none; color: var(--ink); }
.s-nav button[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.s-actions { gap: 8px; }
.lang-pick { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); cursor: pointer; }
.lang-pick select { border: 0; background: transparent; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; max-width: 120px; padding: 4px 2px; }
.lang-pick:focus-within { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-sm); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 56px; height: 56px; font-size: var(--fs-lg); background: var(--tone-plum); color: var(--ink); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 6px; display: flex; flex-direction: column; z-index: 30; }
.menu-head { display: flex; flex-direction: column; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-pop button { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; text-align: left; font-weight: 600; color: var(--ink-2); }
.menu-pop button:hover { background: var(--mist); color: var(--ink); }
.menu-pop button:last-child { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: 4px; }
@media (max-width: 600px) { .lang-pick { padding: 0 4px 0 10px; } .lang-pick select { max-width: 76px; } }
/* landing */
.s-main { max-width: 1200px; padding-left: 24px; padding-right: 24px; gap: 64px; }
.l-hero { margin: -24px calc(50% - 50vw) 0; padding: 48px max(24px, calc(50vw - 580px)) 72px; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); }
.l-hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
.l-hero-in { grid-template-columns: 1.05fr 1fr; }
.l-hero-in:not(:has(.hero-art, .hero-still)) { grid-template-columns: minmax(0, 40rem); }
}
.l-hero h1 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1.12; max-width: 15ch; }
.l-hero h1:lang(am), .l-hero h1:lang(ti) { line-height: 1.35; }
.l-hero .lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 46ch; }
.eyebrow-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); font-size: var(--fs-sm); font-weight: 700; box-shadow: var(--shadow); }
.eyebrow-pill svg { color: var(--accent); }
.play-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.hero-art { position: relative; padding: 24px 0 24px 24px; }
.hero-frame { position: relative; display: block; width: 100%; border: 0; padding: 10px; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow-pop); cursor: pointer; transform: rotate(1.5deg); }
.hero-frame .cover { aspect-ratio: 4 / 3; border-radius: 16px; padding: 28px; }
.hero-frame .cover .ttl { font-size: clamp(26px, 3.4vw, 40px); }
.play-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); padding-left: 4px; transition: transform .2s; }
.hero-frame:hover .play-big, .c-screen:hover .play-big { transform: translate(-50%, -50%) scale(1.08); }
.float { position: absolute; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-pop); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.float-a { left: 0; bottom: 0; align-items: flex-start; } .float-a strong { font-size: var(--fs-xl); line-height: 1; } .float-a span { font-size: 12px; color: var(--ink-3); }
.float-b { right: -8px; top: 0; max-width: 240px; }
.float-b strong { font-size: var(--fs-sm); }
@media (max-width: 600px) { .hero-art { padding: 16px 0 28px; } .float-a { left: -4px; } .float-b { right: 0; } .hero-frame { transform: none; } }
.statbar { margin-top: -104px; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); padding: 8px; }
@media (min-width: 760px) { .statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.statbar > div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0; }
.statbar strong { display: block; font-size: var(--fs-xl); font-family: var(--f-head); line-height: 1.1; }
.statbar span { font-size: var(--fs-sm); color: var(--ink-3); }
.stat-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-2-soft); color: var(--brand-2) !important; }
.section-c { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.section-c h2, .section-h h2 { font-size: clamp(25px, 3vw, 34px); }
.section-c p { color: var(--ink-3); max-width: 52ch; }
.section-h { align-items: flex-end; }
.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cat-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; text-align: left; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: transparent; }
.cat-card h3 { font-size: var(--fs-lg); margin-top: 6px; }
.cat-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
.cat-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: var(--fs-sm); margin-top: 4px; }
.how-panel { display: grid; gap: 32px; padding: 32px; border-radius: 24px; background: var(--canvas); }
@media (min-width: 900px) { .how-panel { grid-template-columns: 2fr 1fr; align-items: end; } }
.how-panel h2 { font-size: var(--fs-xl); }
.steps { padding: 0; margin: 0; }
.steps li { background: var(--paper); }
.cta-band { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: 36px; border-radius: 24px; background: var(--ink); color: var(--on-ink); }
.cta-band h2 { font-size: var(--fs-xl); } .cta-band p { opacity: .8; }
/* course cards */
.ccard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; gap: 0; transition: box-shadow .2s, transform .2s; }
.ccard:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: transparent; }
.ccard:hover h3 { text-decoration: none; }
.ccard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 8px 6px; min-width: 0; }
.ccard .meta { display: flex; gap: 14px; flex-wrap: wrap; }
.ccard .meta > span { display: inline-flex; align-items: center; gap: 5px; }
.ccard-by { font-size: var(--fs-sm); color: var(--ink-2); }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.ccard-cta { font-size: var(--fs-sm); font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.ccard:hover .ccard-cta { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (max-width: 599px) {
.ccard { padding: 8px; grid-template-columns: 96px 1fr; gap: 0 12px; }
.ccard .cover { grid-row: auto; }
.ccard-body { padding: 2px 0; gap: 4px; } .ccard-by { display: none; } .ccard-foot { padding-top: 8px; } .ccard-cta { display: none; }
}
/* course page */
.c-page { display: flex; flex-direction: column; gap: 20px; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-3); font-size: var(--fs-sm); }
.crumbs button { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink-3); font-weight: 600; display: inline-flex; }
.crumbs button:hover { color: var(--ink); }
.crumbs button[aria-current="page"] { color: var(--ink); }
.c-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .c-layout { grid-template-columns: minmax(0, 1fr) 380px; } .c-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; } }
.c-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.c-main h1 { font-size: clamp(30px, 4vw, 42px); }
.c-sub { font-size: var(--fs-lg); color: var(--ink-2); }
.c-meta { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 0; margin: 0; }
.c-meta li { list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.c-meta li > svg { color: var(--ink-3); margin-top: 2px; }
.c-meta strong { display: block; } .c-meta span { font-size: var(--fs-sm); color: var(--ink-3); }
.c-media { border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-soft); overflow: hidden; }
.c-screen { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.c-screen[disabled] { cursor: default; }
.c-screen .cover { aspect-ratio: 16 / 8; border-radius: 0; padding: 32px; }
.c-screen .cover .ttl { font-size: clamp(28px, 4vw, 48px); }
.c-actions { display: flex; align-items: center; gap: 8px; padding: 8px 12px; flex-wrap: wrap; }
.c-overview { display: grid; gap: 28px; }
@media (min-width: 760px) { .c-overview { grid-template-columns: 1.3fr 1fr; } }
.c-summary { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 4px 18px; background: var(--canvas); border-radius: var(--r-lg); align-self: start; }
.c-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.c-summary > div:last-child { border-bottom: 0; }
.c-summary dt { display: flex; gap: 8px; align-items: center; color: var(--ink-3); }
.c-summary dd { margin: 0; font-weight: 700; text-align: right; }
.c-side { display: flex; flex-direction: column; gap: 16px; }
.buybox { position: static; }
.c-content { padding: 0; overflow: hidden; }
.c-content-h { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.c-content-h h2 { font-size: var(--fs-lg); }
.ch { border-bottom: 1px solid var(--line); }
.ch:last-child { border-bottom: 0; }
.ch > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; }
.ch > summary::-webkit-details-marker { display: none; }
.ch > summary strong { display: block; }
.ch > summary svg { color: var(--ink-3); transition: transform .2s; flex: none; }
.ch[open] > summary svg { transform: rotate(180deg); }
.ch > summary:hover { background: var(--canvas); }
.ch .lesson-row { padding: 12px 20px; border-radius: 0; }
.ch .lesson-row[aria-current="true"] { box-shadow: inset 3px 0 0 var(--accent); }
.tab-n { margin-left: 6px; background: var(--alert); color: #fff; font-size: 11px; border-radius: 9px; padding: 1px 6px; }
/* sign-in */
.auth { display: grid; width: 100%; max-width: 980px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); }
@media (min-width: 860px) { .auth { grid-template-columns: 1fr 1.1fr; min-height: 560px; } }
.auth-side { background: #111; color: #fff; padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: flex-end; }
.auth-side .logo { margin-bottom: auto; }
.auth-side h2 { font-size: var(--fs-2xl); color: #fff; } .auth-side p { opacity: .8; }
.auth-side .facts { color: rgba(255, 255, 255, .85); flex-direction: column; } .auth-side .facts svg { color: var(--brand-3); }
@media (max-width: 859px) { .auth-side { display: none; } }
.auth-main { padding: 36px clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.auth-main h1 { font-size: var(--fs-2xl); }
.auth-h2 { font-size: var(--fs-base); color: var(--ink-2); }
.auth-tabs { align-self: flex-start; }
.auth-tabs button { padding: 8px 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: var(--fs-sm); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 899px) { .l-hero { padding-bottom: 32px; } .statbar { margin-top: -8px; } }
/* ================= v4: black and white (white base, black type and actions) ================= */
.btn-accent:hover { background: var(--accent-hover); filter: none; }
.logo { display: inline-grid; flex: none; }
.logo svg { display: block; }
.l-hero { position: relative; overflow: hidden; }
.l-hero::before, .l-hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.l-hero::before { width: 420px; height: 420px; right: -120px; top: -160px; background: var(--brand-3); opacity: .35; }
.l-hero::after { width: 220px; height: 220px; left: -80px; bottom: -90px; background: var(--accent); opacity: .08; }
.l-hero-in { position: relative; }
.l-hero h1 em { font-style: normal; color: var(--accent); }
.eyebrow-pill { color: var(--ink); }
.play-dot { background: var(--accent); color: #fff; }
.play-big { color: var(--accent); }
.float-a strong { color: var(--accent); }
.facts li svg { color: var(--brand-2); }
.statbar strong { color: var(--ink); }
.cat-card { border-color: var(--line); }
.cat-card:hover .cat-link { color: var(--accent); }
.how-panel { background: var(--canvas); border: 1px solid color-mix(in srgb, var(--brand-3) 40%, transparent); }
.steps li::before { background: var(--accent); color: #fff; }
.pay-logo { background: var(--paper); }
.cta-band { position: relative; overflow: hidden; background: #111; color: #fff; }
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; background: #fff; opacity: .12; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.continue { background: #111; color: #fff; }
.continue .bar > i { background: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.pay-mark { width: 48px; height: 28px; flex: none; display: grid; place-items: center; }
.pay-mark img { width: 48px; height: 28px; object-fit: contain; }
.pay-logo { padding: 8px 14px 8px 10px; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* footer (inspo: Juggle about/footer): wordmark + story left, palette art right, quiet uppercase link columns */
.foot { background: var(--paper); border-top: 1px solid var(--line); margin-top: 48px; padding: 64px 20px calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .foot { padding-bottom: 40px; } }
.foot-wrap { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.foot-top { display: grid; gap: 40px; }
@media (min-width: 860px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: end; } }
.foot-story { display: flex; flex-direction: column; min-width: 0; }
.foot-word { font-family: var(--f-head); font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.foot-tag { margin-top: 18px; font-weight: 700; color: var(--ink); }
.foot-desc { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-2); max-width: 42ch; }
.foot-people { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.foot-people strong { display: block; color: var(--ink); }
.foot-people span { font-size: var(--fs-sm); color: var(--ink-3); }
.foot-cols { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-cols h3 { font-family: var(--f-latin); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot-cols button, .foot-cols a, .foot-cols span { display: block; width: fit-content; text-align: left; background: none; border: 0; padding: 5px 0; color: var(--ink); text-decoration: none; cursor: pointer; font-size: var(--fs-base); }
.foot-cols span { cursor: default; color: var(--ink-2); }
.foot-cols button:hover, .foot-cols a:hover { color: var(--accent); }
.foot-cols button[aria-current="true"] { font-weight: 700; }
.foot-base { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.foot-rights { margin-left: auto; letter-spacing: .06em; text-transform: none; }
/* assessments */
.quiz { display: flex; flex-direction: column; gap: 24px; max-width: 760px; width: 100%; margin: 0 auto; }
.quiz-head { display: flex; gap: 16px; align-items: flex-start; }
.quiz-head h1 { font-size: clamp(26px, 3.4vw, 34px); }
.quiz-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--brand-2-soft); color: var(--brand-2); }
.quiz-result { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); }
.quiz-result.ok { background: var(--success-soft); } .quiz-result.ok strong { color: var(--success); }
.quiz-result.bad { background: var(--warn-soft); }
.quiz-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quiz-q fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin: 0; min-width: 0; background: var(--paper); box-shadow: var(--shadow-soft); }
.quiz-q legend { float: left; width: 100%; display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: var(--fs-lg); line-height: 1.4; margin-bottom: 14px; padding: 0; }
.quiz-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: var(--fs-sm); }
.quiz-opts { clear: both; display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-opt:hover { border-color: var(--brand-2); }
.quiz-opt:has(input:checked) { border-color: var(--brand-2); background: var(--info-soft); }
.quiz-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand-2); flex: none; }
.quiz-opt.right, .quiz-opt.right:has(input:checked) { border-color: var(--success); background: var(--success-soft); }
.quiz-opt.wrong, .quiz-opt.wrong:has(input:checked) { border-color: var(--alert); background: var(--alert-soft); }
fieldset[disabled] .quiz-opt { cursor: default; }
.quiz-explain { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--brand-3); background: var(--mist); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }
.quiz-foot { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .quiz-foot { bottom: 16px; } }
.ch .lesson-row .pill { flex: none; }
.lesson-row .quiz-ok, .lesson-row .quiz-todo { display: block; font-weight: 700; }
.lesson-row .quiz-ok { color: var(--success); } .lesson-row .quiz-todo { color: var(--alert); }
/* ================= v5: audit 2026-10-16 phase 1 (design/audit-2026-10-16.md) ================= */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
/* press feedback on everything pressable */
.btn, .icon-btn, .seg button, .ccard, .cat-card, .lesson-row, .quiz-opt { transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 150ms ease, border-color 150ms ease; }
.btn:active, .icon-btn:active, .seg button:active, .quiz-opt:active { transform: scale(0.97); }
.ccard:active, .cat-card:active { transform: scale(0.99); }
/* lift-on-hover only where a real pointer can hover; touch screens kept the lift stuck after a tap */
@media (hover: none) { .ccard:hover, .cat-card:hover { transform: none; box-shadow: none; } }
.ch > summary svg { transition: transform 200ms var(--ease-out); }
/* toast slides up from where it sits instead of popping in */
.toast { transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out); }
@starting-style { .toast { opacity: 0; translate: 0 8px; } }
/* play button in the corner so it never covers the Ge'ez title (landing hero and course page) */
.hero-frame .play-big, .c-screen .play-big { left: auto; top: auto; right: 20px; bottom: 20px; transform: none; width: 56px; height: 56px; transition: transform 160ms var(--ease-out); }
.hero-frame:hover .play-big, .c-screen:hover .play-big { transform: scale(1.06); }
.hero-frame .cover .ttl, .c-screen .cover .ttl { max-width: calc(100% - 72px); }
/* small thumbnails (my courses, checkout): two short lines instead of a clipped third */
.thumb .cover { padding: 10px; }
.thumb .cover .ttl { font-size: 15px; line-height: 1.3; -webkit-line-clamp: 2; }
/* phone course rows: square thumbnail that shows the title instead of an empty swatch */
@media (max-width: 599px) {
.ccard .cover { aspect-ratio: 1; padding: 8px; }
.ccard .cover .ttl { font-size: 13px; line-height: 1.3; -webkit-line-clamp: 3; max-width: 100%; }
.my-row .btn { flex: 1 1 100%; }
}
.prog-head .grow { flex: 1 1 160px; }
/* help: the phone button wraps instead of pushing "Copy" off the card */
.row > .btn.grow { flex: 1 1 260px; }
/* ================= v6: audit 2026-10-16 phases 2–3 ================= */
/* Q1: compact footer on app screens */
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-left: auto; }
.foot-langs button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink-2); font-size: var(--fs-sm); }
.foot-langs button[aria-current="true"] { color: var(--ink); font-weight: 700; }
/* Q3: numbers in the heading face (Atkinson Hyperlegible slashes its zero) */
.num, .statbar strong, .price { font-family: var(--f-head); font-feature-settings: 'tnum'; }
/* equal-weight hero CTAs on phones */
@media (max-width: 599px) { .hero-ctas > .btn { flex: 1 1 100%; } }
/* chips that scroll fade at the edge so the row reads as scrollable */
@media (max-width: 899px) { .chips { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; } }
/* UI motion under 300 ms */
.bar > i { transition: width 300ms var(--ease-out); }
.ring .fg { transition: stroke-dashoffset 300ms var(--ease-out); }
/* landing: one rhythm, a real palette in the hero, payment as cards */
.landing { display: flex; flex-direction: column; gap: clamp(72px, 8vw, 104px); }
.hero-still { max-width: 440px; width: 100%; justify-self: end; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.hero-still img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.how-panel { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
.how-panel .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .how-panel .steps { grid-template-columns: 1fr; } .hero-still { justify-self: center; } }
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } }
.l-hero:has(.hero-still) + .statbar { margin-top: -28px; }
.pay-tile { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.pay-tile > span { display: flex; flex-direction: column; min-width: 0; }
.pay-tile strong { font-size: 14px; }
.pay-tile .pay-mark, .pay-opt .pay-mark { width: 52px; height: 32px; }
.pay-tile .pay-mark img, .pay-opt .pay-mark img { width: 52px; height: 32px; }
.pay-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; margin: 0; padding: 0; }
@media (max-width: 520px) { .pay-pick { grid-template-columns: 1fr; } }
.pay-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; }
.pay-opt input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pay-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opt:has(input:checked)::after { content: ''; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.pay-opt:has(input:checked)::before { content: ''; position: absolute; z-index: 1; top: 16px; right: 18.5px; width: 4px; height: 8px; border: solid var(--paper); border-width: 0 2px 2px 0; rotate: 45deg; }
.pay-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.pay-opt-copy { display: flex; flex-direction: column; min-width: 0; }
.pay-opt-copy span { font-size: 13px; color: var(--ink-3); font-weight: 500; }
/* keep a number and its unit together */
.statbar strong { white-space: nowrap; }
@media (max-width: 599px) { .statbar strong { font-size: var(--fs-lg); } }
/* ---------- landing hero, 2026-10-20 (inspo: Hyper Effekt, Ferrari): headline set straight onto a moving reel of portraits ---------- */
.l-hero { --ink: #F5F5F5; --ink-2: #D6D6D6; --ink-3: #9A9A9A; --paper: #141414; --mist: #1C1C1C; --line: #3A3A3A; --accent: #FFFFFF; --accent-ink: #0A0A0A; --brand-2: #FFFFFF;
position: relative; overflow: hidden; isolation: isolate; color: var(--ink); background: #0A0A0A; margin: -12px calc(50% - 50vw + 12px) 0; border-radius: 28px;
min-height: min(88svh, 820px); display: flex; align-items: flex-end; padding: 0 clamp(20px, 5vw, 64px) clamp(28px, 5vw, 64px); }
.l-hero::before, .l-hero::after { display: none; }
.reel { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .55), rgba(10, 10, 10, .05) 30%, rgba(10, 10, 10, .35) 55%, #0A0A0A 96%), linear-gradient(90deg, rgba(10, 10, 10, .7), transparent 60%); }
.reel-track { display: flex; gap: 12px; height: 100%; width: max-content; padding: 12px 0; animation: reel 60s linear infinite; }
.reel-track img { height: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; object-position: center 22%; border-radius: 18px; flex: none; }
.reel-track img:nth-child(odd) { margin-top: 48px; height: calc(100% - 48px); }
.l-hero .hero-copy { align-items: flex-start; text-align: left; max-width: 720px; gap: 18px; }
.l-hero .live-pill { align-self: flex-start; }
.l-hero h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: .96; letter-spacing: -.05em; max-width: 12ch; text-wrap: balance; }
.l-hero h1:lang(am), .l-hero h1:lang(ti) { line-height: 1.25; letter-spacing: 0; }
.l-hero .lead { max-width: 40ch; text-wrap: pretty; color: var(--ink-2); }
.l-hero .btn-ghost { background: rgba(10, 10, 10, .45); backdrop-filter: blur(8px); }
.l-hero .btn-ghost:hover { background: #1C1C1C; }
.l-hero .play-dot { background: #fff; color: #0A0A0A; }
.l-hero + .statbar { margin-top: 16px; }
@media (max-width: 760px) {
.l-hero { margin-top: -8px; border-radius: 22px; min-height: 86svh; padding: 0 18px 24px; }
.reel-track { animation-duration: 40s; gap: 8px; }
.reel-track img { border-radius: 14px; }
.reel-track img:nth-child(odd) { margin-top: 28px; height: calc(100% - 28px); }
.reel::after { background: linear-gradient(180deg, rgba(10, 10, 10, .5), transparent 22%, rgba(10, 10, 10, .55) 48%, #0A0A0A 82%); }
}
@media (prefers-reduced-motion: reduce) { .reel-track { animation: none; } }
/* ---------- landing 2026-10-20: one font, Habesha photos, live language pill, photo categories, payment stage, both themes ---------- */
:root[data-theme="dark"] .l-hero { box-shadow: inset 0 0 0 1px #1F1F1F; }
.live-pill { align-self: center; text-decoration: none; transition: border-color 160ms, background 160ms; display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 6px; border-radius: var(--r-pill); border: 1px solid #3A3A3A; background: rgba(10, 10, 10, .6); backdrop-filter: blur(8px); font-size: var(--fs-sm); font-weight: 600; color: #F5F5F5; min-width: 0; }
.live-pill .faces { display: flex; }
.live-pill .faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid #0A0A0A; margin-left: -9px; filter: grayscale(.7) brightness(.8); transition: filter 400ms var(--ease-out), transform 400ms var(--ease-out); }
.live-pill .faces img:first-child { margin-left: 0; }
.live-pill .faces img.on { filter: none; transform: translateY(-3px) scale(1.12); z-index: 1; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.live-pill:hover { border-color: #5A5A5A; background: rgba(26, 26, 26, .8); }
.live-pill > svg { color: #8A8A8A; margin-left: -4px; }
@media (min-width: 760px) { .l-hero + .statbar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.look-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
@media (max-width: 560px) { .look-grid { grid-template-columns: 1fr 1fr; } }
.look { position: relative; display: block; aspect-ratio: 3 / 4.2; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--mist); cursor: pointer; text-align: left; color: #fff; isolation: isolate; }
.look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: -1; transition: transform 700ms var(--ease-out); }
.look::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .78)); }
.look:hover img { transform: scale(1.05); }
.look-copy { position: absolute; left: 18px; right: 56px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; }
.look-copy strong { font-size: var(--fs-lg); line-height: 1.2; }
.look-copy span { font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); }
.look-go { position: absolute; right: 14px; bottom: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0A0A0A; transition: transform 200ms var(--ease-out); }
.look:hover .look-go { transform: translateX(3px); }
@media (max-width: 520px) { .look { aspect-ratio: 4 / 5; } .look-copy strong { font-size: var(--fs-base); } }
/* steps: three photo cards; payment marks live inside step 2 instead of a whole panel */
.steps3 { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { counter-increment: s; position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; min-height: 360px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: #fff; background: #141414; }
.step > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: -2; transition: transform 700ms var(--ease-out); }
.step::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .85)); }
.step:hover > img { transform: scale(1.04); }
.step::before { content: '0' counter(s); position: absolute; top: 16px; left: 18px; font-family: var(--f-head); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(10, 10, 10, .55); backdrop-filter: blur(6px); }
.step strong { font-size: clamp(20px, 2vw, 24px); line-height: 1.15; letter-spacing: -.02em; }
.step-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.step-pay .pay-mark { width: 44px; height: 28px; border-radius: 7px; background: #fff; padding: 3px 5px; }
.step-pay .pay-mark img { width: 100%; height: 100%; }
@media (max-width: 760px) {
.steps3 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
.steps3::-webkit-scrollbar { display: none; }
.step { scroll-snap-align: start; min-height: 320px; }
}
.cta-photo { position: relative; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; min-height: 340px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; overflow: hidden; color: #fff; isolation: isolate; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.cta-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .2) 70%), linear-gradient(transparent 40%, rgba(0, 0, 0, .5)); }
.cta-photo h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.04em; line-height: 1.05; max-width: 14ch; }
.cta-photo p { color: rgba(255, 255, 255, .82); max-width: 40ch; }
.cta-photo .btn-accent { background: #fff; color: #0A0A0A; }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .live-pill .faces img { transition: none; } }
/* Sirkul logo: black ink PNG, flipped to white on dark grounds */
.logo img { display: block; width: auto; max-width: none; }
:root[data-theme="dark"] .logo img, .auth-side .logo img { filter: invert(1); }
.brand .logo img { max-height: 44px; }
.foot-word .logo img { max-width: min(100%, 360px); height: auto !important; }
/* header: full wordmark at the top of the page, crossfades to the "Sm" monogram once scrolled (.s-top.scrolled) */
.brand { display: grid !important; place-items: center start; }
.brand > .logo { grid-area: 1 / 1; display: inline-grid !important; max-width: none; overflow: visible; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out); transform-origin: left center; }
.brand > .logo + .logo { opacity: 0; transform: scale(.85); pointer-events: none; }
.brand > .logo + .logo img { height: 40px !important; max-height: none; }
.s-top.scrolled .brand > .logo:first-child { opacity: 0; transform: scale(.9) translateY(-4px); }
.s-top.scrolled .brand > .logo + .logo { opacity: 1; transform: none; }
@media (max-width: 600px) { .brand > .logo:first-child img { height: 34px !important; } }
@media (prefers-reduced-motion: reduce) { .brand > .logo { transition: none; } }
/* ---------- footer 2026-10-20 (inspo: Little Amps Coffee): framed card, starter-kit card in place of a player, student-work reel ---------- */
.foot-full { --frame: #0A0A0A; background: var(--frame); border: 0; margin-top: 64px; padding: 16px 16px 0; color: var(--ink); }
:root[data-theme="dark"] .foot-full { --frame: #000; }
.foot-card { max-width: 1400px; margin: 0 auto; background: var(--paper); border-radius: 24px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 40px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(320px, 1.1fr); }
:root[data-theme="dark"] .foot-card { background: #141414; }
@media (max-width: 1100px) { .foot-card { grid-template-columns: 1fr 1fr; } .kit-card { grid-column: 1 / -1; } }
@media (max-width: 700px) { .foot-card { grid-template-columns: 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.foot-full .foot-word { display: flex; align-items: flex-end; gap: 10px; }
.foot-full .foot-word .logo { width: 280px; max-width: calc(100% - 66px); }
.foot-full .foot-word .logo img { width: 100%; height: auto !important; }
.foot-icon { flex: none; }
.foot-icon { color: var(--ink); transform: rotate(-8deg); margin-bottom: 6px; }
.foot-full .foot-tag { margin: 0; color: var(--ink-2); font-weight: 600; }
.foot-contact { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: var(--fs-sm); }
.foot-contact a, .foot-contact span { color: var(--ink-2); text-decoration: none; }
.foot-contact a:hover { color: var(--ink); }
.foot-chip { display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 4px; background: var(--ink); color: var(--paper) !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.foot-full .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.foot-full .foot-cols > div:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 16px; align-items: baseline; }
.foot-full .foot-cols > div:last-child h3 { width: 100%; }
.foot-full .foot-cols button, .foot-full .foot-cols a { color: var(--ink-2); font-size: var(--fs-base); }
.foot-full .foot-cols button:hover, .foot-full .foot-cols a:hover { color: var(--ink); }
.kit-card { background: #1E1E1E; color: #F5F5F5; border-radius: 18px; overflow: hidden; align-self: start; }
:root[data-theme="dark"] .kit-card { background: #1C1C1C; box-shadow: inset 0 0 0 1px #2A2A2A; }
.kit-top { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px 18px 20px; background: #2A2A2A; }
.kit-cover { display: grid; grid-template-columns: 1fr 1fr; width: 120px; height: 120px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.kit-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.kit-head { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding-right: 28px; }
.kit-head h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; line-height: 1.1; }
.kit-head p { color: #B5B5B5; font-size: var(--fs-sm); }
.kit-badge { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #111; }
.kit-tag { position: absolute; left: 18px; bottom: -11px; padding: 2px 8px; border-radius: 4px; background: #111; font-size: 11px; font-weight: 700; z-index: 1; }
.kit-go { position: absolute; right: 18px; bottom: -24px; z-index: 1; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: #111; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform 160ms var(--ease-out); }
.kit-go:hover { transform: scale(1.06); } .kit-go:active { transform: scale(.96); }
.kit-list { list-style: none; margin: 0; padding: 18px 18px 8px; }
.kit-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 0; }
.kit-list li + li { border-top: 1px solid #2C2C2C; }
.kit-list svg { color: #CFCFCF; }
.kit-n { color: #8A8A8A; font-size: var(--fs-sm); }
.kit-item { display: flex; flex-direction: column; min-width: 0; }
.kit-item strong { font-size: var(--fs-base); font-weight: 600; }
.kit-item span { font-size: 13px; color: #9A9A9A; }
@media (max-width: 420px) { .kit-top { grid-template-columns: 88px minmax(0, 1fr); } .kit-cover { width: 88px; height: 88px; } }
.foot-strip { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.foot-bubble { flex: none; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 22px; border-radius: 999px; background: #fff; color: #111; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.foot-bubble strong { font-size: 13px; }
.foot-bubble span { color: #555; letter-spacing: .04em; text-transform: none; font-size: 12px; }
.foot-bubble::after { content: ''; position: absolute; left: 22px; bottom: -6px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.foot-reel { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.foot-reel > div { display: flex; gap: 12px; width: max-content; animation: reel 60s linear infinite; }
.foot-reel:hover > div { animation-play-state: paused; }
.foot-reel img { width: 120px; height: 120px; flex: none; object-fit: cover; object-position: center 25%; border-radius: 10px; }
@keyframes reel { to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 600px) { .foot-strip { flex-direction: column; align-items: stretch; } .foot-bubble { align-self: flex-start; } .foot-reel img { width: 96px; height: 96px; } }
.foot-bar { max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 14px 0 calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #1F1F1F; color: #9A9A9A; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 899px) { .foot-bar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.foot-credits summary { cursor: pointer; list-style: none; } .foot-credits summary::-webkit-details-marker { display: none; }
.foot-credits summary:hover { color: #fff; }
.foot-credits p { margin-top: 8px; max-width: 70ch; text-transform: none; letter-spacing: 0; line-height: 1.5; }
.foot-credits a { color: #C9C9C9; }
@media (prefers-reduced-motion: reduce) { .foot-reel > div { animation: none; } }
@media (max-width: 480px) {
.live-pill { font-size: 13px; padding-right: 12px; white-space: nowrap; }
.live-pill .faces img:nth-child(n+3) { display: none; }
.look-go { display: none; }
.look-copy { right: 14px; left: 14px; bottom: 14px; }
}
/* ---------- course detail 2026-10-20 (user reference): info card + segmented tabs left, sticky purchase card right ---------- */
.cd { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "head side" "body side"; align-items: start; }
@media (max-width: 1023px) { .cd { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "body"; } }
.cd-head, .cd-buy, .cd-body { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
:root[data-theme="dark"] .cd-head, :root[data-theme="dark"] .cd-buy, :root[data-theme="dark"] .cd-body { background: #111; }
.cd-head { grid-area: head; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) 0; display: flex; flex-direction: column; gap: 16px; }
.cd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cd .crumbs { gap: 8px; font-size: 13px; }
.cd .crumbs button { padding: 0; font-weight: 500; }
.cd .crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 6px; background: var(--mist); font-size: 12px; font-weight: 700; }
.cd-head h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; }
.cd-head h1:lang(am), .cd-head h1:lang(ti) { line-height: 1.35; letter-spacing: 0; }
.cd-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.cd-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--ink-2); }
.cd-pill svg { color: var(--ink-3); } .cd-pill strong { color: var(--ink); }
.cd-lead { color: var(--ink-2); max-width: 70ch; }
.cd-by { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px calc(-1 * clamp(20px, 3vw, 28px)) 0; padding: 16px clamp(20px, 3vw, 28px); border-top: 1px solid var(--line); }
.cd-by-txt { display: flex; flex-direction: column; line-height: 1.3; }
.cd-by-txt em { font-size: 12px; color: var(--ink-3); }
.cd-updated { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.cd-side { grid-area: side; position: sticky; top: 84px; }
@media (max-width: 1023px) { .cd-side { position: static; } }
.cd-buy { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.cd-preview { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--mist); cursor: pointer; }
.cd-preview[disabled] { cursor: default; }
.cd-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 600ms var(--ease-out); }
.cd-preview:hover img { transform: scale(1.03); }
.cd-preview-pill { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(20, 20, 20, .55); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 600; }
.cd-preview-pill i { width: 1px; height: 14px; background: rgba(255, 255, 255, .4); }
.cd-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 4px 4px 0; }
.cd-price .num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.cd-price > span:last-child { font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); }
.cd-cta { display: flex; gap: 10px; }
.cd-cta .btn { flex: 1; border-radius: 999px; min-height: 54px; }
.cd-buy .btn-ghost.btn-block { border-radius: 999px; }
.cd-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); padding: 0 4px; }
.cd-includes { padding: 6px 4px 4px; display: flex; flex-direction: column; gap: 10px; }
.cd-includes h2 { font-size: var(--fs-base); }
.cd-includes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-includes li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.cd-includes li svg { color: var(--ink-3); flex: none; }
.cd-body { grid-area: body; padding: 8px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cd-body > .banner { margin: 8px 8px 0; }
.cd-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--mist); }
.cd-tabs button { border: 0; background: none; padding: 12px 10px; border-radius: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background 160ms, color 160ms, box-shadow 160ms; }
.cd-tabs button:hover { color: var(--ink); }
.cd-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .06); }
:root[data-theme="dark"] .cd-tabs button[aria-selected="true"] { background: #262626; }
.cd-pane { padding: 20px clamp(12px, 2vw, 20px) 20px; display: flex; flex-direction: column; gap: 16px; }
.cd-pane h2 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xl); letter-spacing: -.02em; }
.cd-learn { list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; background: var(--mist); border-radius: 16px; }
@media (max-width: 640px) { .cd-learn { grid-template-columns: 1fr; } }
.cd-learn li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.cd-learn li svg { flex: none; margin-top: 3px; color: var(--ink); }
.cd-content { padding-top: 12px; gap: 0; }
.cd-content > p { padding: 0 4px 10px; }
.cd-content .ch { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.cd-content .ch:last-child { border-bottom: 1px solid var(--line); }
/* covers: a category photo until courses have uploaded art */
.cover.has-img { background: var(--mist); }
.cover.has-img img { object-position: center 25%; }
.cover.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .18), transparent 40%); pointer-events: none; }
.cover .pill { z-index: 1; }
/* checkout: same two cards as the course page */
.co { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "head side"; align-items: start; }
@media (max-width: 1023px) { .co { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side"; } }
.co-main { padding-bottom: clamp(20px, 3vw, 28px); }
.co-main h1 { font-size: clamp(26px, 3vw, 34px); }
.co-title { font-size: var(--fs-lg); line-height: 1.25; }
.co-total { padding-top: 12px; border-top: 1px solid var(--line); }
.co-total strong { font-size: 26px; font-weight: 800; }
.co .cd-preview { aspect-ratio: 16 / 9; cursor: default; }
/* sign-in: a portrait behind the side panel */
.auth-side { position: relative; overflow: hidden; isolation: isolate; }
.auth-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; z-index: -2; }
.auth-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .15) 30%, rgba(0, 0, 0, .85) 72%); }
@media (max-width: 480px) {
.cd-tabs button { padding: 10px 4px; font-size: 14px; }
.cd-pane h2 { font-size: var(--fs-lg); }
.co .cd-preview { display: none; }
}
/* ---------- mobile-first pass 2026-10-20 (inspo: Coursera / Babbel phone rails) ---------- */
@media (max-width: 560px) {
/* categories: a swipeable rail instead of a 2-up grid that orphans the third card */
.look-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
.look-grid::-webkit-scrollbar { display: none; }
.look { scroll-snap-align: start; }
/* stats: one row of three, icon over number */
.l-hero + .statbar { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; }
.statbar > div { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px; }
.statbar .stat-ic { width: 36px; height: 36px; border-radius: 10px; }
}
/* "Powered by Yaltopia Tech": a light band sweeps across the name every few seconds */
.powered { text-align: center; font-size: 12px; color: var(--ink-3); padding: 18px 16px 4px; letter-spacing: .04em; }
.shine { font-weight: 700; text-decoration: none; color: transparent; background: linear-gradient(110deg, var(--ink-2) 40%, #fff 50%, var(--ink-2) 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 3.2s linear infinite; }
:root:not([data-theme="dark"]) .shine { background-image: linear-gradient(110deg, var(--ink) 40%, #B9B9B9 50%, var(--ink) 60%); }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .shine { animation: none; color: var(--ink); background: none; } }
/* ---------- 2026-10-20 pass 3: stats, pay strip, course hero, help ---------- */
/* stats: three big numbers on hairlines, no tiles */
.l-hero + .statbar { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-top: 8px; border-block: 1px solid var(--line); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.statbar > div { flex-direction: column; align-items: flex-start; gap: 4px; padding: clamp(18px, 3vw, 32px) clamp(12px, 3vw, 32px); }
.statbar > div + div { border-left: 1px solid var(--line); }
.statbar strong { font-size: clamp(30px, 5vw, 64px) !important; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.statbar span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
/* pay strip: every method named, nothing clipped, wraps instead of scrolling */
.pay-strip { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; }
.pay-strip h3 { font-size: var(--fs-base); }
.pay-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pay-strip li { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--mist); font-weight: 600; font-size: var(--fs-sm); min-width: 0; }
.pay-strip .pay-mark { flex: none; width: 48px; height: 32px; border-radius: 8px; background: #fff; padding: 4px 6px; }
.pay-strip .pay-mark img { width: 100%; height: 100%; }
@media (max-width: 420px) { .pay-strip ul { grid-template-columns: 1fr 1fr; } }
/* course: the title sits on the course photo (same move as the landing hero) */
.cd-head { position: relative; overflow: hidden; isolation: isolate; border: 0; background: #0A0A0A; min-height: clamp(380px, 52vh, 480px); justify-content: flex-end; color: #F5F5F5;
--ink: #F5F5F5; --ink-2: #D6D6D6; --ink-3: #A3A3A3; --line: rgba(255, 255, 255, .16); --mist: rgba(255, 255, 255, .1); }
.cd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; }
.cd-head::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, .55), rgba(10, 10, 10, .1) 30%, rgba(10, 10, 10, .75) 62%, #0A0A0A); }
.cd-head .cd-top { margin-bottom: auto; }
.cd-head .cd-pill { background: rgba(10, 10, 10, .45); backdrop-filter: blur(8px); }
.cd-hero-play { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 10, .45); backdrop-filter: blur(8px); color: #fff; font-weight: 700; cursor: pointer; }
.cd-hero-play .play-dot { background: #fff; color: #0A0A0A; }
.cd-hero-play:hover { background: rgba(30, 30, 30, .7); }
/* phones/tablets: a buy (or continue) bar replaces the app tabs */
.cd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); }
.cd-bar-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.cd-bar-txt strong { font-size: var(--fs-lg); }
.cd-bar-txt span { font-size: 12px; color: var(--ink-3); }
.cd-bar .btn { border-radius: 999px; min-height: 48px; padding-inline: 22px; }
@media (min-width: 1024px) { .cd-bar { display: none; } }
/* ---------- course page polish 2026-10-26 (P1–P5) ---------- */
/* P1: the bar repeats the buy card's button, so it steps aside while that button is on screen */
.cd-bar { transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out); }
.cd-bar[data-hidden="true"] { transform: translateY(100%); opacity: 0; pointer-events: none; }
/* P2: price once, with its terms underneath */
.cd-price { flex-direction: column; align-items: flex-start; gap: 2px; }
.cd-price > span:last-child { font-weight: 600; color: var(--ink-3); }
/* P4: owners see the next lesson instead of the sales list */
.cd-next { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--mist); }
.cd-next > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cd-next > .num { font-size: var(--fs-sm); color: var(--ink-3); }
/* P5: what the instructor tab said, in the creator row */
.cd-by-n { font-size: 12px; color: var(--ink-3); }
/* P3: desktop keeps tabs (one section at a time); phones drop them and stack every section in one scroll */
.cd-pane-h { margin-bottom: 4px; }
@media (min-width: 1024px) { .cd-pane[data-active="false"], .cd-pane-h { display: none; } }
@media (max-width: 1023px) {
.cd-tabs { display: none; }
.cd-body { gap: 0; }
.cd-body.is-owner > .cd-content { order: -1; } /* P4: owners land on the curriculum */
}
/* P8: share is a quiet glass button in the hero corner, matching the preview pill */
.cd-top { flex-wrap: nowrap; align-items: flex-start; }
.cd-top > .crumbs { flex: 1; min-width: 0; }
.cd-top > .row { margin-left: auto; flex-wrap: nowrap; }
.cd-share { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 10, 10, .45); backdrop-filter: blur(8px); color: #fff; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.cd-share:active { transform: scale(.96); }
.cd-head .cd-pill-own { background: rgba(245, 245, 245, .92); border-color: transparent; color: #0A0A0A; }
.cd-head .cd-pill-own svg, .cd-head .cd-pill-own strong { color: #0A0A0A; }
@media (hover: hover) and (pointer: fine) { .cd-share:hover { background: rgba(30, 30, 30, .7); } }
/* P9: the prerequisite, said where the buying decision happens */
.cd-prereq { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--mist); font-size: var(--fs-sm); color: var(--ink-2); }
.cd-prereq > svg { flex: none; margin-top: 3px; color: var(--ink-3); }
.cd-prereq .link { font-weight: 700; }
/* P6: "last updated" closes the About section */
.cd-pane .cd-updated { margin: 0; }
/* P7: quiz rows inside chapters reuse the lesson row; their result is a tag, not a block line */
.lesson-row .lr-tag.quiz-ok, .lesson-row .lr-tag.quiz-todo { display: inline-block; font-weight: 600; }
/* help: big ask, three contact doors, FAQ beside the report form */
.help { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.help-hero { display: flex; flex-direction: column; gap: 10px; padding-top: clamp(8px, 3vw, 32px); }
.help-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; line-height: 1; }
.help-hero .lead { color: var(--ink-2); max-width: 48ch; font-size: var(--fs-lg); }
.help-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.help-contact li { position: relative; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); transition: border-color 160ms, transform 160ms var(--ease-out); }
.help-contact li:hover { border-color: var(--ink-3); }
.help-contact a { display: flex; flex-direction: column; gap: 4px; padding: 20px; min-height: 150px; color: inherit; text-decoration: none; border-radius: inherit; }
.help-contact a strong { margin-top: auto; font-size: var(--fs-lg); }
.help-contact a span:last-child { color: var(--ink-3); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.hc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); margin-bottom: 16px; }
.help-contact li > :not(a) { position: absolute; top: 16px; right: 16px; }
.help-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .help-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.help-faq h2 { font-size: var(--fs-xl); margin-bottom: 4px; }
.help-faq details { padding: 18px 0; }
.help-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--fs-lg); }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary svg { flex: none; color: var(--ink-3); transition: transform 200ms var(--ease-out); }
.help-faq details[open] summary svg { transform: rotate(45deg); }
@media (max-width: 760px) { .cd-head { min-height: 560px; } .cd-hero-img { height: 62%; object-position: center 20%; } .cd-head::after { background: linear-gradient(180deg, rgba(10, 10, 10, .5), transparent 25%, rgba(10, 10, 10, .2) 42%, #0A0A0A 62%); } }
/* ---------- menu sheet 2026-10-20: quiet header, preferences behind the menu button ---------- */
.s-actions { gap: 6px; }
.sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in 320ms var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in 320ms ease; }
@keyframes sheet-in { from { transform: translateX(32px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
.sheet-in { height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sheet-nav button { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink-2); font-family: var(--f-head); font-size: clamp(28px, 8vw, 36px); font-weight: 600; letter-spacing: -.035em; text-align: left; cursor: pointer; transition: color 160ms, padding 240ms var(--ease-out); }
.sheet-nav button .num { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); width: 24px; flex: none; }
.sheet-nav button:hover, .sheet-nav button[aria-current="page"] { color: var(--ink); padding-left: 6px; }
.sheet-nav button[aria-current="page"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); align-self: center; margin-left: auto; }
.sheet-prefs { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sheet-row:has(.feedback-btn:empty), .sheet-row:not(:has(button, select)) { display: none; }
.sheet-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--ink-3); }
.sheet-foot a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet[open]::backdrop { animation: none; } }
/* ---------- profile + history (mobile first) ---------- */
.pf { display: flex; flex-direction: column; gap: 28px; }
.pf-hero { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 24px; background: linear-gradient(135deg, var(--mist), transparent 70%); border: 1px solid var(--line); }
.pf-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--f-head); font-size: 22px; font-weight: 700; letter-spacing: -.02em; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.pf-id { min-width: 0; }
.pf-id h1, .pf-head h1 { font-size: clamp(26px, 5vw, 44px); letter-spacing: -.04em; line-height: 1.05; }
.pf-id p { color: var(--ink-3); font-size: var(--fs-sm); margin-top: 4px; }
.pf-head { display: flex; flex-direction: column; gap: 6px; }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.pf-stats > div { padding: 16px 12px; display: flex; flex-direction: column-reverse; gap: 4px; min-width: 0; }
.pf-stats > div + div { border-left: 1px solid var(--line); }
.pf-stats dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pf-stats dd { margin: 0; font-size: clamp(24px, 5vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.pf-sec { display: flex; flex-direction: column; gap: 14px; }
.pf-sec h2, .pf-h { font-size: var(--fs-xl); letter-spacing: -.02em; }
.pf-courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .pf-courses { grid-template-columns: 1fr 1fr; } }
.pf-course { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img main" "btn btn" "more more"; gap: 12px 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.pf-course > img { grid-area: img; width: 72px; height: 88px; object-fit: cover; object-position: center 20%; border-radius: 14px; }
.pf-c-main { grid-area: main; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pf-course > .btn { grid-area: btn; border-radius: 999px; min-height: 44px; }
.pf-more { grid-area: more; border-top: 1px solid var(--line); padding-top: 4px; }
.pf-more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); cursor: pointer; }
.pf-more summary::-webkit-details-marker { display: none; }
.pf-more summary svg { transition: transform 200ms var(--ease-out); }
.pf-more[open] summary svg { transform: rotate(180deg); }
.tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tl-day { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 18px 0 6px; }
.tl li:first-child .tl-day { padding-top: 0; }
.tl-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; min-height: 56px; }
.tl-row:disabled { cursor: default; }
.tl-row > svg { color: var(--ink-3); flex: none; }
.tl-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink-2); }
.tl-check { background: var(--ink); color: var(--paper); }
.tl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-sm); line-height: 1.4; }
/* ---------- social sign-in ---------- */
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; transition: background 160ms, border-color 160ms; }
.social-btn:hover { background: var(--mist); border-color: var(--ink-3); }
.social-btn svg { flex: none; }
/* first-visit language picker */
.lang-welcome { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); color: var(--ink); overflow: hidden; }
.lang-welcome[open] { display: grid; grid-template-columns: 1fr; animation: sheet-in 360ms var(--ease-out); }
.lang-welcome::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); }
.lang-welcome > img { width: 100%; height: 160px; object-fit: cover; object-position: center 22%; }
.lw-body { display: flex; flex-direction: column; gap: 20px; padding: 20px 20px 24px; }
.lw-body h2 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -.04em; line-height: 1.05; }
.lw-body p { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; color: var(--ink-3); font-size: var(--fs-sm); }
.lw-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.lw-list button { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-size: var(--fs-lg); font-weight: 600; cursor: pointer; transition: padding 240ms var(--ease-out); }
.lw-list button:hover, .lw-list button:focus-visible { padding-left: 10px; }
.lw-list button[aria-current="true"] svg { color: var(--ink); } .lw-list button svg { color: var(--ink-3); }
@media (min-width: 700px) { .lang-welcome[open] { grid-template-columns: 1fr 1.2fr; } .lang-welcome > img { height: 100%; min-height: 460px; } .lw-body { padding: 32px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .lang-welcome[open] { animation: none; } }
/* ---------- guided tour ---------- */
.tour { position: fixed; inset: 0; z-index: 60; }
.tour-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); animation: fade-in 240ms ease; }
.tour-ring { position: fixed; border-radius: 18px; box-shadow: 0 0 0 2px #fff, 0 0 0 9999px rgba(0, 0, 0, .7); transition: top 420ms var(--ease-out), left 420ms var(--ease-out), width 420ms var(--ease-out), height 420ms var(--ease-out); pointer-events: none; }
.tour-card { position: fixed; left: 16px; right: 16px; margin: 0 auto; max-width: 380px; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); animation: sheet-in 320ms var(--ease-out); }
.tour-card.at-bottom { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.tour-card.at-top { top: 76px; }
.tour-card.at-center { top: 50%; transform: translateY(-50%); }
.tour-card h2 { font-size: var(--fs-xl); letter-spacing: -.03em; line-height: 1.1; }
.tour-card p { color: var(--ink-2); }
.tour-dots { display: flex; gap: 6px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width 300ms var(--ease-out), background 300ms; }
.tour-dots i.on { width: 20px; background: var(--ink); }
.tour-actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.tour-actions .btn { border-radius: 999px; min-height: 44px; padding-inline: 18px; }
@media (min-width: 900px) { .tour-card.at-bottom { bottom: 32px; } }
@media (prefers-reduced-motion: reduce) { .tour-ring, .tour-card, .tour-dim { transition: none; animation: none; } }
/* ---------- course cards 2026-10-20: edge-to-edge photo, enrolled count, arrow that inverts on hover ---------- */
.ccard { padding: 0; overflow: hidden; border-radius: 22px; }
.ccard .cover { border-radius: 0; overflow: hidden; }
.ccard .cover img { transition: transform 700ms var(--ease-out); }
.ccard:hover .cover img { transform: scale(1.05); }
.ccard-body { padding: 16px 16px 14px; }
.ccard h3 { letter-spacing: -.02em; line-height: 1.25; }
.ccard .meta { gap: 6px 12px; }
.ccard-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background 200ms, color 200ms, border-color 200ms, transform 240ms var(--ease-out); }
.ccard:hover .ccard-go, .ccard:focus-visible .ccard-go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(2px); }
@media (max-width: 600px) { .ccard { padding: 8px; border-radius: 18px; } .ccard .cover { border-radius: 12px; } .ccard-body { padding: 2px 0; } .ccard-go { width: 32px; height: 32px; } }
@media (hover: none) { .ccard:hover .cover img { transform: none; } }
/* ---------- how it works: abstract art instead of portraits ---------- */
.step { background: var(--paper); border: 1px solid var(--line); color: var(--ink); justify-content: flex-end; min-height: 300px; }
.step::after { display: none; }
.step::before { background: var(--mist); backdrop-filter: none; color: var(--ink-2); }
.step-art { position: absolute; inset: 0 0 38% 0; display: grid; place-items: center; z-index: -1; overflow: hidden; }
.step-glyph { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); position: relative; z-index: 1; transition: transform 500ms var(--ease-out); }
.step:hover .step-glyph { transform: scale(1.08); }
.step-1 .step-art { background: repeating-radial-gradient(circle at 50% 55%, transparent 0 22px, var(--line) 22px 23px); }
.step-1 .step-art::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 1px solid var(--ink-3); animation: ring 3s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.step-2 .step-art::before, .step-2 .step-art::after { content: ''; position: absolute; width: 150px; height: 96px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--mist), transparent); }
.step-2 .step-art::before { transform: translate(-28px, -14px) rotate(-10deg); }
.step-2 .step-art::after { transform: translate(26px, 12px) rotate(8deg); }
.step-3 .step-art { background: conic-gradient(from 200deg at 50% 55%, transparent 0 25%, var(--mist) 25% 75%, transparent 75%); }
.step-3 .step-art::after { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 2px dashed var(--line); animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .step-art::after { animation: none !important; } }
/* payment card: grouped so it's clear we take local and international */
.pay-groups { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pay-group { display: flex; flex-direction: column; gap: 10px; }
.pay-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pay-strip ul { grid-template-columns: 1fr 1fr; }
.pay-strip .cd-note { padding: 0; }
.foot-founder { color: var(--ink-3); font-size: var(--fs-sm); margin-top: -8px; } .foot-founder a { color: var(--ink); text-underline-offset: 3px; }
/* ---------- lesson rows + player sidebar 2026-10-20 ---------- */
.lesson-row { position: relative; gap: 12px; padding: 10px 12px; border: 0; border-radius: 14px; min-height: 60px; }
.lesson-row + .lesson-row { margin-top: 2px; }
.lesson-row:hover { background: var(--mist); }
.lesson-row.is-current { background: var(--mist); box-shadow: inset 3px 0 0 var(--ink); }
.lesson-row > svg { color: var(--ink-3); flex: none; }
.lr-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.is-done .lr-ic { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.is-current .lr-ic { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.is-locked { opacity: .6; }
.lr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lr-title { font-weight: 600; line-height: 1.35; }
.is-current .lr-title { font-weight: 700; }
.lr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.lr-tag { padding: 1px 8px; border-radius: 999px; background: var(--mist); color: var(--ink-2); font-weight: 600; font-size: 11px; }
.is-current .lr-tag { background: var(--paper); }
.lr-seen { display: block; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 4px; }
.lr-seen i { display: block; height: 100%; background: var(--ink-2); border-radius: inherit; }
.lr-now { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; background: currentColor; border-radius: 1px; animation: eq 900ms ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -300ms; } .eq i:nth-child(3) { animation-delay: -600ms; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.p-side { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.ps-head { display: flex; align-items: center; gap: 14px; padding: 12px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ps-head-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ps-head-txt strong { font-size: var(--fs-base); line-height: 1.3; }
.ps-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ps-ch summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; cursor: pointer; }
.ps-ch summary::-webkit-details-marker { display: none; }
.ps-ch summary:hover { background: var(--mist); }
.ps-ch summary > svg { flex: none; color: var(--ink-3); transition: transform 200ms var(--ease-out); }
.ps-ch[open] summary > svg { transform: rotate(180deg); }
.ps-ch-n { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--mist); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ps-ch.is-done .ps-ch-n { background: var(--ink); color: var(--paper); }
.ps-ch-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ps-ch-list { padding: 2px 0 8px 18px; margin-left: 13px; border-left: 1px solid var(--line); }
.ps-ch-list .lesson-row { padding-left: 10px; }
/* ---------- completion ---------- */
.ld-check { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); animation: pop 520ms var(--ease-out); }
.ld-check svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 520ms 240ms var(--ease-out) forwards; }
.ld-check.big { width: 72px; height: 72px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lesson-done { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--mist), transparent 70%); animation: sheet-in 420ms var(--ease-out); }
.ld-txt { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 2px; }
.ld-next { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px 8px 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); text-align: left; cursor: pointer; max-width: 100%; transition: transform 200ms var(--ease-out); }
.ld-next:hover { transform: translateX(2px); }
.ld-next > span { display: flex; flex-direction: column; min-width: 0; font-weight: 700; line-height: 1.25; }
.ld-next small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; font-weight: 600; }
@media (max-width: 600px) { .ld-next { width: 100%; justify-content: space-between; } }
.course-done { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 32px 20px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--mist), transparent 70%); animation: sheet-in 480ms var(--ease-out); }
.course-done h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.04em; }
.course-done p { color: var(--ink-2); max-width: 44ch; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -10px; left: calc(var(--k) * 5.5% + 2%); width: 7px; height: 12px; border-radius: 2px; background: var(--ink); opacity: 0; animation: fall 2.4s calc(var(--k) * 70ms) var(--ease-out) forwards; }
.confetti i:nth-child(3n) { background: var(--ink-3); width: 6px; height: 6px; border-radius: 50%; }
.confetti i:nth-child(4n) { background: #D9A441; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(260px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .eq i, .ld-check, .ld-check svg, .confetti i, .lesson-done, .course-done { animation: none !important; } .ld-check svg { stroke-dashoffset: 0; } .confetti { display: none; } }
/* sign-in country picker */
.dial-pick { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.dial-pick select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.dial-pick:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
/* payment marquee: classy greyscale strip, colour on hover */
.pay-marquee { overflow: hidden; margin-inline: -20px; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pay-marquee > div { display: flex; gap: 10px; width: max-content; animation: reel 40s linear infinite; }
.pay-marquee:hover > div { animation-play-state: paused; }
.pay-item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color 300ms, transform 300ms var(--ease-out), background 300ms; }
.pay-item .pay-mark { flex: none; width: 52px; height: 34px; border-radius: 9px; background: #fff; padding: 4px 6px; filter: grayscale(1) contrast(.9); opacity: .7; transition: filter 400ms var(--ease-out), opacity 400ms; }
.pay-item .pay-mark img { width: 100%; height: 100%; }
.pay-item > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.pay-item strong { font-size: var(--fs-sm); }
.pay-item small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pay-item:hover { border-color: var(--ink-3); transform: translateY(-2px); background: var(--mist); }
.pay-item:hover .pay-mark { filter: none; opacity: 1; }
@media (hover: none) { .pay-item .pay-mark { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pay-marquee { mask-image: none; -webkit-mask-image: none; margin-inline: 0; } .pay-marquee > div { animation: none; flex-wrap: wrap; width: auto; } .pay-marquee .pay-item:nth-child(n + 7) { display: none; } }
/* the full footer is always on its dark frame, so its powered-by line keeps light text in both themes */
.foot-full .powered { color: #8A8A8A; }
.foot-full .shine, :root:not([data-theme="dark"]) .foot-full .shine { background-image: linear-gradient(110deg, #C9C9C9 40%, #fff 50%, #C9C9C9 60%); }