:root {
  --ms-orange: #ff6a00;
  --ms-orange-2: #ff8a3d;
  --ms-green: #00b86b;
  --ms-blue: #147af3;
  --ms-blue-2: #4ea0ff;

  --bg-0: #050a18;
  --bg-1: #0a1530;
  --bg-2: #0e1f4a;

  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --ink-mute: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.06);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;

  --font: "Inter", Manrope, "Plus Jakarta Sans", system-ui, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-0);
  background-image:
    radial-gradient(1100px 600px at 50% -100px, rgba(20, 122, 243, 0.45), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(78, 160, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(20, 122, 243, 0.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

main,
.nav,
footer,
.top-banner {
  position: relative;
  z-index: 1;
}

/* TOP BANNER */
.top-banner {
  background: linear-gradient(90deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  text-align: center;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  z-index: 5;
  box-shadow: 0 6px 28px rgba(255, 106, 0, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}
.top-banner-line {
  white-space: normal;
}
.top-banner-sep {
  opacity: 0.7;
  font-weight: 700;
}
.top-banner strong {
  background: white;
  color: var(--ms-orange);
  padding: 1px 8px;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0.04em;
  display: inline-block;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 720px) {
  .top-banner {
    font-size: 14px;
    padding: 13px 16px;
    gap: 6px 10px;
    line-height: 1.3;
  }
  .top-banner-sep { display: none; }
  .top-banner-line { display: block; width: 100%; }
}

/* ARCHETYPES */
.archetypes {
  margin: 80px 0;
}
.archetypes-head {
  text-align: center;
  margin-bottom: 36px;
}
.archetypes-head .eyebrow {
  margin-bottom: 22px;
}
.archetypes-head h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.archetypes-head p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

.archetypes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.archetype-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.archetype-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.archetype-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  background: #0a1530;
}
.archetype-card img[alt^="Jaco"] {
  object-position: center 40%;
}

.archetype-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-orange);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.4);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.archetype-body {
  padding: 18px 20px 22px;
}
.archetype-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.archetype-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  font-style: italic;
}

@media (max-width: 1000px) {
  .archetypes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .archetypes-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .archetype-tag { font-size: 9.5px; padding: 4px 9px; letter-spacing: 0.1em; margin-bottom: 8px; }
  .archetype-body { padding: 14px 16px 18px; }
  .archetype-body h3 { font-size: 16px; }
  .archetype-body p { font-size: 13px; }
}

/* PRICE ANCHOR */
.offer-price .was {
  display: inline-block;
  font-size: 0.45em;
  font-weight: 600;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-decoration-thickness: 2px;
  margin-right: 14px;
  vertical-align: middle;
  letter-spacing: -0.01em;
}
.price-anchor {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-orange);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.offer-card:not(.is-pro) .price-anchor {
  color: var(--ms-green);
  background: rgba(0, 184, 107, 0.12);
  border-color: rgba(0, 184, 107, 0.35);
}
.price-anchor--alt {
  color: var(--ms-orange) !important;
  background: rgba(255, 106, 0, 0.14) !important;
  border-color: rgba(255, 106, 0, 0.45) !important;
}

/* URGENCY STRIP */
.urgency-strip {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ms-orange);
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 10px 18px;
  border-radius: 999px;
  margin: 14px 0 0;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .urgency-strip {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand strong {
  color: var(--ms-orange);
  font-weight: 800;
}

.nav-cta {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--glass-2);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 4px;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 2px;
  background: var(--ms-orange);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-links { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-link { font-size: 13px; }
}

/* ============ EMBEDDED FREE LESSON PLAYER ============ */
.preview {
  margin: 60px auto 40px;
  scroll-margin-top: 80px;
}
.preview-head {
  text-align: center;
  margin-bottom: 24px;
}
.preview-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ms-green);
  padding: 6px 14px;
  border: 1px solid rgba(0, 184, 107, 0.3);
  border-radius: 999px;
  background: rgba(0, 184, 107, 0.08);
}
.preview-head h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 16px 0 6px;
}
.preview-meta {
  color: var(--ink-mute);
  font-size: 14px;
  margin: 0;
}

.player {
  width: 100%;
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1530;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.stage img.slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a1530;
  display: block;
  transition: opacity 0.25s ease;
}
.stage img.slide.is-loading { opacity: 0.4; }

.gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(5, 10, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.gate.is-hidden { opacity: 0; pointer-events: none; }
.gate-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--ms-orange);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(255, 106, 0, 0.45), 0 0 0 0 rgba(255, 106, 0, 0.5);
  transition: transform 0.15s ease;
  animation: ms-pulse 2.4s ease-out infinite;
}
.gate-btn:hover { transform: scale(1.05); }
.gate-btn svg { width: 36px; height: 36px; color: #fff; margin-left: 5px; }
@keyframes ms-pulse {
  0%   { box-shadow: 0 16px 48px rgba(255, 106, 0, 0.45), 0 0 0 0 rgba(255, 106, 0, 0.5); }
  70%  { box-shadow: 0 16px 48px rgba(255, 106, 0, 0.45), 0 0 0 24px rgba(255, 106, 0, 0); }
  100% { box-shadow: 0 16px 48px rgba(255, 106, 0, 0.45), 0 0 0 0 rgba(255, 106, 0, 0); }
}
.gate-label {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.gate-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ctrl-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  padding: 0;
}
.ctrl-btn:hover { background: rgba(255, 255, 255, 0.1); }
.ctrl-btn:active { transform: scale(0.95); }
.ctrl-btn svg { width: 18px; height: 18px; color: currentColor; }
.ctrl-btn.is-primary {
  background: var(--ms-orange);
  border-color: var(--ms-orange);
  width: 50px;
  height: 50px;
}
.ctrl-btn.is-primary:hover { background: #ff7a1a; }

.scrub {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scrub-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.scrub-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--ms-orange);
  border-radius: 999px;
  transition: width 0.1s linear;
}
.scrub-time {
  font-size: 12px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
  min-width: 88px;
  text-align: right;
}
.pos {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 1px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.dot {
  width: 26px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}
.dot:hover { background: rgba(255, 255, 255, 0.25); }
.dot.is-past { background: var(--ms-green); }
.dot.is-active {
  background: var(--ms-orange);
  transform: scaleY(1.4);
}

.outro {
  margin-top: 28px;
  padding: 28px 24px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.12) 0%, rgba(20, 122, 243, 0.08) 100%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: var(--r-lg);
  text-align: center;
}
.outro .eyebrow-orange {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ms-orange);
  margin-bottom: 10px;
}
.outro h3 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.outro p {
  color: var(--ink-soft);
  margin: 0 auto 18px;
  max-width: 540px;
  font-size: 15px;
}
.outro-cta {
  display: inline-block;
  background: var(--ms-orange);
  color: #fff;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.35);
  transition: background 0.15s ease, transform 0.1s ease;
}
.outro-cta:hover { background: #ff7a1a; transform: translateY(-1px); }

@media (max-width: 640px) {
  .scrub { order: 3; flex: 1 1 100%; }
  .scrub-time { min-width: 0; }
  .controls { gap: 8px; }
  .gate-btn { width: 76px; height: 76px; }
  .gate-btn svg { width: 28px; height: 28px; }
  .dot { width: 18px; }
}

/* HERO */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-blue-2);
  background: rgba(20, 122, 243, 0.12);
  border: 1px solid rgba(20, 122, 243, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 0 0 22px;
}

h1 .accent {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cta input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 0 18px;
  min-width: 0;
}

.cta input::placeholder {
  color: var(--ink-mute);
}

.cta button {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cta button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.5);
}

.cta-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 60px;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  padding: 20px 36px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(255, 106, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  margin-bottom: 14px;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(255, 106, 0, 0.55);
}

/* VIDEO */
.video {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(20, 122, 243, 0.35), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255, 106, 0, 0.18), transparent 60%),
    linear-gradient(180deg, #0d1a3c 0%, #08122a 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}

.video-play {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 0;
  background: white;
  color: var(--bg-0);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px rgba(20, 122, 243, 0.5);
  transition: transform 0.2s ease;
}

.video-play:hover {
  transform: scale(1.05);
}

.video-play svg {
  margin-left: 4px;
}

.video-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 2;
}

/* OUTCOMES */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 80px 0;
}

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.card .num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--ms-blue-2);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* BUY */
.buy {
  display: grid;
  place-items: center;
  margin: 80px 0;
}

.buy-card {
  width: 100%;
  max-width: 520px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.buy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20, 122, 243, 0.18), transparent 70%);
  pointer-events: none;
}

