/* ==========================================================================
   Student-facing redesign — dark, glowing green, big bold type.
   Loaded after style.css by templates/base.html only (admin is untouched).
   ========================================================================== */

:root {
  --bg: #070b10;
  --surface: #0f161e;
  --surface-2: #141d27;
  --bg3: #0b1118;
  --border: #1c2834;
  --line: rgba(255,255,255,.06);
  --glow: 0 0 0 1px rgba(0,214,143,.45), 0 0 40px -6px rgba(0,214,143,.45), 0 30px 80px -30px rgba(0,214,143,.35);
  --radius: 18px;
}

body {
  background:
    radial-gradient(900px 500px at 50% -180px, rgba(0,214,143,.16), transparent 70%),
    radial-gradient(600px 400px at 100% 0, rgba(0,255,179,.05), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
/* faint trading-terminal grid behind everything */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0, #000 30%, transparent 75%);
  opacity: .5;
}
::selection { background: rgba(0,214,143,.35); color: #fff; }

/* ── Nav ── */
.nav {
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(7,11,16,.72); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav .brand { font-size: 20px; letter-spacing: -.02em; }
.nav .brand span { text-shadow: 0 0 18px rgba(0,214,143,.55); }
.nav-right { gap: 6px; }
.nav-right a {
  color: var(--muted); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav-right a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-right a.active { color: var(--green); background: rgba(0,214,143,.1); }
.nav-right .nav-user {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text); padding: 5px 12px 5px 5px;
  border: 1px solid var(--border); margin-left: 6px;
}
.nav-avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), #00a870); color: #04140e;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 13px;
}
.nav-right .nav-cta { background: var(--green); color: #04140e; margin-left: 6px; }
.nav-right .nav-cta:hover { background: var(--green2); color: #04140e; box-shadow: 0 0 24px rgba(0,214,143,.5); }
@media (max-width: 640px) {
  .nav-right a { padding: 7px 9px; font-size: 13px; }
  .nav-right .nav-user .nav-name, .nav-hide-sm { display: none; }
  .nav-right .nav-user { padding: 4px; }
  .nav .brand { font-size: 17px; }
}

/* ── Shared page header: eyebrow pill + huge headline ── */
.page { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 32px) 96px; }
.page-head { margin-bottom: 40px; }
.page-head.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700;
  color: var(--green); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(0,214,143,.25); background: rgba(0,214,143,.07);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.eyebrow .dot, .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(0,214,143,.7); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0,214,143,0); } 100% { box-shadow: 0 0 0 0 rgba(0,214,143,0); } }
.display {
  font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(40px, 7vw, 76px); margin: 0 0 16px;
}
.display .accent, .accent {
  color: var(--green);
  text-shadow: 0 0 28px rgba(0,214,143,.45);
}
.lead { color: var(--muted); font-size: clamp(15px, 1.6vw, 17.5px); max-width: 560px; margin: 0; }
.page-head.center .lead { margin: 0 auto; }

