/* MTT Mastery: one stylesheet for the whole site */

:root {
  /* tells the browser this is a dark site, so built-in controls (dropdown lists, checkboxes, scrollbars) draw dark */
  color-scheme: dark;
  --bg: #090909;
  --surface: rgba(22, 22, 22, 0.78);
  --surface-2: rgba(10, 10, 10, 0.55);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.55);
  --red: #ff3838;
  --red-deep: #d60000;
  --red-glow: rgba(255, 40, 40, 0.10);
  /* "green" and "blue" are retired accents; they map onto the red/white palette */
  --green: #ff5a5a;
  --green-bg: rgba(255, 56, 56, 0.10);
  --green-border: rgba(255, 56, 56, 0.30);
  --purple: #d7c2ff;
  --blue: #ffffff;
  --radius: 16px;
  --header-h: 72px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* for screen readers and search engines only */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { min-height: 70vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Buttons, pills, cards ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 25, 25, 0.26);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255, 40, 40, 0.35); filter: brightness(1.08); }
.btn-dark {
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 22px; }

.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.btn-row-left { justify-content: flex-start; }
.center { text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  box-shadow: 0 0 10px rgba(255, 56, 56, 0.10);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow-red {
  display: block;
  margin-bottom: 10px;
  color: #ff4a4a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.card {
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  max-width: 1240px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-logo { flex: none; } /* never squeezed by the account line on narrow phones */
.header-logo img { height: 44px; width: auto; }
.header-nav { display: flex; gap: 40px; }
.header-nav a {
  color: #e0e0e0;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: color .15s ease;
}
.header-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.header-dashboard:hover { color: #fff; }
/* under Dashboard, centered beneath it: the signed-in email, or Sign In or Create Account */
.header-account { display: flex; flex-direction: column; align-items: center; }
.header-account-line {
  max-width: 190px;
  margin-top: 1px;
  overflow: hidden;
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-account-line[hidden] { display: none; }
.header-account-cta { color: var(--red); font-weight: 700; }
.header-account-cta:hover { color: #fff; }

/* ---------- Sections ---------- */

.section { max-width: 1120px; margin: 0 auto; padding: 96px 24px 0; }
.section-tight { padding-top: 64px; }
/* the homepage gets more breathing room between its sections */
.home .section { padding-top: 140px; }
.home .section-tight { padding-top: 100px; }
.section-head { max-width: 1040px; margin: 0 auto 56px; text-align: center; }
/* same type as the hero headline, one size down */
.section-head h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  text-wrap: balance;
}
.section-head p { max-width: 720px; margin: 18px auto 0; color: var(--text-2); font-size: 18px; line-height: 1.65; text-wrap: balance; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 20, 20, 0.15), transparent 60%), #070707;
}
/* faint grid, fading out toward the edges */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 75%);
}
/* the graph wipes in left to right, holds, fades, and draws again; a wipe works at any screen width */
.hero-graph { position: absolute; inset: auto 0 0 0; width: 100%; height: 78%; clip-path: inset(0 100% 0 0); animation: hero-draw 9s .3s infinite; }
.hero-line { filter: drop-shadow(0 0 8px rgba(255, 56, 56, 0.6)); }
@keyframes hero-draw {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: cubic-bezier(.6, 0, .2, 1); }
  30% { clip-path: inset(0 0 0 0); opacity: 1; }
  86% { clip-path: inset(0 0 0 0); opacity: 1; animation-timing-function: ease; }
  98% { clip-path: inset(0 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}

.hero-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 24px 96px;
  text-align: center;
}
/* the text never depends on an animation to be visible: it only slides up a little */
.hero-copy { animation: hero-rise .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes hero-rise { from { transform: translateY(14px); } to { transform: none; } }
.hero h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.08; letter-spacing: -1.5px; }
.hero-line-2 { display: block; }
.hero-highlight {
  display: inline;
  background: linear-gradient(100deg, #ff2a2a, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead-line { display: block; }
.hero .lead-stats { margin-top: 6px; color: #fff; font-weight: 700; }
.hero .lead { max-width: 800px; margin: 26px auto 0; color: var(--text-2); font-size: 18px; line-height: 1.65; }
.hero .btn-row { margin-top: 38px; }
.btn-hero { padding: 17px 30px; font-size: 16px; border-radius: 10px; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

/* the three facts, as a slim strip along the bottom */
.hero-stats {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 56px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}
.hero-stats li { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 700; letter-spacing: 0.2px; }
.hero-stats svg { color: var(--red); filter: drop-shadow(0 0 6px rgba(255, 56, 56, 0.5)); }

/* The edge */
.prose { max-width: 820px; margin: 0 auto; text-align: center; color: var(--text-2); font-size: 18px; }
.prose p + p { margin-top: 18px; }
/* styled like the pricing cards */
.profit-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 40px 30px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.profit-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
.profit-title { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: center; font-size: 26px; letter-spacing: -0.5px; }
.profit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 40px; }
.profit-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 8px 0; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
/* red version of the pricing checkmarks */
.profit-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat, linear-gradient(135deg, #ff3838, #d60000);
  box-shadow: 0 0 12px rgba(255, 56, 56, 0.4);
}
.js-anim .profit-list li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i) * 60ms); }
.js-anim .profit-card.is-visible .profit-list li { opacity: 1; transform: none; }
.dot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.dot-list li { position: relative; padding-left: 20px; color: rgba(255, 255, 255, 0.86); font-weight: 600; }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 56, 56, 0.6);
}

/* Results */
.wins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto 56px;
}
/* identical frames, so screenshots of different sizes still line up; the frame matches GGPoker's grey */
.win {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 36 / 58;
  padding: 8px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #171717;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.win img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.win:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
.win-featured { transform: scale(1.06); z-index: 1; border-color: rgba(255, 56, 56, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 40, 40, 0.18); }
.win-featured:hover { transform: scale(1.06) translateY(-6px); border-color: rgba(255, 56, 56, 0.55); }

/* Graph */
/* same card as the pricing and win frames; the graph image is see-through, recolored for the dark page */
.graph-frame {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 28px 20px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.12), transparent 45%), #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 50px rgba(255, 40, 40, 0.08);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.graph-frame:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(255, 40, 40, 0.14); }
.graph-frame img { width: 100%; }

/* shared card look, same as the pricing cards */
.about-card, .module, .quote, .postflop-card, .faq details, .titles li, .proof li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