.buy-head {
  position: relative;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ms-green);
  background: rgba(0, 184, 107, 0.12);
  border: 1px solid rgba(0, 184, 107, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}

.buy-head h2 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 18px 0 6px;
  line-height: 1;
}

.buy-head p {
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.buy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  position: relative;
}

.buy-list li {
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}

.buy-list li:first-child {
  border-top: 0;
}

.buy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ms-green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.buy-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 18px;
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  position: relative;
}

.buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 106, 0, 0.5);
}

.buy-note {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 14px 0 0;
  position: relative;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 80px auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

details {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}

details[open] {
  border-color: rgba(255, 255, 255, 0.18);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--ink-mute);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* FOOTER */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

footer a {
  color: var(--ink-mute);
  text-decoration: none;
}

footer a:hover {
  color: var(--ink-soft);
}

footer .dot {
  opacity: 0.5;
}

/* ============ UNLOCK GATE (lesson preview) ============ */
.unlock-gate {
  margin-top: 28px;
  padding: 36px 28px;
  background:
    linear-gradient(135deg, rgba(20, 122, 243, 0.16) 0%, rgba(255, 106, 0, 0.06) 100%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(20, 122, 243, 0.35);
  border-radius: var(--r-lg);
  text-align: center;
}

.unlock-gate .ug-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ms-blue-2);
  margin-bottom: 12px;
}

.unlock-gate h3 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.unlock-gate > p {
  color: var(--ink-soft);
  margin: 0 auto 20px;
  max-width: 480px;
  font-size: 15px;
}

.ug-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
}
.ug-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 0 18px;
  min-width: 0;
}
.ug-form input::placeholder { color: var(--ink-mute); }
.ug-form input.is-error {
  outline: 2px solid #ff4d4d;
  outline-offset: 2px;
  border-radius: 999px;
}
.ug-form button {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
}
.ug-form button:disabled { opacity: 0.7; cursor: not-allowed; }
.ug-disclaimer {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 14px 0 0;
}

.dot.is-locked {
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}
.dot.is-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.45)'><path d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");
  background-size: 9px;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

@media (max-width: 640px) {
  .ug-form { flex-direction: column; border-radius: var(--r-lg); padding: 8px; }
  .ug-form input { padding: 14px 16px; }
}

/* ============ GUARANTEE BOMBSHELL ============ */
.guarantee {
  margin: 100px 0;
  padding: 72px 36px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.12), transparent 50%),
    linear-gradient(135deg, #ff6a00 0%, #ff3d00 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(255, 61, 0, 0.4);
}

.guarantee::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}

.guarantee-inner { position: relative; }

.guarantee h2 {
  font-size: clamp(40px, 8.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: white;
  margin: 0 auto 28px;
  max-width: 1000px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.guarantee .double {
  display: inline-block;
  background: #050a18;
  color: #fff;
  padding: 0 16px;
  border-radius: 10px;
  transform: rotate(-2deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.guarantee p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 500;
  position: relative;
}

.guarantee-cta {
  display: inline-block;
  background: #050a18;
  color: white;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 17px;
  border: 2px solid #050a18;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  position: relative;
}
.guarantee-cta:hover {
  background: #fff;
  color: #050a18;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .guarantee { padding: 56px 22px; margin: 70px 0; }
}

/* ============ OFFER (two tiers) ============ */
.offer { margin: 100px 0 40px; scroll-margin-top: 80px; }

.offer-head { text-align: center; margin-bottom: 40px; }
.offer-head h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.offer-card {
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.offer-card:not(.is-pro) {
  border-color: rgba(0, 184, 107, 0.45);
  background:
    linear-gradient(180deg, rgba(0, 184, 107, 0.08) 0%, rgba(255, 255, 255, 0.04) 60%);
  box-shadow: 0 24px 60px rgba(0, 184, 107, 0.18);
}

.offer-card.is-pro {
  border-color: rgba(255, 106, 0, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.08) 0%, rgba(255, 255, 255, 0.04) 60%);
  box-shadow: 0 24px 60px rgba(255, 106, 0, 0.18);
}

.offer-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.offer-badge--power {
  background: var(--ms-green);
  border: 2px solid var(--ms-green);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 184, 107, 0.45);
}

.offer-badge--super {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  border: 2px solid transparent;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.45);
}

.offer-card .tier {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.offer-card:not(.is-pro) .tier { color: var(--ms-green); }
.offer-card.is-pro .tier { color: var(--ms-orange); }

.offer-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 184, 107, 0.1);
  border: 1px solid rgba(0, 184, 107, 0.35);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin: 0 0 22px;
  color: #2cd886;
  font-weight: 700;
  font-size: 14px;
}
.offer-guarantee .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ms-green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

