:root {
  --bg: #050506;
  --bg-2: #09090c;
  --bg-3: #101014;
  --panel: rgba(14, 14, 18, 0.78);
  --panel-solid: #121218;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --red: #e11d2e;
  --red-dim: rgba(225, 29, 46, 0.16);
  --green: #16c784;
  --green-dim: rgba(22, 199, 132, 0.16);
  --neon: #00ff6a;
  --neon-dim: rgba(0, 255, 106, 0.16);
  --neon-glow: 0 0 28px rgba(0, 255, 106, 0.35);
  --white: #f4f6f8;
  --muted: #b4bac4;
  --muted-2: #8a909b;
  --glow-red: 0 0 28px rgba(225, 29, 46, 0.28);
  --glow-green: 0 0 28px rgba(22, 199, 132, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ticker-h: 44px;
  --bottom-nav: 68px;
  --font: Inter, system-ui, sans-serif;
  --display: "Space Grotesk", Inter, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.market-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(225, 29, 46, 0.12), transparent 55%),
    radial-gradient(700px 400px at 0% 20%, rgba(22, 199, 132, 0.06), transparent 50%),
    linear-gradient(180deg, #07070a 0%, #050506 40%, #050506 100%);
}
.market-bg::before {
  content: "";
  position: absolute; inset: 0; opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
}
.candles-bg {
  position: absolute; inset: auto 0 0 0;
  height: min(38vh, 280px);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 4px; padding: 0 6px;
  opacity: 0.38;
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
}
.bg-stick {
  flex: 1 1 0;
  max-width: 3px;
  min-width: 2px;
  height: var(--h, 40%);
  border-radius: 1px;
  transform-origin: bottom center;
  will-change: transform;
}
.bg-stick.up {
  background: #16c784;
  box-shadow: 0 0 10px rgba(22, 199, 132, .28);
}
.bg-stick.down {
  background: #e11d2e;
  box-shadow: 0 0 10px rgba(225, 29, 46, .28);
}
@media (prefers-reduced-motion: reduce) {
  .bg-stick { will-change: auto; }
}

.container { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.container-wide { width: min(1400px, calc(100% - 24px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.16em; font-weight: 700;
  color: #d0d5dc; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--red);
  box-shadow: var(--glow-red);
}
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--white); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--glow-red); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(225, 29, 46, 0.45); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--white); }
.btn-ghost:hover { border-color: #fff; }
.btn-green { background: var(--green); color: #04140e; box-shadow: var(--glow-green); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(225, 29, 46, 0.35); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border);
}
.badge-live { color: #fff; background: var(--red-dim); border-color: rgba(225,29,46,.4); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 1.6s infinite; }
.badge-demo { color: #ffd166; border-color: rgba(255,209,102,.35); }
.badge-delayed { color: var(--muted); }
.badge-green { color: var(--green); background: var(--green-dim); border-color: rgba(22,199,132,.3); }
.badge-red { color: #ff6b7a; background: var(--red-dim); border-color: rgba(225,29,46,.3); }
.pos { color: var(--green); }
.neg { color: #ff6b7a; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  overflow: visible;
  transition: height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  background: #000;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 255, 106, 0.08);
}
.site-header.is-scrolled {
  height: 64px;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.site-header.is-scrolled .logo img { height: 40px; width: 40px; }
.site-header.is-scrolled .logo-text strong { font-size: 13px; }
.site-header.is-scrolled .logo-text small { display: none; }
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: min(1400px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; }
.site-header .logo img {
  height: 48px; width: 48px; max-width: none; object-fit: cover; border-radius: 50%;
  background: #07070a;
  border: 2px solid var(--neon);
  box-shadow: 0 0 0 2px rgba(225, 29, 46, .75), 0 0 16px rgba(0, 255, 106, .35);
  transition: height 0.2s ease, width 0.2s ease;
}
.logo-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.logo-text strong {
  font-family: var(--display); font-size: 14px; letter-spacing: 0.08em; font-weight: 700;
  transition: font-size 0.2s ease;
}
.logo-ani { color: var(--neon); }
.logo-text small { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.nav-desktop {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; justify-self: center;
}
.nav-desktop a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px; color: #fff; font-weight: 600;
  min-height: 38px; display: inline-flex; align-items: center;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-desktop a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-desktop a.active {
  color: var(--neon);
  background: transparent;
}
.header-actions { display: flex; gap: 8px; align-items: center; position: relative; z-index: 60; }
.hide-lg { display: none; }
.header-search-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent; color: #fff;
  display: grid; place-items: center;
}
.header-search-btn svg { width: 18px; height: 18px; }
.header-menu-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent; color: #fff;
  display: none;
  place-items: center;
}
.header-menu-btn svg { width: 20px; height: 20px; }
body.nav-open { overflow: hidden; }
.nav-sheet {
  position: fixed; inset: 0; z-index: 90;
}
.nav-sheet[hidden] { display: none !important; }
.nav-sheet-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
}
.nav-sheet-panel {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #07070a;
  padding: env(safe-area-inset-top) 0 calc(12px + env(safe-area-inset-bottom));
}
.nav-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.nav-sheet-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-sheet-brand img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--neon);
}
.nav-sheet-brand strong { display: block; font-size: 15px; }
.nav-sheet-brand span { color: var(--muted); font-size: 12px; }
.nav-sheet-x {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent; color: #fff;
  display: grid; place-items: center;
}
.nav-sheet-x svg { width: 18px; height: 18px; }
.nav-sheet-body {
  overflow: auto;
  padding: 8px 12px 20px;
  -webkit-overflow-scrolling: touch;
}
.nav-sheet-lab {
  margin: 16px 8px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-sheet-lab:first-child { margin-top: 8px; }
.nav-sheet-list {
  display: grid;
  gap: 4px;
}
.nav-sheet-list a {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  color: #e8eaee;
  font-size: 15px;
  font-weight: 650;
}
.nav-sheet-list a svg {
  width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto;
}
.nav-sheet-list a.active {
  background: rgba(225, 29, 46, .14);
  color: #fff;
}
.nav-sheet-list a.active svg { color: var(--red); }
.nav-sheet-list a:active { background: rgba(255,255,255,.06); }
.nav-sheet-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 16px calc(12px + var(--bottom-nav));
  border-top: 1px solid var(--border);
  background: #07070a;
}
.nav-sheet-foot .hero-btn { min-height: 46px; width: 100%; border-radius: 12px; }
.nav-sheet-foot .hero-btn-primary { grid-column: auto; }
.nav-sheet-foot:has(.hero-btn:only-child) { grid-template-columns: 1fr; }
.site-search {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  width: min(360px, calc(100vw - 32px));
  padding: 0 12px;
  border: 1px solid var(--border); border-radius: 12px;
  background: #12141b;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.site-search.is-open { display: flex; }
.site-search svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.site-search input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: #fff; outline: none; font-size: 13px; min-height: 38px;
}
.site-search-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70;
  padding: 6px; border-radius: 14px;
  border: 1px solid var(--border); background: #12141b;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.site-search-list[hidden] { display: none !important; }
.site-search-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  padding: 10px 12px; border-radius: 10px; color: #e8eaee; font-size: 13px;
}
.site-search-list a:hover, .site-search-list a.is-on { background: rgba(255,255,255,.06); }
.site-search-list small { color: var(--muted); font-size: 11px; font-weight: 700; }
.header-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px;
  border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.header-btn-ghost,
.header-btn-login {
  color: #fff;
  background: transparent;
  border: 1.5px solid var(--red);
}
.header-btn-ghost:hover,
.header-btn-login:hover { border-color: #ff4d5c; background: rgba(225,29,46,.08); }
.header-btn-primary,
.header-btn-register {
  color: #fff; border: 1px solid transparent;
  background: #00d45a;
  box-shadow: 0 0 18px rgba(0, 212, 90, .4);
}
.header-btn-primary:hover,
.header-btn-register:hover { background: #14e86c; }
.acct-menu.is-header .acct-menu-btn {
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.acct-menu.is-header .acct-avatar { width: 34px; height: 34px; }

.ticker-wrap {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(0, 255, 106, 0.08);
  background: #050506;
  height: var(--ticker-h);
  display: flex; align-items: stretch;
}
.ticker-label {
  position: relative; z-index: 3;
  flex: 0 0 auto;
  padding: 0 10px 0 14px;
  display: flex; align-items: center;
  background: #050506;
}
.ticker-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 28px; padding: 0 14px;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.12em; font-weight: 800;
  color: #04140a;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(0, 255, 106, .45);
}
.ticker-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #04140a;
  box-shadow: 0 0 8px #04140a; animation: pulse 1.4s infinite;
}
.ticker-viewport {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: ticker 36s linear infinite; padding-left: 24px; will-change: transform; }
.ticker-item { display: inline-flex; gap: 10px; align-items: baseline; font-variant-numeric: tabular-nums; font-size: 14px; }
.ticker-item strong { letter-spacing: 0.08em; }
.ticker-chg { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.ticker-chg span { font-size: 10px; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-socials {
  position: relative; z-index: 3;
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 14px;
  background: #0a0a0d;
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 16px rgba(0,0,0,.45);
}
.brand-soc {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  background: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.brand-soc svg { width: 100%; height: 100%; display: block; }
.brand-soc-youtube { border-radius: 8px; width: 34px; }
.brand-soc:hover { transform: translateY(-1px); filter: brightness(1.08); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; padding: 28px 0 32px; min-height: 0; display: block; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 12px 28px;
  align-items: center;
}
.hero-copy { display: grid; gap: 12px; align-content: start; justify-items: start; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  width: 100%;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--neon);
  color: var(--neon);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 255, 106, .06);
  box-shadow: 0 0 18px rgba(0, 255, 106, .12);
}
.hero-kicker svg { width: 14px; height: 14px; }
.hero-lead {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}
.hero-board {
  position: relative;
  width: 100%;
  padding: 22px 22px 18px;
  border-radius: 18px;
  border: 2px solid var(--neon);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0, 40, 18, .55), rgba(0, 0, 0, .92) 68%),
    #050806;
  box-shadow: 0 0 0 1px rgba(0, 255, 106, .15), 0 0 42px rgba(0, 255, 106, .18), inset 0 0 40px rgba(0, 255, 106, .05);
  overflow: hidden;
  text-align: center;
}
.hero-break { display: none; }
.hero-board-kicker {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
}
.hero-board-kicker em {
  font-style: normal;
  color: var(--neon);
  text-shadow: 0 0 18px rgba(0, 255, 106, .45);
}
.hero-board-kicker [lang="hi"] {
  font-family: "Noto Sans Devanagari", var(--display), sans-serif;
  font-weight: 700;
  color: #fff;
}
.hero-board-art {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  min-height: 118px;
  margin: 4px 0 2px;
}
.hero-board-candles {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3px; height: 108px; opacity: .9;
}
.hero-stick {
  flex: 1 1 0; max-width: 7px; min-width: 3px; border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
  transition: height 0.7s ease, background 0.4s ease, box-shadow 0.4s ease;
  animation: stickPulse 1.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.11s);
}
.hero-stick.up { background: var(--neon); box-shadow: 0 0 10px rgba(0, 255, 106, .45); }
.hero-stick.down { background: var(--red); box-shadow: 0 0 10px rgba(225, 29, 46, .4); }
@keyframes stickPulse {
  0%, 100% { transform: scaleY(1); filter: brightness(1); }
  50% { transform: scaleY(1.22); filter: brightness(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stick { animation: none; transition: none; }
}
.hero-board-logo {
  width: 100px; height: 100px; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--neon);
  box-shadow: 0 0 0 3px rgba(225, 29, 46, .7), 0 0 28px rgba(0, 255, 106, .4);
  background: #07070a;
  z-index: 1;
}
.hero-board-main {
  margin: 6px 0 14px;
  font-family: "Noto Sans Devanagari", var(--display), sans-serif;
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--neon);
  text-shadow: 0 0 22px rgba(0, 255, 106, .45);
  line-height: 1.1;
}
.hero-board-main span {
  font-family: var(--display);
  color: #fff;
  text-shadow: none;
  margin-right: 8px;
}
.hero-board-phones {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.hero-phone-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--neon);
  color: var(--neon);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  background: rgba(0, 0, 0, .55);
  box-shadow: 0 0 14px rgba(0, 255, 106, .18);
}
.hero-phone-pill svg { width: 14px; height: 14px; }
.hero-banner { width: 100%; }
.hero-banner img {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left top;
  display: block;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; justify-content: center; width: 100%; }
.hero-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 22px;
  border-radius: 8px; border: 1px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}
.hero-btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 46%);
}
.hero-btn span, .hero-btn svg { position: relative; z-index: 1; }
.hero-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn:active { transform: translateY(0); }
.hero-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff3143 0%, #e11d2e 48%, #b11220 100%);
  border-color: rgba(255, 180, 186, .28);
  box-shadow:
    0 0 0 1px rgba(225, 29, 46, .35),
    0 10px 28px rgba(225, 29, 46, .42),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.hero-btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(225, 29, 46, .5), 0 14px 34px rgba(225, 29, 46, .55);
}
.hero-btn-ghost {
  color: #e8fff5;
  background: linear-gradient(180deg, rgba(22,199,132,.16), rgba(8,14,12,.92));
  border-color: rgba(22, 199, 132, .55);
  box-shadow: 0 0 18px rgba(22, 199, 132, .14), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-btn-ghost:hover {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(22, 199, 132, .28);
}
.hero-btn-alt {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(10,10,14,.9));
  border-color: rgba(212, 175, 55, .45);
  box-shadow: 0 0 16px rgba(212, 175, 55, .1), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-btn-alt:hover {
  border-color: #e8c547;
  box-shadow: 0 0 22px rgba(232, 197, 71, .22);
}
.hero-btn-lecture {
  min-width: 220px;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  border-color: var(--neon);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 16px;
  box-shadow: 0 0 22px rgba(0, 255, 106, .22);
}
.hero-btn-lecture:hover {
  box-shadow: 0 0 32px rgba(0, 255, 106, .4);
  border-color: #7dffb0;
}
.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.hero-bull {
  position: absolute;
  inset: 0% -8% 18%;
  width: 120%;
  height: auto;
  color: var(--neon);
  opacity: .32;
  filter: drop-shadow(0 0 18px rgba(0, 255, 106, .45));
  pointer-events: none;
  z-index: 0;
}
.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 520px;
  width: 100%;
  z-index: 2;
}
.phone {
  position: relative;
  flex: 0 0 228px;
  width: 228px;
  height: 470px;
  border-radius: 36px;
  border: 2px solid rgba(0, 255, 106, .35);
  background: #0b0b10;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04), 0 0 28px rgba(0, 255, 106, .18);
  overflow: hidden;
  padding: 10px;
  z-index: 2;
}
.phone.main { left: auto; right: auto; top: 6px; z-index: 3; }
.phone.alt {
  left: auto;
  right: auto;
  margin-left: -48px;
  top: 28px;
  transform: rotate(5.5deg);
  transform-origin: 20% 90%;
  opacity: 0.98;
  z-index: 2;
}
.hero-pedestal {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(340px, 90%);
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 255, 106, .55), rgba(0, 255, 106, .08) 55%, transparent 72%);
  box-shadow:
    0 0 40px 8px rgba(0, 255, 106, .28),
    0 12px 40px rgba(0, 255, 106, .2);
  z-index: 0;
}
.hero-pedestal::before,
.hero-pedestal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 255, 106, .28);
  border-radius: 50%;
}
.hero-pedestal::before { width: 118%; height: 180%; }
.hero-pedestal::after { width: 150%; height: 260%; opacity: .5; }

