- Sirkul logo everywhere (header wordmark, phone monogram, favicon, footer); brand name "Sirkul Makeup" - One font (Plus Jakarta Sans) across app and waitlist; cursive serif removed - Habesha model photos from Wikimedia Commons (CC BY-SA, credited in footer and waitlist) - Landing: light/dark theme toggle, live waitlist pill, photo category cards, how-it-works + grouped payment panel, photo CTA; less emphasis on languages - Footer: framed card with starter-kit list (IconPark icons), student-work photo reel, credits - Waitlist: international country-code picker, live "people waiting" pill fed by a doGet signup count in the Apps Script (count only, no personal data) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
771 lines
69 KiB
CSS
771 lines
69 KiB
CSS
/* 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; } }
|
||
.demo-strip { background: var(--ink); color: var(--on-ink) !important; color: var(--ink); font-size: 12px; text-align: center; padding: 4px 16px; }
|
||
|
||
/* ---------- 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; }
|
||
@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); }
|
||
.ccard:hover .ccard-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
|
||
.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-compact { margin-top: 32px; padding-top: 20px; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
|
||
@media (min-width: 900px) { .foot-compact { padding-bottom: 20px; } }
|
||
.foot-compact .foot-base { max-width: 1200px; margin: 0 auto; padding-top: 0; border-top: 0; letter-spacing: normal; text-transform: none; font-size: var(--fs-sm); }
|
||
.foot-compact a { color: var(--ink-2); text-decoration: none; } .foot-compact a:hover { color: var(--accent); }
|
||
.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-19: dark stage, photo cards around a centered pitch (waitlist page twin) ---------- */
|
||
.l-hero { --ink: #F5F5F5; --ink-2: #C9C9C9; --ink-3: #8A8A8A; --paper: #141414; --mist: #1C1C1C; --line: #3A3A3A; --accent: #FFFFFF; --accent-ink: #0A0A0A; --brand-2: #FFFFFF;
|
||
color: var(--ink); background: #0A0A0A; margin: -12px calc(50% - 50vw + 12px) 0; padding: clamp(96px, 12vw, 150px) 16px clamp(150px, 15vw, 190px); border-radius: 28px; display: grid; place-items: center; text-align: center; isolation: isolate; min-height: min(86svh, 860px); }
|
||
.l-hero::before, .l-hero::after { display: none; }
|
||
.l-hero .hero-copy { align-items: center; max-width: 680px; gap: 22px; }
|
||
.l-hero .eyebrow-pill { align-self: center; background: rgba(10, 10, 10, .6); border: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(8px); font-weight: 600; }
|
||
.l-hero .eyebrow-pill svg { color: #fff; }
|
||
.l-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.045em; max-width: 14ch; text-wrap: balance; }
|
||
.l-hero h1:lang(am), .l-hero h1:lang(ti) { line-height: 1.3; letter-spacing: 0; }
|
||
.l-hero .lead { max-width: 40ch; text-wrap: pretty; }
|
||
.l-hero .hero-ctas { justify-content: center; }
|
||
.l-hero .btn-ghost:hover { background: #1C1C1C; }
|
||
.l-hero .play-dot { background: #fff; color: #0A0A0A; }
|
||
.l-hero .facts { justify-content: center; }
|
||
.l-collage { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
|
||
.l-collage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(46% 48% at 50% 50%, rgba(10, 10, 10, .92), rgba(10, 10, 10, 0)); }
|
||
.lc { position: absolute; width: clamp(120px, 12vw, 210px); aspect-ratio: 9 / 16; object-fit: cover; object-position: center 22%; border-radius: 14px; opacity: 0;
|
||
animation: lc-rise 900ms var(--ease-out) forwards, lc-drift 9s ease-in-out infinite alternate; animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + 900ms); }
|
||
.lc1 { left: -1.5%; top: 20%; --d: 120ms; } .lc2 { left: 18%; top: -8%; } .lc3 { left: 9%; bottom: -10%; aspect-ratio: 4 / 5; --d: 240ms; }
|
||
.lc4 { right: 12%; top: 38%; --d: 180ms; } .lc5 { right: -1%; top: 6%; --d: 60ms; } .lc6 { right: 7%; bottom: -16%; --d: 300ms; }
|
||
@keyframes lc-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
|
||
@keyframes lc-drift { from { translate: 0 0; } to { translate: 0 -10px; } }
|
||
@media (max-width: 1100px) { .lc2, .lc4 { display: none; } }
|
||
@media (max-width: 760px) {
|
||
.l-hero { display: block; padding: 24px 16px 40px; min-height: 0; margin-top: -8px; border-radius: 22px; }
|
||
.l-collage { position: relative; inset: auto; overflow: visible; display: flex; justify-content: center; gap: 10px; height: 196px; margin: 0 -16px 20px; z-index: 0; }
|
||
.l-collage::after, .lc3 { display: none; }
|
||
.lc { position: relative; inset: auto; width: 96px; flex: none; }
|
||
.lc1 { rotate: -6deg; top: 16px; } .lc5 { top: 0; } .lc6 { rotate: 6deg; top: 16px; }
|
||
}
|
||
.l-hero + .statbar { margin-top: calc(-1 * clamp(72px, 8vw, 104px) - 64px); margin-inline: clamp(0px, 4vw, 48px); z-index: 1; }
|
||
@media (max-width: 899px) { .l-hero + .statbar { margin-top: calc(-1 * clamp(72px, 8vw, 104px) + 16px); margin-inline: 0; } }
|
||
@media (prefers-reduced-motion: reduce) { .lc { animation: none; opacity: 1; } }
|
||
|
||
/* ---------- 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); } }
|
||
|
||
.how-pay { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; }
|
||
@media (max-width: 900px) { .how-pay { grid-template-columns: 1fr; } }
|
||
.how { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--canvas); }
|
||
.how h2, .pay-panel h2 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.03em; }
|
||
.how-cta { align-self: flex-start; margin-top: auto; }
|
||
.how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; counter-reset: s; }
|
||
.how-steps li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: var(--fs-lg); line-height: 1.3; }
|
||
.how-steps li::before { content: '0' counter(s); flex: none; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-3); width: 28px; }
|
||
.pay-panel { --ink: #F5F5F5; --ink-3: #9A9A9A; --line: #2A2A2A; color: var(--ink); background: #0A0A0A; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; isolation: isolate; }
|
||
.pay-panel::before { content: ''; position: absolute; z-index: -1; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }
|
||
:root[data-theme="dark"] .pay-panel { background: #141414; box-shadow: inset 0 0 0 1px #222; }
|
||
.pay-panel p { color: #C9C9C9; }
|
||
.pay-panel p strong { color: #fff; }
|
||
.pay-group { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
|
||
.pay-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
|
||
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
|
||
.pay-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: #1A1A1A; border: 1px solid #262626; font-weight: 600; font-size: var(--fs-sm); transition: background 160ms; }
|
||
.pay-chip:hover { background: #222; }
|
||
.pay-chip .pay-mark { width: 52px; height: 34px; border-radius: 9px; background: #fff; padding: 4px 6px; }
|
||
.pay-chip .pay-mark img { width: 100%; height: 100%; }
|
||
.pay-note { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: auto; }
|
||
.pay-note svg { flex: none; }
|
||
|
||
.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: wordmark on wide screens, the "Sm" monogram on phones (older rules hid the brand's last span) */
|
||
.brand > .logo { display: inline-grid !important; max-width: none; overflow: visible; }
|
||
.brand > .logo + .logo { display: none !important; }
|
||
@media (max-width: 600px) { .brand > .logo:first-child { display: none !important; } .brand > .logo + .logo { display: inline-grid !important; } .brand > .logo + .logo img { height: 46px !important; max-height: none; margin: -6px 0; } }
|
||
|
||
/* ---------- 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; }
|
||
}
|