.offer-price {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1;
}

.offer-promise {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.offer-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.offer-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ms-green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.offer-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 18px;
  border-radius: var(--r-md);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.offer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 106, 0, 0.5);
}

.offer-fine {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 14px 0 0;
  text-align: center;
  line-height: 1.5;
}
.offer-fine a {
  color: var(--ms-blue-2);
  text-decoration: underline;
}

.guarantee-note {
  max-width: 720px;
  margin: 48px auto 80px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.guarantee-note a {
  color: var(--ms-blue-2);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 720px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 28px 22px; }
  .offer-price { font-size: 44px; }
}

/* ============ PRO MODAL ============ */
.pro-modal {
  border: 1px solid var(--line);
  background: var(--bg-1);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 0;
  max-width: 440px;
  width: 92%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.pro-modal::backdrop {
  background: rgba(5, 10, 24, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pro-form {
  padding: 36px 32px 32px;
  position: relative;
}
.pro-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.pro-close:hover { background: var(--glass); color: var(--ink); }
.pro-form h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.pro-form > p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 22px;
}
.pro-form label {
  display: block;
  margin-bottom: 14px;
}
.pro-form label span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.pro-form input,
.pro-form textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  outline: 0;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}
.pro-form textarea {
  min-height: 110px;
}
.pro-form input:focus,
.pro-form textarea:focus { border-color: var(--ms-blue-2); }
.pro-form textarea::placeholder { color: var(--ink-mute); }
.pro-hint {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 6px;
  font-weight: 500;
}
.pro-fine {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin: 4px 0 0 !important;
  line-height: 1.5;
}
.pro-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--r-md);
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.pro-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(255, 106, 0, 0.5);
}
.pro-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* ============ FOOTER (multi-link) ============ */
footer { display: block; }
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0 20px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.footer-brand strong { color: var(--ms-orange); font-weight: 800; }
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-base {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-mute);
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

/* ============ STATIC PAGE LAYOUTS ============ */
.page-head {
  text-align: center;
  padding: 70px 0 40px;
}
.page-head h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.page-head p {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 620px;
  margin: 0 auto;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose section { margin-bottom: 48px; }
.prose h2 {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.prose h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose ul li, .prose ol li { margin: 6px 0; }
.prose a { color: var(--ms-blue-2); text-decoration: underline; }
.prose strong { color: var(--ink); }

.module-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}
.module-list .module {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.module-list .module h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.module-list .module p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.module-list .module .module-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ms-blue-2);
  margin-bottom: 8px;
}

.tier-block {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 18px 0 0;
}
.tier-block.is-pro {
  border-color: rgba(255, 106, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.06), rgba(255, 255, 255, 0.04) 60%);
}
.tier-block h3 {
  margin: 0 0 14px;
  color: var(--ink);
}
.tier-block ul { margin: 0; padding-left: 22px; }

.persona-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 16px 0;
}
.persona-disclosure {
  background: rgba(20, 122, 243, 0.1);
  border: 1px solid rgba(20, 122, 243, 0.3);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.persona-disclosure strong { color: var(--ms-blue-2); }
.persona-portrait {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ms-blue) 0%, var(--ms-orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 900;
  color: white;
  margin: 0 auto 22px;
  box-shadow: 0 16px 40px rgba(20, 122, 243, 0.35);
}

.persona-figure {
  margin: 0 0 24px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(20, 122, 243, 0.12), rgba(255, 106, 0, 0.08));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.persona-figure img {
  display: block;
  width: 100%;
  height: clamp(320px, 50vw, 520px);
  object-fit: cover;
  object-position: center 30%;
}

.persona-figure figcaption {
  padding: 14px 18px;
  background: rgba(5, 10, 24, 0.55);
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  border-top: 1px solid var(--line);
}

.refund-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 0 0 18px;
}
.refund-section h2 { margin-top: 0; }
.refund-section.is-highlight {
  border-color: rgba(0, 184, 107, 0.4);
}
.refund-section.is-double {
  border-color: rgba(255, 106, 0, 0.4);
}

