/* ============================================================
   በርጠሚዮስ አካዳሚ — design system v3
   Signature: the white "caption box" his viral videos open with.
   One hot accent + highlighter yellow, tactile hard shadows,
   light & dark themes (html[data-theme], set pre-paint by theme.js).
   ============================================================ */


@font-face {
  font-family: 'Ethio';
  src: url('/fonts/ethiopic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+1200-1399, U+2D80-2DDF, U+AB01-AB2F, U+1E7E0-1E7FF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Ethio';
  src: url('/fonts/ethiopic-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Display';
  src: url('/fonts/unbounded-latin.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2212;
}

/* ---------- Tokens ---------- */
:root, html[data-theme="dark"] {
  --bg: #0b0d1a;            /* deep ink (from his navy portrait) */
  --bg-2: #11142a;
  --card: #151931;
  --card-2: #1c2142;
  --line: rgba(196, 204, 255, 0.10);
  --line-2: rgba(196, 204, 255, 0.18);
  --text: #f4f5fb;
  --muted: #a3a8c6;
  --dim: #6b7094;
  --hot: #ff2d55;           /* signal red */
  --hot-deep: #b0123a;
  --hot-soft: rgba(255, 45, 85, 0.15);
  --cyan: #2af5ef;          /* signal cyan */
  --cyan-soft: rgba(42, 245, 239, 0.13);
  --sun: #ffe24a;           /* sticker yellow */
  --sun-soft: rgba(255, 226, 74, 0.14);
  --mint: #3ee6a6;
  --mint-soft: rgba(62, 230, 166, 0.13);
  --cap-bg: #ffffff;
  --cap-fg: #000000;
  --hb: #f4f5fb;
  --hs: var(--hot);
  --header-bg: rgba(11, 13, 26, 0.82);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --orange: var(--hot); --gold: var(--sun); --grad: var(--hot); --grad-soft: var(--hot-soft);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #ffffff;            /* the white of the app itself */
  --bg-2: #f2f2f6;
  --card: #ffffff;
  --card-2: #f7f7fa;
  --line: rgba(22, 24, 35, 0.10);
  --line-2: rgba(22, 24, 35, 0.20);
  --text: #161823;
  --muted: #555869;
  --dim: #8b8ea0;
  --hot: #f5194b;
  --hot-deep: #a10d31;
  --hot-soft: rgba(245, 25, 75, 0.09);
  --cyan: #00c8c2;
  --cyan-soft: rgba(0, 200, 194, 0.1);
  --sun: #ffe24a;
  --sun-soft: rgba(255, 214, 0, 0.18);
  --mint: #0a9466;
  --mint-soft: rgba(10, 148, 102, 0.09);
  --cap-bg: #ffffff;
  --cap-fg: #000000;
  --hb: #000000;
  --hs: #000000;
  --header-bg: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 50px -28px rgba(22, 24, 35, 0.3);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg: #fff; --bg-2: #f2f2f6; --card: #fff; --card-2: #f7f7fa; --line: rgba(22,24,35,.1); --line-2: rgba(22,24,35,.2);
    --text: #161823; --muted: #555869; --dim: #8b8ea0; --hot: #f5194b; --hot-deep: #a10d31; --hot-soft: rgba(245,25,75,.09);
    --cyan: #00c8c2; --sun-soft: rgba(255,214,0,.18); --mint: #0a9466; --mint-soft: rgba(10,148,102,.09); --hb: #000; --hs: #000;
    --header-bg: rgba(255,255,255,.86); color-scheme: light;
  }
}
:root {
  --radius: 16px;
  --radius-lg: 22px;
  --font: 'Ethio', 'Noto Sans Ethiopic', 'Nyala', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Display', 'Ethio', system-ui, sans-serif;
  --max: 1160px;
  --pad: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
html.theme-anim, html.theme-anim * { transition: background-color .3s ease, border-color .3s ease, color .2s ease !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100dvh;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--hot); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: #111; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.grad-text { color: var(--hot); }
.num { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* ---------- Signature: caption boxes (like the hooks on his videos) ---------- */
.cap {
  display: inline; background: var(--cap-bg); color: var(--cap-fg); padding: .06em .32em; border-radius: .2em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 900;
}
html[data-theme="light"] .cap { box-shadow: 0 0 0 2px #000; }
.cap.hot { background: var(--hot); color: #fff; box-shadow: none; }
.cap.sun { background: var(--sun); color: #111; box-shadow: none; }
.cap.tilt { display: inline-block; transform: rotate(-2.5deg); margin-top: .12em; }
.hl { background: linear-gradient(transparent 58%, var(--sun) 58% 92%, transparent 92%); color: inherit; padding: 0 .08em; }
html[data-theme="dark"] .hl { background: linear-gradient(transparent 60%, rgba(255, 212, 59, .38) 60% 92%, transparent 92%); }

/* ---------- Buttons (tactile "key" press) ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 14px;
  font-weight: 800; font-size: 16px; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease, opacity .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn-primary { background: var(--hot); color: #fff; box-shadow: 0 4px 0 var(--hot-deep); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--hot-deep); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--hot-deep); }
.btn-ghost { background: transparent; border: 2px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost:active { transform: translateY(2px); }
.btn-dark { background: var(--text); color: var(--bg); box-shadow: 0 4px 0 var(--dim); }
.btn-dark:active { transform: translateY(4px); box-shadow: none; }
.btn-sm { --h: 40px; padding: 0 15px; font-size: 14px; border-radius: 12px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 700;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 59, 99, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 99, 0); } }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 800; vertical-align: middle; }
.badge-free { background: var(--mint-soft); color: var(--mint); }
.badge-hot { background: var(--hot); color: #fff; }
.badge-sample { background: var(--card-2); color: var(--muted); font-weight: 700; border: 1px dashed var(--line-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-avatar { width: 38px; height: 38px; border-radius: 50%; padding: 2px; background: var(--hot); flex: none; }
.brand-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 17px; font-weight: 900; }
.brand-name small { font-family: var(--display); font-size: 9px; letter-spacing: .3em; color: var(--hot); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.nav-links { display: none; gap: 26px; font-size: 15px; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--text); }
.lang-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--card); border: 1.5px solid var(--line-2); font-size: 12.5px; font-weight: 800; }
.lang-toggle button { padding: 4px 9px; border-radius: 7px; color: var(--muted); }
.lang-toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--card); border: 1.5px solid var(--line-2); color: var(--text); flex: none; }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { transition: transform .4s ease; }
.theme-toggle:active svg { transform: rotate(60deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 26px 0 34px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 70%); mask: linear-gradient(180deg, #000, transparent 70%);
}
.hero-grid { display: grid; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(30px, 8.4vw, 60px); font-weight: 900; line-height: 1.5; margin: 18px 0 18px; }
.hero h1.caps { line-height: 1.62; }
.hero h1.caps .cap.tilt { margin-top: .18em; }
.hero .lead { font-size: clamp(16px, 4.2vw, 19px); color: var(--muted); max-width: 32em; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.hero-proof b { color: var(--text); }
.avatar-sm { width: 40px; height: 40px; flex: none; border-radius: 50%; padding: 2px; background: var(--hot); }
.avatar-sm img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #20d5ec; color: #fff; font-size: 10px; font-weight: 900; vertical-align: 1px; }
.stars { color: var(--sun); letter-spacing: 2px; font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line-2); }
.stat { padding: 14px 6px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat .num { font-size: clamp(24px, 7.4vw, 44px); display: block; line-height: 1.05; }
.stat .num em { font-style: normal; color: var(--hot); }
.stat small { color: var(--muted); font-size: 12.5px; font-weight: 700; }

/* hero video: a clean vertical frame, TikTok-style overlays, stickers */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 8px 0 10px; }
.hero-video {
  position: relative; width: min(78vw, 330px); aspect-ratio: 9 / 15; border-radius: 26px; overflow: hidden; background: #000;
  border: 2px solid var(--hb); box-shadow: 8px 8px 0 var(--hs); transform: rotate(1.5deg);
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 22%, transparent 62%, rgba(0,0,0,.6)); pointer-events: none; }
.hv-top { position: absolute; z-index: 1; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; }
.hv-top .avatar-sm { width: 32px; height: 32px; }
.hv-top .avatar-sm img { border-color: #000; }
.hv-top .follow { margin-left: auto; padding: 3px 12px; border-radius: 6px; background: var(--hot); font-size: 12.5px; font-weight: 800; }
.hv-side { position: absolute; z-index: 1; right: 10px; bottom: 70px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; font-size: 11px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.hv-side i { font-style: normal; font-size: 22px; margin-top: 10px; }
.hv-cap { position: absolute; z-index: 1; left: 12px; right: 56px; bottom: 16px; font-size: 14px; line-height: 1.6; }
.hv-cap .cap { box-shadow: none !important; font-weight: 800; }
.sticker {
  position: absolute; z-index: 3; display: flex; flex-direction: column; line-height: 1.15; padding: 9px 13px; border-radius: 12px;
  background: var(--cap-bg); color: var(--cap-fg); border: 2px solid #111; box-shadow: 4px 4px 0 var(--hs);
  font-size: 12px; font-weight: 700; animation: bob 6s ease-in-out infinite;
}
.sticker .num { font-size: 20px; }
.sticker.s1 { right: max(0px, calc(50% - 205px)); top: 14%; transform: rotate(4deg); --r: 4deg; }
.sticker.s2 { left: max(0px, calc(50% - 205px)); bottom: 12%; transform: rotate(-4deg); --r: -4deg; background: var(--sun); animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: rotate(var(--r, 0)) translateY(0); } 50% { transform: rotate(var(--r, 0)) translateY(-8px); } }

/* ---------- Ticker band ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--sun); color: #111; transform: rotate(-1.6deg); margin: 18px -12px 26px; border-block: 2px solid #111; }
.ticker-track { display: flex; gap: 18px; width: max-content; padding: 10px 0; animation: marquee 32s linear infinite; font-weight: 900; font-size: 17px; white-space: nowrap; }
.ticker-track .star { color: var(--hot); }

/* ---------- Marquee (reel wall) ---------- */
.marquee { position: relative; overflow: hidden; padding: 8px 0 30px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.reel { position: relative; width: 128px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--card-2); flex: none; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.reel:hover img { transform: scale(1.04); }
.reel .views {
  position: absolute; z-index: 1; left: 7px; bottom: 7px; display: flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 5px;
  background: #fff; color: #111; font-size: 11.5px; font-weight: 800; font-family: var(--display);
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.eyebrow {
  display: inline-block; font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  color: #111; background: var(--sun); padding: 4px 10px; border-radius: 6px; transform: rotate(-2deg); margin-bottom: 14px;
}
.eyebrow::before { content: none; }
.section-head .eyebrow { display: none; }
.section h2 { font-size: clamp(28px, 7.4vw, 46px); font-weight: 900; line-height: 1.22; }
.section .sub { color: var(--muted); margin-top: 12px; font-size: 16.5px; max-width: 40em; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg); }
.grid { display: grid; gap: 12px; }

/* For-who / extras cards */
.feature { position: relative; padding: 20px 20px 22px; border-radius: var(--radius-lg); background: var(--card); border: 1.5px solid var(--line); transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); border-color: var(--line-2); }
.feature .icon { font-size: 26px; line-height: 1; margin-bottom: 14px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-2); border: 1.5px solid var(--line); }
.feature h3 { font-size: 18.5px; margin-bottom: 6px; font-weight: 900; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 899px) {
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 16px; align-items: start; }
  .feature .icon { grid-row: span 2; margin: 2px 0 0; }
  .feature h3 { font-size: 17px; margin-bottom: 2px; }
  .feature p { font-size: 14.5px; }
}

/* Outcomes: a numbered list, editorial */
.outcomes { display: grid; gap: 0; border-top: 1.5px solid var(--line-2); }
.outcome { display: flex; gap: 16px; align-items: flex-start; padding: 18px 2px; border-bottom: 1.5px solid var(--line-2); }
.outcome .n { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--hot); position: relative; top: 4px; font-size: 0; }
.outcome .n::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.outcome b { display: block; font-size: 18px; font-weight: 900; line-height: 1.35; }
.outcome span { color: var(--muted); font-size: 15px; }

/* ---------- Curriculum ---------- */
.curriculum { display: grid; gap: 10px; }
.module { border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); overflow: hidden; transition: border-color .2s; }
.module[open] { border-color: var(--line-2); }
.module summary { list-style: none; display: flex; gap: 14px; align-items: center; padding: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.module summary::-webkit-details-marker { display: none; }
.module .m-num { flex: none; font-family: var(--display); font-weight: 800; font-size: 13px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--hot); border: 1.5px solid var(--line); }
.module[open] .m-num { background: var(--hot); color: #fff; border-color: var(--hot); }
.module .m-title { flex: 1; min-width: 0; }
.module .m-title b { display: block; font-size: 16.5px; line-height: 1.35; font-weight: 800; }
.module .m-title small { color: var(--muted); font-size: 13px; }
.module .chev { flex: none; transition: transform .25s; color: var(--muted); }
.module[open] .chev { transform: rotate(180deg); }
.lesson-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.lesson-row .l-ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); color: var(--muted); }
.lesson-row .l-title { flex: 1; min-width: 0; }
.lesson-row .l-time { flex: none; color: var(--dim); font-size: 12.5px; font-family: var(--display); }
.lesson-row.free .l-ico { background: var(--mint-soft); color: var(--mint); }
a.lesson-row:hover { background: var(--bg-2); }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text); font-size: 13.5px; margin-top: 16px; }
.course-meta span { display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border-radius: 8px; background: var(--card); border: 1.5px solid var(--line); font-weight: 700; }