/* ── Buttons (student pages) ── */
.btn {
  border-radius: 12px; padding: 14px 18px; font-size: 15px; font-weight: 800; letter-spacing: .005em;
  transition: background .15s, box-shadow .2s, transform .15s;
  box-shadow: 0 0 0 1px rgba(0,214,143,.6), 0 8px 30px -8px rgba(0,214,143,.6);
}
.btn:hover:not(:disabled) { background: var(--green2); box-shadow: 0 0 0 1px var(--green2), 0 10px 40px -6px rgba(0,255,179,.7); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border);
}
.btn-ghost:hover:not(:disabled) { background: rgba(0,214,143,.08); color: var(--green); box-shadow: inset 0 0 0 1px rgba(0,214,143,.5); }
.btn .arrow { display: inline-block; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Inputs ── */
.input {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #4f5d6b; }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,214,143,.14); }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%238a97a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

/* ── Notices ── */
.notice {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border-radius: 14px; padding: 14px 18px; font-size: 14px; margin: 0 0 14px;
}
.notice::before { content: "!"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--amber); color: #1a1400; }
.notice.ok::before { content: "✓"; background: var(--green); color: #04140e; }
.notice a { font-weight: 700; margin-left: auto; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plan-course { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 28px; }
.plan-course strong { font-family: 'Syne', sans-serif; font-size: 20px; }
.plan-course span { color: var(--muted); font-size: 14px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; max-width: 920px; margin: 0 auto 48px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 24px; padding: 34px 30px 28px;
  transition: transform .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-3px); border-color: #2a3a4a; }
.price-card.featured {
  border-color: transparent; box-shadow: var(--glow);
  background:
    radial-gradient(500px 220px at 50% -60px, rgba(0,214,143,.18), transparent 70%),
    linear-gradient(180deg, #102019, var(--surface));
}
.price-card .offer-badge {
  position: absolute; top: -13px; left: 30px; margin: 0;
  padding: 5px 12px; border-radius: 999px; font-size: 10.5px;
  box-shadow: 0 0 24px rgba(0,214,143,.6);
}
.price-card h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 18px; }
.price-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.price-amt { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(48px, 6vw, 60px); line-height: .9; letter-spacing: -.04em; }
.price-amt .cur { font-size: .5em; vertical-align: .7em; margin-right: 2px; color: var(--muted); }
.featured .price-amt { color: var(--green); text-shadow: 0 0 34px rgba(0,214,143,.45); }
.featured .price-amt .cur { color: var(--green); }
.price-was { display: flex; flex-direction: column; gap: 3px; padding-bottom: 4px; }
.price-was s { color: var(--muted); font-size: 15px; }
.price-save { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #1a1400; background: var(--amber); border-radius: 6px; padding: 2px 7px; }
.price-meta { color: var(--muted); font-size: 12.5px; margin-top: 10px; }

.countdown {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; align-self: flex-start;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--amber);
  background: rgba(245,200,66,.08); border: 1px solid rgba(245,200,66,.25); border-radius: 999px; padding: 6px 12px;
}
.countdown .pulse { background: var(--amber); animation-name: pulse-amber; }
@keyframes pulse-amber { 0% { box-shadow: 0 0 0 0 rgba(245,200,66,.7); } 70% { box-shadow: 0 0 0 8px rgba(245,200,66,0); } 100% { box-shadow: 0 0 0 0 rgba(245,200,66,0); } }

.price-features { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.price-features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.price-features li::before {
  content: "✓"; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
  color: var(--green); background: rgba(0,214,143,.12); border: 1px solid rgba(0,214,143,.3);
}
.featured .price-features li::before { background: var(--green); color: #04140e; }

.price-live {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text);
  background: rgba(0,214,143,.06); border: 1px dashed rgba(0,214,143,.3); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 20px;
}
.price-live .pulse { margin-top: 6px; flex-shrink: 0; }
.price-spacer { flex: 1; }
.price-card .offer-msg { text-align: center; }

.price-inside { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13.5px; }
.price-inside summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-weight: 600;
}
.price-inside summary::-webkit-details-marker { display: none; }
.price-inside summary::after { content: "+"; font-family: 'JetBrains Mono', monospace; font-size: 16px; color: var(--green); transition: transform .2s; }
.price-inside[open] summary::after { transform: rotate(45deg); }
.price-inside summary:hover { color: var(--text); }
.price-inside .om-row { padding: 9px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.price-inside .om-row:last-child { border-bottom: none; }

.trust-row { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); flex-wrap: wrap; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ==========================================================================
   Login
   ========================================================================== */
.auth {
  max-width: 1080px; margin: 0 auto; min-height: calc(100vh - 66px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: 48px clamp(16px, 4vw, 32px);
}
.auth-copy .display { font-size: clamp(40px, 6vw, 68px); }
.auth-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.auth-points .num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--green);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(0,214,143,.08); border: 1px solid rgba(0,214,143,.25);
}
.auth-card {
  background: linear-gradient(180deg, #0f1c17, var(--surface)); border-radius: 24px;
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--glow);
}
.auth-card h2 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.auth-card .hint { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.auth-card .hint b { color: var(--text); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.auth-step { display: flex; gap: 6px; margin-bottom: 22px; }
.auth-step i { height: 4px; flex: 1; border-radius: 4px; background: var(--border); transition: background .3s, box-shadow .3s; }
.auth-step i.on { background: var(--green); box-shadow: 0 0 12px rgba(0,214,143,.7); }
.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.phone-field { display: flex; align-items: stretch; margin-bottom: 14px; }
.phone-field .prefix {
  display: flex; align-items: center; padding: 0 14px; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 15px;
  background: var(--surface-2); border: 1px solid var(--border); border-right: none; border-radius: 12px 0 0 12px; color: var(--muted);
}
.phone-field .input { margin: 0; border-radius: 0 12px 12px 0; font-family: 'JetBrains Mono', monospace; font-size: 17px; letter-spacing: .08em; }
.otp-input { font-family: 'JetBrains Mono', monospace !important; font-size: 26px !important; font-weight: 700; letter-spacing: .55em; text-align: center; padding: 16px !important; margin-bottom: 14px; }
.auth-back { background: none; border: none; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-top: 16px; font-family: inherit; }
.auth-back:hover { color: var(--green); }
.auth-fine { color: #5c6a78; font-size: 12px; margin: 20px 0 0; text-align: center; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; gap: 32px; }
  .auth-points { display: none; }
}

/* ==========================================================================
   Dashboard
   ========================================================================== */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.dash-head .display { font-size: clamp(38px, 6vw, 64px); margin: 0; }
.dash-stats { display: flex; gap: 10px; }
.dash-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; min-width: 110px; }
.dash-stat .v { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px; line-height: 1; color: var(--green); }
.dash-stat .l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

.live-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border-radius: 24px; padding: clamp(24px, 4vw, 36px); margin: 0 0 40px;
}
.live-card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,214,143,.25), transparent 70%); pointer-events: none;
}
.live-card.enrolled { border-color: transparent; box-shadow: var(--glow); background: linear-gradient(120deg, #0f241b, var(--surface) 70%); }
.live-card.invite { background: linear-gradient(120deg, #221d0c, var(--surface) 70%); }
.live-card.invite::after { background: radial-gradient(circle, rgba(245,200,66,.18), transparent 70%); }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; }
.live-card.invite .live-tag .pulse { background: var(--amber); animation-name: pulse-amber; }
.live-card h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; margin: 10px 0 8px; }
.live-when { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--green); margin: 0 0 6px; }
.live-note { margin: 0; max-width: 580px; }
.live-card .live-btn { position: relative; z-index: 1; padding: 14px 26px; white-space: nowrap; }
@media (max-width: 720px) { .live-card { grid-template-columns: 1fr; } .live-card .live-btn { justify-self: start; } }

.section-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.dash-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 0; }
.dash-card { border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dash-card:hover { transform: translateY(-4px); border-color: rgba(0,214,143,.4); box-shadow: 0 20px 60px -24px rgba(0,214,143,.45); }
.dash-thumb {
  position: relative; background-color: #0c1a15;
  background-image:
    radial-gradient(400px 200px at 30% 120%, rgba(0,214,143,.35), transparent 70%),
    linear-gradient(rgba(0,214,143,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,214,143,.08) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.dash-thumb[style*="background-image"] { background-size: cover; }
.dash-thumb-fallback { font-size: 64px; opacity: 1; color: var(--green); text-shadow: 0 0 40px rgba(0,214,143,.7); }
.dash-thumb .thumb-tag {
  position: absolute; top: 14px; left: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: rgba(7,11,16,.75); border: 1px solid var(--border); color: var(--muted); backdrop-filter: blur(6px);
}
.dash-thumb .thumb-tag.on { color: var(--green); border-color: rgba(0,214,143,.4); }
.dash-card-body { display: block; padding: 20px 22px 0; }
.dash-card-info h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 6px; }
.dash-subtitle { font-size: 13.5px; }
.dash-progress { padding: 18px 22px 0; }
.dash-progress-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.dash-progress-top b { font-family: 'JetBrains Mono', monospace; color: var(--text); }
.bar { height: 6px; border-radius: 6px; background: var(--bg3); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--pct) * 1%); border-radius: 6px; background: linear-gradient(90deg, #00a870, var(--green2)); box-shadow: 0 0 12px rgba(0,214,143,.8); }
.dash-actions { padding: 0 22px 22px; margin-top: 20px; }
.dash-price { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.dash-link { font-weight: 600; padding: 4px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: 22px; color: var(--muted); }

/* ==========================================================================
   Profile
   ========================================================================== */
.profile-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.profile-side {
  position: sticky; top: 96px; text-align: center; background: linear-gradient(180deg, #0f1c17, var(--surface));
  border: 1px solid var(--border); border-radius: 24px; padding: 32px 24px;
}
.profile-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 38px; color: #04140e;
  background: linear-gradient(135deg, var(--green2), #00a870); box-shadow: 0 0 0 6px rgba(0,214,143,.12), 0 0 40px rgba(0,214,143,.5);
}
.profile-side h3 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin: 0 0 4px; word-break: break-word; }
.profile-side .ph { font-family: 'JetBrains Mono', monospace; color: var(--muted); font-size: 13.5px; }
.profile-side .why { text-align: left; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 10px; }
.profile-side .why div { display: flex; gap: 10px; }
.profile-side .why div::before { content: "→"; color: var(--green); }

.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 36px); }
.profile-card h2 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.profile-card .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; }
.profile-card .group + .group { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.profile-form label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 8px; }
.profile-form label .req { color: var(--green); }
.profile-form .input.has-error { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.12); }
.field-error { font-size: 12.5px; margin-top: 6px; }
.locked-field { position: relative; }
.locked-field::after { content: "Verified"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; color: var(--green); background: rgba(0,214,143,.1); padding: 3px 8px; border-radius: 999px; }
.profile-form .input:disabled { opacity: 1; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.profile-form .btn { margin-top: 30px; }
@media (max-width: 860px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-side { position: static; display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px; }
  .profile-avatar { width: 56px; height: 56px; font-size: 24px; margin: 0; flex-shrink: 0; }
  .profile-side .why { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}

/* footer */
.foot-note { text-align: center; color: #5c6a78; font-size: 12px; max-width: 520px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.countdown .offer-ends { margin: 0; color: inherit; font-size: inherit; }
/* notice: keep icon beside text on narrow screens */
.notice { display: block; position: relative; padding-left: 50px; }
.notice::before { position: absolute; left: 16px; top: 14px; }
.notice a { margin-left: 6px; white-space: nowrap; }

/* ==========================================================================
   Watch page
   ========================================================================== */
.watch-layout { max-width: 1440px; }
.watch-main { padding: 22px clamp(16px, 3vw, 36px) 64px; transition: padding .2s; }
.watch-layout.focus .watch-sidebar { display: none; }
.watch-layout.focus .watch-main { max-width: 1180px; margin: 0 auto; }

.watch-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.crumbs a { color: var(--muted); font-weight: 600; white-space: nowrap; }
.crumbs a:hover { color: var(--green); }
.crumbs span { color: #3a4856; }
.crumbs .crumb-course { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.focus-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font: 600 12.5px 'Manrope', sans-serif; transition: color .15s, border-color .15s;
}
.focus-btn:hover { color: var(--green); border-color: rgba(0,214,143,.5); }
.watch-layout.focus .focus-ico { transform: scaleX(-1); }
.focus-ico { display: inline-block; }

/* Player */
.player-wrap {
  border-radius: 20px; border: 1px solid rgba(0,214,143,.22);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 30px 90px -30px rgba(0,214,143,.4), 0 0 60px -20px rgba(0,214,143,.25);
}
.dummy-player { border: none; background: radial-gradient(600px 300px at 50% 120%, rgba(0,214,143,.16), transparent 70%), #0b1118; }
.dummy-player-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 26px;
  color: var(--green); border: 1px solid rgba(0,214,143,.35); background: rgba(0,214,143,.08); margin-bottom: 14px;
}
.locked-player { background: radial-gradient(600px 300px at 50% 120%, rgba(245,200,66,.12), transparent 70%), #0b1118; }
.lock-orb {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; margin-bottom: 12px;
  background: rgba(245,200,66,.1); border: 1px solid rgba(245,200,66,.35); box-shadow: 0 0 40px rgba(245,200,66,.25);
}
.locked-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(20px, 3vw, 28px); letter-spacing: -.02em; margin: 0 0 8px; }
.locked-player .dummy-player-text { margin-bottom: 18px; max-width: 420px; }
.fs-btn { border-radius: 10px; backdrop-filter: blur(6px); }
.fs-btn:hover { border-color: var(--green); color: var(--green); }
.player-msg { border-radius: 0 0 20px 20px; }

/* Title + meta */
.video-info { margin-top: 26px; }
.video-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.lesson-count { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--green); letter-spacing: .04em; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #3a4856; }
.video-meta .video-section-label { margin: 0; font-size: 12.5px; }
.video-meta .kind-pill { margin-left: 0; }
.meta-dur { font-family: 'JetBrains Mono', monospace; }
.meta-done { color: var(--green); font-weight: 700; }
.watch-title { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(26px, 3.6vw, 42px); margin: 0 0 8px; }
.video-subtitle { color: var(--muted); opacity: 1; font-size: 15.5px; margin: 0; }

/* Prev / next cards */
.pn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 30px; }
.pn-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: border-color .15s, transform .15s, box-shadow .2s;
}
.pn-card.next { text-align: right; align-items: flex-end; background: linear-gradient(120deg, var(--surface), #0f2219); border-color: rgba(0,214,143,.3); }
.pn-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 14px 40px -18px rgba(0,214,143,.6); }
.pn-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pn-card.next .pn-label { color: var(--green); }
.pn-title { font-weight: 700; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
kbd {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px;
  border: 1px solid var(--border); border-bottom-width: 2px; background: var(--bg3); color: var(--muted); margin: 0 2px;
}

/* Tabs */
.tabs { gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab-btn { font-size: 14.5px; padding: 12px 0; display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { text-shadow: 0 0 16px rgba(0,214,143,.5); box-shadow: 0 2px 0 0 var(--green), 0 8px 18px -8px rgba(0,214,143,.8); border-bottom-color: transparent; }
.tab-count { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: rgba(0,214,143,.15); color: var(--green); }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.overview-text { font-size: 15.5px; line-height: 1.75; color: #c9d3dd; max-width: 760px; margin: 0 0 18px; white-space: pre-line; }
.takeaway-card {
  position: relative; max-width: 760px; padding: 16px 20px 16px 22px; border-radius: 14px; font-size: 14.5px;
  background: rgba(0,214,143,.06); border: 1px solid rgba(0,214,143,.25);
}
.takeaway-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--green); box-shadow: 0 0 10px var(--green); }
.takeaway-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.tab-empty { color: var(--muted); font-size: 14px; padding: 22px; border: 1px dashed var(--border); border-radius: 14px; text-align: center; margin: 0; }
.materials-list { display: grid; gap: 10px; }
.materials-list li { padding: 0; border: none; }
.materials-list a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); transition: border-color .15s;
}
.materials-list a:hover { border-color: rgba(0,214,143,.5); }
.mat-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--green); background: rgba(0,214,143,.1); font-weight: 800; }
.mat-title { flex: 1; font-weight: 600; font-size: 14px; }
.mat-go { font-size: 12.5px; font-weight: 700; color: var(--green); }
.note-box { min-height: 170px; resize: vertical; line-height: 1.6; margin-bottom: 12px; }
.note-bar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.note-bar .note-hint { margin-right: auto; font-size: 12px; color: var(--muted); }
.note-bar .msg { margin: 0; min-height: 0; }
.shortcut-hint { margin-top: 40px; font-size: 12px; color: #5c6a78; }

/* Sidebar */
.watch-sidebar {
  top: 67px; height: calc(100vh - 67px); width: 360px;
  background: rgba(11,17,24,.85); backdrop-filter: blur(10px); border-left: 1px solid var(--line);
}
.sidebar-header { display: block; padding: 18px 20px 16px; border-bottom: 1px solid var(--line); }
.sb-head-top { display: flex; justify-content: space-between; align-items: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.sidebar-expand-toggle { text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.sidebar-expand-toggle:hover { border-color: rgba(0,214,143,.5); }
.sb-progress .dash-progress-top { font-size: 12px; margin-bottom: 7px; }
.kind-chips { padding: 12px 20px; border-bottom: 1px solid var(--line); }
.kind-chip { border-radius: 999px; transition: color .15s, border-color .15s; }
.kind-chip.active { box-shadow: 0 0 18px -4px rgba(0,214,143,.7); }
.sidebar-section { border-bottom: 1px solid var(--line); }
.sidebar-section-header { padding: 14px 20px; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--text); font-weight: 700; }
.sidebar-section-header:hover { background: rgba(255,255,255,.02); }
.sec-name { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.sec-idx { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--green); flex-shrink: 0; }
.sec-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--muted); }
.sec-count { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; }
.sidebar-section.complete .sec-count { color: var(--green); }
.sidebar-section-videos { padding-bottom: 8px; }
.sidebar-video, .lesson-row { padding-left: 20px; padding-right: 20px; transition: background .15s; }
.sidebar-video { padding-top: 11px; padding-bottom: 11px; color: #c9d3dd; }
.sidebar-video.current, .lesson-row.current {
  background: linear-gradient(90deg, rgba(0,214,143,.14), rgba(0,214,143,.02)); border-left-color: var(--green);
  box-shadow: inset 2px 0 12px -6px var(--green);
}
.sidebar-video.current .sv-title, .lesson-row.current .lesson-top .sv-title { color: var(--text); font-weight: 700; }
.lesson-top .check, .sidebar-video .check { width: 18px; height: 18px; border-radius: 50%; }
.lesson-top .check.done, .sidebar-video .check.done { box-shadow: 0 0 10px rgba(0,214,143,.5); }
.lesson-parts { margin-left: 28px; }
.part-pill { border-radius: 999px; }

/* equaliser bars for "now playing" */
.now-playing { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex-shrink: 0; }
.now-playing i { width: 3px; background: var(--green); border-radius: 2px; animation: eq 1s ease-in-out infinite; box-shadow: 0 0 6px var(--green); }
.now-playing i:nth-child(2) { animation-delay: .2s; }
.now-playing i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* Rating modal */
.modal-overlay { background: rgba(3,6,9,.78); backdrop-filter: blur(6px); }
.rate-box {
  max-width: 400px; text-align: center; border-radius: 24px; padding: 34px 28px 26px; border-color: transparent;
  background: radial-gradient(400px 200px at 50% -40px, rgba(0,214,143,.2), transparent 70%), var(--surface);
  box-shadow: var(--glow); animation: pop .25s ease-out;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.rate-badge {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  font-size: 24px; font-weight: 800; color: #04140e; background: var(--green); box-shadow: 0 0 0 6px rgba(0,214,143,.15), 0 0 40px rgba(0,214,143,.6);
}
.rate-box h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; margin: 0 0 6px; }
.rate-sub { color: var(--muted); font-size: 14px; margin: 0; }
.stars { font-size: 38px; letter-spacing: 6px; margin: 18px 0 4px; color: #26323e; }
.star { display: inline-block; transition: color .12s, transform .12s, text-shadow .12s; }
.star:hover { transform: scale(1.15); }
.star.filled { text-shadow: 0 0 16px rgba(245,200,66,.6); }
.star-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--amber); min-height: 18px; margin-bottom: 16px; }
.rate-box .input { text-align: left; resize: vertical; }
.rate-box .btn { margin-top: 4px; }

@media (max-width: 860px) {
  .watch-sidebar { width: 100%; top: auto; height: auto; backdrop-filter: none; }
  .focus-btn { display: none; }
  .shortcut-hint { display: none; }
  .pn-grid { gap: 10px; }
  .pn-card { padding: 12px 14px; }
}
@media (max-width: 520px) {
  .pn-grid { grid-template-columns: 1fr; }
  .pn-grid > span:empty { display: none; }
  .tabs { gap: 18px; overflow-x: auto; }
}
@media (max-width: 860px) { .pn-label kbd { display: none; } }
.locked-player .btn { width: auto; padding: 13px 26px; }
.locked-title .accent { color: var(--amber); text-shadow: 0 0 24px rgba(245,200,66,.45); }

/* ==========================================================================
   Sizing pass for laptop screens (Windows 125–150% scaling ≈ 850–1150px wide).
   Calmer type scale, real side gutters, nothing touching the screen edges.
   ========================================================================== */
:root { --gutter: clamp(20px, 5vw, 56px); }

.nav { padding-left: var(--gutter); padding-right: var(--gutter); }
.page {
  max-width: calc(1040px + 2 * var(--gutter));
  padding: clamp(32px, 4.5vw, 64px) var(--gutter) 80px;
}
.page-head { margin-bottom: clamp(24px, 3vw, 36px); }
.eyebrow { margin-bottom: 16px; }
.display { font-size: clamp(34px, 4.6vw, 64px); }
.dash-head .display, .auth-copy .display { font-size: clamp(34px, 4.4vw, 58px); }
.lead { font-size: clamp(14.5px, 1.3vw, 17px); }

/* Pricing */
.price-grid { gap: clamp(16px, 2vw, 24px); max-width: 880px; }
.price-card { padding: clamp(24px, 2.6vw, 32px) clamp(20px, 2.4vw, 30px) 24px; }
.price-amt { font-size: clamp(40px, 4.4vw, 56px); }
.price-features { margin: 20px 0; gap: 10px; }
.price-features li { font-size: 14.5px; }

/* Login */
.auth { padding: clamp(28px, 4vw, 48px) var(--gutter); min-height: calc(100vh - 66px); max-width: calc(1040px + 2 * var(--gutter)); }
.auth-card { padding: clamp(22px, 3vw, 36px); }

/* Dashboard */
.live-card { padding: clamp(20px, 3vw, 32px); margin-bottom: 32px; }
.live-card h3 { font-size: clamp(20px, 2.4vw, 28px); }
.dash-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: clamp(16px, 2vw, 22px); }
.dash-thumb { aspect-ratio: 2 / 1; }
.dash-stat { padding: 12px 16px; min-width: 96px; }
.dash-stat .v { font-size: 24px; }