.last-updated {
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .nav { padding: 18px 20px; }
  main { padding: 0 20px 60px; }
  .hero { padding: 40px 0 30px; }
  .video-play { width: 64px; height: 64px; }
  .footer-grid { padding: 24px 20px 16px; }
  .refund-section { padding: 22px; }
  .persona-section { padding: 22px; }
}


/* ==================================================================
   AUTH + DASHBOARD + COURSE PLAYER
   ================================================================== */

.auth-card-wrap {
  max-width: 460px;
  margin: 60px auto;
  padding: 0 24px;
}
.auth-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: center;
}
.auth-card h1 {
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.auth-sub {
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-size: 15px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.auth-form input {
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  outline: 0;
}
.auth-form input:focus { border-color: var(--ms-blue-2); }
.auth-submit {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
  transition: transform 0.15s ease;
}
.auth-submit:hover:not(:disabled) { transform: translateY(-1px); }
.auth-submit:disabled { opacity: 0.7; cursor: progress; }
.auth-success {
  margin-top: 10px;
  text-align: center;
}
.auth-success h3 { margin: 0 0 8px; font-size: 20px; }
.auth-success p { color: var(--ink-soft); margin: 0 0 8px; }
.auth-hint { font-size: 13px; color: var(--ink-mute); }
.auth-foot {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
}
.auth-foot a { color: var(--ms-blue-2); text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

/* DASHBOARD */
.dash-meta { color: var(--ink-soft); }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0 60px;
}
@media (max-width: 720px) { .dashboard-grid { grid-template-columns: 1fr; } }

.course-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease;
}
.course-card:hover { border-color: rgba(255,255,255,0.18); }
.course-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.course-tier {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.course-tier--standard { background: rgba(0,184,107,0.15); color: var(--ms-green); border: 1px solid rgba(0,184,107,0.4); }
.course-tier--pro { background: rgba(255,106,0,0.15); color: var(--ms-orange); border: 1px solid rgba(255,106,0,0.45); }
.course-tagline { color: var(--ink-soft); margin: 0; font-size: 14px; }
.course-progress { display: flex; flex-direction: column; gap: 6px; }
.course-progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.course-progress-fill { height: 100%; background: linear-gradient(90deg, var(--ms-orange), var(--ms-orange-2)); border-radius: 999px; transition: width 0.3s ease; }
.course-progress-text { font-size: 12px; color: var(--ink-mute); }
.course-cta {
  margin-top: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ms-orange);
  text-decoration: none;
}
.course-cta:hover { text-decoration: underline; }
.dashboard-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 40px 0;
}
.dashboard-empty h2 { margin: 0 0 10px; }
.dashboard-empty p { color: var(--ink-soft); margin: 0 0 22px; }

/* COURSE PLAYER */
.course-body { background: var(--bg-0); }
.course-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  max-width: 1400px;
  margin: 20px auto 60px;
  padding: 0 24px;
}
@media (max-width: 900px) { .course-main { grid-template-columns: 1fr; } }

.course-sidebar {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.course-sidebar h2 { margin: 0 0 16px; font-size: 18px; letter-spacing: -0.01em; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lesson-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lesson-list a:hover { background: rgba(255,255,255,0.05); color: var(--ink); }

.course-stage {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.course-stage-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a1530;
}
.course-stage-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ms-wm-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.course-controls {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

/* Disable user-select / right-click hints */
.no-select, .no-select * {
  -webkit-user-select: none;
  user-select: none;
}
.no-context img { -webkit-user-drag: none; pointer-events: auto; }


/* ==================================================================
   REFUND POLICY: 3-button CTA row + refund forms
   ================================================================== */

.refund-cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 32px;
}
@media (max-width: 900px) { .refund-cta-row { grid-template-columns: 1fr; } }

.refund-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.refund-cta:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.25); }
.refund-cta--easy:hover     { border-color: rgba(20,122,243,0.55); background: rgba(20,122,243,0.06); }
.refund-cta--standard:hover { border-color: rgba(0,184,107,0.55);  background: rgba(0,184,107,0.06); }
.refund-cta--pro:hover      { border-color: rgba(255,106,0,0.55);  background: rgba(255,106,0,0.06); }