.hero-arc {
  position: relative;
  width: 100%;
  min-height: 210px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 4px;
}
.hero-arc-nav {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--neon);
  background: rgba(0,0,0,.45);
  color: var(--neon);
  display: grid; place-items: center;
  box-shadow: 0 0 12px rgba(0, 255, 106, .2);
}
.hero-arc-nav svg { width: 18px; height: 18px; }
.hero-arc-stage {
  position: relative;
  height: 210px;
  perspective: 900px;
  transform-style: preserve-3d;
}
.hero-arc-mark {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  z-index: 1;
  pointer-events: none;
  opacity: .95;
}
.hero-arc-mark img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--neon);
  box-shadow: 0 0 0 2px rgba(225, 29, 46, .6), 0 0 18px rgba(0, 255, 106, .35);
  background: #07070a;
}
.hero-arc-card {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 210px;
  height: 124px;
  margin-left: -105px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b10;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-arc-card.is-center {
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(0, 255, 106, .35);
  z-index: 8;
}
.hero-arc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.hero-arc-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72));
  color: #fff;
}
.hero-arc-play svg { width: 22px; height: 22px; }
.hero-arc-cap {
  position: absolute; left: 8px; right: 8px; bottom: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  z-index: 1;
}
.hero-reel-wrap {
  width: 100%;
  height: 92px;
  margin-top: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 92%, transparent 100%);
}
.hero-reel-track {
  display: flex;
  gap: 10px;
  height: 100%;
  width: max-content;
  align-items: center;
  will-change: transform;
}
.hero-reel-card {
  position: relative;
  flex: 0 0 164px;
  width: 164px;
  height: 92px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b10;
  cursor: pointer;
}
.hero-reel-card img,
.hero-reel-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}
.hero-reel-card iframe {
  width: 146%;
  height: 146%;
  left: -23%;
  top: -23%;
}
.phone-app { gap: 6px; }
.phone-app-bar { display: flex; justify-content: space-between; align-items: center; flex: 0 0 auto; }
.phone-app-bar strong { font-size: 11px; letter-spacing: .12em; }
.phone-app-kicker { margin: 0; font-size: 9px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.phone-video {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #050506;
  border: 1px solid rgba(0, 255, 106, .22);
  box-shadow: 0 0 16px rgba(0, 255, 106, .12);
}
.phone-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  z-index: 1;
}
.phone-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-trade {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone-trade-candles {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  height: 72px;
  padding: 6px 6px 4px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 106, .18);
  background: rgba(0, 0, 0, .35);
}
.phone-trade .mini-row {
  font-size: 10px;
  padding: 1px 2px;
}
.phone-market {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 106, .28);
  background: rgba(0, 255, 106, .06);
  box-shadow: 0 0 14px rgba(0, 255, 106, .12);
}
.phone-market-time {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(0, 255, 106, .45);
  line-height: 1;
}
.phone-desk {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-desk-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.phone-desk-tabs span {
  display: grid;
  place-items: center;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.phone-desk-tabs span.is-on {
  color: #04140a;
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(0, 255, 106, .35);
}
.phone-desk-stage {
  position: relative;
  min-height: 78px;
}
.phone-desk-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 106, .2);
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.phone-desk-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.phone-desk-slide strong {
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.phone-desk-slide span { font-size: 10px; color: var(--muted); }
.phone-desk-tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--neon);
  border: 1px solid rgba(0, 255, 106, .35);
}
.phone-desk-tag.is-offer { color: #04140a; background: var(--neon); border-color: var(--neon); }
.phone-desk-tag.is-live { color: #fff; background: var(--red-dim); border-color: rgba(225,29,46,.45); }
.phone-clock-graph {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-graph {
  width: 100%;
  height: 56px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 106, .2);
  background: rgba(0, 0, 0, .4);
  overflow: hidden;
}
.phone-graph [data-graph-fill] {
  fill: rgba(0, 255, 106, .16);
}
.phone-graph [data-graph-line] {
  fill: none;
  stroke: var(--neon);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(0, 255, 106, .6));
}
.phone-app-nav {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-align: center;
  padding-top: 6px; border-top: 1px solid var(--border);
  flex: 0 0 auto;
}
.phone-notch {
  width: 86px; height: 8px; border-radius: 0 0 10px 10px;
  background: #050506; margin: 0 auto 6px;
}
.phone-screen { height: calc(100% - 14px); border-radius: 24px; background:
  linear-gradient(180deg, #14141c, #0a0a0e);
  padding: 8px 8px 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.desk-panel {
  position: relative; z-index: 2;
  border: 1px solid var(--border-strong); border-radius: 20px;
  background: linear-gradient(180deg, #14141c 0%, #0a0a0e 100%);
  box-shadow: var(--shadow), 0 0 60px rgba(225,29,46,.12);
  overflow: hidden;
}
.desk-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 11px; letter-spacing: 0.16em; color: var(--muted);
}
.desk-chrome strong { color: #fff; letter-spacing: 0.18em; margin-right: auto; }
.desk-dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3a44; }
.desk-dot:nth-child(1) { background: #e11d2e; }
.desk-dot:nth-child(2) { background: #ffd166; }
.desk-dot:nth-child(3) { background: #16c784; }
.desk-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.desk-meta small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.desk-meta b { font-size: 14px; }
.desk-chart { position: relative; padding: 18px 16px 12px; min-height: 220px; }
.desk-candles { height: 180px; margin: 0; }
.desk-levels { position: absolute; right: 18px; top: 24px; display: grid; gap: 8px; }
.desk-levels .lvl {
  font-size: 10px; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 6px;
  background: rgba(0,0,0,.45); border: 1px solid var(--border);
}
.lvl.tgt { color: var(--green); }
.lvl.entry { color: #fff; }
.lvl.sl { color: var(--red); }
.desk-ticket {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted);
}
.desk-ticket b { color: #fff; }
.desk-float {
  position: absolute; z-index: 3; width: 200px; padding: 14px;
  border-radius: 16px; border: 1px solid var(--border-strong);
  background: rgba(12,12,16,.92); backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.desk-float p { margin: 0 0 8px; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.desk-watch { right: -12px; top: -18px; }
.desk-risk { left: -18px; bottom: 28px; }
.desk-risk strong { display: block; font-size: 15px; margin-bottom: 6px; }
.desk-risk small { color: var(--muted-2); }
.mini-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.candle-row { display: flex; align-items: flex-end; gap: 5px; height: 160px; margin-top: auto; }
.candle { width: 9px; border-radius: 2px; position: relative; }
.candle.up { background: var(--green); box-shadow: var(--glow-green); }
.candle.down { background: var(--red); box-shadow: var(--glow-red); }
.candle::before {
  content: ""; position: absolute; left: 50%; width: 1px; background: currentColor; height: 120%;
  top: -10%; transform: translateX(-50%); opacity: 0.8;
}

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.h-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.h-scroll > * { flex: 0 0 min(280px, 82vw); scroll-snap-align: start; }

.video-card .thumb { aspect-ratio: 9/16; background: #111; position: relative; }
.video-card.long .thumb { aspect-ratio: 16/9; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(225,29,46,0.92); display: grid; place-items: center; border: 0; color: #fff;
  box-shadow: var(--glow-red);
}
.video-card figcaption { padding: 12px 14px 16px; }
.video-card h3 { font-size: 1rem; }

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.reel-card {
  display: block; width: 100%; padding: 0; border: 0; background: transparent;
  cursor: pointer; text-align: left; border-radius: 18px;
}
.reel-frame {
  position: relative; display: block; aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden;
  background: #0b0b10;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.reel-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.35s ease;
}
.reel-frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  pointer-events: none;
}
.reel-play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(225, 29, 46, 0.92); color: #fff;
  box-shadow: var(--glow-red);
  transition: transform 0.18s ease, background 0.18s ease;
}
.reel-play svg { width: 18px; height: 18px; margin-left: 2px; }
.reel-card:hover .reel-frame { border-color: rgba(225, 29, 46, 0.45); }
.reel-card:hover img { transform: scale(1.06); }
.reel-card:hover .reel-play { transform: scale(1.08); }

.long-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.long-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.long-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, 0.38);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.long-thumb {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 16 / 9; background: #0b0b10; cursor: pointer; overflow: hidden;
}
.long-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.long-card:hover .long-thumb img { transform: scale(1.04); }
.long-thumb .reel-play { width: 56px; height: 56px; }
.long-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.long-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.section-more { display: flex; justify-content: center; margin-top: 24px; }

.page-hero { padding: 36px 0 8px; }
.page-hero h1 { margin: 8px 0 10px; }
.page-hero .muted { max-width: 68ch; }

.desk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.desk-full {
  width: calc(100% - 32px);
  max-width: none;
  margin-inline: auto;
}
.desk-home-full .desk-grid[data-cols="1"] { grid-template-columns: 1fr; }
.desk-home-full .desk-grid[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.desk-home-full .desk-grid.is-home { gap: 18px; }
.desk-home-full .desk-card { min-height: 100%; padding: 22px 22px 18px; }
.desk-home-full .desk-sym { font-size: 1.45rem; }
.desk-home-full .desk-ladder {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.desk-home-full .desk-ladder li { flex-direction: column; align-items: flex-start; gap: 4px; }
.desk-band-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.desk-band-head h2 { margin: 6px 0 8px; }
.desk-band-head .muted { max-width: 62ch; }
.desk-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.desk-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--green);
}
.desk-card.is-sell::before { background: var(--red); }
.desk-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225,29,46,.35);
  box-shadow: 0 16px 36px rgba(0,0,0,.32);
}
.desk-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.desk-sym { display: block; font-size: 1.15rem; letter-spacing: 0.04em; }
.desk-meta { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.desk-card-dir { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 14px; }
.desk-side {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.16em; font-size: 12px;
}
.desk-status { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.desk-edu {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255,209,102,.35); color: #ffd166;
}
.badge-manual { color: #d5d8de; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
.desk-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.desk-ladder li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 10px; border-radius: 8px; background: rgba(0,0,0,.28);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.desk-ladder b { font-size: 15px; letter-spacing: 0; color: #fff; font-variant-numeric: tabular-nums; text-transform: none; }
.desk-ladder .lvl-tgt b { color: var(--green); }
.desk-ladder .lvl-sl b { color: #ff6b7a; }
.desk-ladder .lvl-entry { border: 1px solid var(--border-strong); }
.desk-card-foot {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 12px; font-size: 12px; color: var(--muted);
}
.desk-card-foot b { color: #fff; }
.desk-card-link { position: absolute; inset: 0; z-index: 2; }
.desk-card-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.desk-act {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--neon);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.desk-act.is-alt {
  border: 0;
  background: none;
  color: #ff8b96;
}
.desk-act:hover { color: #fff; }
.gal-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.gal-nav button {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #121218; color: #fff; cursor: pointer;
}
.media-deck {
  width: min(960px, 94vw) !important;
}
.media-deck h3 small {
  font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 8px;
}
.media-stage {
  margin-top: 10px;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.media-thumbs {
  display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px;
}
.media-thumbs button {
  flex: 0 0 auto; width: 72px; height: 48px; padding: 0;
  border-radius: 8px; border: 1px solid var(--border); overflow: hidden;
  background: #0b0b10; cursor: pointer; color: var(--muted);
}
.media-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumbs button.is-on { border-color: var(--neon); }
.why-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.why-card {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b10;
  color: inherit;
  cursor: pointer;
}
.why-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-cap {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  font-size: 11px; font-weight: 800; color: #fff;
  text-shadow: 0 1px 8px #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  z-index: 1;
}
.learn-pdf {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 999px;
  background: var(--red); color: #fff; z-index: 1;
}
.learn-pdf-dl {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 14px 0 0;
  min-height: 44px; padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--neon);
  color: var(--neon);
}
.demat-block { margin: 28px 0; }
.demat-block h2 { margin: 0 0 14px; font-size: 1.35rem; }
.demat-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.demat-vid {
  position: relative; padding: 0; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; background: #0b0b10; color: inherit; cursor: pointer; text-align: left;
}
.demat-vid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.demat-vid strong { display: block; padding: 10px 12px 12px; }
.demat-links { display: grid; gap: 10px; }
.demat-link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.desk-note { margin: 22px 0 0; font-size: 12px; color: var(--muted-2); }
.desk-hero { padding-bottom: 12px; }
.desk-stats {
  display: grid; grid-template-columns: repeat(3, max-content); gap: 22px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.desk-stats small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.desk-stats b { font-family: var(--display); font-size: 1.25rem; }
.desk-history { display: grid; gap: 10px; }
.desk-hist {
  display: grid; grid-template-columns: 1.2fr 1.2fr auto auto; gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02);
}
.desk-hist strong { display: block; }
.desk-hist-lvls { display: flex; gap: 16px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.desk-hist-tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.desk-hist.is-tgt .desk-hist-tag { color: var(--green); }
.desk-hist.is-sl .desk-hist-tag { color: #ff6b7a; }
.desk-hist time { color: var(--muted-2); font-size: 12px; }
.tab {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
}
.tab.active { color: #fff; border-color: var(--red); background: var(--red-dim); }

.stat-card { padding: 28px; text-align: center; }
.stat-card .num { font-family: var(--display); font-size: 2.6rem; }

.course-card .media { aspect-ratio: 16/10; background: #111; }
.course-card .media img { width: 100%; height: 100%; object-fit: cover; }
.course-card .body { padding: 16px; display: grid; gap: 8px; }
.price { font-weight: 800; }
.price s { color: var(--muted); font-weight: 500; margin-right: 8px; }

.blog-card .media { aspect-ratio: 16/9; background: #111; }
.blog-card .body { padding: 16px; }
.article { max-width: 760px; margin: 0 auto; }
.article .content { font-size: 1.05rem; color: #d5d8de; }
.article .content h2, .article .content h3 { margin: 1.6em 0 0.5em; }
.article .content img { border-radius: 12px; margin: 1.2em 0; }
.article .content a { color: var(--green); }

.form { display: grid; gap: 12px; }
label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: #0c0c10; border: 1px solid var(--border); color: #fff;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #0e0e14 inset;
  transition: background-color 99999s ease-out;
  border-color: var(--border);
}
textarea { min-height: 120px; resize: vertical; }
.help { font-size: 12px; color: var(--muted-2); }
.error-text { color: #ff6b7a; font-size: 13px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 0 0 110px;
  background:
    radial-gradient(640px 220px at 0% 0%, rgba(225,29,46,.12), transparent 55%),
    #07070a;
}
.site-footer .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-footer .logo img { height: 56px; width: 56px; border-radius: 50%; max-width: none; }
.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 28px 0 4px;
  align-items: start;
}
.footer-card {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 16px 14px 14px;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  color: inherit;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}
.footer-card:nth-child(even)::before { background: linear-gradient(90deg, var(--green), transparent 70%); }
a.footer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225,29,46,.38);
  box-shadow: 0 16px 36px rgba(0,0,0,.32);
}
.footer-card .path-ico { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; }
.footer-card .eyebrow { margin-top: 0; padding-right: 40px; }
.footer-card strong { display: block; font-size: .95rem; line-height: 1.3; margin-top: 8px; word-break: break-word; }
.footer-card > span:last-child { color: var(--muted); font-size: 12px; line-height: 1.4; }
.footer-card-cta { min-height: 0; }
.footer-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.footer-cta-row .hero-btn { width: 100%; min-height: 40px; padding: 0 10px; font-size: 11px; }
.footer-verify {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: center;
  margin: 22px 0 8px;
  padding: 20px 20px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.footer-verify strong { display: block; font-size: 1.2rem; margin: 4px 0 6px; }
.footer-verify > div > span { color: var(--muted); font-size: 13px; }
.footer-verify-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.footer-verify-row .input { margin: 0; }
.footer-verify-row .hero-btn { min-height: 48px; white-space: nowrap; }
.verify-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 22px;
  max-width: 720px;
}
.verify-form label { display: grid; gap: 7px; }
.verify-ok {
  display: flex; align-items: center; gap: 8px;
  color: #9ff3d0; font-weight: 650; margin: 0 0 16px;
  flex-wrap: wrap;
}
.verify-ok svg { width: 18px; height: 18px; color: #16c784; }
.cert-stage {
  container-type: inline-size;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  aspect-ratio: 1040 / 734;
  overflow: hidden;
}
.cert-doc {
  position: relative;
  width: 1040px;
  height: 734px;
  transform-origin: top left;
  transform: scale(var(--cert-scale, 1));
  background:
    radial-gradient(800px 360px at 50% -10%, rgba(212,175,55,.16), transparent 50%),
    linear-gradient(180deg,#fffaf0 0%,#f7efe0 55%,#f3e8d2 100%);
  border-radius: 6px;
  overflow: hidden;
  color: #1b1610;
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
@supports (width: 1cqi) {
  .cert-doc { --cert-scale: calc(100cqi / 1040); }
}
.cert-doc-outer, .cert-doc-inner { position: absolute; pointer-events: none; }
.cert-doc-outer { inset: 14px; border: 3px solid #b0892c; }
.cert-doc-inner { inset: 20px; border: 1px solid rgba(176,137,44,.45); }
.cert-doc-c {
  position: absolute; width: 28px; height: 28px; z-index: 2; pointer-events: none;
  border: 3px solid #c9a227;
}
.cert-doc-c.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.cert-doc-c.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.cert-doc-c.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.cert-doc-c.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.cert-doc-mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.cert-doc-mark img { width: min(420px, 58%); height: auto; opacity: .07; }
.cert-doc-face { position: relative; z-index: 1; padding: 48px 56px 40px; text-align: center; }
.cert-doc-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cert-doc-brand img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #111;
  box-shadow: 0 0 0 3px #c9a227, 0 0 0 6px rgba(201,162,39,.25);
}
.cert-doc-brand strong {
  display: block; font-family: var(--display), Georgia, serif;
  letter-spacing: .18em; font-size: 18px; color: #1a1408;
}
.cert-doc-brand small {
  display: block; margin-top: 3px; letter-spacing: .22em;
  text-transform: uppercase; font-size: 10px; color: #8a7340;
}
.cert-doc-rule {
  width: 160px; height: 2px; margin: 14px auto 18px;
  background: linear-gradient(90deg, transparent, #c9a227 18%, #efe0a6 50%, #c9a227 82%, transparent);
}
.cert-doc-kicker { font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: #a07d22; font-weight: 700; }
.cert-doc-title {
  font-family: var(--display), Georgia, serif;
  font-size: 28px; letter-spacing: .16em;
  margin: 8px 0 18px; color: #1a1408;
}
.cert-doc-lead { font-size: 15px; color: #5c5346; font-style: italic; }
.cert-doc-name {
  font-family: var(--display), Georgia, serif;
  font-style: italic; font-weight: 700;
  font-size: 42px;
  margin: 14px 0 8px; color: #14110c;
}
.cert-doc-name-rule {
  width: min(520px, 80%); height: 1px; margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
}
.cert-doc-done { font-size: 14px; color: #5c5346; margin-bottom: 6px; }
.cert-doc-course {
  font-family: var(--display), Georgia, serif;
  font-size: 24px; font-weight: 700; color: #1a1408; margin: 0 0 8px;
}
.cert-doc-note { max-width: 62ch; margin: 10px auto 0; font-size: 12px; line-height: 1.55; color: #7a7164; }
.cert-doc-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 36px; text-align: left;
}
.cert-doc-bottom .is-right { text-align: right; }
.cert-doc-bottom span {
  display: block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: #8a7340; margin: 10px 0 4px;
}
.cert-doc-bottom span:first-child { margin-top: 0; }
.cert-doc-bottom strong { display: block; font-size: 14px; color: #1a1408; }
.cert-doc-bottom em {
  display: inline-block; font-style: normal; font-family: var(--display), Georgia, serif;
  padding-top: 8px; border-top: 1px solid #c9a227; min-width: 140px;
}
.cert-doc-foot { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding: 28px 0 8px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.footer-grid a { display: block; padding: 6px 0; color: #c9cdd4; min-height: 36px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 0 0 16px; color: var(--muted); font-size: 14px; max-width: 38ch; line-height: 1.55; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a,
.footer-social .brand-soc {
  width: 40px; height: 40px; min-height: 40px; padding: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: grid; place-items: center;
}
.footer-social .brand-soc-youtube { width: 44px; border-radius: 10px; }
.footer-social a:hover { filter: brightness(1.08); background: transparent; }
.footer-social svg { width: 100%; height: 100%; }
.footer-bar { border-top: 1px solid var(--border); margin-top: 12px; }
.legal-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 0 0; color: var(--muted); font-size: 12px; }
.footer-credit {
  margin: 10px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  max-width: 1240px;
}
.footer-credit a {
  color: #c9cdd4;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.footer-credit a:hover { color: #fff; border-color: var(--red); }
.contact-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  align-items: start;
}
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
.contact-form {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.contact-form .hero-btn { width: 100%; margin-top: 6px; }
.contact-side { display: grid; gap: 12px; align-content: start; padding: 8px 4px; }
.contact-side .hero-btn { width: 100%; }

.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(8,8,11,0.92); backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 10px; color: var(--muted); min-height: 44px;
}
.bottom-nav a.active { color: #fff; }
.bottom-nav a.active svg { color: var(--red); }

.empty {
  padding: 48px 20px; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: var(--radius);
}
.toast-wrap { position: fixed; right: 16px; top: 16px; z-index: 80; display: grid; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: #121218; min-width: 240px; }
.toast.success { border-color: rgba(22,199,132,.4); }
.toast.error { border-color: rgba(225,29,46,.45); }

.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 70; display: none; }
.modal { position: fixed; inset: auto 16px 0; max-height: 86vh; overflow: auto; z-index: 71; display: none; padding: 20px; border-radius: 20px 20px 0 0; }
.modal.open, .modal-bg.open { display: block; }
.modal.is-reel {
  padding: 12px;
  background: #050506;
  border: 1px solid var(--border);
}
.modal.is-reel h3 { display: none; }
@media (min-width: 768px) {
  .modal { inset: 10vh auto auto 50%; transform: translateX(-50%); width: min(720px, 92vw); border-radius: 20px; }
  .modal.is-reel {
    inset: 3vh auto auto 50%;
    width: min(380px, 92vw);
    max-height: 94vh;
  }
}

.skeleton { background: linear-gradient(90deg, #15151b 0%, #1d1d26 50%, #15151b 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.alert { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); margin: 12px 0; }
.alert-error { border-color: rgba(225,29,46,.4); background: var(--red-dim); }
.alert-ok { border-color: rgba(22,199,132,.4); background: var(--green-dim); }
.alert-warn { border-color: rgba(255,209,102,.35); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.pagination a, .pagination span {
  min-width: 40px; min-height: 40px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 10px;
}
.pagination .current { background: var(--red); border-color: var(--red); }

.lesson-layout { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 16px; }
.player { background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.curric { max-height: 70vh; overflow: auto; }
.sticky-buy {
  position: sticky; top: 80px;
}
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  padding: 10px 12px; background: rgba(5,5,6,.92); border-top: 1px solid var(--border); z-index: 55;
}

.cursor-dot { display: none; }

.risk-strip {
  font-size: 12px; color: var(--muted); text-align: center; padding: 10px 16px; border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .logo-text small { display: none; }
  .nav-desktop a { padding: 7px 10px; font-size: 12px; }
  .header-btn { min-height: 36px; padding: 0 12px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 1024px) {
  .hero-grid, .grid-4, .footer-grid, .lesson-layout, .pillars-row { grid-template-columns: 1fr 1fr; }
  .grid-3, .long-grid, .desk-grid, .course-grid, .learn-grid, .web-grid, .edu-grid { grid-template-columns: 1fr 1fr; }
  .learn-show .learn-grid { grid-template-columns: 1fr 1fr; }
  .faq-vids { grid-template-columns: repeat(3, 1fr); }
  .path-row { grid-template-columns: 1fr 1fr; }
  .edu-layout, .demo-band, .cta-desk, .contact-grid, .home-quotes, .home-steps { grid-template-columns: 1fr; }
  .voice-row { grid-template-columns: 22% minmax(0, 1fr); }
  .teach-rail { grid-template-columns: 1fr 1fr; }
  .footer-contact, .contact-facts { grid-template-columns: 1fr 1fr; }
  .reel-grid { grid-template-columns: repeat(4, 1fr); }
  .why-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars-row article:not(:last-child)::after { display: none; }
  .phone { flex: 0 0 200px; width: 200px; height: 430px; }
  .phone.alt { margin-left: -42px; top: 22px; }
}
@media (max-width: 768px) {
  .nav-desktop, .header-actions .hide-sm { display: none; }
  .bottom-nav { display: grid; }
  .hero { min-height: auto; padding: 16px 0 16px; }
  .hero-grid { gap: 12px; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .footer-grid, .lesson-layout, .section-head { grid-template-columns: 1fr; }
  .phone.alt { display: none; }
  .phone.main { right: 50%; transform: translateX(50%); }
  .site-footer { padding-bottom: 130px; }
  .mobile-cta { display: block; }
  body.has-mobile-cta { padding-bottom: 70px; }
  .desk-float { position: static; width: auto; margin-top: 12px; }
  .hero-visual, .phone-stack { display: none; min-height: 0; height: auto; }
  .phone { width: 200px; height: 400px; }
  .phone.main { left: 6%; }
  .phone.alt { right: 0; }
  .ticker-label { font-size: 11px; padding: 0 8px; letter-spacing: 0.1em; }
  .brand-soc { width: 26px; height: 26px; }
  .brand-soc-youtube { width: 30px; }
  .pillars-row { grid-template-columns: 1fr 1fr; }
  .path-row, .course-grid, .learn-grid, .web-grid { grid-template-columns: 1fr; }
  .faq-vids { grid-template-columns: 1fr 1fr; }
  .edu-mini { grid-template-columns: 24px 80px 1fr; }
  .edu-mini.is-text { grid-template-columns: 24px 1fr; }
  .demo-form { border-left: 0; border-top: 1px solid var(--border); }
  .cta-desk { padding: 28px 20px; }
  .footer-contact, .contact-facts { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: 1fr 1fr; }
  .long-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demat-videos { grid-template-columns: 1fr; }
  .desk-home-full .desk-grid[data-cols="1"],
  .desk-home-full .desk-grid[data-cols="2"] { grid-template-columns: 1fr; }
  .web-grid.is-single .web-tile { grid-template-columns: 1fr; }
  .web-grid.is-single .web-media { min-height: 0; aspect-ratio: 16/9; }
  .web-grid.is-single .web-body { padding: 18px; }
  .edu-grid { grid-template-columns: 1fr; }
  .desk-hist { grid-template-columns: 1fr 1fr; }
  .desk-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Auth / student / tables */
.auth-card { width: min(460px, calc(100% - 24px)); margin: 48px auto; padding: 28px; }
.dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
.side-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--muted); min-height: 44px; }
.side-nav a.active, .side-nav a:hover { background: rgba(255,255,255,0.04); color: #fff; }
.table-wrap { overflow: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; }
table.data th { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
body.is-protect .dash-grid { grid-template-columns: 1fr; }
body.is-protect .dash-grid > .side-nav { display: none; }
@media (max-width: 768px) {
  .dash-grid, .calc-grid { grid-template-columns: 1fr; }
  .side-nav { display: flex; overflow: auto; gap: 6px; }
  .side-nav a { flex: 0 0 auto; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-tile {
  position: relative;
  display: block; width: 100%; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden;
  background: #0b0b10; cursor: pointer; color: inherit; font: inherit; text-align: left;
  border: 1px solid var(--border);
}
.gallery-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.gallery-tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(5,5,6,.86));
  font-size: 12px; font-weight: 650; color: #fff;
}
.modal-photo img {
  width: 100%; max-height: min(78vh, 720px); object-fit: contain;
  border-radius: 14px; background: #000;
}

.share { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.share a, .share button {
  min-height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px;
  display: inline-flex; align-items: center; background: transparent; color: inherit;
  font: inherit; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: rgba(255,255,255,.28); color: #fff; }

.progress {
  height: 8px; background: #1a1a22; border-radius: 99px; overflow: hidden;
}
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff6b7a); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button { width: 100%; text-align: left; background: none; border: 0; padding: 16px 0; min-height: 48px; font-weight: 650; }
.faq-item .ans { display: none; color: var(--muted); padding-bottom: 14px; }
.faq-item.open .ans { display: block; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 22px; }

.teach { padding: 28px 0 72px; }
.teach-head { max-width: none; margin-bottom: 28px; }
.teach-head h2 {
  margin: 8px 0 10px;
  white-space: nowrap;
  font-size: clamp(1.55rem, 2.35vw, 2.15rem);
  letter-spacing: -0.03em;
}
.teach-head p { margin: 0; color: #c8ced6; font-size: 16px; line-height: 1.5; }
.teach-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.teach-rail li {
  position: relative;
  min-height: 0;
  padding: 22px 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.teach-rail li::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
}
.teach-rail li:nth-child(odd) { border-color: rgba(225,29,46,.22); }
.teach-rail li:nth-child(even) { border-color: rgba(22,199,132,.22); }
.teach-rail li:nth-child(odd)::before { background: linear-gradient(90deg, var(--red), transparent); }
.teach-rail li:nth-child(even)::before { background: linear-gradient(90deg, var(--green), transparent); }
.teach-rail li:hover { transform: translateY(-3px); }
.teach-rail li:nth-child(odd):hover {
  border-color: rgba(225,29,46,.4);
  box-shadow: 0 16px 36px rgba(225,29,46,.12);
}
.teach-rail li:nth-child(even):hover {
  border-color: rgba(22,199,132,.4);
  box-shadow: 0 16px 36px rgba(22,199,132,.12);
}
.teach-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.teach-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.teach-ico svg { width: 18px; height: 18px; }
.teach-rail li:nth-child(odd) .teach-ico {
  background: var(--red-dim);
  color: #ff6b7a;
  box-shadow: 0 0 0 1px rgba(225,29,46,.2);
}
.teach-rail li:nth-child(even) .teach-ico {
  background: var(--green-dim);
  color: var(--green);
  box-shadow: 0 0 0 1px rgba(22,199,132,.2);
}
.teach-rail em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
}
.teach-rail li:nth-child(odd) em { color: rgba(225,29,46,.7); }
.teach-rail li:nth-child(even) em { color: rgba(22,199,132,.7); }
.teach-rail h3 { margin: 0 0 8px; font-size: 1.12rem; }
.teach-rail p { margin: 0; color: #c8ced6; font-size: 15px; line-height: 1.5; }

.pillars { padding: 28px 0 56px; }
.pillars .section-head { margin-bottom: 22px; }
.home-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 22px 22px 22px 0;
  border-right: 1px solid var(--border);
}
.home-steps li:first-child { padding-left: 0; }
.home-steps li:last-child { border-right: 0; padding-right: 0; }
.home-steps b {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 400; color: var(--red);
  line-height: 1; min-width: 1.2em;
}
.home-steps h3 { margin: 2px 0 6px; font-size: 1.08rem; }
.home-steps p { margin: 0; color: #c8ced6; font-size: 15px; line-height: 1.5; }
.home-quotes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
}
.home-quotes blockquote {
  margin: 0; padding: 0 0 0 16px;
  border-left: 2px solid var(--red);
  background: none; box-shadow: none;
}
.home-quotes p { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.55; color: #e8eaee; }
.home-quotes cite { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 650; }
.voice-home { padding: 36px 0 56px; }
.voice-row {
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 340px;
}
.voice-label {
  display: grid;
  align-content: center;
  padding: 8px 8px 8px 4px;
  border-right: 1px solid var(--border);
}
.voice-label h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}
.voice-marquee {
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 94%, transparent 100%);
}
.voice-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.voice-card {
  flex: 0 0 168px;
  width: 168px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.voice-card .reel-frame { border-radius: 16px; }
.voice-card:hover .reel-play { transform: scale(1.08); }
.voice-card:hover img { transform: scale(1.04); }
.voice-name {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  font-size: 12px; font-weight: 650; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pillars-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pillars-row article {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    #0b0b10;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pillars-row article::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}
.pillars-row article:nth-child(even)::before {
  background: linear-gradient(90deg, var(--green), transparent 70%);
}
.pillars-row article:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, 0.38);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.pillars-row article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px; right: -10px;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, rgba(225,29,46,.45), transparent);
  z-index: 1;
}
.pillar-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.pillar-num {
  font-family: var(--display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red);
}
.pillar-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--red);
  background: var(--red-dim);
  border: 1px solid rgba(225, 29, 46, 0.28);
}
.pillars-row article:nth-child(even) .pillar-num,
.pillars-row article:nth-child(even) .pillar-icon { color: var(--green); }
.pillars-row article:nth-child(even) .pillar-icon {
  background: var(--green-dim);
  border-color: rgba(22, 199, 132, 0.28);
}
.pillar-icon svg { width: 18px; height: 18px; }
.pillars-row h3 { font-size: 1.2rem; margin: 0 0 8px; }
.pillars-row p { margin: 0; color: #d4d8df; font-size: 16px; line-height: 1.55; font-weight: 500; }
.path-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.path-tile {
  min-width: 0;
  position: relative;
  padding: 16px 14px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
  display: grid;
  gap: 6px;
  min-height: 0;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.path-tile::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}
.path-tile:nth-child(even)::before { background: linear-gradient(90deg, var(--green), transparent 70%); }
.path-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, .38);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.path-k { color: var(--red); font-size: 11px; letter-spacing: 0.18em; font-weight: 700; }
.path-tile:nth-child(even) .path-k,
.path-tile:nth-child(even) .path-ico { color: var(--green); }
.path-tile:nth-child(even) .path-ico {
  background: var(--green-dim);
  border-color: rgba(22, 199, 132, .28);
}
.path-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--red);
  background: var(--red-dim);
  border: 1px solid rgba(225, 29, 46, .28);
  margin-left: auto;
}
.path-tile .path-ico { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; }
.path-ico svg { width: 16px; height: 16px; }
.path-tile h3 { margin: 14px 0 0; font-size: 1.05rem; }
.path-tile p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.course-tile {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  box-shadow: inset 0 3px 0 var(--course-accent, transparent);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.course-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, .38);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.course-tile-link { display: grid; color: inherit; }
.course-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0b0b10;
  overflow: hidden;
}
.course-media img, .course-media .media-ph { width: 100%; height: 100%; object-fit: cover; }
.course-media .badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(5,5,6,.82); backdrop-filter: blur(8px);
}
.course-off {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center;
  min-height: 26px; padding: 0 10px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 8px 18px rgba(225, 29, 46, .35);
}
.course-off-inline {
  display: inline-flex; align-items: center;
  margin-left: 8px; padding: 2px 8px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  vertical-align: middle;
}
.course-body { padding: 16px 16px 18px; display: grid; gap: 8px; }
.course-body h3 { font-size: 1.08rem; line-height: 1.25; }
.course-body p { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted-2); font-size: 12px; letter-spacing: .04em; }
.course-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.course-foot .price { font-size: 1rem; }
.course-foot .price s { color: var(--muted-2); margin-right: 8px; font-weight: 500; }
.course-go, .learn-go {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
}
.course-go svg, .learn-go svg { width: 14px; height: 14px; }

.learn-grid, .web-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.web-grid.is-single {
  grid-template-columns: 1fr;
}
.web-grid.is-single .web-tile {
  grid-template-columns: 1.35fr .85fr;
  min-height: 340px;
}
.web-grid.is-single .web-media {
  aspect-ratio: auto;
  min-height: 340px;
}
.web-grid.is-single .web-body {
  padding: 32px 36px;
  align-content: center;
  gap: 14px;
}
.web-grid.is-single .web-body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.web-grid.is-single .web-body p { -webkit-line-clamp: 3; font-size: 15px; }
.web-meta {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.web-meta li {
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
  font-size: 12px; letter-spacing: .04em; color: #d7dbe2;
}
.web-go { width: fit-content; margin-top: 6px; }
.faq-vids {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.learn-tile, .web-tile {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  display: grid;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.learn-tile:hover, .web-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, .38);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.learn-media, .web-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0b10;
  overflow: hidden;
}
.learn-media img, .web-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.learn-tile:hover img, .web-tile:hover img { transform: scale(1.04); }
.learn-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.6rem; letter-spacing: .14em;
  color: rgba(255,255,255,.28);
  background: radial-gradient(circle at 30% 20%, rgba(225,29,46,.28), #111);
}
.learn-media .reel-play { width: 44px; height: 44px; }
.learn-body, .web-body { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; }
.learn-body h3, .web-body h3 { font-size: 1.05rem; line-height: 1.3; }
.learn-body p, .web-body p { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.demo-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(225,29,46,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.demo-copy { padding: 36px 32px; }
.demo-copy h2 { margin: 8px 0 10px; }
.demo-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.demo-list li { display: flex; align-items: center; gap: 12px; color: #e8eaef; font-size: 15px; }
.demo-list .path-ico { margin: 0; flex: 0 0 auto; position: static; }
.demo-form {
  padding: 28px 26px;
  background: rgba(8,8,12,.72);
  border-left: 1px solid var(--border);
  display: grid;
  gap: 12px;
  align-content: start;
}
.demo-field { display: grid; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.demo-form .hero-btn { width: 100%; margin-top: 6px; }

.web-date {
  position: absolute; left: 12px; bottom: 12px;
  min-width: 56px; padding: 8px 10px;
  border-radius: 12px;
  background: rgba(5,5,6,.88);
  border: 1px solid rgba(225,29,46,.4);
  text-align: center;
  color: #fff;
}
.web-date strong { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.web-date em { font-style: normal; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.edu-layout {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 16px;
  align-items: stretch;
}
.edu-feature {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #101014;
  display: grid;
  grid-template-rows: 1fr auto;
  transition: border-color .2s ease;
}
.edu-feature:hover { border-color: var(--border-strong); }
.edu-media { min-height: 260px; background: #0b0b10; }
.edu-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.edu-body { padding: 22px 22px 24px; display: grid; gap: 10px; }
.edu-body h3 { font-size: 1.75rem; line-height: 1.22; letter-spacing: -0.03em; }
.edu-body p { margin: 0; color: #c8ced6; font-size: 1.05rem; line-height: 1.6; }
.edu-meta {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  font-size: 14px; color: #c8ced6; font-weight: 600;
}
.edu-side { display: grid; gap: 10px; align-content: start; }
.edu-side-label {
  margin: 0 2px 2px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #d0d5dc; font-weight: 700;
}
.edu-mini {
  display: grid;
  grid-template-columns: 28px 96px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #101014;
  align-items: center;
  transition: border-color .2s ease;
}
.edu-mini:hover { border-color: var(--border-strong); }
.edu-mini-num {
  font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--red);
}
.edu-mini-media {
  aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: #0b0b10;
}
.edu-mini.is-text { grid-template-columns: 28px 1fr; }
.edu-mini-media img { width: 100%; height: 100%; object-fit: cover; }
.edu-mini-meta { margin: 0 0 4px; font-size: 13px; color: #c8ced6; display: flex; gap: 8px; font-weight: 600; }
.edu-mini h3 { font-size: 1.08rem; margin: 0; line-height: 1.35; }
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (min-width: 1025px) {
  .edu-grid[data-cols="5"] {
    grid-template-columns: repeat(6, 1fr);
  }
  .edu-grid[data-cols="5"] > * { grid-column: span 2; }
  .edu-grid[data-cols="5"] > :nth-child(4) { grid-column: 2 / span 2; }
  .edu-grid[data-cols="5"] > :nth-child(5) { grid-column: 4 / span 2; }
}
.edu-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.edu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 46, .38);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.edu-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0b10;
  overflow: hidden;
}
.edu-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.edu-card:hover img { transform: scale(1.04); }
.edu-card-body { padding: 16px 16px 18px; display: grid; gap: 8px; align-content: start; }
.edu-card-body h3 { font-size: 1.15rem; line-height: 1.28; }
.edu-card-body p {
  margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.faq-vid {
  display: grid; gap: 8px; padding: 0; border: 0; background: none;
  text-align: left; color: inherit; cursor: pointer;
}
.faq-vid-frame {
  position: relative; display: block; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden;
  background: #0b0b10;
  border: 1px solid var(--border);
}
.faq-vid-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.faq-vid:hover .faq-vid-frame { border-color: rgba(225,29,46,.45); }
.faq-vid:hover img { transform: scale(1.05); }
.faq-vid .reel-play { width: 36px; height: 36px; }
.faq-vid .reel-play svg { width: 14px; height: 14px; }
.faq-vid-q {
  font-family: var(--display);
  font-size: .82rem; line-height: 1.3; font-weight: 650;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.cta-desk {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  padding: 40px 36px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(520px 240px at 0% 0%, rgba(225,29,46,.2), transparent 55%),
    radial-gradient(420px 200px at 100% 100%, rgba(22,199,132,.12), transparent 50%),
    linear-gradient(180deg, #0c0c12, #08080c);
  overflow: hidden;
  position: relative;
}
.cta-desk::after {
  content: "";
  position: absolute; right: 8%; bottom: 0; width: 42%; height: 70px; opacity: .22; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--red) 8px 10px, transparent 10px 18px, var(--green) 18px 20px, transparent 20px 28px);
  clip-path: polygon(0 70%, 12% 40%, 24% 55%, 36% 22%, 50% 38%, 64% 18%, 78% 42%, 90% 28%, 100% 48%, 100% 100%, 0 100%);
}
.cta-desk-copy { position: relative; z-index: 1; }
.cta-desk h2 { margin: 8px 0 10px; }
.cta-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cta-chips li {
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 12px; letter-spacing: .06em; color: #e8eaef;
}
.cta-desk-actions { display: grid; gap: 10px; position: relative; z-index: 1; }
.cta-desk-actions .hero-btn { width: 100%; }

body.is-home .candles-bg { display: none; }
body.is-home .market-bg {
  background:
    radial-gradient(700px 420px at 82% 28%, rgba(0, 255, 106, 0.1), transparent 58%),
    radial-gradient(600px 360px at 12% 8%, rgba(0, 255, 106, 0.05), transparent 50%),
    linear-gradient(180deg, #050506 0%, #050506 100%);
}
body.is-home .market-bg::before { opacity: .12; }
body.is-home .cta-desk::after { display: none; }
body.is-home .cta-desk {
  background: #0c0c10;
}
body.is-home .hero { padding-bottom: 28px; }
body.is-home .section { padding: 24px 0; }
body.is-home .section-head { margin-bottom: 14px; }
body.is-home .section-more { margin-top: 14px; }
body.is-home .news-strip { margin-bottom: 24px; }
body.is-home .pillars { padding: 16px 0 20px; }

.section-head .muted { margin: 8px 0 0; max-width: 52ch; font-size: 1.05rem; line-height: 1.55; color: #c8ced6; }

.media-ph {
  height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(225,29,46,.25), #111);
  color: #fff; letter-spacing: 0.14em; font-size: 12px;
}
.news-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 16px 18px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.news-copy { flex: 0 1 auto; min-width: 180px; }
.news-copy .eyebrow { margin: 0 0 4px; }
.news-copy p { margin: 0; }
.news-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 280px;
  max-width: 460px;
  margin-left: 0;
}
.news-row .input { min-height: 44px; width: auto; flex: 1 1 auto; }
.news-row .hero-btn { min-height: 44px; height: 44px; flex: 0 0 auto; padding: 0 18px; align-self: center; }
@media (max-width: 768px) {
  .news-strip { padding: 14px; }
  .news-row { max-width: none; }
  .footer-cta-row { grid-template-columns: 1fr 1fr; }
}

/* Inner pages: lesson / desk / course */
.app-back {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--muted); font-size: 13px; font-weight: 600;
  min-height: 40px; margin: 8px 0 6px;
}
.app-back svg { width: 18px; height: 18px; }
.app-back:hover { color: #fff; }

.lesson-app, .desk-app, .course-app { padding: 8px 0 48px; }
.lesson-head { margin-bottom: 16px; }
.lesson-head h1 { margin: 10px 0 0; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.lesson-lede { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 52ch; line-height: 1.5; }
.lesson-cover {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: #0b0b10; padding: 0; color: inherit;
  margin-bottom: 16px;
}
.lesson-cover img { width: 100%; height: 100%; object-fit: cover; }
.lesson-cover.is-play { cursor: pointer; font: inherit; text-align: left; }
.lesson-cover-ph {
  aspect-ratio: auto; min-height: 180px;
  display: grid; place-content: center; gap: 8px; text-align: center;
  background:
    radial-gradient(420px 180px at 20% 0%, rgba(225,29,46,.22), transparent 55%),
    linear-gradient(180deg, #14141c, #0a0a0e);
}
.lesson-cover-ph strong {
  font-family: var(--display); letter-spacing: 0.18em; font-size: 13px;
}
.lesson-note {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.lesson-note .eyebrow { margin-bottom: 10px; }
.lesson-note .content { font-size: 1.12rem; line-height: 1.65; color: #e8eaef; }
.lesson-note .content p { margin: 0 0 0.8em; }
.lesson-note .content p:last-child { margin-bottom: 0; }
.lesson-more { margin-top: 28px; }
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rel-tile {
  display: grid; gap: 8px; align-content: start;
  padding: 16px;
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  min-width: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.rel-tile:hover { border-color: rgba(225,29,46,.38); transform: translateY(-2px); }
.rel-tile h3 { font-size: 1rem; line-height: 1.3; margin: 0; }
.lesson-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 22px;
}
.lesson-cta .hero-btn { width: 100%; }

.learn-show { padding: 8px 0 56px; }
.learn-crumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 10px 0 18px; font-size: 13px; color: var(--muted);
}
.learn-crumb a { color: var(--muted); }
.learn-crumb a:hover { color: #fff; }
.learn-crumb span:last-child {
  color: #d7dbe2;
  max-width: 42ch;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.learn-show-head { max-width: 760px; margin-bottom: 20px; }
.learn-show-head h1 { margin: 10px 0 0; font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
.learn-show-cover {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); background: #0b0b10; padding: 0; color: inherit;
  margin-bottom: 16px;
}
.learn-show-cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.66));
  pointer-events: none;
}
.learn-show-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.learn-show-cover.is-play { cursor: pointer; font: inherit; text-align: left; }
.learn-show-cover.is-play:hover img { transform: scale(1.04); }
.learn-show-cover.is-play:hover .reel-play { transform: scale(1.08); }
.learn-show-cover .reel-play { width: 68px; height: 68px; }
.learn-show-playlabel {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(5,5,6,.82); border: 1px solid rgba(255,255,255,.14);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.learn-ritual {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.learn-ritual li {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.learn-ritual em {
  font-family: var(--display); font-style: normal;
  font-size: 1.15rem; color: #ff8a93; letter-spacing: .04em;
}
.learn-ritual span { font-size: 14px; color: #e8eaef; }
.learn-show-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.learn-show-main .lesson-note { margin: 0; }
.learn-show-main .lesson-note .content h2 {
  margin: 1.2em 0 0.45em; font-size: 1.25rem;
}
.learn-show-main .lesson-note .content h2:first-child { margin-top: 0; }
.learn-show-main .lesson-note .content ol,
.learn-show-main .lesson-note .content ul {
  margin: 0 0 1em; padding-left: 1.2em; color: #e8eaef;
}
.learn-show-main .lesson-note .content li { margin: 0.35em 0; }
.learn-callout {
  margin: 14px 0 18px; padding: 16px 18px;
  border: 1px solid rgba(225,29,46,.32);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(225,29,46,.12), rgba(255,255,255,.02));
}
.learn-callout p { margin: 0 0 0.45em; }
.learn-callout p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.95em; }
.learn-show-share { margin-top: 18px; }
.learn-show-side { display: grid; gap: 12px; }
@media (min-width: 961px) {
  .learn-show-side { position: sticky; top: 96px; }
}
.learn-side-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.learn-side-card h3 { margin: 6px 0 12px; font-size: 1.05rem; }
.learn-side-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.learn-side-steps li {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start;
  color: #d7dbe2; font-size: 14px; line-height: 1.45;
}
.learn-side-steps b {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(225,29,46,.16); color: #ff8a93;
  font-size: 11px; letter-spacing: 0;
}
.learn-side-card.is-link { display: grid; gap: 6px; transition: border-color .2s ease, transform .2s ease; }
.learn-side-card.is-link:hover { border-color: rgba(225,29,46,.4); transform: translateY(-2px); }
.learn-show .lesson-more { margin-top: 36px; }
.learn-show .learn-grid { grid-template-columns: repeat(3, 1fr); }
.learn-show .lesson-cta { margin-top: 28px; }

@media (max-width: 960px) {
  .learn-show-grid { grid-template-columns: 1fr; }
  .learn-ritual { grid-template-columns: 1fr; }
}

.desk-app-head h1 { margin: 6px 0 8px; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.desk-app .desk-chips { margin: 16px 0 18px; }
.desk-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.desk-reviewed-head { margin-top: 40px; }

.course-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
  gap: 22px;
  align-items: center;
  margin: 8px 0 28px;
}
.course-hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: #0b0b10;
}
.course-hero-media img, .course-hero-media .media-ph { width: 100%; height: 100%; object-fit: cover; }
.course-hero-media .badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(5,5,6,.82); backdrop-filter: blur(8px);
}
.course-hero-copy h1 { margin: 0 0 10px; font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.course-hero-cta { margin-top: 18px; }
.course-facts {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.course-facts li {
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 12px; letter-spacing: .04em; color: #e8eaef;
}
.course-app-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}
.course-block { margin-bottom: 28px; }
.course-block h2 { margin: 6px 0 12px; font-size: 1.35rem; }
.learn-pills {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.learn-pills li {
  padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,.02);
  font-size: 14px;
}
.req-list { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.curric-mod {
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  margin-bottom: 10px; overflow: hidden;
}
.curric-mod summary {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; cursor: pointer; list-style: none;
  font-weight: 650;
}
.curric-mod summary::-webkit-details-marker { display: none; }
.curric-mod summary svg { width: 16px; height: 16px; margin-left: auto; color: var(--muted); transition: transform .18s ease; }
.curric-mod[open] summary svg { transform: rotate(180deg); }
.curric-num {
  font-family: var(--display); font-size: 11px; letter-spacing: .16em;
  color: var(--red); flex: 0 0 auto;
}
.curric-mod-title { flex: 1; min-width: 0; }
.curric-count {
  font-size: 11px; color: var(--muted); letter-spacing: .08em;
  padding: 3px 8px; border: 1px solid var(--border); border-radius: 999px;
}
.curric-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-top: 1px solid var(--border);
}
.curric-ico {
  width: 32px; height: 32px; border-radius: 8px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--red-dim); color: var(--red);
  border: 1px solid rgba(225,29,46,.28);
}
.curric-ico svg { width: 14px; height: 14px; }
.curric-copy { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.curric-copy strong { font-size: 0.95rem; font-weight: 650; }
.curric-go {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.curric-lock { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.course-buy-card {
  padding: 20px;
  border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  display: grid; gap: 10px;
}
.course-buy-card .price { font-size: 1.7rem; }
.course-buy-card .hero-btn { width: 100%; }
.app-buybar {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  z-index: 55;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(8, 8, 11, 0.94);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
}
.app-buybar-price { display: grid; gap: 2px; min-width: 0; }
.app-buybar-price strong { font-size: 1.08rem; }
.app-buybar-price span { font-size: 11px; color: var(--muted); }
.app-buybar .hero-btn { flex: 1 1 auto; min-height: 44px; max-width: 200px; }

@media (max-width: 1024px) {
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .course-hero, .course-app-grid { grid-template-columns: 1fr; }
  .notes-feature { grid-template-columns: 1fr; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .course-grid, .learn-grid { grid-template-columns: 1fr 1fr; }
}

/* Blog / notes */
.notes-app, .note-app { padding: 12px 0 48px; }
.inner-head { margin-bottom: 16px; }
.inner-head h1 { margin: 6px 0 8px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.notes-head { margin-bottom: 16px; }
.notes-head h1 { margin: 6px 0 8px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.notes-search {
  position: relative;
  margin-bottom: 14px;
}
.notes-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted-2); pointer-events: none;
}
.notes-search .input { padding-left: 42px; }
.notes-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  margin: 8px 0 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  min-width: 0;
}
.notes-feature-media {
  position: relative; min-height: 220px; background: #0b0b10;
}
.notes-feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.notes-feature-media .badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(5,5,6,.82); backdrop-filter: blur(8px);
}
.notes-feature-copy { padding: 22px 22px 20px; display: grid; gap: 8px; align-content: center; }
.notes-feature-copy h2 { font-size: 1.45rem; margin: 0; }
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.notes-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  display: grid;
  transition: transform .2s ease, border-color .2s ease;
}
.notes-card:hover { transform: translateY(-3px); border-color: rgba(225,29,46,.38); }
.notes-card-media { position: relative; aspect-ratio: 16/9; background: #0b0b10; overflow: hidden; }
.notes-card-media img { width: 100%; height: 100%; object-fit: cover; }
.notes-card-body { padding: 14px 14px 16px; display: grid; gap: 8px; }
.notes-card-body h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.notes-card-body p {
  margin: 0; color: var(--muted); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.note-head { margin-bottom: 16px; max-width: 760px; margin-inline: auto; }
.note-head h1 { margin: 10px 0 0; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.note-meta {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.note-meta li {
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}
.note-cover {
  max-width: 760px; margin: 0 auto 18px;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 16/9; background: #0b0b10;
}
.note-cover img { width: 100%; height: 100%; object-fit: cover; }
.note-app .lesson-note { max-width: 760px; margin: 0 auto; }
.note-share, .note-tags { max-width: 760px; margin: 18px auto 0; }
.note-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.note-course {
  display: grid; gap: 6px;
  max-width: 760px; margin: 18px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.note-course strong { font-size: 1.05rem; }
.note-app .lesson-more, .note-app .lesson-cta { max-width: 760px; margin-left: auto; margin-right: auto; }

.about-app, .catalog-app, .learn-app, .gallery-app, .legal-app, .contact-page { padding: 8px 0 48px; }
.about-story {
  padding: 20px 20px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  margin-bottom: 14px;
}
.about-story p { margin: 0; font-size: 1.12rem; line-height: 1.65; color: #e8eaef; }
.about-story .eyebrow { margin-bottom: 10px; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.about-val {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.about-val .path-ico { position: static; margin: 0; flex: 0 0 auto; }
.about-val h2 { margin: 0 0 6px; font-size: 1rem; }
.about-val p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.about-pro {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  margin-bottom: 18px;
}
.about-pro img, .about-pro-ph {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: var(--red-dim); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 0 0 2px rgba(225,29,46,.45);
}
.about-pro strong { display: block; font-size: 1.08rem; }
.about-pro p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.catalog-app .course-grid, .learn-app .learn-grid { margin-top: 4px; }

/* —— App shell: phones & small tablets —— */
@media (max-width: 768px) {
  :root {
    --header-h: 72px;
    --ticker-h: 34px;
  }

  .hide-mobile { display: none !important; }

  .container,
  .container-wide { width: calc(100% - 24px); }

  body {
    padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
    line-height: 1.4;
    -webkit-tap-highlight-color: rgba(225, 29, 46, 0.16);
  }

  /* Compact app header — shrinks on scroll */
  .site-header {
    height: calc(var(--header-h) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  .site-header.is-scrolled {
    height: calc(52px + env(safe-area-inset-top));
  }
  .header-inner {
    display: flex;
    gap: 8px;
    width: calc(100% - 20px);
  }
  .site-header .logo img {
    height: 40px;
    width: 40px;
    box-shadow: none;
    border-width: 1.5px;
  }
  .site-header.is-scrolled .logo img {
    height: 32px;
    width: 32px;
  }
  .logo { gap: 10px; }
  .logo-text { gap: 0; }
  .logo-text small { display: none; }
  .logo-text strong {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  .header-actions .header-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
  }
  .acct-menu.is-header .acct-name,
  .acct-menu.is-header .acct-caret { display: none; }
  .acct-menu.is-header .acct-menu-btn { padding: 0; border: 0; background: transparent; }
  .acct-menu.is-header .acct-avatar { width: 36px; height: 36px; }
  .site-search {
    display: none;
    position: fixed;
    left: 12px; right: 12px;
    top: calc(var(--header-h) + env(safe-area-inset-top) + 8px);
    width: auto;
    z-index: 80;
  }
  .site-search.is-open { display: flex; }
  .header-search-btn, .hide-lg { display: grid; }
  .header-menu-btn {
    display: grid;
    width: 36px; height: 36px; border-radius: 10px;
  }
  .header-menu-btn svg { width: 18px; height: 18px; }
  body.nav-open { overflow: hidden; }

  .ticker-wrap { height: var(--ticker-h); }
  .ticker-label { font-size: 9px; padding: 0 6px 0 8px; letter-spacing: 0.08em; }
  .ticker-pill { font-size: 9px; min-height: 22px; padding: 0 10px; gap: 6px; }
  .ticker-socials { display: flex; gap: 6px; padding: 0 8px 0 10px; }
  .ticker-item { font-size: 13px; gap: 8px; }

  /* Hero: board first (candles + logo), landscape video rail */
  .hero { padding: 8px 0 6px; overflow: visible; }
  .hero-reel-wrap { height: 80px; margin-top: 12px; }
  .hero-reel-card { flex: 0 0 142px; width: 142px; height: 80px; }
  .hero-visual,
  .phone-stack { display: none !important; }
  .teach-head h2 { white-space: normal; font-size: 1.45rem; }
  .teach { padding: 18px 0 28px; }
  .teach-rail { grid-template-columns: 1fr 1fr; gap: 10px; }
  .teach-rail li { min-height: 0; padding: 16px 14px 18px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }
  .hero-copy h1 { width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .hero-kicker {
    display: inline-flex;
    align-self: center;
    margin: 0 auto;
    padding: 5px 12px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .hero-board {
    padding: 14px 12px 12px;
    border-radius: 16px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .hero-board-kicker {
    font-size: clamp(0.7rem, 3.3vw, 0.88rem);
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 0 2px;
  }
  .hero-board-art {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 64px;
    min-width: 0;
    width: 100%;
    gap: 6px;
    margin: 6px 0 2px;
  }
  .hero-board-candles {
    min-width: 0;
    overflow: hidden;
    height: 58px;
    gap: 1px;
  }
  .hero-board-candles .hero-stick:nth-child(n+12) { display: none; }
  .hero-stick { max-width: 4px; min-width: 0; }
  .hero-board-logo {
    width: 64px;
    height: 64px;
    border-width: 2px;
    box-shadow: 0 0 0 2px rgba(225, 29, 46, .7), 0 0 16px rgba(0, 255, 106, .4);
  }
  .hero-board-main {
    font-size: clamp(1.15rem, 5.6vw, 1.45rem);
    margin: 4px 0 12px;
    overflow-wrap: anywhere;
  }
  .hero-break { display: block; }
  .hero-board-phones {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-phone-pill {
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    padding: 0 12px;
    font-size: 13px;
    gap: 8px;
    white-space: nowrap;
  }
  .hero-phone-pill svg { width: 12px; height: 12px; flex: 0 0 auto; }
  .hero-arc {
    display: block;
    width: 100%;
    min-height: 0;
    min-width: 0;
    order: 0;
  }
  .hero-arc-nav,
  .hero-arc-mark { display: none !important; }
  .hero-arc-stage {
    display: flex;
    height: auto !important;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    gap: 10px;
    perspective: none;
    transform: none;
    transform-style: flat;
    margin-inline: -12px;
    padding: 2px 12px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .hero-arc-stage::-webkit-scrollbar { display: none; }
  .hero-arc-card,
  .hero-arc-card.is-center {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin-left: 0 !important;
    flex: 0 0 82vw;
    width: 82vw !important;
    max-width: 340px;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 106, .32);
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
    scroll-snap-align: start;
    box-shadow: 0 0 16px rgba(0, 255, 106, .16);
    background: #0b0b10;
  }
  .hero-arc-play {
    background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.82));
  }
  .hero-arc-play svg {
    width: 42px; height: 42px;
    padding: 11px;
    margin-left: 2px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 6px 18px rgba(225, 29, 46, .5);
  }
  .hero-arc-cap {
    left: 10px; right: 10px; bottom: 8px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
    line-height: 1.25;
  }

  /* Tight sections, less copy */
  .section { padding: 26px 0; }
  .pillars { padding: 16px 0 22px; }
  .home-steps { grid-template-columns: 1fr; }
  .home-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
  }
  .home-steps li:last-child { border-bottom: 0; }
  .home-quotes { grid-template-columns: 1fr; gap: 18px; }
  .voice-home { padding: 20px 0 32px; }
  .voice-row {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
  }
  .voice-label {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 12px;
  }
  .voice-label h2 { font-size: 1.35rem; }
  .voice-card { flex-basis: 132px; width: 132px; }
  .hero-lead { font-size: 0.98rem; }
  .section-head h2 { font-size: 1.5rem; line-height: 1.2; }
  .clips-section .section-more,
  .longs-section .section-more { display: none; }
  .section-head {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 12px;
  }
  .section-head > div { min-width: 0; }
  .path-tile p,
  .learn-body p,
  .course-body p,
  .web-body p,
  .course-body .eyebrow { display: none; }
  .section-head .hero-btn,
  .section-head .btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(8,8,11,.85);
  }
  .eyebrow { font-size: 12px; letter-spacing: 0.12em; }
  .eyebrow::before { width: 12px; }

  /* Horizontal snap rails (app cards) */
  .app-rail {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    margin-inline: -12px;
    padding: 2px 12px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
  }
  .app-rail::-webkit-scrollbar { display: none; }
  .app-rail > * {
    flex: 0 0 min(78vw, 300px);
    width: min(78vw, 300px);
    max-width: min(78vw, 300px);
    scroll-snap-align: start;
    min-width: 0;
  }
  .faq-vids.app-rail > * {
    flex-basis: 46vw;
    width: 46vw;
    max-width: 46vw;
  }
  .reel-grid.app-rail > * {
    flex-basis: 42vw;
    width: 42vw;
    max-width: 42vw;
  }
  .pillars-row.app-rail > * {
    flex-basis: 70vw;
    width: 70vw;
    max-width: 70vw;
    padding: 16px 14px 18px;
  }
  .pillars-row h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .pillars-row p { font-size: 14px; display: block; }
  .pillar-top { margin-bottom: 12px; }

  /* LEARN shortcuts: 2×2 tiles */
  .path-row.app-shortcuts {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    margin-bottom: 14px;
  }
  .path-tile {
    min-height: 86px;
    padding: 12px;
    border-radius: 14px;
  }
  .path-tile h3 { margin-top: 10px; font-size: 0.92rem; }
  .path-tile .path-ico { width: 30px; height: 30px; top: 10px; right: 10px; }

  .course-media { aspect-ratio: 16 / 9; }
  .course-body { padding: 12px 12px 14px; gap: 6px; }
  .course-body h3 { font-size: 0.98rem; }
  .learn-body, .web-body { padding: 12px; gap: 6px; }
  .learn-body h3, .web-body h3 { font-size: 0.95rem; }
  .learn-go { font-size: 10px; }

  .app-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -12px 10px;
    padding: 0 12px 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .app-chips::-webkit-scrollbar { display: none; }
  .app-chips .tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
  }

  .desk-card { padding: 14px; }
  .desk-sym { font-size: 1.05rem; }
  .stat-card { padding: 16px 10px; }
  .stat-card .num { font-size: 1.7rem; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr !important; gap: 8px; }

  .demo-band {
    grid-template-columns: 1fr !important;
    border-radius: 16px;
  }
  .demo-copy { padding: 20px 16px 8px; }
  .demo-copy h2 { margin: 4px 0 6px; }
  .demo-form {
    padding: 16px;
    border-left: 0;
    border-top: 1px solid var(--border);
    gap: 10px;
  }
  .demo-form .hero-btn { min-height: 48px; }

  .edu-layout { grid-template-columns: 1fr !important; gap: 10px; }
  .edu-media, .edu-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .edu-body { padding: 16px 16px 18px; }
  .edu-body h3 { font-size: 1.28rem; }
  .edu-body p { display: block; font-size: 15px; }
  .edu-mini {
    grid-template-columns: 22px 72px 1fr;
    padding: 10px;
    gap: 10px;
  }
  .edu-mini h3 { font-size: 1rem; margin: 0; }
  .edu-mini.is-text { grid-template-columns: 22px 1fr; }

  .faq-vid { gap: 6px; }
  .faq-vid-q { font-size: 0.75rem; -webkit-line-clamp: 2; }
  .faq-vid .reel-play { width: 40px; height: 40px; }
  .section-more { margin-top: 14px; }
  .section-more .hero-btn { min-height: 46px; width: 100%; border-radius: 12px; }

  .cta-desk {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 20px 16px;
    border-radius: 16px;
  }
  .cta-desk h2 { margin: 4px 0 6px; }
  .cta-desk-actions { gap: 8px; }
  .cta-desk-actions .hero-btn { min-height: 46px; }

  .news-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 16px;
  }
  .news-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
  }
  .news-row .input {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
  }
  .news-row .hero-btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
    border-radius: 12px;
  }

  /* Footer as compact app sheet */
  .site-footer { padding-bottom: calc(24px + var(--bottom-nav) + env(safe-area-inset-bottom)); }
  .footer-contact {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    padding: 18px 0 8px;
  }
  .footer-card {
    padding: 12px 12px 12px;
    border-radius: 14px;
    gap: 2px;
  }
  .footer-card .path-ico { width: 28px; height: 28px; top: 10px; right: 10px; }
  .footer-card strong { font-size: 0.82rem; margin-top: 6px; }
  .footer-card > span:not(.eyebrow):not(.path-ico) { display: none; }
  .footer-verify { grid-template-columns: 1fr; padding: 16px; }
  .footer-verify-row { grid-template-columns: 1fr; }
  .verify-form { grid-template-columns: 1fr; }
  .footer-card-cta { grid-column: 1 / -1; }
  .footer-card-cta > span:not(.eyebrow):not(.path-ico) { display: none; }
  .footer-cta-row { margin-top: 8px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 16px 0 8px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .footer-col h4 {
    flex: 0 0 100%;
    margin: 0 0 2px;
    width: 100%;
  }
  .footer-col a {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 8px 12px;
    min-height: 36px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    background: rgba(255,255,255,.03);
    color: #e8eaef;
  }
  .legal-row {
    flex-direction: column;
    gap: 6px;
    padding-top: 14px;
    font-size: 11px;
    text-align: center;
  }
  .footer-credit { font-size: 11px; line-height: 1.45; padding: 8px 16px 0; }
  .risk-strip { font-size: 11px; padding: 8px 12px 16px; }

  .notes-app, .note-app { padding: 8px 0 28px; }
  .inner-head h1, .notes-head h1, .note-head h1 { font-size: 1.45rem; }
  .inner-head { margin-bottom: 12px; }
  .notes-feature { grid-template-columns: 1fr !important; margin-bottom: 14px; }
  .notes-feature-media, .notes-feature-media img { min-height: 0; aspect-ratio: 16/9; }
  .notes-feature-copy { padding: 14px; gap: 6px; }
  .notes-feature-copy h2 { font-size: 1.12rem; }
  .notes-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .notes-card-body p { display: none; }
  .notes-card-body { padding: 12px; gap: 6px; }
  .note-cover { border-radius: 14px; margin-bottom: 14px; }
  .note-app .lesson-note { padding: 16px; }
  .note-meta { gap: 6px; }
  .note-meta li { padding: 5px 8px; font-size: 11px; }
  .share a { min-height: 36px; padding: 0 12px; font-size: 12px; }

  .bottom-nav {
    height: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
    background: rgba(8, 8, 11, 0.94);
  }
  .bottom-nav a { gap: 3px; font-size: 10px; font-weight: 600; }
  .bottom-nav svg { width: 20px; height: 20px; }

  .h-scroll > * { flex-basis: min(78vw, 280px); }

  /* Inner pages — app */
  .app-back { min-height: 36px; margin: 4px 0 10px; font-size: 13px; }
  .lesson-app, .desk-app, .course-app, .about-app, .catalog-app, .learn-app, .gallery-app, .legal-app, .contact-page { padding: 8px 0 28px; }
  .lesson-head h1, .desk-app-head h1, .course-hero h1 { font-size: 1.45rem; }
  .lesson-lede { font-size: 0.95rem; margin: 8px 0 0; }
  .lesson-cover { border-radius: 16px; }
  .lesson-cover .reel-play { width: 56px; height: 56px; }
  .lesson-cover-ph { min-height: 140px; }
  .lesson-note { padding: 16px; border-radius: 16px; }
  .lesson-cta { grid-template-columns: 1fr; }
  .lesson-cta .hero-btn { min-height: 46px; }
  .learn-show { padding: 8px 0 32px; }
  .learn-show-head h1 { font-size: 1.55rem; }
  .learn-show-cover { border-radius: 16px; }
  .learn-show-cover .reel-play { width: 56px; height: 56px; }
  .learn-ritual li { min-height: 52px; padding: 10px 14px; }
  .learn-show .learn-grid { grid-template-columns: 1fr; }

  .desk-app-head { margin-bottom: 8px; }
  .desk-stats { gap: 0; margin-top: 12px; padding-top: 12px; }
  .desk-stats small { font-size: 9px; }
  .desk-stats b { font-size: 1rem; }
  .desk-list { grid-template-columns: 1fr !important; gap: 10px; }
  .desk-reviewed-head { margin-top: 28px !important; }
  .desk-hist {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 12px;
  }
  .desk-hist-lvls { grid-column: 1 / -1; gap: 12px; font-size: 12px; }
  .desk-hist time { grid-column: 1 / -1; }

  .course-hero { grid-template-columns: 1fr !important; gap: 14px; margin-bottom: 18px; }
  .course-hero-media { min-height: 0; }
  .course-facts { gap: 6px; }
  .course-facts li { padding: 6px 10px; font-size: 11px; }
  .course-app-grid { grid-template-columns: 1fr !important; }
  .course-buy { display: none; }
  .course-block { margin-bottom: 22px; }
  .course-block h2 { font-size: 1.15rem; margin: 4px 0 10px; }
  .curric-mod summary { padding: 12px; }
  .curric-row { padding: 10px 12px; }
  .curric-copy strong { font-size: 0.9rem; }
  .app-buybar { display: flex; }
  body.has-buybar .site-footer {
    padding-bottom: calc(88px + var(--bottom-nav) + env(safe-area-inset-bottom));
  }

  .about-story { padding: 16px; border-radius: 16px; }
  .about-story p { font-size: 1rem; }
  .about-values { grid-template-columns: 1fr; gap: 8px; }
  .about-val { padding: 12px; }
  .about-val h2 { font-size: 0.95rem; }
  .about-pro { padding: 12px; margin-bottom: 16px; }
  .about-pro img, .about-pro-ph { width: 56px; height: 56px; }

  .catalog-app .course-grid,
  .learn-app .learn-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin-inline: 0;
    padding: 0;
  }
  .catalog-app .course-tile,
  .learn-app .learn-tile {
    width: auto; max-width: none; flex: none;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .gallery-tile img { aspect-ratio: 1; }
  .gallery-tile span { font-size: 11px; padding: 22px 8px 8px; }

  /* Homepage: app feed (overrides desktop grids that sit after earlier 768 rules) */
  .desk-full { width: calc(100% - 24px); }
  .desk-band-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 12px;
  }
  .desk-band-head h2 { margin: 4px 0 0; font-size: 1.45rem; line-height: 1.15; }
  .desk-band-head .hero-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
    border-radius: 999px;
    white-space: nowrap;
  }

  .learn-home .learn-grid,
  .learn-home-grid,
  .edu-home .edu-grid,
  .webinar-home .web-grid,
  .web-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin-inline: 0;
  }

  .web-tile,
  .web-grid.is-single .web-tile {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    border-radius: 18px;
  }
  .web-media,
  .web-grid.is-single .web-media {
    aspect-ratio: 16 / 9;
    min-height: 0 !important;
  }
  .web-body,
  .web-grid.is-single .web-body {
    padding: 14px 14px 16px !important;
    gap: 10px;
    align-content: start;
  }
  .web-grid.is-single .web-body h3,
  .webinar-home .web-body h3 {
    font-size: 1.22rem !important;
    line-height: 1.25;
  }
  .web-meta { gap: 6px; }
  .web-meta li { padding: 5px 9px; font-size: 11px; }
  .web-go,
  .web-grid.is-single .web-go {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    margin-top: 4px;
    border-radius: 12px;
  }
  .web-date { left: 10px; bottom: 10px; min-width: 50px; padding: 6px 8px; }

  .learn-home .learn-tile { border-radius: 16px; }
  .learn-home .learn-body { padding: 14px; }
  .learn-home .learn-body h3 { font-size: 1.08rem; }

  .edu-home .edu-grid { gap: 10px; }
  .edu-home .edu-card { border-radius: 16px; }
  .edu-home .edu-card:first-child .edu-card-body { padding: 14px 14px 16px; }
  .edu-home .edu-card:first-child .edu-card-body h3 { font-size: 1.18rem; }
  .edu-home .edu-card:first-child .edu-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    font-size: 13px;
  }
  .edu-home .edu-card:not(:first-child) {
    grid-template-columns: 88px 1fr;
    grid-template-rows: auto;
    align-items: stretch;
    min-height: 88px;
  }
  .edu-home .edu-card:not(:first-child) .edu-card-media {
    aspect-ratio: 1;
    height: 100%;
  }
  .edu-home .edu-card:not(:first-child) .edu-card-body {
    padding: 10px 12px 12px;
    gap: 4px;
  }
  .edu-home .edu-card:not(:first-child) .edu-card-body p { display: none; }
  .edu-home .edu-card:not(:first-child) .edu-card-body h3 {
    font-size: 0.98rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .edu-home .edu-card:not(:first-child) .edu-meta time,
  .edu-home .edu-card:not(:first-child) .edu-meta > span:not(.badge) { display: none; }
  .edu-home .edu-card:not(:first-child) .learn-go { margin-top: 2px; }

  .voice-home { padding: 18px 0 28px; }
  .voice-card { flex-basis: 148px; width: 148px; }

  .edu-card:active,
  .web-tile:active { transform: scale(0.99); }
}

@media (hover: none) {
  .card:hover,
  .course-tile:hover,
  .learn-tile:hover,
  .web-tile:hover,
  .path-tile:hover,
  .pillars-row article:hover,
  .desk-card:hover,
  .edu-feature:hover,
  .footer-card:hover { transform: none; }
  .path-tile:active,
  .hero-btn:active,
  .learn-tile:active,
  .course-tile:active { transform: scale(0.98); }
}

.protect-player { position: relative; }
.protect-player-wm {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.protect-player-wm .protect-wm-chip {
  position: absolute;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  pointer-events: none;
  animation: wm-drift-1 18s linear infinite;
}
@keyframes wm-drift-1 {
  0% { top: 18%; left: 8%; }
  50% { top: 68%; left: 58%; }
  100% { top: 18%; left: 8%; }
}
.protect-player:fullscreen, .protect-player:-webkit-full-screen {
  width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0;
}

.desk-player { user-select: none; -webkit-user-select: none; }
.desk-player-media {
  position: absolute; inset: 0; overflow: hidden; background: #000;
}
.desk-player-frame {
  position: absolute; inset: 0; pointer-events: none;
}
.desk-player.is-youtube .desk-player-frame,
.desk-player.is-vimeo .desk-player-frame {
  top: -11%;
  bottom: -13%;
  left: 0;
  right: 0;
}
.desk-player-frame iframe,
.desk-player-frame video {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  max-width: none; max-height: none; min-width: 100%; min-height: 100%;
  border: 0; display: block;
  pointer-events: none; object-fit: cover; background: #000;
}
.desk-player-hit {
  position: absolute; inset: 0; z-index: 4;
  border: 0; background: transparent; padding: 0; cursor: pointer;
}
.desk-player-big {
  position: absolute; z-index: 5; top: 50%; left: 50%;
  width: 68px; height: 68px; margin: 0;
  transform: translate(-50%, -50%);
  border: 0; border-radius: 50%;
  background: rgba(225,29,46,.92); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.desk-player-poster {
  position: absolute; inset: 0; z-index: 2;
  background: #050506;
  transition: opacity .2s ease;
}
.desk-player.is-started .desk-player-poster { opacity: 0; pointer-events: none; }
.desk-player-big svg { width: 28px; height: 28px; }
.desk-player .ico-pause { display: none; }
.desk-player.is-playing .ico-play { display: none; }
.desk-player.is-playing .ico-pause { display: block; }
.desk-player.is-paused .desk-player-big {
  opacity: 1; pointer-events: auto;
}
.desk-player-ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  padding: 28px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  opacity: 0; transition: opacity .2s ease;
}
.desk-player.is-paused .desk-player-ui,
.desk-player.is-active .desk-player-ui,
.desk-player:hover .desk-player-ui { opacity: 1; }
.desk-player-seek {
  width: 100%; height: 4px; margin: 0 0 8px; padding: 0;
  appearance: none; background: rgba(255,255,255,.22); border-radius: 99px;
  outline: none; cursor: pointer;
}
.desk-player-seek::-webkit-slider-thumb {
  appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); border: 0;
}
.desk-player-bar {
  display: flex; align-items: center; gap: 6px;
}
.desk-player-bar button,
.desk-player-bar a {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: transparent; color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
  position: relative;
}
.desk-player-bar button:hover,
.desk-player-bar a:hover { background: rgba(255,255,255,.1); }
.desk-player-bar svg { width: 18px; height: 18px; }
.desk-player-time {
  font-size: 12px; font-weight: 700; color: #d7dbe2; white-space: nowrap;
}
.desk-player-time em { font-style: normal; }
.desk-player-spacer { flex: 1; }
.watch-app { padding: 16px 0 56px; }
.watch-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 16px; flex-wrap: wrap;
}
.watch-nav-btns { display: flex; gap: 6px; }
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 22px;
  align-items: start;
}
.watch-main { min-width: 0; }
.watch-info { margin-top: 14px; }
.watch-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; margin-bottom: 12px;
}
.watch-head h1 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.watch-complete {
  margin-bottom: 14px;
  display: grid;
  gap: 8px;
}
.watch-done-btn {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.watch-done-btn svg { width: 20px; height: 20px; }
.watch-done-btn:hover { background: rgba(22,199,132,.12); border-color: rgba(22,199,132,.4); }
.watch-complete.is-saving .watch-done-btn { opacity: .7; pointer-events: none; }
.watch-complete.is-done .watch-done-btn {
  background: linear-gradient(180deg, #16c784, #0f9d68);
  border-color: transparent;
  color: #04140e;
  box-shadow: 0 10px 24px rgba(22,199,132,.28);
  animation: watch-pop .35s ease;
}
.watch-complete.is-done .watch-done-btn:disabled { cursor: default; }
.watch-next-after {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; border-radius: 12px;
  border: 1px solid var(--border); color: #fff; font-weight: 650;
}
.watch-next-after[hidden] { display: none; }
.watch-next-after svg { width: 16px; height: 16px; }
@keyframes watch-pop {
  0% { transform: scale(.96); }
  55% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.watch-lesson.is-done { color: #c9fff0; }
.watch-lesson.is-done svg { color: #16c784; }
.watch-lesson.is-done em { color: #16c784; }
.watch-lesson.is-current.is-done {
  background: rgba(22,199,132,.12);
  border-color: rgba(22,199,132,.35);
}
.watch-lesson.is-current.is-done svg { color: #16c784; }
.watch-desc {
  padding: 16px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03); margin-bottom: 14px;
  font-size: 0.95rem; line-height: 1.6; color: #d7dbe2;
}
.watch-desc p { margin: 0 0 0.6em; }
.watch-desc p:last-child { margin-bottom: 0; }
.watch-files {
  padding: 14px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03); margin-bottom: 14px;
}
.watch-files h3 { margin: 0 0 10px; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.watch-files h3 svg { width: 16px; height: 16px; }
.watch-files ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.watch-files a {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 10px; color: #fff; font-size: 13px;
  transition: border-color .15s ease;
}
.watch-files a:hover { border-color: rgba(225,29,46,.4); }
.watch-files a svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--muted); }
.watch-sidebar {
  position: sticky; top: calc(var(--header-h, 96px) + 12px);
  padding: 14px; border: 1px solid var(--border); border-radius: 16px;
  background: rgba(255,255,255,.03); max-height: calc(100vh - var(--header-h, 96px) - 24px);
  overflow-y: auto;
}
.watch-sidebar h3 { margin: 0 0 12px; font-size: 1rem; }
.watch-mod { margin-bottom: 12px; }
.watch-mod-title {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 6px; font-weight: 700;
}
.watch-lesson {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px; font-size: 13px;
  color: var(--muted); min-height: 38px;
  transition: background .12s ease;
}
.watch-lesson em {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
}
.watch-lesson span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.watch-lesson svg { width: 16px; height: 16px; flex: 0 0 auto; }
a.watch-lesson:hover { background: rgba(255,255,255,.05); color: #fff; }
.watch-lesson.is-current {
  background: rgba(225,29,46,.12); color: #fff;
  border: 1px solid rgba(225,29,46,.3);
}
.watch-lesson.is-current svg { color: var(--red); }
.watch-lesson.is-locked { color: var(--muted-2); cursor: pointer; }
.watch-lesson.is-locked em { color: #ff6b7a; }
a.watch-lesson.is-locked:hover { color: #fff; }
.curric-lock-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(225,29,46,.3); background: rgba(225,29,46,.08);
  transition: background .15s ease;
}
.curric-lock-btn:hover { background: rgba(225,29,46,.18); }
.curric-lock-btn svg { width: 12px; height: 12px; }
@media (max-width: 960px) {
  .watch-layout { grid-template-columns: 1fr; }
  .watch-sidebar { position: static; max-height: none; }
}
@media (max-width: 768px) {
  .watch-app { padding: 4px 0 28px; }
  .watch-topbar { flex-wrap: nowrap; }
  .watch-topbar .app-back { min-width: 0; margin: 0; }
  .watch-topbar .app-back span {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .watch-head { flex-wrap: wrap; }
  .watch-head h1 { font-size: 1.1rem; }
  .watch-nav-btns { flex: 0 0 auto; }
  .watch-nav-btns .btn { min-height: 32px; padding: 0 8px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .protect-wm-chip { animation: none !important; }
}

/* Checkout */
.checkout-app { padding: 12px 0 48px; }
.checkout-head { margin-bottom: 16px; }
.checkout-head h1 { margin: 6px 0 0; font-size: 1.5rem; }
.checkout-card {
  border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  padding: 22px;
}
.checkout-course {
  display: flex; gap: 14px; align-items: flex-start;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.checkout-thumb {
  width: 100px; height: 70px; border-radius: 10px; object-fit: cover; flex: 0 0 auto;
  border: 1px solid var(--border);
}
.checkout-course h2 { margin: 0 0 4px; font-size: 1.1rem; }
.checkout-price-box { margin-bottom: 16px; }
.checkout-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  font-size: 14px; color: var(--muted);
}
.checkout-discount span:last-child { color: var(--green); }
.checkout-total {
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px;
  font-size: 16px; color: #fff;
}
.checkout-coupon {
  display: flex !important; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 0 12px; margin-bottom: 12px; background: #0e0e14;
}
.checkout-coupon svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.checkout-coupon input {
  flex: 1; border: 0; background: transparent; color: #fff;
  min-height: 46px; padding: 0; outline: none; font-size: 14px;
}
.btn-lg { min-height: 52px; font-size: 14px; }
.btn-block { width: 100%; }
.checkout-footer { margin-top: 16px; text-align: center; }
.checkout-footer p { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0; }
.checkout-footer svg { width: 14px; height: 14px; }

/* Success / pending */
.success-card {
  border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  padding: 36px 24px;
}
.success-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: rgba(22,199,132,.12); border: 2px solid rgba(22,199,132,.4);
  color: var(--green);
}
.success-icon svg { width: 36px; height: 36px; }
.pending-icon { background: rgba(255,209,102,.12); border-color: rgba(255,209,102,.4); color: var(--amber); }
.success-card h1 { margin: 0 0 8px; font-size: 1.5rem; }
.success-card p { margin: 4px 0; }
.success-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .checkout-app { padding: 8px 0 28px; }
  .checkout-card { padding: 16px; }
  .checkout-thumb { width: 72px; height: 50px; }
  .checkout-course h2 { font-size: 0.98rem; }
  .success-card { padding: 24px 16px; }
}

/* Student app */
body.is-student {
  background: #0b0d10;
  padding-bottom: 0 !important;
}
body.is-student .market-bg { display: none; }
.stu-appbar {
  position: sticky; top: 0; z-index: 40;
  height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0;
  display: flex; align-items: center; gap: 12px;
  background: rgba(11,13,16,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.stu-appbar-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 12px; letter-spacing: .08em;
}
.stu-appbar-brand img { width: 28px; height: 28px; border-radius: 8px; }
.stu-appbar-title { flex: 1; text-align: center; font-size: 1rem; }
.stu-appbar-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.stu-appbar-bell {
  position: relative; width: 40px; height: 40px;
  display: grid; place-items: center; color: #fff;
}
.stu-appbar-bell svg { width: 20px; height: 20px; }
.stu-appbar-bell em {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 10px; font-style: normal; font-weight: 800;
  display: grid; place-items: center;
}
.stu-shell { padding: 16px 0 28px; }
.stu-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.stu-flash {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 600; font-size: 14px;
}
.stu-flash.is-ok { background: rgba(22,199,132,.12); color: var(--green); }
.stu-flash.is-error { background: rgba(225,29,46,.12); color: #ff6b7a; }
.stu-tabbar { display: none; }
.stu-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stu-block { margin-top: 8px; }
.stu-block-head { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 10px; }
.stu-block-head h3 { margin: 0; font-size: 1.1rem; }
.stu-block-head a { font-size: 13px; font-weight: 700; color: #d0d5dc; }
.stu-course-ph {
  width: 64px; height: 44px; border-radius: 8px; flex: 0 0 auto;
  display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--muted);
}
.stu-course-ph svg { width: 18px; height: 18px; }
.stu-continue.is-learn { background: linear-gradient(180deg, rgba(22,199,132,.08), rgba(255,255,255,.02)); }
.stu-hr { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
.stu-order-card { text-decoration: none; color: inherit; }
.stu-order-card > svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }

.stu-nav {
  display: grid; gap: 2px; padding: 10px; align-content: start;
  position: sticky; top: 72px;
  border-radius: 16px;
}
.stu-nav a, .stu-logout {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; min-height: 42px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: transparent; border: 0; cursor: pointer; width: 100%;
  font-family: inherit; text-align: left;
  transition: background .12s ease, color .12s ease;
}
.stu-nav a svg, .stu-logout svg { width: 18px; height: 18px; flex: 0 0 auto; }
.stu-nav a:hover, .stu-logout:hover { background: rgba(255,255,255,.05); color: #fff; }
.stu-nav a.active { background: rgba(225,29,46,.12); color: #fff; }
.stu-nav a.active svg { color: var(--red); }
.stu-logout { color: #ff6b7a; margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.stu-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; border-radius: 999px; padding: 0 5px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  margin-left: auto;
}
.stu-content { min-width: 0; }
body.is-protect .stu-wrap { grid-template-columns: 1fr; }
body.is-protect .stu-nav,
body.is-protect .stu-tabbar,
body.is-protect .stu-appbar-title { display: none; }
body.is-watch .ticker-wrap { display: none; }

.res-page { display: grid; gap: 18px; }
.res-hero {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.res-hero.is-pass { border-color: rgba(22,199,132,.35); }
.res-hero.is-fail { border-color: rgba(225,29,46,.32); }
.res-hero h1 { margin: 6px 0 4px; font-size: clamp(1.5rem, 3vw, 2rem); }
.res-when { margin: 0 0 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.res-scorebox { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.res-ring {
  width: 108px; height: 108px; flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(#16c784 var(--deg), rgba(255,255,255,.08) 0);
  display: grid; place-items: center;
}
.res-hero.is-fail .res-ring { background: conic-gradient(#e11d2e var(--deg), rgba(255,255,255,.08) 0); }
.res-ring span {
  width: 84px; height: 84px; border-radius: 50%;
  background: #101014; display: grid; place-items: center;
  font-size: 1.45rem; font-weight: 800; line-height: 1;
}
.res-ring small { font-size: .8rem; color: var(--muted); }
.res-marks { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1; }
.res-marks span { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.res-score-copy strong { display: block; margin: 6px 0 4px; font-size: 1.05rem; }
.res-score-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.res-pills {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.res-pills li {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 8px; text-align: center;
}
.res-pills b { display: block; font-size: 1.15rem; }
.res-pills span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 700; }
.res-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.res-block h2 { margin: 0 0 12px; font-size: 1.2rem; display: flex; gap: 10px; align-items: baseline; }
.res-block h2 span { font-size: 14px; color: var(--muted); font-weight: 600; }
.res-topics { display: grid; gap: 10px; }
.res-topic { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.03); }
.res-topic-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.res-list { display: grid; gap: 10px; }
.res-q { border: 1px solid var(--border); border-radius: 14px; padding: 14px 14px 12px; background: rgba(255,255,255,.03); }
.res-q.is-ok { border-color: rgba(22,199,132,.28); }
.res-q.is-bad { border-color: rgba(225,29,46,.28); }
.res-q.is-skip { border-color: rgba(255,255,255,.14); }
.res-q header { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; margin-bottom: 10px; }
.res-q-no { color: var(--red); font-weight: 800; }
.res-q header p { margin: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.45; }
.res-q header em {
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px; white-space: nowrap;
}
.res-q.is-ok header em { background: rgba(22,199,132,.15); color: var(--green); }
.res-q.is-bad header em { background: rgba(225,29,46,.15); color: #ff6b7a; }
.res-q.is-skip header em { background: rgba(255,255,255,.08); color: var(--muted); }
.res-q ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.res-q li {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: start;
  padding: 8px 10px; border-radius: 10px; background: rgba(0,0,0,.18); font-size: 14px;
}
.res-q li.is-right { background: rgba(22,199,132,.12); color: var(--green); }
.res-q li.is-picked { background: rgba(225,29,46,.12); color: #ff8a93; }
.res-q li small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.res-explain { margin: 10px 0 0; color: #d7dbe2; font-size: 14px; line-height: 1.5; }
@media (max-width: 768px) {
  .res-scorebox { flex-direction: column; align-items: flex-start; }
  .res-pills { grid-template-columns: 1fr 1fr; }
  .res-q header { grid-template-columns: auto 1fr; }
  .res-q header em { grid-column: 2; justify-self: start; }
  .res-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 900px) {
  body.is-student { padding-bottom: calc(68px + env(safe-area-inset-bottom)) !important; }
  .stu-appbar-brand span { display: none; }
  .stu-wrap { grid-template-columns: 1fr; }
  .stu-nav { display: none; }
  .stu-shell { padding: 12px 0 20px; }
  .stu-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(11,13,16,.96);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }
  .stu-tabbar a,
  .stu-tab-more {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; color: var(--muted); font-size: 10px; font-weight: 700;
    min-height: 48px; min-width: 0;
  }
  .stu-tab-more { display: flex; width: 100%; }
  .stu-tabbar a.active,
  .stu-tab-more.active { color: #fff; }
  .stu-tabbar a.active svg,
  .stu-tab-more.active svg { color: var(--red); }
  .stu-tabbar svg { width: 20px; height: 20px; }
  .stu-tabbar em {
    position: absolute; top: 4px; right: 18%;
    min-width: 14px; height: 14px; padding: 0 3px;
    border-radius: 999px; background: var(--red); color: #fff;
    font-size: 9px; font-style: normal; font-weight: 800;
    display: grid; place-items: center;
  }
  .stu-page-head h1 { display: none; }
  .stu-page-head .eyebrow { margin-bottom: 0; }
  .stu-welcome h1 { font-size: 1.45rem; }
  .stu-profile-form { padding: 16px; }
  .prof-hero { padding: 20px 14px 18px; border-radius: 20px; }
  .prof-hero h1 { font-size: 1.3rem; }
  .prof-avatar { width: 96px; height: 96px; }
  .prof-card { padding: 16px 14px 6px; }
  .prof-save { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .acct-menu.is-welcome .acct-avatar { width: 52px; height: 52px; }
}

/* Student dashboard */
.stu-welcome { margin-bottom: 16px; }
.stu-welcome h1 { margin: 0 0 4px; font-size: 1.4rem; }
.stu-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 18px;
}
.stu-stat {
  display: block; padding: 16px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03); text-align: center;
  color: inherit; text-decoration: none;
}
.dash-mods-label {
  margin: 14px 2px 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.stu-mods-block .dash-mods { max-width: 720px; }
.dash-mods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.dash-mods a {
  position: relative;
  display: grid; justify-items: center; gap: 6px;
  padding: 12px 6px 10px;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03);
  color: #e8eaef; font-size: 11px; font-weight: 700; text-align: center;
  min-height: 84px; align-content: center;
}
.dash-mods a.is-on { border-color: rgba(225,29,46,.4); background: rgba(225,29,46,.1); }
.dash-mod-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(225,29,46,.14); color: #ff8a93;
}
.dash-mod-ico svg { width: 18px; height: 18px; }
.dash-mods em {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 9px; font-style: normal; font-weight: 800;
  display: grid; place-items: center;
}
body.has-sheet { overflow: hidden; }
.app-sheet[hidden] { display: none !important; }
.app-sheet { position: fixed; inset: 0; z-index: 80; }
.app-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.app-sheet-card {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: min(82vh, 720px); overflow: auto;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: #101014;
  border: 1px solid var(--border);
}
.app-sheet-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; position: sticky; top: 0; background: #101014; z-index: 1;
  padding-bottom: 8px;
}
.app-sheet-head h3 { margin: 0; font-size: 1.1rem; }
.app-sheet-head button {
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: #fff;
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.app-sheet-out { margin-top: 12px; }
.stu-tab-more {
  display: none;
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
  padding: 0;
}
.stu-stat-num { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.stu-stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.stu-continue {
  padding: 18px; border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(180deg, rgba(225,29,46,.06), rgba(255,255,255,.02));
  margin-bottom: 18px;
}
.stu-continue h2 { margin: 6px 0 10px; font-size: 1.15rem; }
.stu-course-list { display: grid; gap: 8px; }
.stu-course-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03); color: inherit;
  transition: border-color .15s ease;
}
.stu-course-card:hover { border-color: rgba(225,29,46,.35); }
.stu-course-thumb { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.stu-course-info { flex: 1; min-width: 0; }
.stu-course-info strong { display: block; font-size: 14px; margin-bottom: 6px; }
.stu-course-card > svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.stu-notif {
  padding: 12px; border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 6px; background: rgba(255,255,255,.03);
}
.stu-notif.is-read { opacity: .6; }
.stu-notif strong { font-size: 13px; }
.stu-notif p { margin: 2px 0 0; }
.progress {
  width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.08); overflow: hidden;
}
.progress span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff6b7a);
  min-width: 2px;
}
@media (max-width: 768px) {
  .stu-stats { grid-template-columns: 1fr 1fr; }
  .stu-welcome h1 { font-size: 1.2rem; }
}

/* Student pages common */
.stu-page-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}
.stu-page-head h1 {
  margin: 0; font-size: 1.3rem;
  display: flex; align-items: center; gap: 8px;
}
.stu-page-head h1 svg { width: 22px; height: 22px; }
.empty-state {
  text-align: center; padding: 48px 18px;
  border: 1px solid var(--border); border-radius: 16px;
  background: rgba(255,255,255,.02);
}
.empty-state > svg { width: 48px; height: 48px; color: var(--muted-2); margin-bottom: 12px; }
.empty-state p { margin: 4px 0; }
.stu-cert-list, .stu-order-list, .stu-notif-list { display: grid; gap: 8px; }
.stu-cert-card, .stu-order-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.stu-cert-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(225,29,46,.1); color: var(--red); flex: 0 0 auto;
}
.stu-cert-icon svg { width: 22px; height: 22px; }
.stu-cert-info { flex: 1; min-width: 0; }
.stu-cert-info strong { display: block; font-size: 14px; margin-bottom: 2px; }
.stu-cert-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.stu-order-info { flex: 1; min-width: 0; }
.stu-order-info strong { display: block; font-size: 14px; margin-bottom: 2px; }
.badge-green { background: rgba(22,199,132,.15); color: var(--green); }
.badge-amber { background: rgba(255,209,102,.15); color: var(--amber); }
.badge-ghost { background: rgba(255,255,255,.08); color: var(--muted); }
.stu-notif-list .stu-notif {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.stu-notif-dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 6px;
  background: var(--red); flex: 0 0 auto;
}
.stu-notif.is-read .stu-notif-dot { background: var(--muted-2); }
.stu-notif.is-read { opacity: .6; }
.stu-notif strong { display: block; font-size: 13px; margin-bottom: 2px; }
.stu-profile-form {
  max-width: 520px;
  padding: 20px; border: 1px solid var(--border); border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.stu-field { margin-bottom: 14px; }
.stu-field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* Account photo menu */
.acct-menu { position: relative; }
.acct-menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: transparent;
  color: inherit; cursor: pointer; font: inherit;
}
.acct-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, #e11d2e, #9d1520);
  color: #fff; font-size: 12px; font-weight: 800;
  border: 2px solid rgba(255,255,255,.18);
  flex: 0 0 auto;
}
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-name { font-size: 13px; font-weight: 650; color: #e8eaee; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-caret { width: 16px; height: 16px; color: var(--muted); }
.acct-drop {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  min-width: 210px; padding: 6px;
  border-radius: 14px; border: 1px solid var(--border);
  background: #14161c; box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.acct-menu.is-open .acct-drop { display: grid; }
.acct-drop a, .acct-drop button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 42px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent;
  color: #e8eaee; font: inherit; font-size: 14px; font-weight: 600;
  text-align: left; cursor: pointer;
}
.acct-drop form { margin: 0; }
.acct-drop svg { width: 16px; height: 16px; color: var(--muted); }
.acct-drop a:hover, .acct-drop button:hover { background: rgba(255,255,255,.06); }
.acct-drop button { color: #ff6b7a; }
.acct-drop button svg { color: #ff6b7a; }
.acct-menu.is-welcome .acct-avatar { width: 56px; height: 56px; font-size: 18px; border-width: 3px; }
.acct-menu.is-welcome .acct-drop { left: 0; right: auto; }
.acct-menu.is-header .acct-avatar {
  width: 40px; height: 40px;
  border-color: rgba(255,255,255,.3);
}
.acct-menu.is-header .acct-drop { right: 0; }
.nav-avatar {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.25);
}
.bottom-nav a.active .nav-avatar { border-color: var(--red); }
.acct-menu.is-admin .acct-menu-btn {
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #101118;
}
.stu-welcome-who { display: flex; align-items: center; gap: 14px; }
.stu-welcome-who h1 { margin: 0 0 4px; }
.stu-tab-avatar {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.25);
}
.stu-tabbar a.active .stu-tab-avatar { border-color: var(--red); }

/* Student profile */
.prof-app { max-width: 560px; display: grid; gap: 14px; }
.prof-hero {
  text-align: center; padding: 22px 16px 20px;
  border: 1px solid var(--border); border-radius: 22px;
  background: linear-gradient(180deg, rgba(225,29,46,.12), rgba(255,255,255,.02));
}
.prof-hero h1 { margin: 12px 0 4px; font-size: 1.45rem; }
.prof-hero p { margin: 0 0 10px; color: var(--muted); font-size: 14px; word-break: break-word; }
.prof-hero small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.prof-pick { display: inline-grid; cursor: pointer; }
.prof-avatar {
  position: relative; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, #e11d2e, #9d1520);
  color: #fff; font-size: 2rem; font-weight: 800;
  border: 3px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.prof-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-cam {
  position: absolute; right: 4px; bottom: 4px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #111; color: #fff; border: 2px solid #1c1f26;
}
.prof-cam svg { width: 14px; height: 14px; }
.prof-chip {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #d7dbe2;
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.prof-card {
  padding: 18px 16px 8px; border: 1px solid var(--border); border-radius: 18px;
  background: rgba(255,255,255,.03);
}
.prof-card h2 { margin: 0 0 14px; font-size: 1.05rem; }
.prof-hint { margin: -6px 0 12px; }
.prof-save { position: sticky; bottom: 12px; z-index: 6; }
.prof-save .btn { min-height: 52px; box-shadow: 0 10px 24px rgba(225,29,46,.28); }

@media (max-width: 768px) {
  .stu-cert-card { flex-wrap: wrap; }
  .stu-cert-actions { width: 100%; }
  .stu-cert-actions .btn { flex: 1; }
}

/* Demo class page */
.demo-app { padding: 12px 0 48px; }
.demo-hero { margin-bottom: 20px; }
.demo-hero h1 { margin: 6px 0 8px; font-size: 1.6rem; }
.demo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start;
}
.demo-benefits h3 { margin: 0 0 14px; font-size: 1.1rem; }
.demo-perks {
  list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px;
}
.demo-perks li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,.03); font-size: 14px;
}
.demo-perk-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(225,29,46,.1); color: var(--red); flex: 0 0 auto;
}
.demo-perk-icon svg { width: 18px; height: 18px; }
.demo-trust { display: grid; gap: 8px; }
.demo-trust p { display: flex; align-items: center; gap: 8px; margin: 0; }
.demo-trust svg { width: 14px; height: 14px; }
.demo-form-card {
  padding: 22px; border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  display: grid; gap: 12px;
}
.demo-form-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.demo-form-card label {
  display: block; font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.demo-input-wrap {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 0 12px; background: #0e0e14;
  overflow: hidden;
}
.demo-input-wrap svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.demo-input-wrap input {
  flex: 1; border: 0; background: transparent; color: #fff;
  min-height: 44px; padding: 0; outline: none; font-size: 14px;
}
.demo-input-wrap input:-webkit-autofill,
.demo-input-wrap input:-webkit-autofill:hover,
.demo-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #0e0e14 inset !important;
}
.demo-form-card textarea {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 12px; background: #0e0e14; color: #fff;
  font-size: 14px; resize: vertical; min-height: 64px;
}
.demo-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 768px) {
  .demo-app { padding: 8px 0 28px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-row-2 { grid-template-columns: 1fr; }
  .demo-form-card { padding: 16px; }
}

/* Free skill test */
.test-app { padding: 12px 0 48px; }
.test-card {
  padding: 22px; border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.test-card-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.test-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.test-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; padding: 0; margin: 12px 0; color: var(--muted); font-size: 13px; }
.test-facts li { position: relative; padding-left: 12px; }
.test-facts li:before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.test-best { margin: 0 0 12px; }
.test-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.test-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin: 12px 0 6px; }
.test-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff6b7a); }

/* Exam app — locked fullscreen shell */
body.is-test-take {
  background: #0b0d10;
  padding: 0 !important;
  margin: 0;
  --header-h: 0px;
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}
body.is-test-take input,
body.is-test-take button,
body.is-test-take label,
body.is-test-take .exam-q-text { user-select: text; -webkit-user-select: text; }
body.is-test-take main,
body.is-test-take #main {
  padding: 0; margin: 0; width: 100%; max-width: none;
  min-height: 100vh; min-height: 100dvh;
}
.exam-lock {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  height: 100%;
  background: #0b0d10;
}
.exam-lock:fullscreen,
.exam-lock:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #0b0d10;
}
.exam-gate {
  position: absolute; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: 24px 16px;
  background: #0b0d10;
}
.exam-gate[hidden],
body.is-exam-live .exam-gate {
  display: none !important;
}
.exam-gate-card {
  width: min(460px, 100%);
  background: #14181d;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px 24px;
  color: #f4f6f8;
}
.exam-gate-kicker {
  margin: 0 0 8px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: #16c784; font-weight: 800;
}
.exam-gate-card h1 { font-size: 1.6rem; margin: 0 0 10px; color: #fff; }
.exam-gate-card p { margin: 0 0 14px; color: #c8ced6; font-size: 15px; line-height: 1.55; }
.exam-gate-card ul { margin: 0 0 20px; padding-left: 18px; color: #e8eaef; font-size: 15px; display: grid; gap: 6px; }
.exam-gate-start {
  width: 100%; min-height: 52px; border: 0; border-radius: 14px;
  background: #e11d2e; color: #fff; font-weight: 800; font-size: 16px; cursor: pointer;
}
.exam-gate-leave {
  display: block; text-align: center; margin-top: 12px;
  color: #c8ced6; font-weight: 700; min-height: 40px; line-height: 40px;
}
.exam-secure {
  position: absolute; inset: 0; z-index: 95;
  display: grid; place-items: center;
  background: rgba(6, 8, 10, .96);
  padding: 24px 16px;
}
.exam-secure[hidden] { display: none !important; }
.exam-modal {
  position: absolute; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: rgba(6, 8, 10, .72);
  padding: 20px 16px;
}
.exam-modal[hidden] { display: none !important; }
.exam-modal-card {
  width: min(420px, 100%);
  background: #fff;
  color: #161616;
  border-radius: 18px;
  padding: 24px 22px 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.exam-modal-card strong { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.exam-modal-card p { margin: 0 0 18px; color: #4a5160; font-size: 15px; line-height: 1.5; }
.exam-modal-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.exam-modal-cancel, .exam-modal-ok {
  min-height: 48px; border: 0; border-radius: 12px;
  font-weight: 800; font-size: 15px; cursor: pointer; font-family: inherit;
}
.exam-modal-cancel { background: #e8eaef; color: #161616; }
.exam-modal-ok { background: #1b6b4a; color: #fff; }
.exam-modal-ok.is-danger { background: #e11d2e; }
.exam-thanks {
  position: absolute; inset: 0; z-index: 130;
  display: grid; place-items: center;
  background: rgba(6, 8, 10, .88);
  padding: 20px 16px;
}
.exam-thanks[hidden] { display: none !important; }
.exam-lock.is-done .exam-secure,
.exam-lock.is-done .exam-modal { display: none !important; }
.exam-lock.is-done .exam-thanks { display: grid !important; }
.exam-thanks-card {
  width: min(400px, 100%);
  text-align: center;
  background: #fff;
  color: #161616;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.exam-thanks-card strong {
  display: block; font-size: 1.6rem; margin-bottom: 8px; color: #1b6b4a;
}
.exam-thanks-card p { margin: 0; color: #4a5160; font-size: 15px; line-height: 1.5; }
.exam-secure-card {
  width: min(400px, 100%);
  text-align: center;
  background: #181d22;
  border: 1px solid rgba(225,29,46,.45);
  border-radius: 18px;
  padding: 28px 20px;
  color: #fff;
}
.exam-secure-card strong { display: block; font-size: 1.4rem; margin-bottom: 8px; }
.exam-secure-card p { margin: 0 0 18px; color: #c8ced6; line-height: 1.5; }
.exam-secure-card button {
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  background: #e11d2e; color: #fff; font-weight: 800; cursor: pointer;
}
.exam-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  width: 100%;
  height: 100%;
  background: #f4f6f8;
  color: #161616;
}
.exam-app[hidden] { display: none !important; }
body.is-exam-live .exam-app { display: grid; }
body.is-exam-live .exam-app[hidden] { display: grid !important; }
.exam-stage {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 28px 28px;
  background: #f4f6f8;
  overflow: auto;
}
.exam-top {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.exam-exit,
.exam-dock-exit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid #e11d2e; background: #fff1f1; color: #b11220;
  font-weight: 800; font-size: 14px; cursor: pointer; font-family: inherit;
}
.exam-dock-exit {
  width: 100%; min-height: 46px; background: transparent; color: #ff8a93; border-color: rgba(255,255,255,.2);
}
.exam-top-copy { min-width: 0; flex: 1; }
.exam-top-copy strong { display: block; font-size: 1.15rem; line-height: 1.25; }
.exam-top-copy span { display: block; margin-top: 2px; font-size: 14px; color: #4a5160; font-weight: 600; }
.exam-top-who { text-align: right; font-size: 14px; font-weight: 700; color: #1a1a1a; }
.exam-top-who small { display: block; color: #5c6370; font-size: 12px; font-weight: 600; }
.exam-form { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.exam-q { display: none; background: #fff; border: 1px solid #e2e5ea; border-radius: 16px; padding: 22px 24px 20px; box-shadow: 0 8px 24px rgba(16,18,24,.06); }
.exam-q.is-on { display: block; }
.exam-q-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.exam-q-no {
  color: #1a73e8; font-weight: 800; font-size: 18px; padding-top: 2px; letter-spacing: .02em;
}
.exam-q-text { margin: 0; font-size: 1.2rem; line-height: 1.55; font-weight: 650; color: #161616; }
.exam-q-marks { font-size: 13px; color: #5c6370; font-weight: 700; padding-top: 4px; white-space: nowrap; }
.exam-q-hint { display: none !important; }
.exam-opts { display: grid; gap: 10px; }
.exam-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border: 1.5px solid #d7dbe2; background: #fff;
  border-radius: 12px; cursor: pointer; font-size: 17px; line-height: 1.5; color: #1a1a1a;
}
.exam-opt:hover { border-color: #1a73e8; }
.exam-opt:has(input:checked) {
  border-color: #1a73e8; background: #eef5ff;
  box-shadow: inset 3px 0 0 #1a73e8;
}
.exam-opt input { margin-top: 4px; accent-color: #1a73e8; width: 18px; height: 18px; }
.exam-opt-key {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1.5px solid #1a1a1a; font-weight: 800; font-size: 13px;
}
.exam-opt:has(input:checked) .exam-opt-key { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.exam-clear {
  margin-top: 12px; background: none; border: 0; color: #1a73e8;
  font-weight: 700; font-size: 14px; padding: 0; min-height: 36px;
}
.exam-nav {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 18px;
  padding: 12px 0 0;
}
.exam-nav-btn, .exam-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px;
  font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.exam-nav-btn { background: #e8eaef; color: #161616; }
.exam-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.exam-nav-next { background: #1b6b4a; color: #fff; }
.exam-submit { background: #e11d2e; color: #fff; margin-left: auto; min-width: 140px; }
.exam-nav-btn svg { width: 18px; height: 18px; }
.exam-dock {
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding: 18px 16px 20px;
  background: #101418;
  color: #f4f6f8;
  border-left: 1px solid rgba(255,255,255,.08);
  display: grid;
  align-content: start;
  gap: 14px;
}
.exam-dock-timer, .exam-dock-stat {
  background: #181d22;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.exam-dock-timer small, .exam-dock-stat small, .exam-dock-label {
  display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #b4bac4; font-weight: 700;
}
.exam-dock-timer b {
  display: block; font-size: 2.2rem; letter-spacing: .04em; line-height: 1.1; margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.exam-dock-timer.is-low { border-color: #e11d2e; color: #ff6b7a; background: #2a1216; }
.exam-dock-stat p { margin: 4px 0 10px; font-size: 1.6rem; font-weight: 800; }
.exam-progress { margin: 0; background: rgba(255,255,255,.12); height: 8px; }
.exam-progress span { background: #16c784; }
.exam-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.exam-dot {
  width: 100%; aspect-ratio: 1; min-height: 40px;
  border-radius: 50%; border: 0; background: #2a3138; color: #f4f6f8;
  font-weight: 800; font-size: 14px; cursor: pointer;
}
.exam-dot.is-done { background: #16c784; color: #04140e; }
.exam-dot.is-on { outline: 2px solid #fff; outline-offset: 2px; background: #1a73e8; color: #fff; }
.exam-dot.is-on.is-done { background: #16c784; color: #04140e; }
.exam-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: #c8ced6; }
.exam-legend i {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  background: #2a3138; margin-right: 8px; vertical-align: -1px;
}
.exam-legend i.is-done { background: #16c784; }
.exam-legend i.is-on { background: #1a73e8; }
.test-score-card {
  text-align: center; padding: 28px 18px; border: 1px solid var(--border);
  border-radius: 18px; margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.test-score-card h1 { margin: 6px 0 0; font-size: 3rem; }
.test-score-card h1 span { font-size: 1.2rem; color: var(--muted); }
.test-pct { font-size: 1.2rem; font-weight: 700; margin: 4px 0 10px; }
.test-score-card.excellent { border-color: rgba(22,199,132,.35); }
.test-score-card.pass { border-color: rgba(22,199,132,.25); }
.test-score-card.fail, .test-score-card.warn { border-color: rgba(225,29,46,.3); }
.test-topics { display: grid; gap: 10px; }
.test-topic { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.03); }
.test-topic-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.test-review { padding: 14px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; background: rgba(255,255,255,.03); }
.test-review.is-ok { border-color: rgba(22,199,132,.25); }
.test-review.is-bad { border-color: rgba(225,29,46,.28); }
.test-review-q { font-weight: 700; margin: 0 0 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.test-review-q span { color: var(--red); margin-right: 0; }
.test-review-flag {
  margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.test-review.is-ok .test-review-flag { background: rgba(22,199,132,.15); color: var(--green); }
.test-review.is-bad .test-review-flag { background: rgba(225,29,46,.15); color: #ff6b7a; }
.test-review ul { list-style: none; padding: 0; margin: 0 0 8px; }
.test-review li { font-size: 13px; padding: 4px 0; color: var(--muted); }
.test-review li.is-right { color: var(--green, #16c784); font-weight: 600; }
.test-review li.is-picked { color: #ff6b7a; }
.test-explain { font-size: 13px; color: #d7dbe2; margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .exam-gate-card { padding: 22px 18px; border-radius: 18px; }
  .exam-app,
  body.is-exam-live .exam-app,
  body.is-exam-live .exam-app[hidden] {
    display: flex !important;
    flex-direction: column;
    height: 100%;
  }
  .exam-dock {
    order: -1;
    position: relative;
    z-index: 40;
    height: auto;
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 10px 12px 12px;
    padding-top: calc(10px + env(safe-area-inset-top));
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .exam-dock-exit { display: none; }
  .exam-dock-timer, .exam-dock-stat { padding: 10px 12px; }
  .exam-dock-timer b { font-size: 1.7rem; }
  .exam-dock-stat p { font-size: 1.35rem; margin: 2px 0 8px; }
  .exam-dock-label, .exam-legend { display: none; }
  .exam-palette {
    grid-column: 1 / -1;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .exam-dot { flex: 0 0 36px; width: 36px; height: 36px; min-height: 36px; aspect-ratio: auto; font-size: 13px; }
  .exam-stage {
    padding: 10px 12px calc(88px + env(safe-area-inset-bottom));
    flex: 1;
  }
  .exam-top { margin-bottom: 10px; gap: 8px; }
  .exam-top-who { display: none; }
  .exam-top-copy strong { font-size: 1rem; }
  .exam-top-copy span { font-size: 13px; }
  .exam-q { padding: 16px 14px 14px; border-radius: 14px; }
  .exam-q-head { grid-template-columns: auto 1fr; gap: 8px; }
  .exam-q-marks { grid-column: 2; padding-top: 0; }
  .exam-q-text { font-size: 1.08rem; }
  .exam-opt { font-size: 16px; padding: 12px; min-height: 48px; }
  .exam-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e2e5ea;
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 8px;
  }
  .exam-submit { margin-left: 0; min-width: 0; width: 100%; }
  .exam-nav-btn, .exam-submit { min-height: 46px; border-radius: 12px; font-size: 14px; }
}
@media (max-width: 768px) {
  .test-app { padding: 8px 0 28px; }
  .test-score-card h1 { font-size: 2.2rem; }
}

/* Desk chatbot */
.desk-chat { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.desk-chat-fab {
  position: relative;
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(225,29,46,.5);
  background: linear-gradient(180deg, #ff3143 0%, #e11d2e 52%, #b11220 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(225,29,46,.38), 0 0 0 4px rgba(22,199,132,.14);
  display: grid; place-items: center;
  animation: chatPop .5s ease;
}
.desk-chat-fab svg { width: 24px; height: 24px; }
.desk-chat-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(22,199,132,.5);
  animation: chatPulse 1.8s ease-out infinite;
}
.desk-chat.is-open .desk-chat-fab { transform: scale(.92); }
.desk-chat-panel {
  position: absolute; right: 0; bottom: 72px;
  width: min(380px, calc(100vw - 24px));
  height: min(520px, calc(100vh - 140px));
  display: grid; grid-template-rows: auto auto 1fr auto;
  border-radius: 22px; overflow: hidden;
  background: #0c0c12;
  border: 1px solid rgba(225,29,46,.32);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(22,199,132,.12);
  transform-origin: bottom right;
  animation: chatSlide .28s ease;
}
.desk-chat-panel[hidden] { display: none !important; }
.desk-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px 12px;
  background: linear-gradient(90deg, rgba(225,29,46,.16), rgba(22,199,132,.12));
  border-bottom: 1px solid var(--border);
}
.desk-chat-head strong { display: block; font-size: 15px; }
.desk-chat-head span { font-size: 11px; color: var(--green); letter-spacing: .08em; font-weight: 700; }
.desk-chat-head button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: #fff;
  display: grid; place-items: center;
}
.desk-chat-head svg { width: 16px; height: 16px; }
.desk-chat-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 12px 0;
}
.desk-chat-chips button {
  min-height: 32px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(22,199,132,.28);
  background: rgba(22,199,132,.08); color: #b8f5d8;
  font-size: 12px; font-weight: 700;
}
.desk-chat-log {
  overflow: auto; padding: 12px; display: grid; gap: 8px; align-content: start;
}
.desk-chat-msg {
  max-width: 88%; padding: 10px 12px; border-radius: 14px;
  font-size: 13px; line-height: 1.45;
  animation: chatIn .22s ease;
}
.desk-chat-msg.is-bot { background: rgba(22,199,132,.08); color: #e8eaee; border: 1px solid rgba(22,199,132,.12); }
.desk-chat-msg.is-me { margin-left: auto; background: var(--red); color: #fff; }
.desk-chat-msg.is-wait { color: var(--muted); }
.desk-chat-form {
  display: flex; gap: 8px; padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
}
.desk-chat-form input {
  flex: 1; min-height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: #101118; color: #fff; padding: 0 12px; outline: none;
}
.desk-chat-form button {
  width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: var(--green); color: #04140e; display: grid; place-items: center;
}
.desk-chat-form svg { width: 16px; height: 16px; }
@keyframes chatPop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes chatSlide { from { transform: translateY(12px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes chatIn { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes chatPulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@media (max-width: 768px) {
  .desk-chat { right: 12px; bottom: calc(var(--bottom-nav) + 14px); }
}

/* Login offer popup */
.offer-pop[hidden] { display: none !important; }
.offer-pop {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 18px;
}
.offer-pop-bg {
  position: absolute; inset: 0;
  background: rgba(3, 3, 5, .72);
  backdrop-filter: blur(10px);
}
.offer-pop-card {
  position: relative; z-index: 1;
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 22px;
  overflow: hidden;
  background: #0c0c12;
  border: 1px solid rgba(212, 175, 55, .38);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
}
.offer-pop-x {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(8,8,12,.7); color: #fff;
  display: grid; place-items: center;
}
.offer-pop-x svg { width: 16px; height: 16px; }
.offer-pop-media {
  position: relative; min-height: 420px;
  background: #111;
}
.offer-pop-media img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.offer-pop-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,8,12,.55));
}
.offer-pop-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(180deg, #f3d27a, #c9a227);
  color: #1a1406; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.offer-pop-form {
  padding: 32px 30px 28px;
  display: grid; align-content: center; gap: 8px;
}
.offer-pop-form h2 { margin: 4px 0 0; font-size: 1.7rem; }
.offer-pop-form .muted { margin: 0 0 10px; }
.offer-pop-form form { display: grid; gap: 12px; }
.offer-field span {
  display: block; margin-bottom: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.offer-pop-form .hero-btn { width: 100%; margin-top: 4px; }
.offer-pop-foot { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.offer-pop-foot a { color: #fff; font-weight: 700; }
body.is-offer-open { overflow: hidden; }

.legal-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 6px;
}
.legal-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.legal-nav a.is-on,
.legal-nav a:hover {
  color: #fff;
  border-color: rgba(225, 29, 46, .4);
  background: rgba(225, 29, 46, .1);
}
.legal-body {
  max-width: 72ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d8dbe2;
}
.legal-body h2 {
  margin: 1.6em 0 0.45em;
  font-size: 1.2rem;
  color: #fff;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin: 0 0 0.85em; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin: 0 0 0.4em; }
.legal-body a { color: var(--green); }

.calc-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 18px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.calc-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.calc-card label { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.calc-card .badge { justify-self: start; margin-top: 6px; }
.calc-app .desk-note { margin-top: 16px; color: var(--muted); font-size: 13px; }

.webinar-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
.webinar-cover {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: #0b0b10;
  margin-bottom: 16px;
}
.webinar-cover img { width: 100%; height: 100%; object-fit: cover; }
.webinar-form .hero-btn { width: 100%; margin-top: 8px; }

@media (max-width: 860px) {
  .legal-wrap, .webinar-layout { grid-template-columns: 1fr; }
  .legal-nav {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }
  .legal-nav a { text-align: center; padding: 8px 6px; font-size: 12px; }
}
@media (max-width: 740px) {
  .offer-pop-card { grid-template-columns: 1fr; }
  .offer-pop-media { min-height: 180px; }
  .offer-pop-form { padding: 20px 18px 18px; }
  .offer-pop-form h2 { font-size: 1.35rem; }
}

@media (max-width: 768px) {
  .stu-mods-block .dash-mods {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .dash-mods a {
    padding: 10px 2px 8px;
    font-size: 10px;
    min-height: 76px;
  }
  .dash-mod-ico { width: 32px; height: 32px; }
}

.paper-app {
  padding: 8px 0 56px;
  color: #ece7dc;
}
.paper-mast {
  text-align: center;
  padding: 8px 0 18px;
  border-top: 3px solid #ece7dc;
  border-bottom: 1px solid rgba(236, 231, 220, .28);
}
.paper-kicker {
  margin: 12px 0 6px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.paper-mast h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: .95;
  color: #f7f1e6;
}
.paper-mast h1 em {
  font-style: italic;
  color: var(--red);
}
.paper-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 3px double rgba(236, 231, 220, .35);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.paper-tick {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 14px 18px;
  align-items: start;
  margin: 16px 0 22px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(236, 231, 220, .2);
  font-size: 13px;
  color: var(--muted);
}
.paper-tick strong {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 2px;
}
.paper-tick p { margin: 0; }
.paper-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, .8fr);
  gap: 28px;
  padding: 8px 0 28px;
  border-bottom: 3px double rgba(236, 231, 220, .28);
}
.paper-sec-lab {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.paper-lead h2,
.paper-side h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: #f7f1e6;
}
.paper-lead h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.paper-side h3 { font-size: 1.35rem; }
.paper-deck {
  font-size: 1.08rem;
  line-height: 1.55;
  color: #d9d3c6;
  margin: 0 0 16px;
}
.paper-cols {
  columns: 2;
  column-gap: 22px;
}
.paper-cols p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--muted);
}
.paper-bullets {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.paper-bullets li::before {
  content: "■ ";
  color: var(--red);
  font-size: 9px;
  vertical-align: middle;
}
.paper-side {
  display: grid;
  gap: 22px;
  padding: 4px 0 0 22px;
  border-left: 1px solid rgba(236, 231, 220, .2);
}
.paper-side ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.paper-side section p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.paper-ctas {
  display: grid;
  gap: 8px;
}
.paper-ctas a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(236, 231, 220, .18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.paper-ctas a::after { content: "→"; color: var(--red); }
.paper-ctas a:hover { border-color: var(--red); color: #fff; }
.paper-risk {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
}
.paper-sections {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 6px;
}
.paper-col {
  grid-column: span 2;
  padding: 22px 20px 18px 0;
  border-right: 1px solid rgba(236, 231, 220, .16);
  border-bottom: 1px solid rgba(236, 231, 220, .16);
}
.paper-col:nth-child(3),
.paper-col:nth-child(5) { padding-right: 0; border-right: 0; }
.paper-col:nth-child(n+4) {
  grid-column: span 3;
  padding-top: 24px;
}
.paper-col header h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}
.paper-col header p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted-2);
}
.paper-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.paper-col a {
  display: grid;
  gap: 4px;
}
.paper-col a strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.25;
  color: #f4efe4;
}
.paper-col a span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.paper-col a:hover strong { color: var(--red); }
.paper-empty {
  margin: 0;
  font-style: italic;
  color: var(--muted-2);
  font-size: 14px;
}
.paper-end {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 3px solid #ece7dc;
  text-align: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
@media (max-width: 900px) {
  .paper-lead-grid,
  .paper-tick,
  .paper-sections {
    grid-template-columns: 1fr;
  }
  .paper-cols { columns: 1; }
  .paper-side {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(236, 231, 220, .2);
  }
  .paper-col,
  .paper-col:nth-child(3),
  .paper-col:nth-child(5),
  .paper-col:nth-child(n+4) {
    grid-column: auto;
    padding: 18px 0;
    border-right: 0;
  }
}

.career-app {
  padding: 20px 0 72px;
}
.career-hero {
  max-width: 720px;
  margin: 8px 0 36px;
}
.career-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.career-lede {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
}
.career-layout {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}
.career-rail { display: grid; gap: 14px; }
.career-rail-card {
  padding: 22px 20px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(225,29,46,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
}
.career-rail-card.is-note {
  background: #0c0c12;
}
.career-rail-card .eyebrow { margin-bottom: 14px; }
.career-perks {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
}
.career-perks li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.career-perk-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(225,29,46,.12);
  border: 1px solid rgba(225,29,46,.28);
  color: #ff8a93;
}
.career-perk-ico svg { width: 18px; height: 18px; }
.career-perks strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.career-perks span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.career-rail-card.is-note p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.career-rail-card.is-note a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #fff;
}
.career-rail-card.is-note a svg { width: 14px; height: 14px; color: var(--red); }
.career-form {
  padding: 26px 24px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  display: grid;
  gap: 18px;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
}
.career-form-head h2 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
}
.career-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.career-fields { display: grid; gap: 16px; }
.career-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.career-field { display: grid; gap: 8px; }
.career-lab,
.career-field label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c5cad3;
}
.career-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0b0b10;
  overflow: hidden;
}
.career-input:focus-within {
  border-color: rgba(225,29,46,.55);
  box-shadow: 0 0 0 3px rgba(225,29,46,.14);
}
.career-input svg {
  width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto;
}
.career-input input,
.career-input textarea {
  flex: 1;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
  font-size: 15px;
  box-shadow: none;
}
.career-input input:-webkit-autofill,
.career-input input:-webkit-autofill:hover,
.career-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #0b0b10 inset !important;
  border: 0;
}
.career-input.is-area {
  align-items: flex-start;
  padding: 12px 14px;
  min-height: 0;
}
.career-input.is-area svg { margin-top: 4px; }
.career-input textarea {
  min-height: 120px;
  padding: 2px 0 8px;
  resize: vertical;
  line-height: 1.5;
}
.career-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.career-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #0b0b10;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.career-chip:hover { color: #fff; border-color: rgba(255,255,255,.22); }
.career-chip.is-on {
  color: #fff;
  border-color: var(--red);
  background: rgba(225,29,46,.16);
}
.career-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.2);
  background: #0b0b10;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.career-file svg { width: 18px; height: 18px; color: var(--red); flex: 0 0 auto; }
.career-file span { display: grid; gap: 2px; color: #fff; font-size: 14px; font-weight: 600; }
.career-file em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.career-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.career-file.has-file {
  border-style: solid;
  border-color: rgba(22,199,132,.4);
}
.career-submit { width: 100%; justify-content: center; min-height: 52px; }
.career-fine {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.45;
}
@media (max-width: 860px) {
  .career-app { padding: 8px 0 48px; }
  .career-hero { margin-bottom: 22px; }
  .career-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .career-layout, .career-row { grid-template-columns: 1fr; }
  .career-form { padding: 18px 16px 16px; }
}

/* —— Mobile app shell: overflow, chips, inner pages —— */
@media (max-width: 768px) {
  html {
    overflow-x: clip;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
    max-width: 100%;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  img, video { max-width: 100%; }
  .container,
  .container-wide,
  .desk-full,
  .hero-grid,
  .hero-copy,
  .section,
  main {
    min-width: 0;
    max-width: 100%;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 16px);
    gap: 8px;
  }
  .logo { min-width: 0; }
  .logo-text strong {
    font-size: 11px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }
  .header-actions { min-width: 0; }
  .header-btn-register { padding: 0 12px; }

  .ticker-wrap { min-width: 0; overflow: hidden; }
  .ticker-viewport { min-width: 0; }
  .ticker-socials { padding: 0 6px 0 8px; gap: 4px; }
  .ticker-socials .brand-soc { width: 22px; height: 22px; }
  .ticker-socials .brand-soc-youtube { width: 26px; }

  .tab.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
  }
  .desk-chips,
  .app-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px 6px;
    -webkit-overflow-scrolling: touch;
  }
  .desk-chips::-webkit-scrollbar,
  .app-chips::-webkit-scrollbar { display: none; }
  .desk-chips .tab,
  .app-chips .tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border-color: rgba(255,255,255,.22);
  }

  .desk-band-head .hero-btn-ghost {
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(22, 199, 132, .32);
  }
  .desk-card:hover,
  .long-card:hover,
  .course-card:hover,
  .web-tile:hover { transform: none; }
  .desk-ladder,
  .desk-home-full .desk-ladder {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .desk-ladder li,
  .desk-home-full .desk-ladder li {
    min-width: 0;
    padding: 8px 6px;
    font-size: 9px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .desk-ladder b { font-size: 13px; overflow-wrap: anywhere; }

  .why-row {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    margin-inline: -12px;
    padding: 2px 12px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
  }
  .why-row::-webkit-scrollbar { display: none; }
  .why-row > * {
    flex: 0 0 68vw;
    width: 68vw;
    max-width: 260px;
    scroll-snap-align: start;
    border-radius: 16px;
  }

  .paper-mast h1 { font-size: 1.7rem; line-height: 1.05; }
  .paper-kicker {
    letter-spacing: 0.06em;
    line-height: 1.45;
    padding: 0 4px;
    max-width: 100%;
  }
  .paper-meta {
    justify-content: center;
    text-align: center;
    gap: 6px 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .paper-tick { min-width: 0; }
  .paper-tick p { min-width: 0; }
  .paper-lead h2 { font-size: 1.35rem; }
  .legal-nav {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .legal-nav a { flex: 0 0 auto; white-space: nowrap; }

  .career-hero h1,
  .demo-hero h1,
  .page-hero h1,
  .inner-head h1 {
    overflow-wrap: anywhere;
  }
  .career-hero h1 { font-size: 1.55rem; }
  .demo-hero h1 { font-size: 1.4rem; }
  .contact-facts { grid-template-columns: 1fr; }
  .footer-grid { min-width: 0; }
  .site-footer { overflow-wrap: anywhere; }

  .modal {
    inset: auto 0 0;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .media-deck { max-width: 100%; }
  .offer-pop-card { max-width: calc(100vw - 24px); }

  .auth-card { margin: 24px auto; padding: 20px 16px; }
  .checkout-card { padding: 16px; }
  .checkout-course { flex-wrap: wrap; }

  .hero-btn:hover { transform: none; }
  .hero-btn:active { transform: scale(.98); }
}

@media (max-width: 400px) {
  .ticker-socials { display: none; }
  .logo-text strong { max-width: 38vw; }
  .hero-arc-card,
  .hero-arc-card.is-center {
    flex-basis: 86vw;
    width: 86vw !important;
    max-width: none;
  }
  .hero-board-phones { grid-template-columns: 1fr; }
  .hero-phone-pill { font-size: 13px; padding: 0 12px; }
  .hero-board-main { font-size: 1.08rem; }
  .hero-board-main span { display: block; margin: 0 0 2px; }
  .hero-board-kicker { font-size: 0.72rem; }
}

@media print {
  .cert-doc-foot { display: none !important; }
  body:has(.cert-doc) .site-header,
  body:has(.cert-doc) .site-footer,
  body:has(.cert-doc) .site-nav,
  body:has(.cert-doc) .market-bg,
  body:has(.cert-doc) .ticker,
  body:has(.cert-doc) .verify-form,
  body:has(.cert-doc) .inner-head,
  body:has(.cert-doc) .verify-ok,
  body:has(.cert-doc) .chat-fab,
  body:has(.cert-doc) .chat-panel,
  body:has(.cert-doc) .desk-chat,
  body:has(.cert-doc) .bottom-nav,
  body:has(.cert-doc) .offer-pop,
  body:has(.cert-doc) .stu-appbar,
  body:has(.cert-doc) .stu-tabbar,
  body:has(.cert-doc) .stu-nav,
  body:has(.cert-doc) .cert-print-actions,
  body:has(.cert-doc) .cert-print-hint {
    display: none !important;
  }
}