/* Profile */
.profile-layout { grid-template-columns: minmax(220px, 280px) 1fr; gap: clamp(16px, 2.4vw, 28px); }
.profile-avatar { width: 76px; height: 76px; font-size: 32px; }

/* Watch: keep the side-by-side layout down to tablet width, with gutters */
.watch-main { padding: 20px var(--gutter) 56px; }
.watch-layout:not(.focus) .watch-main { padding-right: clamp(20px, 2.6vw, 36px); }
.watch-sidebar { width: clamp(280px, 28vw, 360px); }
.watch-title { font-size: clamp(24px, 2.8vw, 38px); }
.player-wrap { border-radius: 16px; }

@media (max-width: 860px) {
  /* Stacked: lesson list becomes a rounded card with the same gutters, not edge to edge */
  .watch-layout { flex-direction: column; align-items: stretch; }
  .watch-main { padding: 18px var(--gutter) 24px !important; }
  .watch-sidebar {
    width: auto; margin: 0 var(--gutter) 48px; position: static; height: auto;
    border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  }
  .sidebar-scroll { max-height: none; }
  .profile-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .auth { grid-template-columns: 1fr; max-width: 560px; min-height: 0; gap: 28px; }
  .auth-points { display: none; }
}

/* ==========================================================================
   Pricing v2 — single split card (from the new pricing design)
   ========================================================================== */