.refund-cta-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.refund-cta--easy     .refund-cta-eyebrow { color: var(--ms-blue-2); }
.refund-cta--standard .refund-cta-eyebrow { color: var(--ms-green); }
.refund-cta--pro      .refund-cta-eyebrow { color: var(--ms-orange); }

.refund-cta-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.refund-cta-meta { font-size: 13px; color: var(--ink-soft); }

/* ==================================================================
   REFUND FORM SHELL + SECTIONS
   ================================================================== */
.refund-form-shell {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.refund-form { display: flex; flex-direction: column; gap: 22px; }

.rf-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 22px;
  margin: 0;
}
.rf-section legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.rf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ms-orange);
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.rf-section--confirm { border-color: rgba(255,106,0,0.4); background: rgba(255,106,0,0.06); }
.rf-optional { font-size: 12px; font-weight: 600; color: var(--ink-mute); margin-left: 6px; text-transform: uppercase; letter-spacing: 0.1em; }
.rf-info { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }
.rf-req { color: var(--ms-orange); font-weight: 700; }

.rf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}
.rf-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}
.rf-hint {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
}

.rf-field input[type="text"],
.rf-field input[type="email"],
.rf-field input[type="number"],
.rf-field input[type="url"],
.rf-field input[type="date"],
.rf-field input[type="datetime-local"],
.rf-field select,
.rf-field textarea {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  outline: 0;
  font-family: inherit;
}
.rf-field input[type="file"] {
  font: inherit;
  font-size: 13px;
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  cursor: pointer;
}
.rf-field input[type="file"]::file-selector-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 12px;
  margin-right: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.rf-field textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.rf-field input:focus,
.rf-field select:focus,
.rf-field textarea:focus { border-color: var(--ms-blue-2); }
.rf-field input::placeholder,
.rf-field textarea::placeholder { color: var(--ink-mute); }

.rf-radio-group, .rf-checkbox-group {
  border: 0;
  margin: 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rf-radio-group legend, .rf-checkbox-group legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  padding: 0;
  line-height: 1.4;
  display: block;
}
.rf-radio, .rf-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  padding: 8px 0;
}
.rf-radio input, .rf-checkbox input {
  margin-top: 3px;
  accent-color: var(--ms-orange);
  flex-shrink: 0;
}
.rf-checkbox--big {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 14px;
}

.rf-workflow-block {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 8px;
  margin: 14px 0;
  background: rgba(255,255,255,0.02);
}
.rf-workflow-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rf-workflow-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--ms-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rf-calendar-embed {
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  margin: 14px 0;
}

.rf-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.rf-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(255, 106, 0, 0.5); }
.rf-submit:disabled { opacity: 0.7; cursor: progress; }
.rf-fine {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin: 12px 0 0;
}

/* SUCCESS PANEL */
.rf-success {
  background: rgba(0,184,107,0.08);
  border: 1px solid rgba(0,184,107,0.45);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: center;
}
.rf-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ms-green);
  color: white;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.rf-success h2 { margin: 0 0 12px; font-size: 24px; }
.rf-success p { color: var(--ink-soft); margin: 8px 0; line-height: 1.55; }
.rf-success .ms-ref {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--ms-orange);
}
.ms-files-note {
  text-align: left;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 13px;
}
.ms-files-list { padding-left: 22px; margin: 8px 0 0; color: var(--ink-soft); }
.rf-success-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--ms-blue-2);
  text-decoration: none;
  font-weight: 600;
}
.rf-success-cta:hover { text-decoration: underline; }


/* ==================================================================
   DASHBOARD: hero + continue + course overview + modules
   ================================================================== */