/* About */
.about-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px 44px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.about-photo { width: 100%; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.12); }
.about-text p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.about-text p + p { margin-top: 16px; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px; text-align: center; }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.stats strong {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #ff2a2a, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span { color: var(--text-3); font-size: 13px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; }
.titles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 22px auto 0; }
.titles li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #121212;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}
.titles li:hover { transform: translateY(-4px); border-color: rgba(255, 56, 56, 0.35); box-shadow: 0 0 30px rgba(255, 40, 40, 0.10); }
.titles img { flex: none; width: 48px; height: 48px; }

/* Trailer: the video in a card like the pricing cards */
.trailer {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.12), transparent 45%), #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 40, 40, 0.10);
}
.trailer iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }

/* Course modules */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.module {
  position: relative;
  padding: 30px 30px 26px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.module:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
.module-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.module-num { color: #ff4a4a; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.module-meta { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); color: var(--text-3); font-size: 12px; font-weight: 700; white-space: nowrap; }
.module h3 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 10px; }
.module p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.module-extras { background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.06), transparent 45%), #141414; border-style: dashed; border-color: rgba(255, 255, 255, 0.18); }
.module-extras .module-num { color: #fff; }

/* red version of the pricing checkmarks */
.check-list li { position: relative; padding-left: 30px; margin: 9px 0; color: rgba(255, 255, 255, 0.88); font-size: 15px; font-weight: 600; line-height: 1.4; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat, linear-gradient(135deg, #ff3838, #d60000);
  box-shadow: 0 0 10px rgba(255, 56, 56, 0.35);
}
.check-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }

.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.proof li { padding: 20px 14px; text-align: center; border-radius: 18px; background: #121212; }
.proof strong { display: block; font-size: 20px; font-weight: 800; }
.proof span { color: var(--text-3); font-size: 13px; font-weight: 600; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1060px; margin: 0 auto; }
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 28px 26px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.quote:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
.quote::before {
  content: "\201C";
  display: block;
  height: 44px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(100deg, #ff2a2a, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote p { flex: 1; color: rgba(255, 255, 255, 0.9); font-size: 16.5px; font-weight: 600; line-height: 1.55; }
.quote cite { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-3); font-size: 13px; font-style: normal; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* Pricing */
/* two plans side by side; the same feature rows on both so the difference is obvious */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  --plan-bg: #141414;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), var(--plan-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }

/* the bundle: animated gradient border, purple glow, slightly raised */
.plan-featured {
  --plan-bg: #15121b;
  border: 1.5px solid transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(164, 107, 255, 0.16), transparent 50%) padding-box,
    linear-gradient(var(--plan-bg), var(--plan-bg)) padding-box,
    conic-gradient(from var(--spin), #ff3838, #a46bff, #ff6b6b, #a46bff, #ff3838) border-box;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(164, 107, 255, 0.18);
  animation: plan-spin 6s linear infinite;
}
.plan-featured:hover { border-color: transparent; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(164, 107, 255, 0.30); }
@keyframes plan-spin { to { --spin: 360deg; } }

.plan-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a46bff, #ff3838);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(164, 107, 255, 0.4);
}

.plan-head { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; perspective: 700px; }
.plan-art img {
  width: 96px;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  transform: rotateY(-14deg) rotateX(4deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
}
.plan:hover .plan-art img { transform: rotateY(8deg) rotateX(0) translateY(-4px) scale(1.04); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 40, 40, 0.2); }
.plan-featured:hover .plan-art img { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(164, 107, 255, 0.35); }
.plan-head .badge { margin-bottom: 8px; }
.plan-head h3 { font-size: 26px; letter-spacing: -0.5px; line-height: 1.1; }
.plan-tagline { margin-top: 6px; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }

.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 24px 0 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.plan-price strong { color: #fff; font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.plan-price s { color: var(--text-3); font-size: 20px; font-weight: 700; }
.plan-price span { flex-basis: 100%; color: var(--text-3); font-size: 13px; font-weight: 600; }
.plan-price .plan-save {
  flex-basis: auto;
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 56, 56, 0.10);
  border: 1px solid rgba(255, 56, 56, 0.30);
  color: #ff5a5a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.plan-features { flex: 1; margin: 0 0 26px; }
.plan-features li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 8px 0; font-size: 15px; }
.plan-features strong { display: block; font-weight: 700; line-height: 1.35; }
.plan-features em { display: block; margin-top: 1px; color: var(--text-3); font-size: 13px; font-style: normal; }
.feat-icon { position: relative; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; }
.yes .feat-icon { background: linear-gradient(135deg, #ff3838, #d60000); box-shadow: 0 0 12px rgba(255, 56, 56, 0.4); }
.yes .feat-icon::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.no { color: var(--text-3); }
.no strong { font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.no .feat-icon { border: 1.5px solid rgba(255, 255, 255, 0.18); }
.no .feat-icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9.5px; height: 1.5px; background: rgba(255, 255, 255, 0.3); }
/* what only the bundle has */
.plus { margin: 0 -12px; padding: 8px 12px; border-radius: 10px; background: linear-gradient(90deg, rgba(164, 107, 255, 0.14), transparent); }
.plus .feat-icon { background: linear-gradient(135deg, #a46bff, #ff3838); box-shadow: 0 0 14px rgba(164, 107, 255, 0.5); }
.plus .feat-icon::after { border-color: #fff; }
.plus em { color: #c9b2ff; }

.plan-cta { position: relative; overflow: hidden; width: 100%; padding: 17px 24px; font-size: 17px; }
.plan-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.plan:hover .plan-cta::after { left: 120%; }
.plan-featured .plan-cta { box-shadow: 0 10px 30px rgba(255, 40, 40, 0.35); }

/* feature rows slide in one after another when the plans scroll into view (only when JS is on) */
.js-anim .plan-features li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i) * 60ms); }
.js-anim .plans.is-visible .plan-features li { opacity: 1; transform: none; }

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}
.badge-green { background: rgba(255, 56, 56, 0.10); border: 1px solid rgba(255, 56, 56, 0.30); color: #ff5a5a; }
.badge-purple { background: rgba(170, 120, 255, 0.12); border: 1px solid rgba(170, 120, 255, 0.38); color: var(--purple); }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 64px; margin-top: 40px; color: var(--text-3); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--text-2); }
.trust a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.trust a:hover { color: #fff; }

/* Postflop Framework */
.postflop-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: 22px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.postflop-card:hover { border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
/* the box tilts like the boxes on the pricing cards */
.postflop-art { perspective: 900px; }
.postflop-box { border-radius: 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 40, 40, 0.15); transform: rotateY(-14deg) rotateX(4deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.postflop-card:hover .postflop-box { transform: rotateY(8deg) translateY(-4px) scale(1.03); }
.postflop-card h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; text-wrap: balance; }
.postflop-body > p { color: var(--text-2); font-size: 16.5px; line-height: 1.65; }
.postflop-body > p strong { color: #fff; }
.postflop-body .check-list { margin-top: 14px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.mini-stats li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.10); }
.mini-stats strong { display: block; font-size: 18px; font-weight: 800; }
.mini-stats span { color: var(--text-3); font-size: 13px; }
.postflop-card .btn-row { margin-top: 24px; }
.postflop-body .included-note { margin-top: 14px; color: var(--text-3); font-size: 13.5px; font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; interpolate-size: allow-keywords; }
.faq details { border-radius: 18px; background: #121212; }
.faq details + details { margin-top: 12px; }
.faq details:hover { border-color: rgba(255, 255, 255, 0.22); }
.faq details[open] { border-color: rgba(255, 56, 56, 0.35); background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414; box-shadow: 0 0 40px rgba(255, 40, 40, 0.08); }
/* answers slide open where the browser supports it */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* a plus that turns into a minus */
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: #ff4a4a;
  transition: transform .3s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq-answer { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.faq-answer p + p, .faq-answer p + ul { margin-top: 12px; }
.faq-answer a { color: #ff5a5a; }
.faq-answer strong { color: #fff; }
.faq-answer .check-list + p { margin-top: 18px; }
.faq-modules { margin-top: 10px; }
.faq-modules li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.faq-modules li:last-child { padding-bottom: 0; }
.faq-modules span { margin-left: 6px; color: #ff5a5a; font-size: 13px; font-weight: 700; }
.faq-modules p { margin-top: 4px; font-size: 15px; }

/* ---------- Inner pages (Courses & Coaching, products) ---------- */

.page-top { padding-top: 56px; }
.page-title { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.5px; }
.group-title {
  max-width: 1000px;
  margin: 8px auto 32px;
  text-align: center;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -1px;
}
.group-title ~ .group-title { margin-top: 96px; }

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.product-tile {
  flex: 0 1 calc((100% - 44px) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 26px;
  text-align: center;
  text-decoration: none;
  background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.10), transparent 45%), #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease, box-shadow .35s ease;
}
.product-tile:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
.product-tile img { width: 150px; margin-bottom: 18px; border-radius: 6px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); }
.product-tile h3 { font-size: 21px; margin-bottom: 8px; }
.product-tile p { flex: 1; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.tile-price { margin: 14px 0 16px; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.product-tile .btn { width: 100%; }
.product-tile:hover .btn { filter: brightness(1.08); }

.crumbs { margin-bottom: 26px; color: var(--text-3); font-size: 14px; font-weight: 600; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; }

.product-hero { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-art img { border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.10); }
.product-buy { padding: 36px; }
.product-buy h1 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.5px; margin-bottom: 16px; }
.product-intro { color: var(--text-2); font-size: 17px; }
.product-price {
  margin: 24px 0 18px;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.product-price s { margin-left: 8px; color: var(--text-3); font-size: 22px; font-weight: 600; text-shadow: none; }
.price-unit { color: var(--text-3); font-size: 16px; font-weight: 600; text-shadow: none; }
.btn-buy-wide { width: 100%; padding: 18px 24px; font-size: 18px; }
.assurances { margin-top: 20px; }
.assurances li { position: relative; padding-left: 28px; margin: 9px 0; color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.assurances li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat, linear-gradient(135deg, #ff3838, #d60000);
}
.assurances a { color: var(--text-2); }

.options { margin: 24px 0 0; padding: 0; border: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.options legend { margin-bottom: 10px; padding: 0; font-weight: 800; font-size: 14px; }
.option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.option:hover { border-color: rgba(255, 255, 255, 0.24); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--red); background: rgba(255, 56, 56, 0.08); box-shadow: 0 0 18px rgba(255, 40, 40, 0.15); }
.option:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.option-name { font-weight: 800; }
.option-price { color: var(--text-2); font-size: 14px; font-weight: 600; }
.option-price em { margin-left: 4px; color: var(--green); font-style: normal; font-size: 12.5px; }

.product-body { max-width: 780px; margin: 56px auto 0; }
.info-card {
  margin: 24px 0;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-card h2 { font-size: 22px; margin-bottom: 16px; }
.info-card p { color: var(--text-2); }
.info-card p + p { margin-top: 12px; }
.info-card a, .product-prose a { color: var(--green); }
.detail-list li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.detail-list li:first-child { padding-top: 0; }
.detail-list li:last-child { border-bottom: none; padding-bottom: 0; }
.detail-list strong { display: block; font-size: 16.5px; }
.detail-list span { color: var(--text-3); font-size: 14.5px; }
.value-rows { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.value-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.value-rows dt { color: var(--text-2); }
.value-rows dd { margin: 0; font-weight: 800; }
.value-save dd { color: var(--green); }
.product-prose { margin: 32px 0; color: var(--text-2); font-size: 17px; }
.product-prose p + p { margin-top: 16px; }
.note { color: var(--text-3); font-size: 15px; }
.lesson-list { margin: 0; padding: 0; list-style: none; counter-reset: lesson; }
.lesson-list li { position: relative; padding: 12px 0 12px 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); counter-increment: lesson; }
.lesson-list li:last-child { border-bottom: none; }
.lesson-list li::before {
  content: counter(lesson);
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 56, 56, 0.12);
  border: 1px solid rgba(255, 56, 56, 0.35);
  color: #ff6b6b;
  font-weight: 800;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
}
.lesson-list strong { display: block; }
.lesson-list span { color: var(--text-3); font-size: 14.5px; }
.steps { margin: 0; padding-left: 22px; color: var(--text-2); }
.steps li { margin: 8px 0; padding-left: 4px; }
.steps li::marker { color: var(--green); font-weight: 800; }
.product-bottom-cta { margin-top: 40px; }

/* ---------- Forms (sign-in, dashboard, owner portal) ---------- */

.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field > span { color: var(--text-2); font-size: 13.5px; font-weight: 700; }
.field input, .field textarea, .admin-toolbar input, .admin-toolbar select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .admin-toolbar input:focus, .admin-toolbar select:focus {
  outline: none;
  border-color: rgba(255, 70, 70, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 56, 56, 0.15);
}
.form-error { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 56, 56, 0.1); border: 1px solid rgba(255, 56, 56, 0.35); color: #ffb3b3; font-size: 14px; }
.form-status { min-height: 1.2em; color: #fff; font-size: 14px; }
.link-button { padding: 0; border: none; background: none; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: #fff; }
.link-button.danger { color: #ff8080; }
button.btn { border: none; cursor: pointer; font-family: inherit; }
button.btn-dark { border: 1px solid rgba(255, 255, 255, 0.28); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Sign-in */
.auth-card { max-width: 460px; margin: 0 auto; padding: 36px 32px; text-align: center; }
.auth-card h1 { font-size: 32px; margin-bottom: 10px; }
.auth-card .field { text-align: left; margin-bottom: 18px; }
.auth-lead { color: var(--text-2); }
.auth-lead strong { color: #fff; word-break: break-all; }
.auth-small { margin-top: 16px; color: var(--text-3); font-size: 13.5px; }
.auth-small span { margin: 0 6px; }
.auth-help { margin-top: 20px; text-align: center; color: var(--text-3); font-size: 14px; }
.auth-help a { color: var(--green); }
.thanks-card h1 { margin-bottom: 12px; }
.thanks-order { margin-bottom: 18px; color: var(--text-3); font-size: 13.5px; font-weight: 700; letter-spacing: 0.3px; }
.thanks-card .btn-buy-wide { margin-top: 24px; }
.welcome-dash { display: inline-block; color: var(--text-3); text-decoration: none; }
.welcome-dash:hover { color: #fff; }
/* the rising graph draws itself in, then the arrow pops */
.welcome-graph {
  display: grid;
  place-items: center;
  width: 150px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: radial-gradient(circle at 70% 20%, rgba(255, 56, 56, 0.16), transparent 60%), rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 56, 56, 0.22);
  box-shadow: 0 0 40px rgba(255, 56, 56, 0.12);
}
.graph-line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: graph-draw 1.2s .2s cubic-bezier(.6, 0, .2, 1) forwards; filter: drop-shadow(0 0 6px rgba(255, 56, 56, 0.5)); }
.graph-fill { opacity: 0; animation: graph-fade .8s 1s ease forwards; }
.graph-arrow { opacity: 0; transform-origin: 115px 7px; animation: graph-pop .45s 1.25s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes graph-draw { to { stroke-dashoffset: 0; } }
@keyframes graph-fade { to { opacity: 1; } }
@keyframes graph-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.code-input { text-align: center; font-size: 26px !important; letter-spacing: 10px; font-weight: 800; }
.demo-note { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.35); color: var(--blue); font-size: 14px; font-weight: 600; }

/* Client dashboard */
.dash { max-width: 1100px; }
.dash-loading { padding: 80px 0; text-align: center; color: var(--text-3); }
.dash-hero {
  margin-bottom: 24px;
  padding: 36px;
  border-radius: 18px;
  background: radial-gradient(circle at top right, rgba(185, 21, 21, 0.18), transparent 34%), linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-hero .pill { margin-bottom: 14px; }
.dash-hero h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.dash-hero p { color: var(--text-2); font-size: 18px; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.dash-card { padding: 24px; border-radius: 18px; background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.08), transparent 45%), #141414; border: 1px solid rgba(255, 255, 255, 0.12); }
.dash-label { display: block; margin-bottom: 10px; color: var(--text-3); font-size: 14px; font-weight: 600; }
.dash-value { font-size: 24px; font-weight: 800; }
.dash-hint { margin-top: 10px; color: var(--text-3); font-size: 13.5px; }
.dash-progress { margin-top: 14px; }
.dash-progress > span { display: block; margin-top: 6px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.dash-hint a { color: var(--green); }
.access-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  font-size: 16px;
  font-weight: 800;
}
.access-chip.is-active { background: var(--green-bg); border-color: rgba(255, 56, 56, 0.4); color: var(--green); }
.dash-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.dash-actions .btn { padding: 16px 18px; white-space: normal; text-align: center; }
.dash-actions-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; margin: 0 auto; }
.btn-discord { background: #1c1c1c; border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; }
.btn-discord:hover { transform: translateY(-2px); filter: brightness(1.1); }
.owner-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
}
.owner-banner strong { color: #fff; }
.owner-banner-go { color: var(--blue); font-weight: 800; white-space: nowrap; }
.owner-banner:hover { border-color: rgba(255, 255, 255, 0.55); }
.dash-account { margin-top: 40px; padding: 28px; }
.dash-account h2 { font-size: 20px; }
.dash-account dl { margin: 14px 0 0; }
.dash-account dl div { display: flex; gap: 12px; }
.dash-account dt { color: var(--text-3); }
.dash-account dd { margin: 0; font-weight: 700; word-break: break-all; }
.account-form { max-width: 560px; margin: 4px 0 22px; }
.account-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-optin { margin-top: 16px; color: var(--text-2); font-size: 14.5px; }
.account-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.account-actions .form-status { margin: 0; }
.form-status.is-error { color: #ff8080; }

.dash-contact { margin: 10px 0 18px; color: var(--text-3); font-size: 14px; }
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.message-tip { margin-top: 12px; color: var(--text-2); font-size: 14px; }
.message-reply { margin-top: 10px; color: var(--text-3); font-size: 13.5px; }
.message-reply strong { color: var(--text-2); word-break: break-all; }
.message-sent { padding: 16px 0 0; text-align: center; color: var(--text-2); }
.message-sent strong { color: #fff; }
.message-sent-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 26px;
  font-weight: 800;
  line-height: 50px;
}

/* Owner portal */
.admin { max-width: 1240px; margin: 0 auto; padding: 40px 24px 0; }
.admin-blocked { max-width: 520px; margin: 40px auto; padding: 32px; text-align: center; }
.admin-blocked h1 { font-size: 28px; margin-bottom: 10px; }
.admin-blocked p { color: var(--text-2); margin-bottom: 20px; }
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-top .pill { margin-bottom: 10px; }
.admin-top h1 { font-size: 38px; }
.admin-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.admin-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.admin-tab:hover { color: #fff; }
.admin-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.08); color: #fff; }
.tab-badge { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.chip-red { background: rgba(255, 56, 56, 0.1); border-color: rgba(255, 56, 56, 0.35); color: #ff8080; }
.admin-table tr.is-refunded td { opacity: 0.6; }
.admin-table td .order-time { display: block; color: var(--text-3); font-size: 12.5px; }
.admin-table td[data-label="Date"], .order-amount { white-space: nowrap; }
.order-amount { color: #fff !important; font-weight: 800; font-variant-numeric: tabular-nums; }
.record-payment { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--border-strong); }
.record-payment summary { cursor: pointer; color: var(--text-2); font-size: 14px; font-weight: 700; }
.record-payment-row { display: flex; align-items: flex-end; gap: 12px; }
.record-payment-row .field { flex: 1; }
.record-payment-row .btn { padding: 13px 18px; }
.admin-stats li { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.admin-stats strong { display: block; font-size: 26px; font-weight: 800; }
.admin-stats span { color: var(--text-3); font-size: 13px; font-weight: 600; }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 14px; }
.admin-toolbar input { flex: 1; }
.admin-toolbar select { width: 220px; }
.admin-table-wrap { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 12px 18px;
  text-align: left;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-2); font-size: 14.5px; }
.admin-table tbody tr { cursor: pointer; transition: background .12s ease; }
.admin-table tbody tr:hover, .admin-table tbody tr:focus-visible { background: rgba(255, 255, 255, 0.04); outline: none; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table td strong { display: block; color: #fff; }
.admin-table td span { font-size: 13.5px; }
.admin-table td.has-value { color: var(--green); font-weight: 800; }
.admin-empty { padding: 28px; text-align: center; color: var(--text-3); }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); color: var(--text-3); font-size: 12px; font-weight: 800; }
.chip-green { background: var(--green-bg); border-color: var(--green-border); color: var(--green); }
.chip-blue { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.35); color: var(--blue); }

.admin-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: #121212;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.admin-dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(3px); }
.admin-dialog form { padding: 24px 26px 22px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-head h2 { font-size: 22px; word-break: break-all; }
.dialog-close { width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 22px; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); }
.field-group legend { padding: 0 6px; color: var(--text-2); font-size: 13.5px; font-weight: 700; }
.check { display: flex; align-items: center; gap: 10px; margin: 6px 0; cursor: pointer; color: var(--text-2); }
.check strong { color: #fff; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.stepper { display: flex; }
.stepper input { text-align: center; border-radius: 0 !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { width: 44px; flex: none; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 20px; cursor: pointer; }
.stepper button:first-child { border-radius: 10px 0 0 10px; border-right: none; }
.stepper button:last-child { border-radius: 0 10px 10px 0; border-left: none; }
.stepper button:hover { background: rgba(255, 255, 255, 0.12); }
.progress h3, .orders h3 { margin: 20px 0 8px; font-size: 14px; color: var(--text-2); }
.progress ul { border-radius: 10px; border: 1px solid var(--border); }
.progress li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 13.5px; color: var(--text-2); }
.progress li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.progress strong { color: #fff; }
.refund-flag { color: var(--text-3); font-size: 12.5px; font-weight: 700; }
.refund-flag.is-open { color: var(--green); }
.orders ul { border-radius: 10px; border: 1px solid var(--border); }
.orders li { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; font-size: 13.5px; color: var(--text-2); }
.orders li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.orders-none { color: var(--text-3); font-size: 13.5px; }
.dialog-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.dialog-actions .spacer { flex: 1; }

/* ---------- Course index and lessons ---------- */

.course-page, .lesson-page { max-width: 980px; }
.crumb-back { display: inline-block; margin-bottom: 18px; color: var(--text-3); font-size: 14px; font-weight: 700; text-decoration: none; }
.crumb-back:hover { color: #fff; }
.course-hero { margin-bottom: 32px; }
.course-hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.5px; }
.course-meta { margin-top: 8px; color: var(--text-3); font-weight: 600; }
.course-progress { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.course-progress .progress-bar { flex: 1 1 260px; }
.course-progress-text { color: var(--text-2); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.progress-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress-bar span { display: block; height: 100%; min-width: 0; border-radius: 999px; background: linear-gradient(90deg, #d60000, #ff5a5a); box-shadow: 0 0 10px rgba(255, 56, 56, 0.4); transition: width .4s ease; }
.progress-bar-thin { height: 3px; border-radius: 0; background: rgba(255, 255, 255, 0.06); }
.progress-bar-thin span { border-radius: 0; }
.library-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.3);
  transition: border-color .15s ease, transform .15s ease;
}
.library-teaser:hover { border-color: rgba(255, 255, 255, 0.6); transform: translateY(-2px); }
.library-teaser + .library-teaser { margin-top: 14px; }
.library-teaser .pill { margin-bottom: 8px; }
.library-teaser strong { display: block; font-size: 22px; }
.library-teaser-text { color: var(--text-2); }
.library-teaser-go { color: var(--blue); font-weight: 800; white-space: nowrap; }
.course-locked { max-width: 560px; margin: 20px auto; padding: 36px 32px; text-align: center; }
.course-locked h1 { font-size: 28px; margin-bottom: 12px; }
.course-locked p { color: var(--text-2); }
.course-locked strong { color: #fff; word-break: break-all; }

/* a module: card with its own progress, lessons as rows */
.course-module {
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.course-module.is-complete { border-color: rgba(255, 56, 56, 0.28); }
.course-module-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; }
.course-module-label { display: block; margin-bottom: 4px; color: #ff4a4a; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.course-module-head h2 { font-size: 22px; }
.course-module-count { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.course-module.is-complete .course-module-count { color: #ff5a5a; }
.course-lessons { margin: 0; padding: 6px 0; list-style: none; }
.lesson-item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  text-decoration: none;
  transition: background .15s ease;
}
.lesson-item:hover { background: rgba(255, 255, 255, 0.035); }
.lesson-item:hover .lesson-name { color: #ff6b6b; }
.lesson-status {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.lesson-item.is-done .lesson-status { background: linear-gradient(135deg, #ff3838, #d60000); border-color: #ff3838; color: #fff; }
.lesson-item.is-done .lesson-name { color: var(--text-2); }
.lesson-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lesson-name { font-weight: 700; font-size: 16px; transition: color .15s ease; }
.lesson-desc { color: var(--text-3); font-size: 13.5px; line-height: 1.45; }
.lesson-time { color: var(--text-3); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lesson-row-time { display: inline-block; margin-right: 10px; color: var(--text-3); font-variant-numeric: tabular-nums; font-weight: 600; }

.lesson-head { text-align: center; margin-bottom: 26px; }
.lesson-pill {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 0 18px rgba(255, 25, 25, 0.25);
}
.lesson-head h1 { font-size: clamp(28px, 3.6vw, 40px); }
.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 40, 40, 0.08);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-about { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 18px; }
.lesson-about-text { color: var(--text-2); }
.complete-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.complete-btn:hover { border-color: var(--green); color: var(--green); }
.complete-btn.is-done { background: linear-gradient(135deg, #ff3838, #d60000); border-color: #ff3838; color: #fff; }
.complete-btn.is-done:hover { filter: brightness(1.08); color: #fff; }
.complete-btn svg { flex: none; }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.lesson-nav-steps { display: flex; gap: 12px; }
.upgrade-card { margin-top: 48px; padding: 36px; text-align: center; border-color: rgba(255, 56, 56, 0.3); }
.upgrade-card h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.upgrade-card p { max-width: 600px; margin: 0 auto; color: var(--text-2); }
.upgrade-price { margin: 18px auto 20px !important; font-size: 34px; font-weight: 800; }
.upgrade-price s { color: var(--text-3); font-size: 22px; margin-right: 8px; }
.upgrade-price strong { color: #fff; }

/* ---------- Policy pages ---------- */

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); }
.legal-updated { margin: 8px 0 28px; color: var(--text-3); font-size: 14px; }
.legal h2 { margin: 34px 0 12px; font-size: 21px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0; padding-left: 22px; list-style: disc; }
.legal li { margin: 6px 0; }
.legal strong { color: #fff; }
.legal a { color: var(--green); }
.legal-contact { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-legal a { font-size: 13px; color: var(--text-3); }

/* Footer */
.site-footer { margin-top: 110px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #050505; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.footer-links a { color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-pay, .footer-copy { color: var(--text-3); font-size: 13px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 900px) {
  .plans { gap: 20px; }
  .plan { padding: 26px 22px 24px; }
  .plan-head { grid-template-columns: 76px 1fr; gap: 14px; }
  .plan-art img { width: 76px; }
  .plan-head h3 { font-size: 22px; }
  .plan-price strong { font-size: 40px; }
}

@media (max-width: 1100px) {
  .header-nav { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { padding: 80px 24px 72px; }
  .dash-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-actions .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-tile { flex-basis: calc((100% - 22px) / 2); }
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
  .product-art { max-width: 260px; margin: 0 auto; }
  .about-card { grid-template-columns: 1fr; text-align: center; }
  .about-photo { margin: 0 auto; max-width: 240px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .stats li:nth-child(3) { border-left: none; }
  .titles { grid-template-columns: 1fr; max-width: 520px; }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; }
  .postflop-card { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; gap: 32px; }
  .postflop-art { max-width: 190px; margin: 0 auto; }
  .postflop-card .btn-row { justify-content: center; }
  .postflop-body .check-list, .mini-stats { text-align: left; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .header-logo img { height: 38px; }
  .header-actions { gap: 14px; }
  .header-dashboard { font-size: 14px; }
  .btn-sm { padding: 10px 13px; font-size: 13px; }

  .section { padding: 72px 16px 0; }
  .home .section { padding-top: 96px; }
  .home .section-tight { padding-top: 72px; }
  .section-head { margin-bottom: 40px; }
  .hero-inner { padding: 56px 16px 48px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-stats { gap: 10px 22px; padding: 16px; }
  .hero-stats li { font-size: 13px; gap: 7px; }
  .hero .lead, .prose, .section-head p { font-size: 16px; }

  .profit-card { padding: 26px 20px 22px; }
  .profit-title { font-size: 22px; }
  .profit-list, .dot-list { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 28px; letter-spacing: -0.5px; text-wrap: pretty; }

  .wins { grid-template-columns: 1fr; max-width: 340px; gap: 22px; }
  .graph-frame { padding: 16px 10px 10px; }
  .win-featured, .win-featured:hover { transform: none; order: -1; }
  .btn-lg { font-size: 19px; padding: 16px 28px; }

  .about-card { padding: 26px 20px; gap: 26px; }
  .about-text p { font-size: 16px; }
  .stats { padding-top: 24px; }
  .titles li { padding: 14px 16px; }
  .titles img { width: 40px; height: 40px; }

  .modules { grid-template-columns: 1fr; }
  .module { padding: 26px 22px 22px; }
  .module h3 { font-size: 23px; }
  .check-cols { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .plans { grid-template-columns: 1fr; max-width: 440px; gap: 34px; }
  .trust { flex-direction: column; align-items: center; gap: 10px; }

  .mini-stats { grid-template-columns: 1fr; }
  .postflop-card .btn-row .btn { width: 100%; white-space: normal; }

  .auth-card { padding: 28px 20px; }
  .dash-hero { padding: 26px 22px; }
  .dash-hero p { font-size: 16px; }
  .dash-grid, .dash-actions, .dash-actions-two { grid-template-columns: 1fr; }
  .owner-banner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .account-form .field-row { grid-template-columns: 1fr; }

  .admin { padding: 24px 16px 0; }
  .admin-top h1 { font-size: 30px; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stats li:first-child { grid-column: 1 / -1; }
  .admin-toolbar { flex-direction: column; }
  .admin-toolbar select { width: 100%; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; }
  .admin-table tr { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .admin-table td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: none; }
  .admin-table td::before { content: attr(data-label); color: var(--text-3); font-size: 12.5px; font-weight: 700; }
  .admin-table td:first-child { display: block; margin-bottom: 6px; }
  .admin-table td:first-child::before { content: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .admin-dialog form { padding: 20px 18px; }
  .orders li { grid-template-columns: 1fr auto; }
  .dialog-actions { flex-wrap: wrap; }

  .course-module-head { padding: 16px 16px 12px; }
  .course-module-head h2 { font-size: 19px; }
  .lesson-item { grid-template-columns: 28px 1fr; gap: 4px 12px; padding: 12px 16px; }
  .lesson-status { width: 28px; height: 28px; grid-row: span 2; align-self: start; }
  .lesson-time { grid-column: 2; }
  .lesson-about { flex-direction: column; }
  .course-progress .btn { width: 100%; }
  .lesson-nav { flex-wrap: wrap; }
  .lesson-nav > .btn { order: 2; width: 100%; }
  .lesson-nav-steps { width: 100%; }
  .lesson-nav-steps .btn { flex: 1; }
  .upgrade-card { padding: 26px 20px; }

  .page-top { padding-top: 36px; }
  .product-grid { max-width: 360px; }
  .product-tile { flex-basis: 100%; }
  .product-art { max-width: 200px; }
  .product-buy { padding: 26px 20px; }
  .options { grid-template-columns: 1fr 1fr; }
  .info-card { padding: 22px 20px; }
  .product-prose { font-size: 16px; }
  .product-bottom-cta .btn { width: 100%; white-space: normal; }

  .faq summary { font-size: 15.5px; padding: 18px 50px 18px 18px; }
  .faq summary::before, .faq summary::after { right: 20px; }
  .faq-answer { padding: 0 18px 20px; font-size: 15px; }
  .quote { padding: 26px 22px 22px; }
}

@media (max-width: 400px) {
  .header-dashboard span, .header-dashboard { font-size: 0; gap: 0; }
  .header-dashboard svg { width: 22px; height: 22px; }
  .header-account-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-anim .plan-features li, .js-anim .profit-list li { opacity: 1; transform: none; }
  .graph-line { stroke-dashoffset: 0; }
  .hero-graph { clip-path: none; }
  .graph-fill, .graph-arrow { opacity: 1; }
}

/* ---------- Preflop ranges (course) ---------- */

.ranges-head { margin-bottom: 28px; }
.ranges-head h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -1px; }
.ranges-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.ranges-controls { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; }
.ranges-spot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 20px; border-radius: 14px; background: #0c0c0c; border: 1px solid rgba(255, 255, 255, 0.08); }
.ranges-spot button { padding: 11px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ranges-spot button:hover { color: #fff; }
.ranges-spot button[aria-pressed="true"] { background: linear-gradient(135deg, #ff3838, #d60000); color: #fff; box-shadow: 0 6px 18px rgba(255, 40, 40, 0.3); }
.ranges-row + .ranges-row { margin-top: 18px; }
.ranges-label { display: block; margin-bottom: 8px; color: var(--text-3); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.ranges-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ranges-chips button {
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.ranges-chips button:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.ranges-chips button[aria-pressed="true"] { background: linear-gradient(135deg, #ff3838, #d60000); border-color: #ff3838; color: #fff; box-shadow: 0 0 14px rgba(255, 56, 56, 0.35); }
.ranges-tip { margin-top: 20px; color: var(--text-3); font-size: 13px; }
.ranges-chart { margin: 0; padding: 18px; text-align: center; }
.ranges-chart figcaption { margin-bottom: 14px; font-size: 18px; font-weight: 800; }
.ranges-open { display: block; width: 100%; max-width: 560px; margin: 0 auto; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ranges-open img { display: block; width: auto; max-width: 100%; height: calc(100vh - var(--header-h) - 150px); min-height: 420px; max-height: 820px; margin: 0 auto; object-fit: contain; border-radius: 10px; }
.ranges-zoom { width: min(96vw, 900px); max-height: 96vh; padding: 0; border: 0; background: transparent; overflow: visible; cursor: zoom-out; }
.ranges-zoom::backdrop { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(4px); }
.ranges-zoom img { display: block; width: auto; max-width: 100%; max-height: 96vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.ranges-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.ranges-close:hover { border-color: #ff3838; background: #ff3838; }
@media (max-width: 900px) {
  .ranges-layout { grid-template-columns: 1fr; }
  .ranges-controls { position: static; }
  .ranges-tip { display: none; }
}
@media (max-width: 760px) {
  .ranges-controls { padding: 16px; }
  .ranges-chart { padding: 12px; }
  .ranges-open img { width: 100%; height: auto; min-height: 0; }
  .ranges-chips button { min-width: 46px; padding: 8px 10px; font-size: 13.5px; }
}

/* ---------- Hand history review (upload page) ---------- */

.review-page { max-width: 760px; }
.review-page h1 { margin: 6px 0 28px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -1px; }
.review-page h2 { font-size: 22px; margin-bottom: 8px; }
.review-upload, .review-none, .review-swap { padding: 30px; }
.review-lead { color: var(--text-2); margin-bottom: 20px; }
.review-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 20px;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #0f0f0f;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.review-drop:hover, .review-drop.is-over { border-color: #ff3838; background: rgba(255, 56, 56, 0.05); }
.review-drop.has-file { border-style: solid; border-color: rgba(255, 56, 56, 0.6); }
.review-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.review-drop-icon { color: #ff4a4a; }
.review-drop strong { font-size: 16px; word-break: break-all; }
.review-drop-hint { color: var(--text-3); font-size: 13.5px; }
.review-progress { height: 8px; margin-top: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.review-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #d60000, #ff5a5a); transition: width .2s ease; }
.review-upload .btn-buy-wide { margin-top: 20px; }
.review-none p, .review-swap > p:not(.form-error) { color: var(--text-2); margin: 6px 0 20px; }
.review-swap .btn-row { margin-top: 0; }
.review-list { margin-top: 40px; }
.review-list h2 { margin-bottom: 14px; }
.review-list ul { display: grid; gap: 12px; }
.review-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; }
.review-item-main { min-width: 0; }
.review-item-main strong { display: block; word-break: break-all; }
.review-meta { color: var(--text-3); font-size: 13.5px; }
.review-ready { color: #ff5a5a; font-weight: 800; }
.review-notes { margin-top: 8px; color: var(--text-2); font-size: 14px; white-space: pre-wrap; }
.review-status { color: var(--text-3); font-size: 13.5px; font-weight: 600; }
.review-item-action { flex: none; }
@media (max-width: 600px) {
  .review-upload, .review-none { padding: 22px 18px; }
  .review-item { flex-direction: column; align-items: flex-start; }
  .review-item-action, .review-item-action .btn { width: 100%; }
}

/* owner portal: hand history reviews */
.admin-reviews { display: grid; gap: 14px; }
.admin-review { padding: 20px 22px; }
.admin-review.is-done { opacity: 0.8; }
.admin-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-review-head strong { display: block; font-size: 16px; }
.admin-review-head span:not(.chip) { color: var(--text-3); font-size: 13.5px; }
.admin-review-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #0f0f0f; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; word-break: break-all; }
.admin-review-notes { margin-top: 12px; color: var(--text-2); font-size: 14.5px; white-space: pre-wrap; }
.admin-review-done { display: flex; gap: 10px; margin-top: 14px; }
.admin-review-done input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); background: #0f0f0f; color: #fff; font: inherit; font-size: 14px; }
.admin-review-done input:focus { outline: none; border-color: #ff3838; }
.admin-review-hint { margin-top: 8px; color: var(--text-3); font-size: 12.5px; }
@media (max-width: 600px) {
  .admin-review-done { flex-direction: column; }
}

/* one hand history review */
.review-video-page { max-width: 960px; }
.review-video-page h1 { margin: 6px 0 4px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -1px; }
.review-video-page .course-meta { margin-bottom: 24px; }
.review-player { max-width: none; }
.review-external { padding: 28px; text-align: center; }
.review-external p { color: var(--text-2); margin-bottom: 16px; }
.review-external p:last-child { margin-bottom: 0; }
.review-details { margin-top: 20px; padding: 24px 26px; }
.review-details h2 { font-size: 18px; margin-bottom: 10px; }
.review-file { font-weight: 700; word-break: break-all; }
.review-help { margin-top: 16px; color: var(--text-3); font-size: 14px; }
.review-help a { color: #ff5a5a; }

/* dashboard: hand history reviews */
.dash-reviews { margin-top: 24px; padding: 26px 28px; }
.dash-reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dash-reviews-head h2 { font-size: 20px; }
.dash-reviews-empty { color: var(--text-2); }
.dash-review-list { display: grid; gap: 10px; }
.dash-review { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #0f0f0f; border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.dash-review:hover { border-color: rgba(255, 56, 56, 0.45); transform: translateY(-2px); }
.dash-review-main { min-width: 0; }
.dash-review-main strong { display: block; }
.dash-review-main span { display: block; color: var(--text-3); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-review-go { flex: none; color: #ff5a5a; font-weight: 800; }

/* ---------- My Coaching ---------- */

.coaching-hub { max-width: 860px; }
.coaching-hub h1 { margin: 6px 0 22px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -1px; }
.hub-balance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hub-balance li { padding: 20px 22px; border-radius: 18px; background: radial-gradient(circle at 100% 0%, rgba(255, 40, 40, 0.08), transparent 45%), #141414; border: 1px solid rgba(255, 255, 255, 0.12); }
.hub-balance strong { display: block; font-size: 28px; font-weight: 800; }
.hub-balance span { color: var(--text-3); font-size: 13.5px; font-weight: 600; }
.hub-actions { margin-top: 18px; }
.hub-section { margin-top: 40px; }
.hub-section h2 { margin-bottom: 14px; font-size: 22px; }
.hub-empty { color: var(--text-3); }
.hub-sessions { display: grid; gap: 12px; }
.hub-session { padding: 18px 20px; border-radius: 16px; background: #141414; border: 1px solid rgba(255, 255, 255, 0.12); }
.hub-session-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hub-session-meta { display: block; margin-top: 2px; color: var(--text-3); font-size: 13.5px; }
.hub-session-notes { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-2); font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
@media (max-width: 600px) {
  .hub-balance strong { font-size: 24px; }
}

/* owner portal: coaching sessions in the customer editor */
.sessions-box { margin-top: 22px; }
.sessions-box h3 { font-size: 15px; margin-bottom: 10px; }
.session-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.session-list li div { min-width: 0; }
.session-list li strong { display: block; }
.session-list li span { color: var(--text-3); font-size: 13px; }
.session-hint { color: var(--text-3); font-size: 13px; align-self: center; }

/* dashboard: order history */
.dash-orders { margin-top: 24px; padding: 0; }
.orders-toggle summary { display: flex; align-items: center; gap: 12px; padding: 22px 28px; cursor: pointer; list-style: none; }
.orders-toggle summary::-webkit-details-marker { display: none; }
.orders-title { font-size: 20px; font-weight: 800; }
.orders-count { color: var(--text-3); font-size: 14px; font-weight: 600; }
.orders-chevron { margin-left: auto; color: var(--text-2); transition: transform .25s ease; }
.orders-toggle[open] .orders-chevron { transform: rotate(180deg); }
.orders-toggle summary:hover .orders-chevron { color: #fff; }
.order-history { padding: 0 28px 10px; }
.order-history li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.order-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.order-item { font-size: 16px; }
.order-amount { flex: none; font-size: 16px; }
.order-date { display: block; margin-top: 2px; color: var(--text-3); font-size: 13.5px; }
.order-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.order-no { color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.4px; font-variant-numeric: tabular-nums; }
.order-no span { color: var(--text-3); font-weight: 600; letter-spacing: 0; }
.order-history li.is-refunded .order-amount { color: var(--text-3); text-decoration: line-through; }
@media (max-width: 600px) {
  .orders-toggle summary { padding: 20px; }
  .order-history { padding: 0 20px 6px; }
}

/* owner portal: coaching client tag, order numbers */
.chip-coaching { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.order-number { display: block; color: var(--text-3); font-size: 12px; font-style: normal; }

/* dropdown lists: dark, readable options instead of the system grey */
select option, select optgroup { background-color: #161616; color: #fff; }
.check input[type="checkbox"] { width: 18px; height: 18px; accent-color: #ff3838; flex: none; }

/* owner portal: email list */
.admin-hint { margin: -6px 0 14px; color: var(--text-3); font-size: 13px; }
#emails-panel .admin-toolbar .btn { flex: none; }

/* owner portal: content */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.content-card { display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.content-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.content-card h3 { font-size: 18px; }
.content-card header span { flex: none; color: var(--text-3); font-size: 13px; font-weight: 600; }
.content-sections { flex: 1; margin-bottom: 18px; }
.content-sections li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 14.5px; }
.content-sections a { color: var(--text-2); text-decoration: none; }
.content-sections a:hover { color: #fff; text-decoration: underline; }
.content-sections li span { color: var(--text-3); font-size: 13px; }
.content-actions, .content-extras { display: flex; flex-wrap: wrap; gap: 10px; }
.content-extras { margin-top: 20px; }

/* owner portal: mark a purchase as a test */
.order-test { display: block; margin-top: 2px; color: var(--text-3); font-size: 12px; }
.order-test:hover { color: #fff; }

/* member pages (course, coaching): slim footer */
.member-footer .footer-inner { gap: 6px; }
.member-footer a { color: var(--text-2); }
.member-footer a:hover { color: #fff; }
.header-actions .btn[hidden] { display: none; }

/* in an app's built-in browser (Instagram etc.): how to open the real browser */
.in-app-note { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--red-glow); border: 1px solid rgba(255, 56, 56, 0.3); color: #fff; font-size: 14px; font-weight: 600; text-align: center; }

/* header menu: on phones (where the links are hidden) and always in the slim course header */
.menu-btn { display: none; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border-strong); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: #e0e0e0; cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.member-header .menu-btn { display: inline-flex; }
.site-menu { position: absolute; top: calc(100% + 8px); right: 16px; min-width: 210px; padding: 8px; border-radius: 14px; background: #141414; border: 1px solid var(--border-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); }
.site-menu[hidden] { display: none; }
.site-menu a { display: block; padding: 12px 14px; border-radius: 9px; color: #e0e0e0; font-size: 16px; font-weight: 700; text-decoration: none; }
.site-menu a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.site-menu { right: max(24px, calc((100% - 1240px) / 2 + 24px)); } /* lines up with the header's right edge */
@media (max-width: 900px) { .site-menu { right: 16px; } }
@media (max-width: 1100px) { .menu-btn { display: inline-flex; } }
@media (max-width: 400px) { .menu-btn { width: 36px; height: 36px; } .header-actions { gap: 10px; } }

/* desktop header: the links sit exactly in the middle of the page, whatever is on the left and right */
@media (min-width: 1101px) {
  .site-header:not(.member-header) .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .site-header:not(.member-header) .header-logo { justify-self: start; }
  .site-header:not(.member-header) .header-actions { justify-self: end; }
}
@media (min-width: 1101px) and (max-width: 1280px) { .header-nav { gap: 28px; } .header-account-line { max-width: 140px; } }