.pz {
  display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 32px);
  width: 100%; max-width: 1180px; margin: 0 auto; box-sizing: border-box;
  min-height: calc(100vh - 66px);
  padding: clamp(16px, 3vh, 36px) var(--gutter, clamp(16px, 3vw, 40px));
}
.pz-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.pz-head-l { display: flex; flex-direction: column; gap: 12px; }
.pz-eyebrow { display: flex; align-items: center; gap: 8px; font: 700 12px 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--green); }
.pz-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pz-h1 { margin: 0; font-family: 'Unbounded', 'Syne', sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.pz-h1 span { color: var(--green); }
.pz-lead { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.5; color: #9aa8ad; text-wrap: pretty; }

.pz-card {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  border: 1px solid rgba(0,214,143,.45); border-radius: 20px;
  background: linear-gradient(180deg, #0f1a17, #0c1215); box-shadow: 0 0 60px rgba(0,214,143,.12);
}
.pz-left { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vh, 32px); border-right: 1px solid rgba(255,255,255,.06); }
.pz-right { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vh, 32px); }
@media (max-width: 760px) { .pz-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); } }

.pz-titlebox { display: flex; flex-direction: column; gap: 6px; }
.pz-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pz-badge { padding: 5px 10px; border-radius: 999px; background: var(--green); color: #04130d; font: 700 11px 'JetBrains Mono', monospace; letter-spacing: .1em; }
.pz-course { font-size: 13px; color: #7f8d92; }
.pz-name { margin: 8px 0 0; font-family: 'Unbounded', 'Syne', sans-serif; font-weight: 600; font-size: 22px; color: #fff; letter-spacing: -.01em; }

.pz-pricebox { display: flex; align-items: center; gap: 16px; }
.pz-price { font-family: 'Unbounded', 'Syne', sans-serif; font-weight: 800; font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: -.04em; color: var(--green); }
.pz-price span { font-size: .5em; vertical-align: .7em; margin-right: 2px; }
.pz-was { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pz-was s { color: #7f8d92; font-size: 16px; }
.pz-save { padding: 3px 8px; border-radius: 6px; background: #f5c84b; color: #1a1300; font: 700 12px 'JetBrains Mono', monospace; }

.pz-ends {
  display: flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(245,200,75,.35); background: rgba(245,200,75,.06);
  font: 500 12.5px 'JetBrains Mono', monospace; color: #f5c84b;
}
.pz-ends > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #f5c84b; flex: none; }
.pz-ends .offer-ends { margin: 0; color: inherit; font-size: inherit; }
.pz-spacer { flex: 1; min-height: 0; }

.pz-cta {
  display: flex; justify-content: center; align-items: center; gap: 8px; height: 52px; width: 100%; border: none; cursor: pointer;
  border-radius: 12px; background: var(--green); color: #04130d; font: 600 16px 'Manrope', sans-serif;
  box-shadow: 0 8px 30px rgba(0,214,143,.25); transition: background .15s, transform .15s, box-shadow .2s;
}
.pz-cta:hover:not(:disabled) { background: #3dffb5; color: #04130d; transform: translateY(-1px); box-shadow: 0 10px 40px rgba(0,214,143,.4); }
.pz-cta:disabled { opacity: .55; cursor: wait; }
.pz-cta-done { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px rgba(0,214,143,.5); }
.pz-cta-done:hover { background: rgba(0,214,143,.1) !important; color: var(--green) !important; }
.pz-left .offer-msg { margin: -8px 0 0; text-align: center; }
.pz-left .offer-msg:empty { display: none; }
.pz-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #7f8d92; }

.pz-label { font: 700 11px 'JetBrains Mono', monospace; letter-spacing: .14em; color: #7f8d92; }
.pz-feat { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pz-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; color: #d5dde0; }
.pz-feat li span { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(0,214,143,.15); color: var(--green); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pz-live { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(0,214,143,.3); background: rgba(0,214,143,.04); font-size: 13px; line-height: 1.45; color: #aab7bb; }
.pz-live span { flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--green); }
.pz-inside { border-top: 1px solid rgba(255,255,255,.06); padding-top: 12px; }
.pz-inside summary { list-style: none; display: flex; justify-content: space-between; cursor: pointer; font-size: 14px; color: #9aa8ad; }
.pz-inside summary::-webkit-details-marker { display: none; }
.pz-inside summary span { color: var(--green); transition: transform .2s; }
.pz-inside[open] summary span { transform: rotate(45deg); }
.pz-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; font-size: 13.5px; color: #d5dde0; border-bottom: 1px solid rgba(255,255,255,.05); }
.pz-row:last-child { border-bottom: none; }
.pz-count { font: 500 11.5px 'JetBrains Mono', monospace; color: #7f8d92; }
.pz-foot { margin: 0; text-align: center; font-size: 12px; color: #5f6c71; }

/* Login: free Python module highlight */
.free-callout {
  display: flex; gap: 14px; align-items: center; margin: 0 0 24px; padding: 14px 16px; border-radius: 14px;
  background: rgba(0,214,143,.06);
  border: 1px solid rgba(0,214,143,.22);
}
.free-tag {
  flex: none; font: 800 11px 'JetBrains Mono', monospace; letter-spacing: .08em; color: #04140e; background: var(--green);
  padding: 7px 10px; border-radius: 9px; box-shadow: 0 0 8px rgba(0,214,143,.3); white-space: nowrap;
}
.free-callout b { display: block; font-size: 14.5px; color: #fff; line-height: 1.35; }
.free-callout small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.auth-points li.pt-free { color: #fff; }
.auth-points li.pt-free b { color: var(--green); text-shadow: 0 0 14px rgba(0,214,143,.5); }
.auth-points li.pt-free .num { background: var(--green); color: #04140e; box-shadow: 0 0 16px rgba(0,214,143,.6); }

/* Pricing: What's inside on top, bigger toggle, live-session rows */
.pz-right .pz-inside { border-top: none; padding: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.pz-inside summary { align-items: center; font-size: 15px; font-weight: 600; color: #d5dde0; }
.pz-inside summary .pz-plus {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 600 20px/1 'Manrope', sans-serif; color: var(--green);
  border: 1px solid rgba(0,214,143,.35); background: rgba(0,214,143,.06);
  transition: transform .2s, background .15s;
}
.pz-inside summary:hover .pz-plus { background: rgba(0,214,143,.14); }
.pz-inside[open] summary .pz-plus { transform: rotate(45deg); }
.pz-list { margin-top: 8px; }
.pz-liverow { background: rgba(0,214,143,.05); border-radius: 10px; padding: 9px 10px !important; margin: 4px -10px; border-bottom: none !important; }
.pz-live-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--green); font-weight: 700; }
.pz-live-name i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0,214,143,.6); animation: pulse 2s infinite; flex: none; }
.pz-live-name small { font-weight: 500; font-size: 11.5px; color: #7f8d92; }
.pz-live-date { font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .04em; color: #04140e; background: var(--green); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pz-list-note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #7f8d92; }

/* Pricing: recorded vs live key, video counts on every module */
.pz-key { display: grid; gap: 10px; margin: 12px 0 6px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.pz-key > div { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: #9aa8ad; }
.pz-key b { color: #e8eef0; font-weight: 600; }
.pz-key-ico { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 9px; margin-top: 1px; }
.pz-key-ico.rec { color: #e8eef0; background: rgba(255,255,255,.08); }
.pz-key-ico.live { background: rgba(0,214,143,.14); }
.pz-key-ico.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pz-row-r { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pz-row .upcoming-pill { margin: 0; }
.pz-ready { font: 700 10px 'JetBrains Mono', monospace; letter-spacing: .05em; text-transform: uppercase; color: var(--green); background: rgba(0,214,143,.1); padding: 3px 8px; border-radius: 999px; }
.pz-list-note b { color: #d5dde0; font-weight: 600; }

/* Pricing: risk disclaimer before checkout */
.dz-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3,6,9,.8); backdrop-filter: blur(6px); }
.dz-overlay[hidden] { display: none; }
.dz-box {
  width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #0f1519; border: 1px solid rgba(245,200,75,.35); border-radius: 20px; padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); animation: pop .2s ease-out;
}
.dz-tag { display: inline-block; font: 700 11px 'JetBrains Mono', monospace; letter-spacing: .12em; color: #f5c84b; background: rgba(245,200,75,.1); border: 1px solid rgba(245,200,75,.3); padding: 4px 10px; border-radius: 999px; }
.dz-box h3 { font-family: 'Unbounded', 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: #fff; margin: 12px 0 14px; }
.dz-list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.dz-list li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: #aab7bb; }
.dz-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #f5c84b; }
.dz-list b { color: #e8eef0; font-weight: 600; }
.dz-agree { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); cursor: pointer; font-size: 13.5px; color: #e8eef0; line-height: 1.45; }
.dz-agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #00d68f; flex: none; cursor: pointer; }
.dz-actions { display: flex; gap: 10px; margin-top: 18px; }
.dz-cancel { flex: 0 0 auto; height: 52px; padding: 0 20px; border-radius: 12px; background: transparent; color: #9aa8ad; border: 1px solid rgba(255,255,255,.12); font: 600 15px 'Manrope', sans-serif; cursor: pointer; }
.dz-cancel:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.dz-go { flex: 1; }
.dz-go:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }
@media (max-width: 480px) { .dz-actions { flex-direction: column-reverse; } .dz-cancel { width: 100%; } }

/* Footer with policy links (all student pages) */
.site-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap;
  max-width: calc(1040px + 2 * var(--gutter, 24px)); margin: 0 auto; padding: 22px var(--gutter, 24px) 28px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: #5f6c71;
}
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: #7f8d92; }
.site-foot a:hover { color: var(--green); }

/* Policy pages */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter, 20px) 64px; }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.legal-tabs a { font-size: 13px; font-weight: 600; color: #9aa8ad; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); }
.legal-tabs a:hover { color: #fff; }
.legal-tabs a.on { color: #04140e; background: var(--green); border-color: var(--green); }
.legal-h1 { font-family: 'Unbounded', 'Syne', sans-serif; font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; line-height: 1.1; color: #fff; margin: 0 0 8px; }
.legal-meta { font: 500 12px 'JetBrains Mono', monospace; color: #7f8d92; margin: 0 0 28px; }
.legal-body { font-size: 15px; line-height: 1.7; color: #c3ced2; }
.legal-body h2 { font-family: 'Unbounded', 'Syne', sans-serif; font-size: 17px; font-weight: 600; color: #fff; margin: 32px 0 10px; letter-spacing: -.01em; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-body li::marker { color: var(--green); }
.legal-body b { color: #fff; font-weight: 600; }
.legal-body code { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--green); }
.legal-callout { padding: 16px 18px; border-radius: 14px; background: rgba(245,200,75,.07); border: 1px solid rgba(245,200,75,.35); color: #e8eef0; margin-bottom: 8px; }
.legal-callout b { color: #f5c84b; }
.legal-note { font-size: 13.5px; color: #9aa8ad; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.legal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 18px 0 8px; }
.legal-card { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.lc-k { font: 700 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #7f8d92; margin-bottom: 6px; }
.lc-v { display: block; font-weight: 700; font-size: 15px; color: var(--green); word-break: break-all; }
.lc-s { font-size: 12.5px; color: #7f8d92; margin-top: 4px; }

/* Payment popup: link to full terms */
.dz-links { font-size: 12.5px; color: #9aa8ad; margin: -6px 0 16px; }
.dz-links a { color: var(--green); text-decoration: underline; }
.legal-lead { font-size: 17px; color: #e8eef0; }