.dash-hero {
  margin: 30px 0 14px;
}
.dash-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.continue-row { margin: 22px 0 30px; }
.continue-card {
  background: linear-gradient(135deg, rgba(255,106,0,0.18), rgba(20,122,243,0.18));
  border: 1px solid rgba(255,106,0,0.35);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.continue-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ms-orange);
  margin-bottom: 8px;
}
.continue-card h2 {
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.continue-cta {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
  transition: transform 0.15s ease;
}
.continue-cta:hover { transform: translateY(-1px); }

/* Course overview */
.course-overview {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  margin-bottom: 18px;
}
.course-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.course-overview h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.01em; }
.course-overview .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-green);
  background: rgba(0,184,107,0.12);
  border: 1px solid rgba(0,184,107,0.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.course-overview-cta {
  font-weight: 700;
  font-size: 14px;
  color: var(--ms-orange);
  text-decoration: none;
}
.course-overview-cta:hover { text-decoration: underline; }
.course-overall-progress { display: flex; flex-direction: column; gap: 8px; }
.course-overall-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.course-overall-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.course-overall-text { font-size: 13px; color: var(--ink-mute); font-weight: 600; }

.modules-list { display: flex; flex-direction: column; gap: 12px; }

.module-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.module-card:hover { border-color: rgba(255,255,255,0.18); }
.module-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}
.module-icon { font-size: 32px; line-height: 1; }
.module-card-meta { flex: 1; min-width: 0; }
.module-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.module-card-meta h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.module-stats { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
.module-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.module-toggle:hover { border-color: rgba(255,255,255,0.3); color: var(--ink); }
.module-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  margin: 0 22px 10px;
  border-radius: 999px;
  overflow: hidden;
}
.module-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ms-green) 0%, var(--ms-orange) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.module-lessons-list {
  list-style: none;
  margin: 0;
  padding: 0 12px 14px;
}
.lesson-row a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lesson-row a:hover { background: rgba(255,255,255,0.04); color: var(--ink); }
.lesson-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.lesson-row--completed  .lesson-status-dot { background: var(--ms-green); }
.lesson-row--in-progress .lesson-status-dot { background: var(--ms-orange); box-shadow: 0 0 0 4px rgba(255,106,0,0.18); }
.lesson-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-mute);
  min-width: 28px;
}
.lesson-title { flex: 1; min-width: 0; }
.lesson-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--ms-orange);
  white-space: nowrap;
}

.redeem-link {
  color: var(--ms-orange);
  text-decoration: none;
  font-weight: 600;
}
.redeem-link:hover { text-decoration: underline; }

/* ==================================================================
   COURSE PLAYER SIDEBAR: module-grouped lesson list
   ================================================================== */
.module-group { list-style: none; margin: 0 0 16px; padding: 0; }
.module-group-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-orange);
  margin: 12px 0 6px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mod-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,106,0,0.18);
  color: var(--ms-orange);
  font-size: 11px;
}
.module-lessons { list-style: none; padding: 0; margin: 0 0 8px; }
.module-lessons li { padding: 0; }
.module-lessons li a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
}
.module-lessons li a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.module-lessons li a.is-current {
  background: rgba(255,106,0,0.15);
  color: var(--ink);
  border-left: 2px solid var(--ms-orange);
}

/* ==================================================================
   RESOURCES PAGE
   ================================================================== */
.resources-sidebar { max-height: calc(100vh - 140px); overflow-y: auto; }
.resources-sidebar::-webkit-scrollbar { width: 6px; }
.resources-sidebar::-webkit-scrollbar-track { background: transparent; }
.resources-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }

.resources-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}
.resources-group-head {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-orange);
  margin: 16px 8px 4px;
}
.resources-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.4;
}
.resources-link:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.resources-link.is-active {
  background: rgba(255,106,0,0.18);
  color: var(--ink);
  font-weight: 600;
  border-left: 2px solid var(--ms-orange);
}
.resources-upgrade {
  margin: 22px 8px;
  padding: 16px;
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.35);
  border-radius: var(--r-md);
  font-size: 13px;
}
.resources-upgrade a {
  color: var(--ms-orange);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

.resource-frame {
  position: relative;
  z-index: 1;
  padding: 36px 44px;
  min-height: 60vh;
  background: rgba(0,0,0,0.18);
}
.resource-empty { text-align: center; color: var(--ink-mute); padding: 80px 24px; }
.resource-empty h2 { color: var(--ink); margin: 0 0 12px; }
.resource-empty pre {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--ms-orange);
  display: inline-block;
  margin-top: 14px;
}