/* ---------- Instructor ---------- */
.instructor { display: grid; gap: 36px; align-items: center; }
.instructor-photo { position: relative; width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 1; border-radius: 50%; padding: 0; border: 2px solid var(--hb); box-shadow: 10px 10px 0 var(--hs); background: #0f1a2b; }
.instructor-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.instructor-photo::after, .instructor-photo .ring { display: none; }
.instructor-photo .tag { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%) rotate(-3deg); display: flex; gap: 8px; align-items: baseline; padding: 7px 16px; border-radius: 10px; background: var(--cap-bg); color: var(--cap-fg); border: 2px solid #111; white-space: nowrap; }
.instructor-photo .tag b { font-size: 18px; font-weight: 900; }
.instructor-photo .tag span { font-family: var(--display); font-size: 11px; color: var(--hot); font-weight: 800; letter-spacing: .06em; }
.instructor-photo .hi { position: absolute; top: 6%; right: 2%; padding: 6px 12px; border-radius: 10px; background: var(--hot); color: #fff; font-weight: 900; font-size: 16px; transform: rotate(8deg); border: 2px solid #111; }
.bio p { color: var(--muted); margin-bottom: 14px; font-size: 16.5px; }
.bio .quote { font-size: 20px; font-weight: 900; color: var(--text); line-height: 1.5; margin: 22px 0; padding: 0; border: 0; }
.bio .quote::before { content: '“'; display: block; font-family: Georgia, serif; font-size: 64px; line-height: .6; color: var(--hot); margin-bottom: 4px; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 18px; border-top: 2px solid var(--text); }
.mini-stats div { padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
.mini-stats div:nth-child(odd) { border-right: 1px solid var(--line-2); padding-right: 10px; }
.mini-stats div:nth-child(even) { padding-left: 14px; }
.mini-stats .num { font-size: 26px; display: block; color: var(--text); }
.mini-stats small { color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- Proof grid ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.proof-grid .reel { width: auto; border-radius: 12px; }
.proof-grid .reel:nth-child(1) { outline: 3px solid var(--hot); outline-offset: -3px; }
.proof-grid .reel:nth-child(n+7) { display: none; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 12px; }
.tcard { padding: 22px; border-radius: var(--radius-lg); background: var(--card); border: 1.5px solid var(--line); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--sun); color: #111; }
.tcard .who small { display: block; color: var(--muted); font-size: 13px; }
.tcard .result { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 12px; padding: 4px 10px; border-radius: 7px; background: var(--mint-soft); color: var(--mint); font-family: var(--display); font-size: 13px; font-weight: 800; }
.tcard p { font-size: 16px; color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing-wrap { display: grid; gap: 18px; align-items: start; }
.price-card { position: relative; padding: 26px 22px; border-radius: 24px; background: var(--card); border: 2px solid var(--hb); box-shadow: 8px 8px 0 var(--hs); }
.price-card .ribbon { display: inline-flex; margin-bottom: 14px; transform: rotate(-2deg); padding: 4px 10px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.price-row .now { font-family: var(--display); font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.price-row .cur { font-size: 18px; font-weight: 900; color: var(--muted); }
.price-row s { color: var(--dim); font-size: 18px; font-family: var(--display); text-decoration-color: var(--hot); text-decoration-thickness: 2px; }
.save { display: inline-block; color: #111; background: var(--sun); font-weight: 800; font-size: 13.5px; padding: 2px 8px; border-radius: 6px; }
.includes { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.includes li svg { flex: none; margin-top: 3px; color: #fff; background: var(--mint); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; justify-content: center; }
.pay-logo { padding: 5px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--muted); }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.guarantee { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius-lg); background: var(--mint-soft); border: 1.5px solid color-mix(in srgb, var(--mint) 35%, transparent); }
.guarantee .seal { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; transform: rotate(-8deg); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--mint); }
.guarantee b { font-size: 17px; display: block; margin-bottom: 4px; font-weight: 900; }
.guarantee p { color: var(--muted); font-size: 14.5px; }
.protect-box { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--card); border: 1.5px solid var(--line); }
.protect-box b { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-weight: 900; }
.protect-box p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 800px; margin: 0 auto; border-top: 2px solid var(--text); }
.faq details { border-bottom: 1.5px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; font-weight: 800; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--card); border: 1.5px solid var(--line-2); font-family: var(--display); font-size: 18px; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--hot); color: #fff; border-color: var(--hot); }
.faq details p { padding: 0 4px 18px; color: var(--muted); font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final-cta { margin: 0 var(--pad); padding: 46px 22px; border-radius: 28px; text-align: center; background: var(--hot); color: #fff; overflow: hidden; position: relative; border: 2px solid var(--hb); box-shadow: 8px 8px 0 var(--hs); }
html[data-theme="dark"] .final-cta { box-shadow: 8px 8px 0 var(--sun); }
.final-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.2px); background-size: 18px 18px; pointer-events: none; }
.final-cta > * { position: relative; }
.final-cta h2 { font-size: clamp(28px, 7.4vw, 50px); font-weight: 900; line-height: 1.4; }
.final-cta h2 .grad-text, .final-cta h2 .cap { color: #111; }
.final-cta p { color: rgba(255,255,255,.9); margin: 12px auto 26px; max-width: 32em; font-weight: 600; }
.final-cta .avatar-xl { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid #fff; overflow: hidden; transform: rotate(-4deg); }
.final-cta .avatar-xl img { width: 100%; height: 100%; object-fit: cover; }
.final-cta .btn-primary { background: #111; color: #fff; box-shadow: 0 4px 0 #000; }
.final-cta .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.final-cta .btn-ghost:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 46px 0 calc(110px + var(--safe-b)); color: var(--muted); font-size: 14px; border-top: 1.5px solid var(--line); margin-top: 64px; }
.site-footer b { color: var(--text); }
.site-footer .cols { display: grid; gap: 22px; }
.site-footer a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--card); border: 1.5px solid var(--line-2); color: var(--text); }
.socials a:hover { background: var(--text); color: var(--bg); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + var(--safe-b));
  background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1.5px solid var(--line-2);
  display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .p { flex: 1; min-width: 0; line-height: 1.2; }
.sticky-cta .p b { font-family: var(--display); font-size: 19px; }
.sticky-cta .p s { color: var(--dim); font-size: 13px; margin-left: 6px; }
.sticky-cta .p small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Reveal on scroll ---------- */
/* No per-section fade-ups (generic); the hero gets one orchestrated sequence instead. */
.reveal, .reveal.in { opacity: 1; transform: none; }

/* ---------- Forms / auth ---------- */
.auth-page { min-height: 100dvh; display: flex; flex-direction: column; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px var(--pad) 48px; position: relative; }
.auth-main::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: radial-gradient(70% 60% at 50% 30%, #000, transparent); mask: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.auth-card { width: 100%; max-width: 430px; padding: 28px 22px; border-radius: 24px; background: var(--card); border: 2px solid var(--hb); box-shadow: 8px 8px 0 var(--hs); }
.auth-card .head { text-align: center; margin-bottom: 24px; }
.auth-card .head .avatar-lg { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; padding: 3px; background: var(--hot); transform: rotate(-4deg); }
.auth-card .head .avatar-lg img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--card); object-fit: cover; }
.auth-card h1 { font-size: 25px; font-weight: 900; }
.auth-card .head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 800; color: var(--text); }
.input {
  width: 100%; height: 56px; padding: 0 16px; border-radius: 14px; background: var(--bg); border: 2px solid var(--line-2);
  font-size: 17px; transition: border-color .15s, box-shadow .15s; color: var(--text);
}
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--text); box-shadow: 4px 4px 0 var(--hot); }
.phone-input { display: flex; align-items: center; border-radius: 14px; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .15s, box-shadow .15s; }
.phone-input:focus-within { border-color: var(--text); box-shadow: 4px 4px 0 var(--hot); }
.phone-input .cc { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; height: 52px; border-right: 1.5px solid var(--line-2); font-weight: 700; font-family: var(--display); font-size: 15px; }
.phone-input .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.phone-input .flag i { flex: 1; } .phone-input .flag i:nth-child(1) { background: #078930; } .phone-input .flag i:nth-child(2) { background: #fcdd09; } .phone-input .flag i:nth-child(3) { background: #da121a; }
.phone-input input { flex: 1; min-width: 0; width: 100%; height: 52px; border: 0; background: none; padding: 0 16px; font-size: 18px; letter-spacing: .04em; font-family: var(--display); }
.phone-input input:focus { outline: none; }
.otp-input { text-align: center; letter-spacing: .5em; font-family: var(--display); font-size: 26px; font-weight: 700; padding-left: .5em; }
.form-error { color: var(--hot); font-weight: 600; font-size: 14px; min-height: 20px; margin: -6px 0 10px; }
.form-hint { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 16px; }
.linkish { color: var(--hot); font-weight: 800; }
.linkish:disabled { color: var(--dim); }
.demo-banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--sun-soft); border: 1.5px dashed var(--sun); color: var(--text); font-size: 14px; margin-bottom: 16px; }
.demo-banner b { font-family: var(--display); letter-spacing: .2em; font-size: 18px; background: var(--sun); color: #111; padding: 0 6px; border-radius: 6px; }
.trust-row { display: flex; justify-content: center; gap: 16px; margin-top: 20px; color: var(--dim); font-size: 12.5px; flex-wrap: wrap; }
.trust-row span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; z-index: 9999; left: 0; right: 0; top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 14px; }
.toast { pointer-events: auto; max-width: 440px; width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--card); color: var(--text); border: 2px solid var(--hb); box-shadow: 4px 4px 0 var(--hs); font-size: 14.5px; font-weight: 700; animation: toast-in .25s ease; display: flex; gap: 10px; align-items: center; }
.toast.err { box-shadow: 4px 4px 0 var(--hot); }
.toast.ok { box-shadow: 4px 4px 0 var(--mint); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- App shell (dashboard / lesson) ---------- */
.app-header .bar { height: 60px; }
.app-main { padding: 18px 0 calc(40px + var(--safe-b)); }
.welcome h1 { font-size: clamp(25px, 6.6vw, 36px); font-weight: 900; }
.welcome p { color: var(--muted); margin-top: 4px; }
.progress-card { display: flex; align-items: center; gap: 18px; padding: 18px; margin-top: 18px; border-radius: var(--radius-lg); background: var(--card); border: 2px solid var(--hb); box-shadow: 6px 6px 0 var(--hs); }
.ring { --p: 0; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--hot) calc(var(--p) * 1%), var(--bg-2) 0); }
.ring span { width: 60px; height: 60px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; }
.progress-card b { font-size: 17px; display: block; font-weight: 900; }
.progress-card small { color: var(--muted); font-size: 14px; }
.continue-card { display: flex; gap: 14px; align-items: center; padding: 12px; margin-top: 14px; border-radius: var(--radius-lg); background: var(--card); border: 1.5px solid var(--line); transition: border-color .2s; }
a.continue-card:hover { border-color: var(--line-2); }
.continue-card .thumb { position: relative; flex: none; width: 74px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--card-2); }
.continue-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.continue-card .thumb::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .35); color: #fff; font-size: 18px; }
.continue-card .info { flex: 1; min-width: 0; }
.continue-card .info small { color: var(--hot); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.continue-card .info b { display: block; font-size: 16px; line-height: 1.35; margin: 2px 0 8px; font-weight: 800; }
.bar-mini { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.bar-mini i { display: block; height: 100%; background: var(--hot); border-radius: 6px; }
.locked-banner { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; padding: 20px; border-radius: var(--radius-lg); background: var(--hot); color: #fff; border: 2px solid var(--hb); box-shadow: 6px 6px 0 var(--hs); }
html[data-theme="dark"] .locked-banner { box-shadow: 6px 6px 0 var(--sun); }
.locked-banner b { font-size: 19px; font-weight: 900; }
.locked-banner p { color: rgba(255,255,255,.9); font-size: 14.5px; }
.locked-banner .btn-primary { background: #111; box-shadow: 0 4px 0 #000; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 14px; }
.section-title h2 { font-size: 21px; font-weight: 900; }
.lesson-row .state { flex: none; }
.lesson-row.done .l-ico { background: var(--mint); color: #fff; }
.lesson-row.locked { opacity: .5; }
.lesson-row.current { background: var(--hot-soft); }
.lesson-row.current .l-ico { background: var(--hot); color: #fff; }
.devices { display: grid; gap: 8px; }
.device { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); font-size: 14.5px; }
.device .grow { flex: 1; }
.device small { color: var(--muted); display: block; font-size: 12.5px; }

/* ---------- Lesson / player (the player stays dark in both themes) ---------- */
.lesson-layout { display: grid; gap: 18px; }
.player-col { position: relative; }
.player {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 9 / 16; max-height: calc(100dvh - 140px);
  border-radius: 22px; overflow: hidden; background: #000; color: #fff; isolation: isolate;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation;
}
html[data-theme="light"] .player { box-shadow: 8px 8px 0 #000; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; pointer-events: none; }
.player .poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.55); transform: scale(1.05); }
.player .big-play { position: absolute; z-index: 4; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--hot); color: #fff; display: grid; place-items: center; box-shadow: 0 5px 0 var(--hot-deep); border: 3px solid #fff; transition: transform .15s; }
.player .big-play:active { transform: translateY(4px); box-shadow: none; }
.player .loading { position: absolute; z-index: 4; inset: 0; margin: auto; width: 48px; height: 48px; border: 4px solid rgba(255, 255, 255, .25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.player .tap-zone { position: absolute; inset: 0; z-index: 3; }
.player .controls { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); transition: opacity .25s; }
.player.idle .controls { opacity: 0; pointer-events: none; }
.player .seek { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.player .seek .track { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.player .seek .buf { position: absolute; inset: 0 auto 0 0; background: rgba(255, 255, 255, .35); }
.player .seek .fill { position: absolute; inset: 0 auto 0 0; background: #ff3b63; }
.player .seek .knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 59, 99, .4); }
.player .row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.player .row .time { font-family: var(--display); font-size: 12px; font-weight: 600; flex: 1; padding-left: 4px; }
.player .ctl { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.player .ctl:hover { background: rgba(255, 255, 255, .12); }
.player .ctl.txt { width: auto; padding: 0 10px; font-family: var(--display); font-size: 12px; font-weight: 700; }
.player .skip-hint { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); font-family: var(--display); font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .2s; pointer-events: none; }
.player .skip-hint.l { left: 12%; } .player .skip-hint.r { right: 12%; }
.player .skip-hint.show { opacity: 1; }
.wm { position: absolute; z-index: 5; pointer-events: none; color: rgba(255, 255, 255, .42); font-family: var(--display); font-weight: 700; font-size: 11.5px; line-height: 1.35; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); transition: top 1.6s ease, left 1.6s ease; white-space: nowrap; mix-blend-mode: normal; }
.wm-tile { position: absolute; z-index: 5; inset: -20%; pointer-events: none; opacity: .07; transform: rotate(-24deg); background-repeat: repeat; }
.shield { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(5, 5, 10, .92); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); color: #fff; }
.shield b { display: block; font-size: 18px; margin: 12px 0 6px; }
.shield p { color: #b9b6ae; font-size: 14px; max-width: 28em; }
.shield .ico { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 59, 99, .18); color: #ff3b63; }
.player.fs { position: fixed; inset: 0; z-index: 1000; max-width: none; max-height: none; width: 100vw; height: 100dvh; border-radius: 0; aspect-ratio: auto; box-shadow: none; }
.player:fullscreen { max-width: none; max-height: none; width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; box-shadow: none; }
.player .menu { position: absolute; z-index: 8; right: 12px; bottom: 70px; min-width: 150px; padding: 6px; border-radius: 14px; background: rgba(22, 22, 26, .97); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px -20px #000; color: #fff; }
.player .menu button { display: flex; width: 100%; justify-content: space-between; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #fff; }
.player .menu button[aria-checked="true"] { color: #ff3b63; }
.player .menu button:hover { background: rgba(255, 255, 255, .08); }
.player .menu h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a877f; padding: 8px 12px 4px; font-family: var(--display); }

.lesson-info h1 { font-size: clamp(22px, 5.8vw, 30px); font-weight: 900; margin: 6px 0 8px; }
.lesson-info .crumbs { display: inline-block; color: #111; background: var(--sun); font-size: 12.5px; font-weight: 800; padding: 2px 9px; border-radius: 6px; transform: rotate(-1.5deg); }
.lesson-info p { color: var(--muted); }
.lesson-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.lesson-actions .btn { flex: 1; min-width: 150px; }
.protected-note { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1.5px dashed var(--line-2); color: var(--muted); font-size: 13px; }
.side-list { border-radius: var(--radius-lg); background: var(--card); border: 1.5px solid var(--line); overflow: hidden; }
.side-list .mod-h { padding: 14px 16px 8px; font-size: 11.5px; font-weight: 900; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }

.protected, .protected * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protected input, .protected textarea { -webkit-user-select: text; user-select: text; }
@media print { body * { display: none !important; } body::after { content: 'Printing is disabled.'; display: block; padding: 40px; color: #000; } }

/* ---------- Admin ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); }
.kpi .num { font-size: 28px; display: block; }
.kpi small { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi.alert { border-color: var(--hot); }
.kpi.alert .num { color: var(--hot); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--dim); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
.evt { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; padding: 2px 8px; border-radius: 6px; background: var(--bg-2); }
.evt.bad { background: var(--hot-soft); color: var(--hot); }
.actions { display: flex; gap: 6px; }
.empty { padding: 26px; text-align: center; color: var(--dim); }

/* ---------- 404 ---------- */
.nf { min-height: 80dvh; display: grid; place-items: center; text-align: center; padding: 40px var(--pad); }
.nf .num { font-size: 104px; line-height: 1; color: var(--hot); }

/* ---------- utilities (no inline styles: CSP forbids them) ---------- */
.pt0 { padding-top: 0 !important; }
.bio-h2 { font-size: clamp(28px, 7.4vw, 44px); font-weight: 900; margin-bottom: 18px; }
.center-ctas { justify-content: center; }
.ft-about { margin-top: 12px; max-width: 28em; }
.ft-links { margin-top: 10px; display: grid; gap: 6px; }
.ft-copy { margin-top: 28px; font-size: 13px; color: var(--dim); }
.price-title { font-size: 22px; font-weight: 900; }
figure.tcard { margin: 0; }
.mt-s { margin-top: 10px; } .mt-m { margin-top: 18px; } .mt-l { margin-top: 28px; }

/* ---------- Checkout ---------- */
.checkout-h { font-size: 17px; margin: 24px 0 12px; font-weight: 900; }
.checkout-price { font-size: 28px !important; }
.continue-card .price-row { margin: 0; }
.continue-card .price-row .cur { font-size: 14px; }
.continue-card .price-row s { font-size: 14px; }
.pay-option { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 16px; background: var(--card); border: 2px solid var(--line-2); text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s; list-style: none; cursor: pointer; }
.pay-option::-webkit-details-marker { display: none; }
.pay-option:hover { border-color: var(--text); box-shadow: 4px 4px 0 var(--hot); transform: translate(-2px, -2px); }
.pay-option .po-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); font-size: 20px; }
.pay-option .po-txt { flex: 1; min-width: 0; }
.pay-option .po-txt b { display: block; font-size: 15.5px; font-weight: 900; }
.pay-option .po-txt small { color: var(--muted); font-size: 13px; }
.pay-option .po-arrow { color: var(--hot); font-weight: 900; }
#payDemo { border-style: dashed; border-color: var(--sun); }
.pay-option-manual[open] > .pay-option { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-color: var(--text); box-shadow: none; transform: none; }
.manual-body { padding: 16px; border: 2px solid var(--text); border-top: 0; border-radius: 0 0 16px 16px; background: var(--card); }
.steps { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; color: var(--text); }
.status-card { text-align: center; padding: 10px 0; }
.status-card .status-ico { font-size: 54px; margin-bottom: 10px; }
.status-card p { font-size: 17px; font-weight: 800; }
.status-card.pending p, .status-card.err p { font-weight: 600; color: var(--muted); }

/* ---------- Growth & community ---------- */
.ref-banner { background: var(--sun); color: #111; font-weight: 800; font-size: 14px; padding: 9px 0; text-align: center; border-bottom: 2px solid #111; }
.fit-col { padding: 22px; border-radius: var(--radius-lg); border: 1.5px solid var(--line); background: var(--card); }
.fit-col.yes { border-top: 5px solid var(--mint); }
.fit-col.no { border-top: 5px solid var(--hot); }
.fit-col b { font-size: 17px; font-weight: 900; }
.fit-col ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text); font-size: 15px; }
.fit-col li::marker { color: var(--dim); }
.countdown { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 14px 8px; padding: 5px 11px; border-radius: 8px; background: var(--bg-2); font-size: 13px; color: var(--muted); font-weight: 600; }
.countdown b { font-family: var(--display); color: var(--hot); font-size: 14px; letter-spacing: .02em; }
.students-count { text-align: center; color: var(--mint); font-weight: 800; font-size: 14px; margin-top: 14px; }
.cert-preview { display: flex; justify-content: center; }
.cert-card { position: relative; width: min(100%, 520px); aspect-ratio: 1.55; padding: 26px; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px;
  background: #fffdf6; color: #000; border: 2px solid #000; box-shadow: 8px 8px 0 var(--hs); transform: rotate(-1.5deg); }
html[data-theme="dark"] .cert-card { box-shadow: 8px 8px 0 var(--sun); }
.cert-card::before { content: ''; position: absolute; inset: 10px; border-radius: 12px; border: 1.5px dashed rgba(18, 18, 18, .25); pointer-events: none; }
.cert-top { position: absolute; top: 18px; left: 22px; display: flex; gap: 10px; align-items: center; }
.cert-top .brand-avatar { width: 30px; height: 30px; }
.cert-top .brand-avatar img { border-color: #fffdf6; }
.cert-org { font-family: var(--display); font-size: 10px; letter-spacing: .22em; color: #57544d; }
.cert-card small { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; color: #000; background: var(--sun); padding: 2px 8px; border-radius: 4px; font-size: 10.5px; font-weight: 800; }
.cert-name { font-size: clamp(26px, 6.4vw, 36px); font-weight: 900; }
.cert-card > span { color: #57544d; font-size: 14px; }
.cert-foot { position: absolute; bottom: 16px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: end; font-size: 11px; color: #8a867c; }
.cert-sign { font-size: 19px; font-weight: 900; color: #000; font-style: italic; border-top: 1.5px solid #000; padding-top: 2px; }

.widget { margin-top: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--card); border: 1.5px solid var(--line); }
.widget h3 { font-size: 17.5px; display: flex; align-items: center; gap: 8px; font-weight: 900; }
.widget p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.streak-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.streak-num { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--hot); }
.streak-num small { font-family: var(--font); font-size: 13px; color: var(--muted); font-weight: 700; margin-left: 6px; }
.days { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; margin-top: 14px; }
.days i { aspect-ratio: 1; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--line); }
.days i.on { background: var(--hot); border-color: var(--hot); }
.days i.today { outline: 2px solid var(--text); outline-offset: 1px; }
.ref-box { display: flex; gap: 8px; margin-top: 12px; }
.ref-box input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--bg); padding: 0 12px; font-family: var(--display); font-size: 13px; }
.ref-stats { display: flex; gap: 18px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.ref-stats b { color: var(--text); font-family: var(--display); }
.live-card { display: flex; gap: 14px; align-items: center; }
.live-card .cal { flex: none; width: 56px; border-radius: 12px; overflow: hidden; text-align: center; background: #fff; color: #111; border: 2px solid #111; }
.live-card .cal small { display: block; background: var(--hot); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 0; }
.live-card .cal b { font-family: var(--display); font-size: 22px; line-height: 1.5; }
.sub-list { display: grid; gap: 10px; margin-top: 12px; }
.sub-item { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); font-size: 14px; }
.sub-item .fb { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--mint-soft); border-left: 4px solid var(--mint); color: var(--text); white-space: pre-wrap; }
.sub-item label { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); flex: 1; }
.form-row { display: grid; gap: 10px; margin-top: 12px; }
.form-row .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input.sm { height: 46px; font-size: 15px; border-radius: 12px; }
textarea.input { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; font-size: 15px; line-height: 1.5; }

.task-box { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--sun-soft); border: 2px solid var(--sun); }
.task-box b { display: flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 900; color: var(--text); }
.task-box p { margin-top: 6px; color: var(--text); font-size: 15.5px; }
.data-note { margin-top: 10px; color: var(--dim); font-size: 13px; }
.comments { margin-top: 28px; }
.comments h2 { font-size: 20px; margin-bottom: 12px; font-weight: 900; }
.comment { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line); margin-top: 8px; }
.comment.instructor { border-color: var(--hot); background: var(--hot-soft); }
.comment .meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--dim); }
.comment .meta b { color: var(--text); font-size: 13.5px; }
.comment p { margin-top: 4px; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.comment-form { display: flex; gap: 8px; align-items: flex-end; }
.comment-form textarea { flex: 1; min-height: 52px; }

.verify-card { max-width: 520px; margin: 0 auto; }
.code-row { display: flex; gap: 8px; margin-top: 16px; }
.code-row .input { text-transform: uppercase; font-family: var(--display); letter-spacing: .06em; height: 50px; }
.code-msg { font-size: 13.5px; min-height: 18px; margin-top: 6px; font-weight: 700; }
.code-msg.ok { color: var(--mint); } .code-msg.err { color: var(--hot); }
td.wrap { white-space: normal; min-width: 240px; }

/* ============================================================
   Larger screens
   ============================================================ */
@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-grid .reel:nth-child(n+7) { display: block; }
  .proof-grid .reel:nth-child(n+9) { display: none; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .locked-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  :root { --pad: 32px; }
  .nav-links { display: flex; }
  .hero { padding: 56px 0 44px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .hero h1 { font-size: clamp(38px, 3.9vw, 54px); }
  .hero-video { width: 340px; }
  .stats { margin-top: 52px; }
  .ticker-track { font-size: 20px; padding: 12px 0; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .outcomes { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .curriculum-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
  .curriculum-wrap .section-head { position: sticky; top: 100px; }
  .instructor { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .mini-stats { grid-template-columns: repeat(4, 1fr); }
  .mini-stats div:nth-child(odd), .mini-stats div:nth-child(even) { border-right: 1px solid var(--line-2); padding: 12px 14px; }
  .mini-stats div:last-child { border-right: 0; }
  .proof-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .proof-grid .reel:nth-child(n+9) { display: block; }
  .proof-grid .reel:nth-child(n+13) { display: none; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  #winsList { grid-template-columns: repeat(auto-fit, minmax(300px, 360px)); justify-content: center; }
  .pricing-wrap { grid-template-columns: 1.1fr 1fr; gap: 32px; }
  .price-card { padding: 34px 32px; }
  .final-cta { max-width: calc(var(--max) - 64px); margin: 0 auto; padding: 70px 40px; }
  .site-footer { padding-bottom: 46px; }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .sticky-cta { display: none; }
  .reel { width: 150px; }
  .kpis { grid-template-columns: repeat(6, 1fr); }
  .auth-card { padding: 38px 34px; }
  .lesson-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .lesson-layout .player-col { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; }
  .player { width: min(400px, calc((100dvh - 120px) * 9 / 16)); margin: 0; }
  .side-col { position: sticky; top: 80px; max-height: calc(100dvh - 100px); overflow: auto; }
  .dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .lesson-layout { grid-template-columns: 1fr; }
  .side-col { position: static; max-height: none; }
}
@media (max-width: 380px) {
  .lang-toggle button { padding: 4px 7px; }
  .brand-name small { display: none; }
}
@media (max-width: 360px) {
  .brand-name { display: none; }
  .header-actions { gap: 5px; }
  .theme-toggle { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Signature moment: the hero captions arrive like a TikTok hook —
   each box flickers in with a red/cyan split, the last one is stamped.
   ============================================================ */
.hero .caps .cap { box-shadow: -4px -3px 0 var(--cyan), 4px 3px 0 var(--hot); }
html[data-theme="light"] .hero .caps .cap { box-shadow: 0 0 0 2px #000, -5px -4px 0 var(--cyan), 5px 4px 0 var(--hot); }
.hero .caps .cap.hot { box-shadow: -5px -4px 0 var(--cyan); }
html[data-theme="light"] .hero .caps .cap.hot { box-shadow: 0 0 0 2px #000, -5px -4px 0 var(--cyan); }

@keyframes capIn {
  0% { opacity: 0; box-shadow: none; }
  30% { opacity: 1; box-shadow: -14px -6px 0 var(--cyan), 14px 6px 0 var(--hot); }
  45% { box-shadow: 8px 2px 0 var(--cyan), -8px -2px 0 var(--hot); }
  60% { box-shadow: -3px 0 0 var(--cyan), 3px 0 0 var(--hot); }
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(2.2) rotate(-12deg); }
  55% { opacity: 1; transform: scale(.94) rotate(-1deg); }
  75% { transform: scale(1.04) rotate(-3deg); }
  100% { transform: rotate(-2.5deg); }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes frameIn { from { opacity: 0; transform: translateX(60px) rotate(9deg) scale(.92); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.3) rotate(var(--r, 0)); } 70% { transform: scale(1.12) rotate(var(--r, 0)); } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 30%, 70% { transform: translateX(3px); } 50% { transform: translateX(-3px); } }

.hero .chip { animation: riseIn .5s ease both; }
.hero .caps .cap:nth-of-type(1) { animation: capIn .5s ease .2s both; }
.hero .caps .cap:nth-of-type(2) { animation: capIn .5s ease .5s both; }
.hero .caps .cap.tilt { animation: stamp .6s cubic-bezier(.2, .9, .3, 1.2) .85s both; }
.hero .lead { animation: riseIn .6s ease 1.15s both; }
.hero .hero-ctas { animation: riseIn .6s ease 1.3s both; }
.hero .hero-proof { animation: riseIn .6s ease 1.45s both; }
.hero-video { animation: frameIn .9s cubic-bezier(.2, .8, .2, 1) .35s both; }
.sticker.s1 { animation: popIn .5s cubic-bezier(.2, .9, .3, 1.3) 1.5s both, bob 6s ease-in-out 2s infinite; }
.sticker.s2 { animation: popIn .5s cubic-bezier(.2, .9, .3, 1.3) 1.7s both, bob 6s ease-in-out 2.2s infinite; }
.stats { animation: riseIn .6s ease 1.6s both; }
.cta-pulse { animation: shake .5s ease 2.6s 1; }

/* ============================================================
   Native-app page transitions (cross-document View Transitions).
   Chrome on Android/desktop; other browsers just navigate normally.
   ============================================================ */
@view-transition { navigation: auto; }
.site-header { view-transition-name: topbar; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root) { animation: vtOut .22s ease both; }
::view-transition-new(root) { animation: vtIn .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateX(-6%); } }
@keyframes vtIn { from { opacity: 0; transform: translateX(8%); } }
html.nav-back::view-transition-old(root) { animation-name: vtOutBack; }
html.nav-back::view-transition-new(root) { animation-name: vtInBack; }
@keyframes vtOutBack { to { opacity: 0; transform: translateX(6%); } }
@keyframes vtInBack { from { opacity: 0; transform: translateX(-8%); } }

/* progress ring fills on load */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
.ring { transition: --p 1.4s cubic-bezier(.2, .8, .2, 1); }

/* confetti canvas */
.confetti { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

/* ============================================================
   Native-app feel on phones
   ============================================================ */
html { -webkit-tap-highlight-color: transparent; }
body.protected { overscroll-behavior-y: none; }
.btn, .tabbar a, .module summary, .lesson-row, .continue-card, .theme-toggle, .lang-toggle button { touch-action: manipulation; }
a.lesson-row, .continue-card, .module summary, .pay-option { transition: transform .12s ease, background .2s, border-color .2s; }
a.lesson-row:active, a.continue-card:active, .module summary:active, .pay-option:active { transform: scale(.98); }
html.standalone .site-header { padding-top: env(safe-area-inset-top); }
html.standalone .site-header .brand-name small { display: none; }

/* bottom tab bar (dashboard, phones only) */
.tabbar { display: none; }
@media (max-width: 899px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 6px calc(6px + var(--safe-b)); background: var(--header-bg); border-top: 1px solid var(--line-2);
    backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 5px; border-radius: 12px; color: var(--dim); font-size: 11px; font-weight: 800; }
  .tabbar a svg { transition: transform .25s cubic-bezier(.2, .9, .3, 1.4), color .2s; }
  .tabbar a[aria-current="page"] { color: var(--text); }
  .tabbar a[aria-current="page"] svg { color: var(--hot); transform: translateY(-2px) scale(1.12); }
  .tabbar a[aria-current="page"]::before { content: ''; position: absolute; top: -7px; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--hot); box-shadow: -3px 0 0 var(--cyan); }
  .tabbar a:active { background: var(--bg-2); }
  body:has(.tabbar) .app-main { padding-bottom: calc(96px + var(--safe-b)); }
  body[data-tab="home"] .app-main [data-view]:not([data-view~="home"]),
  body[data-tab="lessons"] .app-main [data-view]:not([data-view~="lessons"]),
  body[data-tab="practice"] .app-main [data-view]:not([data-view~="practice"]),
  body[data-tab="me"] .app-main [data-view]:not([data-view~="me"]) { display: none !important; }
  body[data-tab] .app-main .section-title:first-child, body[data-tab="lessons"] .section-title { margin-top: 6px; }
  body[data-tab="practice"] #challengeW, body[data-tab="me"] [data-view~="me"]:first-of-type { margin-top: 0; }
}

/* skeleton while lessons load */
.skel { height: 76px; border-radius: var(--radius); margin-bottom: 10px; background: linear-gradient(100deg, var(--card) 30%, var(--card-2) 50%, var(--card) 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; border: 1.5px solid var(--line); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* install card */
.install-card { display: flex; align-items: center; gap: 14px; }
.install-card img { border-radius: 14px; flex: none; box-shadow: 3px 3px 0 var(--hs); }
.install-card > div { flex: 1; min-width: 0; }
.offline-ico { font-size: 64px; }

/* lesson completed: the row flashes green once */
@keyframes doneFlash { 0% { background: var(--mint-soft); } 100% { background: transparent; } }
.lesson-row.just-done { animation: doneFlash 1.2s ease; }

/* ===== Certificate widget + verification page ===== */
.cert-thumb { position: relative; margin-top: 12px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: #fffdf7; cursor: pointer; box-shadow: 5px 5px 0 var(--hot); transition: transform .2s; }
.cert-thumb:hover { transform: translate(-2px, -2px); }
.cert-thumb canvas { display: block; width: 100%; height: auto; }
.cert-w.locked .cert-thumb { cursor: default; box-shadow: 5px 5px 0 var(--line); }
.cert-w.locked .cert-thumb:hover { transform: none; }
.cert-w.locked canvas { filter: blur(3px) grayscale(.6); opacity: .7; }
.cert-lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; background: rgba(11, 13, 26, .35); color: #fff; }
.cert-lock[hidden] { display: none; }
.cert-lock .lock-ico { font-size: 28px; }
.cert-lock b { font-family: var(--display); font-size: 22px; }
.cert-lock .bar { width: 140px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.3); overflow: hidden; }
.cert-lock .bar i { display: block; height: 100%; background: var(--hot); border-radius: 6px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cert-actions[hidden] { display: none; }
#certLi { background: #0a66c2; color: #fff; border-color: #0a66c2; }

.verify-main { padding: 28px 0 60px; }
.verify-wrap { max-width: 1080px; }
.verify-wrap > .skel { height: 320px; border-radius: 16px; }
.verify-status { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 2px solid; margin-bottom: 22px; animation: riseIn .5s both; }
.verify-status b { font-size: 19px; display: block; }
.verify-status p { margin: 4px 0 0; color: var(--dim); }
.verify-status .vs-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 900; }
.verify-status.ok { border-color: #16a34a; background: rgba(22,163,74,.08); }
.verify-status.ok .vs-ico { background: #16a34a; color: #fff; animation: stamp .5s .15s both; }
.verify-status.bad { border-color: var(--hot); background: rgba(255,45,85,.08); }
.verify-status.warn { border-color: var(--sun); background: rgba(255,226,74,.1); }
.verify-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.verify-cert { margin: 0; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); box-shadow: 8px 8px 0 var(--hot); animation: riseIn .6s .1s both; }
.verify-cert canvas { display: block; width: 100%; height: auto; }
.verify-facts { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; }
.verify-facts dl { margin: 0; }
.verify-facts .vr { padding: 10px 0; border-bottom: 1px solid var(--line); }
.verify-facts .vr:last-child { border-bottom: 0; }
.verify-facts dt { font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.verify-facts dd { margin: 3px 0 0; }
.verify-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mono { font-family: var(--display); letter-spacing: .04em; }
.small { font-size: 12.5px; }
@media (max-width: 820px) { .verify-grid { grid-template-columns: minmax(0, 1fr); } }
/* long links (TikTok URLs) must wrap inside cards on narrow phones */
.widget, .sub-item { min-width: 0; }
.sub-item .linkish, .sub-item .fb { overflow-wrap: anywhere; }

.cert-sample { margin-left: auto; margin-right: auto; max-width: 760px; }
.cert-sample canvas { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1414; border-radius: 14px; border: 1.5px solid var(--line); background: #fffdf7; box-shadow: 8px 8px 0 var(--hot); }
.cert-sample figcaption { text-align: center; color: var(--dim); font-size: 13px; margin-top: 14px; }
/* entrance animations slide in from the side; clip so phones never lock the page wider than the screen */
main { overflow-x: clip; }