.resource-doc {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
}
.resource-doc h1, .resource-doc h2, .resource-doc h3 {
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 1.4em 0 0.5em;
}
.resource-doc h1 { font-size: 28px; }
.resource-doc h2 { font-size: 22px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.resource-doc h3 { font-size: 18px; }
.resource-doc p, .resource-doc li { color: var(--ink-soft); }
.resource-doc a { color: var(--ms-blue-2); }
.resource-doc strong { color: var(--ink); }
.resource-doc code {
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: var(--ms-orange);
}
.resource-doc pre {
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.resource-doc pre code { background: transparent; padding: 0; color: inherit; }
.resource-doc blockquote {
  border-left: 3px solid var(--ms-orange);
  padding: 4px 16px;
  margin: 16px 0;
  color: var(--ink-soft);
  font-style: italic;
  background: rgba(255,106,0,0.05);
}
.resource-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.resource-doc th, .resource-doc td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
.resource-doc th { background: rgba(255,255,255,0.05); }

/* Refund form completion-check indicator */
.rf-completion-check {
  font-size: 13px;
  color: var(--ink-mute);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 14px;
}
.rf-completion-check.is-ok { color: var(--ms-green); border-color: rgba(0,184,107,0.4); background: rgba(0,184,107,0.08); }
.rf-completion-check.is-warn { color: var(--ms-orange); border-color: rgba(255,106,0,0.4); background: rgba(255,106,0,0.08); }


/* ==================================================================
   WELCOME MODAL (first-visit email capture)
   ================================================================== */

.welcome-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 540px;
  width: calc(100% - 32px);
  border-radius: var(--r-lg);
}
.welcome-modal::backdrop {
  background: rgba(5, 10, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.welcome-modal[open] { animation: welcome-in 0.4s cubic-bezier(.2,.9,.3,1.2); }
@keyframes welcome-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.welcome-content,
.welcome-success {
  background: linear-gradient(160deg, #0a1530 0%, #050a18 100%);
  border: 2px solid rgba(255, 106, 0, 0.45);
  border-radius: var(--r-lg);
  padding: 42px 36px 30px;
  text-align: center;
  position: relative;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 60px rgba(255, 106, 0, 0.18);
}

.welcome-skip {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.welcome-skip:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }

.welcome-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ms-orange);
  background: rgba(255, 106, 0, 0.14);
  border: 1px solid rgba(255, 106, 0, 0.38);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.welcome-content h2,
.welcome-success h2 {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--ink);
}

.welcome-highlight {
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.welcome-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 24px;
}

.welcome-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.welcome-form input[type="email"] {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  outline: 0;
  text-align: center;
}
.welcome-form input[type="email"]:focus {
  border-color: var(--ms-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}
.welcome-form input[type="email"]::placeholder { color: var(--ink-mute); }

.welcome-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--ms-orange) 0%, var(--ms-orange-2) 100%);
  color: white;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 17px 18px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 14px 32px rgba(255, 106, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}
.welcome-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 106, 0, 0.55);
}
.welcome-cta:disabled { opacity: 0.7; cursor: progress; }

.welcome-cta-secondary {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease;
}
.welcome-cta-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.welcome-fine {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
}

.welcome-success {
  margin-top: 0;
}
.welcome-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ms-green);
  color: white;
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 14px 32px rgba(0, 184, 107, 0.45);
}
.welcome-success p {
  color: var(--ink-soft);
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 540px) {
  .welcome-content, .welcome-success { padding: 32px 22px 24px; }
}


/* ==================================================================
   STARTER KIT PAGE
   ================================================================== */
.starter-kit { max-width: 760px; margin: 0 auto 100px; padding: 0 24px; }
.kit-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 32px 28px;
  margin: 0 0 22px;
}
.kit-section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.kit-section p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 14px; }

.kit-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.kit-checklist li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: rgba(0, 184, 107, 0.06);
  border: 1px solid rgba(0, 184, 107, 0.22);
  border-radius: var(--r-md);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.kit-checklist li::before {
  content: "";
  position: absolute;
  left: 14px; top: 14px;
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--ms-green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=http://www.w3.org/2000/svg viewBox=002424 fill=none stroke=white stroke-width=3.5 stroke-linecap=round stroke-linejoin=round><polyline points=206917412/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.kit-checklist li strong { color: var(--ink); }

.kit-prompt {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin: 16px 0;
  overflow: hidden;
}
.kit-prompt-head {
  padding: 12px 18px;
  background: rgba(255, 106, 0, 0.12);
  border-bottom: 1px solid rgba(255, 106, 0, 0.25);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ms-orange);
  text-transform: uppercase;
}
.kit-prompt pre {
  margin: 0;
  padding: 18px 20px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
}
.kit-prompt code { color: inherit; background: transparent; padding: 0; font-family: inherit; }

.kit-cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(20, 122, 243, 0.08));
  border-color: rgba(255, 106, 0, 0.4);
}
.kit-cta-section h2 { font-size: 28px; }
