:root {
  --bg: #f6f9ff;
  --bg-2: #eef4ff;
  --ink: #07110b;
  --muted: #5e6a61;
  --line: rgba(7, 17, 11, 0.1);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --dark: #07110b;
  --dark-2: #101912;
  --accent: #183974;
  --accent-bright: #3f82ff;
  --accent-soft: #edf4ff;
  --blue: #183974;
  --danger: #dc2626;
  --shadow-soft: 0 24px 70px rgba(19, 43, 23, 0.1);
  --shadow-accent: 0 18px 48px rgba(24, 57, 116, 0.3), 0 0 30px rgba(63, 130, 255, 0.24);
  --max: min(1560px, calc(100% - 48px));
  --content: min(1440px, calc(100% - 48px));
  --font: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Lexend", "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #070c14;
  --bg-2: #0b111d;
  --ink: #f7faff;
  --muted: #c1cadb;
  --line: rgba(58, 134, 255, 0.2);
  --surface: rgba(10, 16, 27, 0.9);
  --surface-solid: #0a101b;
  --dark: #060a12;
  --dark-2: #0d1320;
  --accent: #3a86ff;
  --accent-bright: #3a86ff;
  --accent-soft: rgba(58, 134, 255, 0.12);
  --blue: #3a86ff;
  --neon-blue: #3a86ff;
  --neon-lime: #7d8cff;
  --neon-mint: #58a6ff;
  --shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.56), 0 0 34px rgba(58, 134, 255, 0.12);
  --shadow-accent: 0 18px 52px rgba(58, 134, 255, 0.28), 0 0 34px rgba(80, 128, 255, 0.26);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  background:
    radial-gradient(ellipse at 50% 4%, rgba(63, 130, 255, 0.2), transparent 30%),
    radial-gradient(ellipse at 0% 18%, rgba(24, 57, 116, 0.08), transparent 30%),
    radial-gradient(ellipse at 100% 24%, rgba(63, 130, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.82;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(24, 57, 116, 0.065) 50%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(63, 130, 255, 0.18), transparent 46%);
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(58, 134, 255, 0.18), transparent 26%),
    radial-gradient(ellipse at 52% 8%, rgba(109, 124, 255, 0.12), transparent 34%),
    radial-gradient(ellipse at 100% 22%, rgba(58, 134, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #060a12 0%, #0b111d 44%, #050810 100%);
}

html[data-theme="dark"] body::before {
  opacity: 0.52;
  background:
    linear-gradient(90deg, transparent 0%, rgba(58, 134, 255, 0.08) 50%, transparent 100%),
    radial-gradient(ellipse at 50% 0%, rgba(109, 124, 255, 0.12), transparent 42%);
}

html[data-theme="dark"] body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(58, 134, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 134, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 64%, rgba(124, 140, 255, 0.08) 64% 65%, transparent 65% 100%);
  background-size: 76px 76px, 76px 76px, 260px 260px;
  mask-image: radial-gradient(ellipse at 50% 10%, black 0%, transparent 72%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: var(--max);
  min-height: 72px;
  margin: 14px auto -92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 70px rgba(7, 17, 11, 0.08);
  backdrop-filter: blur(20px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 42px;
  padding: 0;
  color: var(--accent);
  border: 1px solid rgba(24, 57, 116, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(24, 57, 116, 0.12);
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.theme-toggle-track {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  transition: transform 0.24s ease, background 0.24s ease;
}

.theme-toggle-icon {
  position: absolute;
  color: #ffffff;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.theme-toggle-icon.moon {
  opacity: 0;
  transform: scale(0.7) rotate(-18deg);
}

html[data-theme="dark"] .site-header {
  color: var(--ink);
  border-color: rgba(58, 134, 255, 0.18);
  background: rgba(7, 12, 20, 0.78);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.64), 0 0 40px rgba(58, 134, 255, 0.08);
}

html[data-theme="dark"] .brand img {
  filter: none;
}

html[data-theme="dark"] .desktop-nav {
  color: rgba(139, 170, 255, 0.74);
}

html[data-theme="dark"] .desktop-nav a:hover {
  color: var(--neon-lime);
  background: rgba(58, 134, 255, 0.12);
}

html[data-theme="dark"] .theme-toggle {
  color: var(--neon-lime);
  border-color: rgba(58, 134, 255, 0.22);
  background: rgba(58, 134, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35), 0 0 24px rgba(58, 134, 255, 0.16);
}

html[data-theme="dark"] .theme-toggle-track {
  transform: translateX(2px);
  background: linear-gradient(135deg, #58a6ff, #3a86ff 56%, #5d6dff);
  box-shadow: 0 0 22px rgba(58, 134, 255, 0.58), 0 0 48px rgba(80, 128, 255, 0.28);
}

html[data-theme="dark"] .theme-toggle-icon {
  color: #ffffff;
}

html[data-theme="dark"] .theme-toggle-icon.sun {
  opacity: 0;
  transform: scale(0.7) rotate(18deg);
}

html[data-theme="dark"] .theme-toggle-icon.moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  width: 246px;
  height: 52px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
}

.brand-logo-dark {
  display: none;
}

html[data-theme="dark"] .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(7, 17, 11, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.desktop-nav a {
  padding: 10px 11px;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: rgba(24, 57, 116, 0.16);
}

.header-cta {
  position: relative;
  overflow: hidden;
  min-width: max-content;
  padding: 14px 18px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  font-size: 13px;
  font-weight: 1000;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 58px;
}

.section-dark {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 2%, rgba(63, 130, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbff 76%, #ffffff);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(24, 57, 116, 0.07) 50%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse at 50% 13%, rgba(63, 130, 255, 0.22), transparent 34%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 78%);
}

.hero::after {
  position: absolute;
  right: -180px;
  top: 110px;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  content: "";
  background: radial-gradient(circle, rgba(63, 130, 255, 0.16), transparent 64%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  justify-items: center;
}

.hero-copy {
  max-width: 1240px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  color: #183974;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  padding: 9px 14px;
  color: var(--ink);
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(7, 17, 11, 0.06);
}

.free-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(24, 57, 116, 0.17), 0 0 24px rgba(24, 57, 116, 0.6);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin: 22px auto 18px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.026em;
  font-weight: 900;
  text-wrap: balance;
}

h1 span {
  color: #183974;
  text-shadow: 0 0 28px rgba(63, 130, 255, 0.36);
}

h2 {
  font-family: var(--heading-font);
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  text-wrap: balance;
}

h3 {
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.014em;
  font-weight: 800;
}

h4 {
  font-family: var(--heading-font);
  font-size: 16px;
  line-height: 1.34;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.hero-lead {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.66;
  font-weight: 700;
  white-space: nowrap;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 19px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.015);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(24, 57, 116, 0.72);
  outline-offset: 3px;
}

.btn-premium {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 62%, #102b5c);
  box-shadow: var(--shadow-accent), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}


.signup-form .btn-premium,
.signup-form .btn.btn-premium {
  box-shadow: 0 12px 26px rgba(24, 57, 116, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.42) inset;
}

.btn-premium::before,
.header-cta::before {
  position: absolute;
  inset: -40% auto -40% -60%;
  z-index: -1;
  width: 42%;
  content: "";
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: shine 3.6s ease-in-out infinite;
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(7, 17, 11, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(7, 17, 11, 0.06);
  backdrop-filter: blur(12px);
}

.btn-ghost-light {
  color: #ffffff;
  border: 1px solid rgba(24, 57, 116, 0.18);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
}

.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 32px auto 0;
}

.trust-row div {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(7, 17, 11, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(7, 17, 11, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.trust-row div::before {
  position: absolute;
  inset: -80% auto -80% -70%;
  width: 42%;
  content: "";
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(63, 130, 255, 0.18), transparent);
  opacity: 0;
  pointer-events: none;
}

.trust-row div:hover {
  border-color: rgba(63, 130, 255, 0.28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(63, 130, 255, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(24, 57, 116, 0.18), 0 0 28px rgba(63, 130, 255, 0.12);
  transform: translateY(-4px);
}

.trust-row div:hover::before {
  opacity: 1;
  animation: cardShine 1.2s ease forwards;
}

.trust-row strong {
  display: block;
  color: #183974;
  font-size: 22px;
  font-weight: 1000;
}

.trust-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.hero-card,
.final-form {
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  width: min(980px, 100%);
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.hero-card-top img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(24, 57, 116, 0.36);
}


.countdown-top {
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: min(760px, 100%);
  margin: 0 auto;
}

.countdown-top img {
  flex: 0 0 auto;
  margin-top: 8px;
}

.hero-countdown {
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 720px;
  padding: 14px;
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(60, 124, 246, 0.1), rgba(255, 255, 255, 0.74) 42%, rgba(24, 57, 116, 0.08)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(24, 57, 116, 0.12);
  overflow: hidden;
}

.hero-countdown::before {
  content: "";
  position: absolute;
  inset: -70% auto auto -22%;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 124, 246, 0.26), transparent 66%);
  animation: countdownGlow 5.8s ease-in-out infinite alternate;
}

.hero-countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: translateX(-120%);
  animation: countdownSweep 4.8s ease-in-out infinite;
}

.countdown-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: center;
  flex-wrap: wrap;
}

.countdown-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 12px 30px rgba(24, 57, 116, 0.18);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.countdown-head span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
  animation: countdownPulse 1.5s ease-in-out infinite;
}

.countdown-head strong {
  color: #183974;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 1000;
  white-space: nowrap;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  justify-items: stretch;
}

.countdown-cell {
  display: grid;
  place-items: center;
  min-height: 78px;
  width: 100%;
  padding: 10px 8px;
  border: 1px solid rgba(24, 57, 116, 0.1);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 30px rgba(24, 57, 116, 0.08);
}

.countdown-cell b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  color: #06110b;
  font-family: "Lexend", "Be Vietnam Pro", system-ui, sans-serif;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  transform-origin: 50% 70%;
  will-change: transform, opacity, filter;
}

.countdown-cell b.is-ticking {
  animation: countdownNumberFlip 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.countdown-cell small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-status {
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.hero-card h2 {
  margin: 8px 0 0;
  font-size: clamp(20px, 1.7vw, 26px);
}

.hero-card p,
.register-copy p,
.method-copy p,
.outcome-panel p,
.instructor-copy p {
  color: var(--muted);
  line-height: 1.74;
  font-weight: 700;
}

.hero-card > p {
  max-width: 680px;
  margin: 14px auto 20px;
  text-align: center;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 12px 30px rgba(24, 57, 116, 0.24);
  font-size: 12px;
  font-weight: 1000;
}

.signup-form {
  display: grid;
  gap: 14px;
}

.compact-form {
  grid-template-columns: 1fr;
  align-items: end;
}

.compact-form .email-field,
.compact-form .btn,
.compact-form .form-note,
.compact-form .form-support-block {
  grid-column: 1 / -1;
}

.compact-form > label,
.compact-form > .btn,
.compact-form > .form-support-block {
  width: 100%;
}

.form-grid .email-field {
  grid-column: 1 / -1;
}

.signup-form label {
  display: grid;
  gap: 8px;
}

.signup-form label > span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.signup-form label small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  min-height: 54px;
  color: var(--ink);
  border: 1px solid rgba(24, 57, 116, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.96));
  padding: 14px 16px;
  font-weight: 800;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.signup-form textarea {
  resize: vertical;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: #183974;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(24, 57, 116, 0.16);
}

.field-with-action {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.61fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.field-with-action--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.field-with-action input {
  min-height: 54px;
}

.field-with-action input:focus {
  box-shadow: 0 0 0 4px rgba(24, 57, 116, 0.16);
}

.field-with-action:focus-within {
  box-shadow: none;
}

.field-action-copy {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.field-with-action--stack .field-action-copy {
  padding-left: 2px;
  text-align: left;
}

.field-inline-link {
  color: #1f63ff;
  font-weight: 1000;
  text-decoration: none;
}

.field-inline-link:hover {
  text-decoration: underline;
}

.field-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 17px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 68%, #102b5c);
  box-shadow: var(--shadow-accent);
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.form-note.success {
  color: #168044;
}

.form-note.error {
  color: var(--danger);
}

.form-support-block {
  display: grid;
  gap: 10px;
  width: 100%;
  justify-items: center;
}

.form-support-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding-top: 4px;
  text-align: center;
}

.support-title {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.02em;
  text-align: center;
}

.support-links {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 12px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  min-height: 46px;
  padding: 8px 16px;
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(246,249,255,0.98));
  box-shadow: 0 8px 18px rgba(24, 57, 116, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.support-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(24, 57, 116, 0.08);
  border-color: rgba(24, 57, 116, 0.2);
}

.support-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.support-link span {
  color: #183974;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
}

.proof-strip {
  width: var(--max);
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 24px;
  background: rgba(7, 17, 11, 0.1);
  box-shadow: var(--shadow-soft);
}

.proof-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 1000;
  text-align: center;
}

.schedule-section {
  padding-top: clamp(24px, 3.2vw, 44px);
  padding-bottom: clamp(8px, 1.4vw, 18px);
}

.schedule-card {
  position: relative;
  overflow: hidden;
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  gap: clamp(20px, 3.2vw, 46px);
  align-items: center;
  padding: clamp(22px, 3.2vw, 40px);
  border: 1px solid rgba(24, 57, 116, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(63, 130, 255, 0.14), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.94));
  box-shadow: 0 28px 80px rgba(24, 57, 116, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.76) inset;
}

.schedule-card::before {
  position: absolute;
  inset: -20% auto auto 44%;
  width: 460px;
  height: 460px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(63, 130, 255, 0.18), transparent 64%);
  pointer-events: none;
}

.schedule-copy,
.schedule-board {
  position: relative;
  z-index: 2;
}

.schedule-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.schedule-copy h2 {
  max-width: 760px;
  margin: 14px auto 16px;
  color: var(--ink);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.schedule-title-line {
  display: block;
}

.schedule-copy p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.72;
  font-weight: 700;
}

.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.schedule-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 57, 116, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(24, 57, 116, 0.08);
  color: var(--ink);
}

.schedule-meta-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 32px;
}

.schedule-meta-icon--zoom {
  border-radius: 10px;
}

.schedule-meta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.schedule-meta-value {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.schedule-meta b {
  display: block;
  margin-bottom: 0;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-board {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(94px, 0.7fr) minmax(88px, 0.52fr) minmax(116px, 0.68fr);
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px 16px;
  color: var(--ink);
  border: 1px solid rgba(24, 57, 116, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(24, 57, 116, 0.06);
  font-weight: 900;
}

.schedule-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 74px;
  min-height: 38px;
  padding: 9px 12px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  font-size: 12px;
}

.schedule-row span {
  color: var(--muted);
  font-size: 14px;
}

.schedule-row time {
  color: var(--accent);
  font-size: 18px;
  font-weight: 1000;
}

.schedule-promo-image {
  width: min(100% - 40px, 1440px);
  margin: clamp(22px, 2.4vw, 34px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: clamp(22px, 2vw, 34px);
  background: #07111f;
  box-shadow: 0 28px 70px rgba(24, 57, 116, 0.14);
}

.schedule-promo-image img {
  display: block;
  width: 100%;
  height: auto;
}

.xm-access {
  padding-top: clamp(30px, 3.8vw, 54px);
}

.xm-access-card {
  position: relative;
  overflow: hidden;
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(24, 57, 116, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92)),
    radial-gradient(ellipse at 0% 0%, rgba(63, 130, 255, 0.16), transparent 34%);
  box-shadow: 0 34px 90px rgba(24, 57, 116, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.74) inset;
}

.xm-access-card::before {
  position: absolute;
  inset: auto 8% -38% 8%;
  height: 360px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(63, 130, 255, 0.18), transparent 62%);
  pointer-events: none;
}

.xm-access-copy,
.xm-premium-panel {
  position: relative;
  z-index: 2;
}

.xm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xm-kicker img {
  width: 136px;
  height: 39px;
  object-fit: contain;
}

.xm-logo-dark {
  display: none;
}

html[data-theme="dark"] .xm-logo-light {
  display: none;
}

html[data-theme="dark"] .xm-logo-dark {
  display: block;
  width: 154px;
}

.xm-access h2 {
  margin-bottom: 18px;
  color: var(--ink);
}

.xm-access-copy h2 {
  font-size: clamp(24px, 1.85vw, 32px);
  white-space: nowrap;
}

.xm-access-copy p {
  max-width: 800px;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.74;
  font-weight: 700;
}

.partner-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 26px auto;
  padding: 12px 14px 12px 18px;
  border: 1px dashed rgba(24, 57, 116, 0.46);
  border-radius: 18px;
  background: rgba(237, 244, 255, 0.82);
  box-shadow: 0 16px 38px rgba(24, 57, 116, 0.08);
  text-align: center;
}

.partner-code span {
  color: var(--muted);
  font-weight: 900;
}

.partner-code strong {
  color: var(--accent);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0.03em;
}

.copy-code-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
  border: 1px solid rgba(24, 57, 116, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.copy-code-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-code-btn .icon-check {
  display: none;
}

.copy-code-btn:hover,
.copy-code-btn.is-copied {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.copy-code-btn.is-copied .icon-copy {
  display: none;
}

.copy-code-btn.is-copied .icon-check {
  display: block;
}


.xm-access-note {
  display: grid;
  gap: 7px;
  max-width: 720px;
  margin: -10px auto 24px;
  padding: 15px 18px;
  border: 1px solid rgba(245, 197, 66, 0.46);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.92), rgba(239, 246, 255, 0.86));
  box-shadow: 0 16px 34px rgba(24, 57, 116, 0.075);
}

.xm-access-note strong {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 1000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.xm-access-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.xm-access-note b {
  color: var(--accent);
  font-weight: 1000;
}

.xm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.xm-premium-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(24, 57, 116, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(63, 130, 255, 0.18), transparent 42%),
    linear-gradient(145deg, #ffffff, #f2f6ff);
  box-shadow: 0 24px 62px rgba(24, 57, 116, 0.12);
}

.platinum-badge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 11px 17px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(125deg, #96a3b7 0%, #5f7089 34%, #d9e1ee 52%, #72839a 72%, #eef3fb 100%);
  box-shadow: 0 18px 44px rgba(78, 94, 119, 0.26), 0 0 0 1px rgba(52, 70, 98, 0.14) inset;
  font-size: 12px;
  font-weight: 1000;
  text-shadow: 0 1px 8px rgba(21, 31, 48, 0.42);
}

.platinum-badge::before {
  position: absolute;
  inset: -60% auto -60% -70%;
  z-index: -1;
  width: 38%;
  content: "";
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  animation: shine 4.4s ease-in-out infinite;
}

.xm-premium-panel h3 {
  max-width: 100%;
  margin: 14px auto 22px;
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
}

.xm-premium-panel ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xm-premium-panel li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(24, 57, 116, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.xm-premium-panel li strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  font-size: 13px;
  font-weight: 1000;
}

.xm-premium-panel li span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 800;
}

.xm-premium-panel b {
  color: var(--accent);
}

.section {
  padding: clamp(48px, 5.2vw, 78px) 0;
}

section[id],
#xm-guide {
  scroll-margin-top: 96px;
}

.section-heading {
  width: var(--content);
  max-width: 980px;
  margin: 0 auto clamp(26px, 3vw, 34px);
  text-align: center;
}

.section-heading h2 {
  margin: 14px 0 0;
}

.curriculum .section-heading {
  max-width: min(1180px, calc(100% - 48px));
}

.curriculum-main-title {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
  white-space: nowrap;
}

.intro-grid {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.intro-card,
.lesson-card,
.outcome-list,
details {
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.intro-card {
  padding: 30px;
}

.intro-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #183974;
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.intro-card p,
.lesson-card li,
.outcome-list span,
details p,
.site-footer span {
  color: var(--muted);
  line-height: 1.68;
  font-weight: 700;
}

.section-blue {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 15% 18%, rgba(63, 130, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #eef4ff);
}

.section-blue::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse at 50% 0%, rgba(24, 57, 116, 0.08), transparent 48%);
  opacity: 1;
}

.method-grid {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.gold {
  color: #183974;
}

.method-copy p,
.section-blue .check-list li {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
  line-height: 1.56;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 13px;
  height: 13px;
  border-radius: 5px;
  content: "";
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 18px rgba(24, 57, 116, 0.3);
}

.cycle-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 30px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.cycle-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #ffffff;
}

.cycle-card figcaption {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.module-stack {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.module-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-header {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid rgba(7, 17, 11, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(24, 57, 116, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(24, 57, 116, 0.08);
}

.module-header span {
  color: #183974;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-header h3 {
  margin: 0;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(7, 17, 11, 0.08);
}

.single-lesson {
  grid-template-columns: 1fr;
}

.lesson-stack {
  display: grid;
  gap: 20px;
}

.lesson-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 60px);
  align-items: center;
  min-height: 340px;
  padding: clamp(22px, 3.2vw, 40px);
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 2% 0%, rgba(255, 215, 120, 0.18), transparent 34%),
    radial-gradient(ellipse at 100% 100%, rgba(63, 130, 255, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 72px rgba(24, 57, 116, 0.12);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.lesson-block::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.76) 48%, transparent 100%);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.lesson-block.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.95fr);
}

.lesson-block.reverse .lesson-visual {
  order: -1;
}

.lesson-block:hover {
  z-index: 2;
  border-color: rgba(63, 130, 255, 0.34);
  box-shadow: 0 34px 96px rgba(24, 57, 116, 0.2), 0 0 42px rgba(63, 130, 255, 0.14);
  transform: translateY(-5px) scale(1.006);
}

.lesson-block:hover::before {
  opacity: 1;
}

.lesson-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.lesson-title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.lesson-card strong {
  position: relative;
  flex: 0 0 auto;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0;
  padding: 0;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  font-size: 12px;
  font-weight: 1000;
  text-align: center;
  white-space: nowrap;
}

.lesson-card strong::after {
  position: absolute;
  inset: 5px;
  z-index: -1;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.86);
  border-radius: inherit;
  animation: dashedRingSpin 7s linear infinite;
}

.lesson-card h4 {
  flex: 1 1 auto;
  display: -webkit-box;
  max-width: 760px;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lesson-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.lesson-card li {
  font-size: 14px;
}

.lesson-card li::marker {
  color: #183974;
}

.lesson-visual {
  position: relative;
  overflow: hidden;
  min-height: 276px;
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(63, 130, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #ffffff, #f2f7ff);
  box-shadow: 0 22px 58px rgba(24, 57, 116, 0.12), 0 0 0 10px rgba(255, 255, 255, 0.48);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lesson-block:hover .lesson-visual {
  transform: scale(1.01);
  box-shadow: 0 28px 72px rgba(24, 57, 116, 0.18), 0 0 0 10px rgba(255, 255, 255, 0.7);
}

.lesson-image-trigger {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  border: 0;
  border-radius: 20px;
  background: #ffffff;
  cursor: zoom-in;
  box-shadow: 0 16px 42px rgba(24, 57, 116, 0.12);
}

.lesson-image-trigger img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.lesson-image-trigger span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 10px 13px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  font-size: 12px;
  font-weight: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lesson-image-trigger::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(7, 17, 11, 0.28));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lesson-image-trigger:hover img {
  transform: scale(1.006);
  filter: saturate(1.04);
}

.lesson-image-trigger:hover span,
.lesson-image-trigger:hover::before,
.lesson-image-trigger:focus-visible span,
.lesson-image-trigger:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.visual-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 9px 12px;
  color: var(--accent);
  border: 1px solid rgba(24, 57, 116, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(24, 57, 116, 0.1);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lesson-visual svg {
  width: 100%;
  min-height: 220px;
}

.lesson-visual text {
  fill: rgba(24, 57, 116, 0.78);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 1000;
}

.range-fill {
  fill: rgba(24, 57, 116, 0.07);
}

.range-line,
.pnf-grid path {
  fill: none;
  stroke: rgba(24, 57, 116, 0.17);
  stroke-width: 2;
}

.chart-path {
  fill: none;
  stroke: #183974;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 16px rgba(24, 57, 116, 0.18));
}

.chart-dot {
  fill: #3f82ff;
  stroke: #ffffff;
  stroke-width: 5;
}

.chart-dot.hot {
  fill: #f04438;
}

.drop-arrow,
.target-line {
  fill: none;
  stroke: #3f82ff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bar {
  fill: rgba(63, 130, 255, 0.72);
}

.bar.hot {
  fill: rgba(24, 57, 116, 0.92);
}

.pnf-mark {
  fill: #183974;
  font-size: 34px;
  font-weight: 1000;
}

.supply-zone {
  fill: rgba(240, 68, 56, 0.12);
}

.demand-zone {
  fill: rgba(63, 130, 255, 0.16);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(7, 17, 11, 0.74);
  backdrop-filter: blur(18px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-inner {
  position: relative;
  width: min(1440px, 96vw);
  max-height: 92vh;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
}

.image-lightbox-title {
  margin: 0;
  padding-right: 54px;
  color: var(--ink);
  font-weight: 1000;
}

.image-lightbox img {
  width: 100%;
  max-height: calc(92vh - 92px);
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}

.xm-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(7, 17, 11, 0.62);
  backdrop-filter: blur(18px);
}

.xm-guide-modal[hidden] {
  display: none;
}

.xm-guide-dialog {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(24px, 3.5vw, 42px);
  color: var(--ink);
  border: 1px solid rgba(24, 57, 116, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(63, 130, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
  box-shadow: 0 36px 130px rgba(7, 17, 11, 0.32);
}

.xm-guide-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: -10px -10px 0 12px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: var(--shadow-accent);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}

.xm-guide-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.xm-guide-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 10px 24px;
  color: var(--accent);
  border: 1px solid rgba(24, 57, 116, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(24, 57, 116, 0.08);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xm-guide-head h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.12;
}

.xm-guide-head p {
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
  font-weight: 700;
}

.xm-guide-case {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(24, 57, 116, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(63, 130, 255, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 64px rgba(24, 57, 116, 0.1);
}

.xm-guide-case.primary {
  text-align: center;
}

.xm-guide-case h3 {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(19px, 1.45vw, 24px);
}

.xm-guide-case p {
  margin: 15px 0;
  color: var(--muted);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  font-weight: 700;
}

.xm-guide-case b {
  color: var(--accent);
}

.xm-guide-code {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto;
  padding: 13px 15px 13px 18px;
  color: var(--accent);
  border: 1px dashed rgba(24, 57, 116, 0.46);
  border-radius: 18px;
  background: rgba(237, 244, 255, 0.82);
}

.xm-guide-code span {
  color: var(--muted);
  font-weight: 900;
}

.xm-guide-code strong {
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1;
}

body.is-lightbox-open,
body.is-modal-open {
  overflow: hidden;
}

html[data-theme="dark"] .header-cta,
html[data-theme="dark"] .btn-premium,
html[data-theme="dark"] .badge-free,
html[data-theme="dark"] .lesson-card strong,
html[data-theme="dark"] .xm-premium-panel li strong,
html[data-theme="dark"] .copy-code-btn:hover,
html[data-theme="dark"] .copy-code-btn.is-copied,
html[data-theme="dark"] .lesson-image-trigger span,
html[data-theme="dark"] .image-lightbox-close,
html[data-theme="dark"] .btn-ghost-light {
  color: #ffffff;
  background: linear-gradient(135deg, #58a6ff 0%, #3a86ff 52%, #2f6de1 100%);
  box-shadow: 0 18px 52px rgba(58, 134, 255, 0.24), 0 0 34px rgba(58, 134, 255, 0.42), 0 0 0 1px rgba(130, 170, 255, 0.38) inset;
}

html[data-theme="dark"] .btn-premium::before,
html[data-theme="dark"] .header-cta::before,
html[data-theme="dark"] .platinum-badge::before {
  background: linear-gradient(90deg, transparent, rgba(151, 180, 255, 0.96), transparent);
}

html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .copy-code-btn {
  color: var(--neon-lime);
  border-color: rgba(58, 134, 255, 0.22);
  background: rgba(58, 134, 255, 0.08);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 20px rgba(58, 134, 255, 0.12);
}

html[data-theme="dark"] .section-dark {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 4%, rgba(58, 134, 255, 0.18), transparent 28%),
    radial-gradient(ellipse at 70% 12%, rgba(124, 140, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #060a12, #0b111d 76%, #050810);
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(90deg, transparent 0%, rgba(58, 134, 255, 0.09) 50%, transparent 100%),
    radial-gradient(ellipse at 50% 13%, rgba(58, 134, 255, 0.16), transparent 34%);
}

html[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(58, 134, 255, 0.14), transparent 64%);
}

html[data-theme="dark"] h1 span,
html[data-theme="dark"] .trust-row strong,
html[data-theme="dark"] .section-kicker,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .gold,
html[data-theme="dark"] .module-header span,
html[data-theme="dark"] .lesson-card li::marker,
html[data-theme="dark"] .outcome-list strong,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .partner-code strong,
html[data-theme="dark"] .xm-premium-panel b {
  color: var(--neon-lime);
  text-shadow: 0 0 18px rgba(58, 134, 255, 0.36), 0 0 26px rgba(124, 140, 255, 0.2);
}

html[data-theme="dark"] .free-dot {
  background: var(--neon-lime);
  box-shadow: 0 0 0 7px rgba(58, 134, 255, 0.14), 0 0 26px rgba(58, 134, 255, 0.66);
}

html[data-theme="dark"] .hero .eyebrow,
html[data-theme="dark"] .trust-row div,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .final-form,
html[data-theme="dark"] .intro-card,
html[data-theme="dark"] .outcome-list,
html[data-theme="dark"] details,
html[data-theme="dark"] .cycle-card,
html[data-theme="dark"] .module-header,
html[data-theme="dark"] .lesson-block,
html[data-theme="dark"] .lesson-visual,
html[data-theme="dark"] .xm-access-card,
html[data-theme="dark"] .xm-premium-panel,
html[data-theme="dark"] .instructor-card,
html[data-theme="dark"] .proof-strip span {
  color: var(--ink);
  border-color: rgba(58, 134, 255, 0.14);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(58, 134, 255, 0.08), transparent 34%),
    rgba(10, 16, 27, 0.92);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .trust-row div::before {
  background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.26), transparent);
}

html[data-theme="dark"] .trust-row div:hover {
  border-color: rgba(58, 134, 255, 0.38);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(58, 134, 255, 0.14), transparent 58%),
    rgba(11, 18, 31, 0.96);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), 0 0 28px rgba(58, 134, 255, 0.18), 0 0 18px rgba(124, 140, 255, 0.12);
}

html[data-theme="dark"] .proof-strip {
  border-color: rgba(58, 134, 255, 0.18);
  background: rgba(58, 134, 255, 0.1);
}

html[data-theme="dark"] .schedule-card {
  color: var(--ink);
  border-color: rgba(58, 134, 255, 0.18);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(58, 134, 255, 0.14), transparent 36%),
    radial-gradient(ellipse at 96% 100%, rgba(124, 140, 255, 0.1), transparent 44%),
    linear-gradient(145deg, #08101c, #0c1422);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58), 0 0 42px rgba(58, 134, 255, 0.1);
}

html[data-theme="dark"] .schedule-card::before {
  background: radial-gradient(circle, rgba(58, 134, 255, 0.16), transparent 66%);
}

html[data-theme="dark"] .schedule-copy h2 {
  color: #f7faff;
  text-shadow: 0 0 22px rgba(58, 134, 255, 0.22);
}

html[data-theme="dark"] .schedule-copy p {
  color: #c8d2e2;
}

html[data-theme="dark"] .schedule-meta-item,
html[data-theme="dark"] .schedule-board,
html[data-theme="dark"] .schedule-row {
  border-color: rgba(58, 134, 255, 0.16);
  background: rgba(12, 24, 41, 0.72);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(130, 170, 255, 0.08);
}

html[data-theme="dark"] .schedule-meta b,
html[data-theme="dark"] .schedule-row time {
  color: var(--neon-lime);
}

html[data-theme="dark"] .schedule-row strong {
  color: #ffffff;
  background: linear-gradient(135deg, #58a6ff 0%, #3a86ff 58%, #2f6de1 100%);
  box-shadow: 0 16px 44px rgba(58, 134, 255, 0.26), 0 0 26px rgba(58, 134, 255, 0.28);
}

html[data-theme="dark"] .schedule-row span {
  color: #c1cadb;
}

html[data-theme="dark"] .xm-access-card,
html[data-theme="dark"] .lesson-block {
  background:
    radial-gradient(ellipse at 4% 0%, rgba(58, 134, 255, 0.12), transparent 34%),
    radial-gradient(ellipse at 100% 100%, rgba(58, 134, 255, 0.08), transparent 42%),
    #08101c;
}

html[data-theme="dark"] .lesson-block:hover {
  border-color: rgba(58, 134, 255, 0.44);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.72), 0 0 46px rgba(58, 134, 255, 0.2), 0 0 28px rgba(124, 140, 255, 0.12);
}

html[data-theme="dark"] .lesson-block::before {
  background: linear-gradient(115deg, transparent 0%, rgba(58, 134, 255, 0.14) 48%, transparent 100%);
}

html[data-theme="dark"] .lesson-image-trigger,
html[data-theme="dark"] .lesson-image-trigger img,
html[data-theme="dark"] .image-lightbox img {
  background: #ffffff;
}

html[data-theme="dark"] .partner-code,
html[data-theme="dark"] .xm-kicker,
html[data-theme="dark"] .signup-form input,
html[data-theme="dark"] .signup-form select,
html[data-theme="dark"] .signup-form textarea,
html[data-theme="dark"] .mini-metrics span {
  color: var(--ink);
  border-color: rgba(58, 134, 255, 0.18);
  background: rgba(58, 134, 255, 0.08);
}

html[data-theme="dark"] .field-with-action {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .field-with-action:focus-within {
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .field-action-copy {
  color: #c1cadb;
}

html[data-theme="dark"] .field-action-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #58a6ff, #3a86ff 66%, #2f6de1);
  box-shadow: var(--shadow-accent);
}

html[data-theme="dark"] .signup-form input::placeholder,
html[data-theme="dark"] .signup-form textarea::placeholder {
  color: rgba(219, 227, 239, 0.48);
}

html[data-theme="dark"] .signup-form input:focus,
html[data-theme="dark"] .signup-form select:focus,
html[data-theme="dark"] .signup-form textarea:focus {
  border-color: var(--neon-lime);
  background: rgba(58, 134, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.14);
}

html[data-theme="dark"] .section-blue,
html[data-theme="dark"] .outcomes,
html[data-theme="dark"] .register-section {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 8%, rgba(58, 134, 255, 0.1), transparent 30%),
    radial-gradient(ellipse at 85% 8%, rgba(58, 134, 255, 0.07), transparent 32%),
    linear-gradient(180deg, #070c14, #0b111d);
}

html[data-theme="dark"] .section-blue::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(58, 134, 255, 0.1), transparent 48%);
}

html[data-theme="dark"] .outcome-panel {
  background:
    radial-gradient(circle at 18% 10%, rgba(58, 134, 255, 0.13), transparent 28%),
    linear-gradient(145deg, #08101c, #101827);
  border: 1px solid rgba(58, 134, 255, 0.16);
}

html[data-theme="dark"] .outcome-list div {
  background: rgba(10, 16, 27, 0.94);
}

html[data-theme="dark"] .cycle-card figcaption,
html[data-theme="dark"] .hero-card p,
html[data-theme="dark"] .register-copy p,
html[data-theme="dark"] .method-copy p,
html[data-theme="dark"] .outcome-panel p,
html[data-theme="dark"] .instructor-copy p,
html[data-theme="dark"] .intro-card p,
html[data-theme="dark"] .lesson-card li,
html[data-theme="dark"] .outcome-list span,
html[data-theme="dark"] details p,
html[data-theme="dark"] .site-footer span,
html[data-theme="dark"] .xm-access-copy p,
html[data-theme="dark"] .xm-premium-panel li span,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .partner-code span,
html[data-theme="dark"] .trust-row span {
  color: var(--muted);
}

html[data-theme="dark"] .check-list li::before {
  background: linear-gradient(135deg, #58a6ff, #3a86ff);
  box-shadow: 0 0 18px rgba(58, 134, 255, 0.46);
}

html[data-theme="dark"] .platinum-badge {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(125deg, #94a3b8 0%, #65758a 32%, #aeb8c8 56%, #4b5a70 100%);
  text-shadow: none;
  box-shadow: 0 18px 50px rgba(58, 134, 255, 0.18), 0 0 30px rgba(148, 163, 184, 0.28);
}

html[data-theme="dark"] .xm-access-card {
  border-color: rgba(58, 134, 255, 0.18);
  background:
    radial-gradient(ellipse at 4% 0%, rgba(58, 134, 255, 0.14), transparent 34%),
    radial-gradient(ellipse at 96% 100%, rgba(58, 134, 255, 0.1), transparent 44%),
    #08101c;
}

html[data-theme="dark"] .xm-access h2,
html[data-theme="dark"] .xm-premium-panel h3 {
  color: #f7faff;
  text-shadow: 0 0 22px rgba(58, 134, 255, 0.24), 0 0 30px rgba(124, 140, 255, 0.12);
}

html[data-theme="dark"] .xm-premium-panel {
  border-color: rgba(58, 134, 255, 0.18);
  background:
    radial-gradient(ellipse at 24% 0%, rgba(58, 134, 255, 0.14), transparent 42%),
    linear-gradient(145deg, #08101c, #0c1422);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.7), 0 0 42px rgba(58, 134, 255, 0.1);
}

html[data-theme="dark"] .xm-premium-panel li {
  border-color: rgba(58, 134, 255, 0.16);
  background: rgba(58, 134, 255, 0.07);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .xm-premium-panel li span,
html[data-theme="dark"] .xm-access-copy p {
  color: #c8d2e2;
}

html[data-theme="dark"] .xm-premium-panel b {
  color: var(--neon-lime);
}

html[data-theme="dark"] .xm-kicker {
  color: var(--neon-lime);
  background: rgba(58, 134, 255, 0.08);
}

html[data-theme="dark"] .xm-kicker span {
  color: var(--neon-lime);
}

html[data-theme="dark"] .image-lightbox {
  background: rgba(0, 0, 0, 0.86);
}

html[data-theme="dark"] .image-lightbox-inner {
  border-color: rgba(58, 134, 255, 0.18);
  background: rgba(8, 16, 28, 0.96);
}

html[data-theme="dark"] .xm-guide-modal {
  background: rgba(0, 0, 0, 0.78);
}

html[data-theme="dark"] .xm-guide-dialog {
  color: var(--ink);
  border-color: rgba(58, 134, 255, 0.18);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(58, 134, 255, 0.14), transparent 34%),
    radial-gradient(ellipse at 72% 10%, rgba(58, 134, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(8, 16, 28, 0.98), rgba(5, 8, 16, 0.98));
  box-shadow: 0 36px 130px rgba(0, 0, 0, 0.74), 0 0 56px rgba(58, 134, 255, 0.1);
}

html[data-theme="dark"] .xm-guide-pill,
html[data-theme="dark"] .xm-guide-case,
html[data-theme="dark"] .xm-guide-code {
  color: var(--neon-lime);
  border-color: rgba(58, 134, 255, 0.18);
  background: rgba(58, 134, 255, 0.08);
}

html[data-theme="dark"] .xm-guide-head h2,
html[data-theme="dark"] .xm-guide-case h3,
html[data-theme="dark"] .xm-guide-case b,
html[data-theme="dark"] .xm-guide-code strong {
  color: var(--neon-lime);
  text-shadow: 0 0 22px rgba(58, 134, 255, 0.3), 0 0 30px rgba(124, 140, 255, 0.16);
}

html[data-theme="dark"] .xm-guide-head p,
html[data-theme="dark"] .xm-guide-case p,
html[data-theme="dark"] .xm-guide-code span {
  color: #dbe3ef;
}

html[data-theme="dark"] .xm-guide-close {
  color: #ffffff;
  background: linear-gradient(135deg, #58a6ff, #3a86ff 68%, #2f6de1);
  box-shadow: 0 0 24px rgba(58, 134, 255, 0.48);
}

.outcomes {
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 57, 116, 0.13), transparent 28%),
    linear-gradient(180deg, transparent, #f3faef);
}

.outcomes-grid {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.outcome-panel {
  padding: clamp(30px, 4vw, 48px);
  color: #ffffff;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 10%, rgba(24, 57, 116, 0.2), transparent 28%),
    linear-gradient(145deg, var(--dark), var(--dark-2));
  box-shadow: 0 24px 70px rgba(7, 17, 11, 0.18);
}

.outcome-panel .section-kicker {
  color: var(--accent);
}

.outcome-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.outcome-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(7, 17, 11, 0.08);
}

.outcome-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.96);
}

.outcome-list strong {
  color: #183974;
  font-size: 26px;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.instructor-card {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(24, 57, 116, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.instructor-media {
  overflow: hidden;
  border-radius: 24px;
  background: #f4f8f1;
}

.instructor-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.instructor-copy {
  color: var(--ink);
}

.instructor-copy p {
  color: var(--muted);
}

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mini-metrics span {
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(7, 17, 11, 0.1);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.faq-grid {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details {
  padding: 0;
}

summary {
  position: relative;
  cursor: pointer;
  padding: 22px 72px 22px 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 1000;
  list-style: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  content: "+";
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 76%, #153575);
  box-shadow: 0 10px 24px rgba(24, 57, 116, 0.18), inset 0 1px 0 rgba(255,255,255,0.18);
  font-family: "Lexend", "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

summary:hover::after {
  box-shadow: 0 14px 28px rgba(24, 57, 116, 0.24), inset 0 1px 0 rgba(255,255,255,0.2);
}

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

details p {
  margin: 0;
  padding: 0 24px 24px;
}

.register-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(24, 57, 116, 0.22), transparent 26%),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.register-grid {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.register-copy p,
.register-copy .check-list li {
  color: var(--muted);
}

.final-form {
  padding: clamp(22px, 3vw, 34px);
}

.register-form-card {
  width: 100%;
}

.register-form-card .hero-card-top,
.register-form-card .hero-countdown {
  width: 100%;
}

.register-form-card > p {
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wide {
  grid-column: 1 / -1;
}

.consent {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
}

.consent input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #183974;
}



html[data-theme="dark"] .hero-countdown {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(60, 124, 246, 0.22), rgba(4, 9, 18, 0.82) 46%, rgba(24, 57, 116, 0.16)),
    rgba(8, 14, 28, 0.88);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .countdown-head strong,
html[data-theme="dark"] .countdown-cell b {
  color: #ffffff;
}

html[data-theme="dark"] .countdown-cell {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 30px rgba(0, 0, 0, 0.18);
}

.site-footer {
  width: min(var(--content), 1320px);
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--ink);
}

.site-footer-risk {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.site-footer-risk strong {
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 1000;
}

.site-footer-risk span {
  max-width: 1240px;
  font-size: clamp(14px, 1.02vw, 17px);
  line-height: 1.78;
  color: var(--muted);
  font-weight: 700;
}

.back-to-top-floating {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 62%, #102b5c);
  box-shadow: 0 18px 38px rgba(24, 57, 116, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.back-to-top-floating:hover,
.back-to-top-floating:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 24px 44px rgba(24, 57, 116, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.back-to-top-floating svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes countdownNumberFlip {
  0% {
    opacity: 0.38;
    transform: translateY(11px) scale(0.94);
    filter: blur(5px);
  }
  58% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes countdownPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes countdownGlow {
  from {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.52;
  }
  to {
    transform: translate3d(18px, 12px, 0) scale(1.12);
    opacity: 0.9;
  }
}

@keyframes countdownSweep {
  0%, 54% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes shine {
  0%,
  45% {
    transform: translateX(0) rotate(18deg);
  }
  100% {
    transform: translateX(390%) rotate(18deg);
  }
}

@keyframes dashedRingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cardShine {
  from {
    transform: translateX(0) rotate(18deg);
  }
  to {
    transform: translateX(520%) rotate(18deg);
  }
}


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

  .method-grid,
  .xm-access-card,
  .schedule-card,
  .lesson-block,
  .lesson-block.reverse,
  .outcomes-grid,
  .instructor-card,
  .register-grid {
    grid-template-columns: 1fr;
  }

  .lesson-block.reverse .lesson-visual {
    order: 0;
  }

  .hero-card,
  .xm-premium-panel,
  .cycle-card,
  .outcome-list,
  .final-form {
    max-width: 760px;
    width: 100%;
  }

  .compact-form {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --max: min(100% - 28px, 1560px);
    --content: min(100% - 28px, 1440px);
  }

  .site-header {
    top: 8px;
    min-height: 64px;
    margin-top: 8px;
    border-radius: 20px;
  }

  .header-cta {
    padding: 12px 13px;
    font-size: 12px;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(32px, 8.4vw, 42px);
    line-height: 1.1;
  }

  .hero-copy {
    max-width: 100%;
  }

  .countdown-top {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .countdown-top img {
    margin-top: 0;
  }

  .countdown-head {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }


  .hero-lead {
    max-width: 720px;
    white-space: normal;
  }

  .curriculum-main-title {
    font-size: clamp(19px, 4.8vw, 26px);
  }

  .lesson-title-row {
    gap: 12px;
  }

  .lesson-card strong {
    width: 50px;
    height: 50px;
    font-size: 11px;
  }

  .lesson-card h4 {
    font-size: clamp(17px, 4.4vw, 21px);
    line-height: 1.22;
  }

  .trust-row,
  .intro-grid,
  .lesson-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    gap: 22px;
    border-radius: 26px;
  }

  .schedule-copy h2 {
    max-width: 100%;
    font-size: clamp(22px, 6.9vw, 32px);
    line-height: 1.14;
  }

  .schedule-copy p {
    max-width: 100%;
  }

  .schedule-meta {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .schedule-meta-item {
    min-width: 0;
  }

  .schedule-board {
    padding: 8px;
    border-radius: 22px;
  }

  .schedule-promo-image {
    width: min(100% - 28px, 1440px);
    border-radius: 22px;
  }

  .schedule-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 13px;
  }

  .schedule-row strong {
    grid-row: span 2;
  }

  .schedule-row span,
  .schedule-row time {
    text-align: right;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-grid {
    gap: 0;
  }

  .outcome-list div {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .xm-access-copy h2,
  .xm-premium-panel h3 {
    white-space: normal;
  }

  .field-with-action {
    grid-template-columns: 1fr;
  }

  .field-action-copy {
    max-width: 100%;
  }

  .field-action-btn {
    width: 100%;
  }

  .form-support-row {
    flex-direction: column;
    gap: 10px;
  }

  .support-links {
    width: 100%;
    max-width: 360px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-link {
    min-width: 0;
    width: 100%;
  }

  .site-footer {
    padding: 28px 0 86px;
  }

  .site-footer-risk {
    gap: 12px;
  }

  .site-footer-risk span {
    line-height: 1.72;
  }

  .back-to-top-floating {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-bottom: 84px;
  }

  .site-footer-risk strong {
    font-size: 16px;
  }

  .site-footer-risk span {
    font-size: 13.5px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 9px;
    gap: 10px;
  }

  .brand img {
    width: 158px;
    height: 42px;
    border-radius: 13px;
  }

  .header-cta {
    min-height: 42px;
    border-radius: 999px;
  }

  .header-actions {
    gap: 6px;
  }

  .theme-toggle {
    width: 46px;
    height: 38px;
  }

  .theme-toggle-track {
    width: 26px;
    height: 26px;
  }

  .hero-actions,
  .xm-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-countdown {
    padding: 12px;
    border-radius: 22px;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .countdown-cell {
    min-height: 66px;
    padding: 8px 6px;
  }

  .countdown-head strong {
    white-space: normal;
    text-align: center;
  }

  .support-title {
    font-size: 11px;
  }

  .support-links {
    gap: 8px;
  }

  .support-link {
    min-height: 42px;
    padding: 8px 12px;
  }

  .support-link img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .support-link span {
    font-size: 12px;
  }

  .curriculum .section-heading {
    width: min(100% - 18px, 1440px);
  }

  .curriculum-main-title {
    font-size: clamp(16px, 4.4vw, 20px);
    letter-spacing: -0.02em;
  }

  .lesson-title-row {
    align-items: flex-start;
    gap: 10px;
  }

  .lesson-card strong {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .lesson-card h4 {
    margin-top: 0;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.22;
  }

  .hero-actions .btn,
  .xm-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .xm-guide-modal {
    padding: 12px;
  }

  .xm-guide-dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px;
  }

  .xm-guide-close {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .xm-guide-head h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .xm-guide-case {
    border-radius: 20px;
  }

  .proof-strip {
    margin-top: -20px;
    border-radius: 18px;
  }

  .proof-strip span {
    min-height: 62px;
    font-size: 12px;
  }

  .intro-card,
  .xm-access-card,
  .lesson-block,
  .lesson-visual,
  .hero-card,
  .final-form,
  .outcome-panel,
  .instructor-card {
    border-radius: 24px;
  }
}

@media (max-width: 410px) {
  .brand img {
    width: 138px;
  }

  .header-cta {
    padding-inline: 11px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* MVP 1.2 section rhythm polish */
@media (max-width: 820px) {
  .section {
    padding: clamp(38px, 8vw, 58px) 0;
  }

  .schedule-section {
    padding-top: 28px;
    padding-bottom: 12px;
  }

  section[id],
  #xm-guide {
    scroll-margin-top: 82px;
  }
}

@media (max-width: 560px) {
  .hero-countdown {
    max-width: 100%;
  }

  .countdown-head span {
    padding: 7px 12px;
    font-size: 10px;
  }

  .countdown-head strong {
    font-size: 14px;
  }

  .countdown-cell b {
    font-size: clamp(18px, 6vw, 28px);
    min-width: 0;
  }

  .countdown-cell small {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .countdown-status {
    font-size: 11px;
  }
}


.xm-section-banner {
  width: min(100% - 40px, 1440px);
  margin: clamp(22px, 2.4vw, 34px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(24, 57, 116, 0.12);
  border-radius: clamp(22px, 2vw, 34px);
  background: #07111f;
  box-shadow: 0 28px 70px rgba(24, 57, 116, 0.14);
}

.xm-section-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.xm-guide-banner {
  margin: 6px 0 26px;
}

.xm-guide-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(17, 30, 67, 0.14);
}

html[data-theme="dark"] .xm-section-banner img,
html[data-theme="dark"] .xm-guide-banner img {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

@media (max-width: 767px) {
  .xm-section-banner {
    width: min(100% - 28px, 1440px);
    margin-top: 22px;
    border-radius: 22px;
  }

  .xm-guide-banner img {
    border-radius: 20px;
  }

  .xm-guide-banner {
    margin: 2px 0 20px;
  }
}

@media (max-width: 767px) {
  .trust-row {
    display: none;
  }
}


/* v3.1 instructor showcase redesign */
.instructor-showcase {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
}

.showcase-side-card,
.instructor-portrait-panel {
  border: 1px solid rgba(24, 57, 116, 0.1);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.showcase-side-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.94);
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 52px;
  padding: 12px 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 74%, #13336d 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), 0 16px 34px rgba(24, 57, 116, 0.24);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 1000;
  text-transform: uppercase;
  text-align: center;
}

.showcase-intro,
.showcase-subtitle {
  margin: 0;
  color: #183974;
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.58;
  font-weight: 900;
  text-align: center;
}

.showcase-subtitle {
  text-transform: uppercase;
}

.showcase-body {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
  font-weight: 800;
}

.showcase-quote {
  margin: 0;
  padding: 20px 18px;
  color: #183974;
  border: 1px solid rgba(24, 57, 116, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.9), rgba(255, 255, 255, 0.9));
  font-size: 15px;
  line-height: 1.75;
  font-weight: 900;
}

.showcase-signoff {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.showcase-signoff strong {
  color: #183974;
  font-size: 16px;
  font-weight: 1000;
}

.showcase-signoff span {
  color: #183974;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 900;
}

.instructor-portrait-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 18px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #183f93 0%, #17387c 48%, #143368 100%);
}

.instructor-portrait-panel::before {
  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: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.instructor-portrait-panel::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 24px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 226, 135, 0.22), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.portrait-badge-shell {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 110px;
  border: 1.5px solid rgba(255, 233, 166, 0.55);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.portrait-badge-shell img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.portrait-person {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.academy-proof-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.academy-proof-list li {
  position: relative;
  padding: 18px 18px 18px 28px;
  color: #183974;
  border: 1px solid rgba(24, 57, 116, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(242, 246, 255, 0.94));
  font-size: 14px;
  line-height: 1.6;
  font-weight: 900;
}

.academy-proof-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd56a, #d4a326);
  box-shadow: 0 0 0 4px rgba(212, 163, 38, 0.12);
}

@media (max-width: 1200px) {
  .instructor-showcase {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
  }

  .instructor-portrait-panel {
    order: -1;
    min-height: 540px;
  }
}

@media (max-width: 820px) {
  .instructor-showcase {
    width: min(100% - 28px, 760px);
  }

  .showcase-side-card,
  .instructor-portrait-panel {
    border-radius: 24px;
  }

  .showcase-pill {
    min-height: 48px;
    padding: 11px 18px;
    font-size: 18px;
  }

  .showcase-intro,
  .showcase-subtitle {
    font-size: 15px;
  }

  .showcase-quote,
  .showcase-body,
  .academy-proof-list li {
    font-size: 14px;
  }

  .instructor-portrait-panel {
    min-height: 460px;
    padding: 18px 14px 0;
  }

  .portrait-badge-shell {
    width: 68px;
    height: 102px;
  }

  .portrait-person {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .showcase-side-card {
    padding: 18px 16px;
    gap: 16px;
  }

  .instructor-portrait-panel {
    min-height: 390px;
  }

  .showcase-pill {
    width: 100%;
  }

  .portrait-person {
    max-width: 320px;
  }
}

html[data-theme="dark"] .showcase-side-card {
  border-color: rgba(88, 166, 255, 0.14);
  background: linear-gradient(145deg, rgba(7, 12, 20, 0.98), rgba(12, 18, 30, 0.96));
}

html[data-theme="dark"] .showcase-pill {
  background: linear-gradient(135deg, #58a6ff, #3a86ff 70%, #2a5fc8);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 16px 34px rgba(19, 60, 136, 0.28);
}

html[data-theme="dark"] .showcase-intro,
html[data-theme="dark"] .showcase-subtitle,
html[data-theme="dark"] .showcase-signoff strong,
html[data-theme="dark"] .showcase-signoff span,
html[data-theme="dark"] .academy-proof-list li {
  color: #dbe3ef;
}

html[data-theme="dark"] .showcase-body {
  color: #c1cadb;
}

html[data-theme="dark"] .showcase-quote {
  color: #dbe3ef;
  border-color: rgba(88, 166, 255, 0.12);
  background: linear-gradient(180deg, rgba(17, 27, 45, 0.9), rgba(10, 18, 32, 0.84));
}

html[data-theme="dark"] .instructor-portrait-panel {
  border-color: rgba(88, 166, 255, 0.16);
  background: linear-gradient(180deg, #0b2d69 0%, #0b2352 42%, #081933 100%);
}

html[data-theme="dark"] .academy-proof-list li {
  border-color: rgba(88, 166, 255, 0.12);
  background: linear-gradient(180deg, rgba(11, 20, 33, 0.96), rgba(13, 22, 36, 0.92));
}


/* v3.2 instructor CTA button */
.showcase-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-cta-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 72%, #163876 100%);
  box-shadow: 0 14px 32px rgba(24, 57, 116, 0.24), inset 0 1px 0 rgba(255,255,255,0.2);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.35;
  font-weight: 1000;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.showcase-cta-btn::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 38%;
  height: 160%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.16), rgba(255,255,255,0.72), rgba(255,255,255,0.18), rgba(255,255,255,0));
  transform: rotate(18deg);
  animation: showcaseShine 3.8s ease-in-out infinite;
  pointer-events: none;
}

.showcase-cta-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}

.showcase-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(24, 57, 116, 0.28), inset 0 1px 0 rgba(255,255,255,0.22);
  filter: brightness(1.03);
}

.showcase-cta-btn:active {
  transform: translateY(0);
}

@keyframes showcaseShine {
  0%, 62% {
    left: -48%;
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  82% {
    left: 112%;
    opacity: 1;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .showcase-cta-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
  }
}

html[data-theme="dark"] .showcase-cta-btn {
  box-shadow: 0 14px 32px rgba(24, 57, 116, 0.34), inset 0 1px 0 rgba(255,255,255,0.14);
}

/* v3.3 mobile instructor logo + FAQ accordion polish */
@media (max-width: 820px) {
  .portrait-badge-shell {
    display: none;
  }
}

@media (max-width: 560px) {
  summary {
    padding: 18px 58px 18px 18px;
    font-size: 14px;
    line-height: 1.45;
  }

  summary::after {
    right: 18px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  details p {
    padding: 0 18px 20px;
  }
}

html[data-theme="dark"] summary::after {
  background: linear-gradient(135deg, #58a6ff, #3a86ff 74%, #2f6de1);
  box-shadow: 0 10px 24px rgba(58, 134, 255, 0.2), inset 0 1px 0 rgba(255,255,255,0.14);
}


.rta-community-feedback,
.rta-community-feedback *{
  box-sizing:border-box;
}
.rta-community-feedback{
  --rta-navy:#183974;
  --rta-blue:#2b73e2;
  --rta-blue-dark:#14398d;
  --rta-gold:#f5c542;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  padding:74px 0 82px;
  background:
    radial-gradient(900px 420px at 50% 0, rgba(59,130,246,.08), rgba(59,130,246,0) 72%),
    linear-gradient(180deg,#fbfdff 0%,#f5f8fe 48%,#f8fbff 100%);
  font-family:Inter,"Be Vietnam Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.rta-community-feedback::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(340px 120px at 16% 18%, rgba(255,255,255,.72), rgba(255,255,255,0) 72%),
    radial-gradient(420px 120px at 84% 14%, rgba(191,219,254,.18), rgba(191,219,254,0) 76%);
}
.rta-community-feedback__title{
  position:relative;
  z-index:2;
  width:min(1180px,calc(100% - 32px));
  margin:0 auto 34px;
  text-align:center;
}
.rta-community-feedback__title h2{
  margin:0;
  display:grid;
  justify-items:center;
  gap:14px;
  color:var(--rta-navy);
  font-size:clamp(32px,4vw,58px);
  line-height:1.08;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:0;
}
.rta-community-feedback__title h2 span{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.24em .64em .30em;
  border:1px solid rgba(114,162,255,.48);
  border-radius:.76rem;
  background:linear-gradient(135deg,#14398d 0%,#2551b6 42%,#2b73e2 100%);
  color:#fff;
  box-shadow:0 16px 40px rgba(34,82,180,.22), inset 0 1px 0 rgba(255,255,255,.22);
  overflow:hidden;
}
.rta-community-feedback__title h2 span::before{
  content:"";
  position:absolute;
  inset:-18% auto -18% -36%;
  width:34%;
  transform:skewX(-24deg);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.18),rgba(255,255,255,.56),rgba(255,255,255,.16),rgba(255,255,255,0));
  animation:rtaFeedbackTitleSweep 4.6s linear infinite;
}
.rta-community-feedback__title h2 span::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.16);
  pointer-events:none;
}
.rta-community-feedback__title h2 b{
  color:var(--rta-navy);
  letter-spacing:0;
}
.rta-community-feedback__carousel{
  position:relative;
  z-index:2;
  width:min(1380px,calc(100% - 56px));
  margin:0 auto;
}
.rta-community-feedback__viewport{
  overflow-x:auto;
  overflow-y:visible;
  padding:6px 6px 10px;
  scrollbar-width:none;
  -ms-overflow-style:none;
  touch-action:pan-x;
  overscroll-behavior-x:contain;
  scroll-behavior:auto;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
}
.rta-community-feedback__viewport::-webkit-scrollbar{display:none}
.rta-community-feedback__viewport.is-dragging{cursor:grabbing}
.rta-community-feedback__viewport.is-loop-jump{scroll-behavior:auto!important}
.rta-community-feedback__track{
  display:flex;
  flex-wrap:nowrap;
  gap:18px;
  padding:0;
  width:max-content;
}
.rta-community-feedback__item{
  flex:0 0 clamp(260px,22vw,324px);
  margin:0;
  border-radius:30px;
  scroll-snap-align:none;
}
.rta-community-feedback__media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:540px;
  padding:12px 12px 0;
  border:1px solid rgba(189,204,229,.66);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(245,249,255,.86));
  box-shadow:0 20px 52px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.88);
  cursor:zoom-in;
  overflow:hidden;
  isolation:isolate;
  transition:transform .42s cubic-bezier(.22,1,.36,1),box-shadow .42s ease,border-color .42s ease,background .42s ease;
}
.rta-community-feedback__media::before{
  content:"";
  position:absolute;
  inset:-4% auto -4% -44%;
  width:34%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.08),rgba(255,255,255,.44),rgba(255,255,255,.08),rgba(255,255,255,0));
  animation:rtaFeedbackCardSweep 5.4s linear infinite;
  pointer-events:none;
  z-index:3;
}
.rta-community-feedback__media::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(255,255,255,.55),rgba(54,113,228,.22),rgba(245,197,66,.08),rgba(255,255,255,.36));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.78;
  pointer-events:none;
  z-index:2;
}
.rta-community-feedback__glow{
  position:absolute;
  inset:auto 12% 8% 12%;
  height:28px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(37,99,235,.16),rgba(37,99,235,0) 74%);
  filter:blur(16px);
  pointer-events:none;
  z-index:0;
}
.rta-community-feedback__media img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:center center;
  max-width:100%;
  filter:drop-shadow(0 22px 40px rgba(15,23,42,.10));
  transition:transform .42s cubic-bezier(.22,1,.36,1),filter .42s ease;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
.rta-community-feedback__media:hover,
.rta-community-feedback__media:focus-visible{
  transform:translateY(-10px) scale(1.018);
  border-color:rgba(245,197,66,.54);
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(245,249,255,.98));
  box-shadow:0 26px 68px rgba(20,57,141,.16),0 14px 34px rgba(245,197,66,.14), inset 0 1px 0 rgba(255,255,255,.98);
  outline:none;
}
.rta-community-feedback__media:hover img,
.rta-community-feedback__media:focus-visible img{
  transform:scale(1.024);
  filter:drop-shadow(0 28px 52px rgba(20,57,141,.18));
}
.rta-community-feedback__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.42);
  background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,.20));
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  color:var(--rta-navy);
  box-shadow:0 16px 36px rgba(17,24,39,.16), inset 0 1px 0 rgba(255,255,255,.76);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:4;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
  overflow:hidden;
  cursor:pointer;
}
.rta-community-feedback__nav::before{
  content:"";
  position:absolute;
  inset:-22% auto -22% -40%;
  width:42%;
  transform:skewX(-22deg);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.18),rgba(255,255,255,.8),rgba(255,255,255,.16),rgba(255,255,255,0));
  animation:rtaFeedbackNavSweep 3.2s linear infinite;
  pointer-events:none;
}
.rta-community-feedback__nav span{
  position:relative;
  z-index:1;
  font-size:32px;
  font-weight:900;
  line-height:1;
}
.rta-community-feedback__nav--prev{left:-18px}
.rta-community-feedback__nav--next{right:-18px}
.rta-community-feedback__nav:hover,
.rta-community-feedback__nav:focus-visible{
  transform:translateY(-50%) scale(1.06);
  border-color:rgba(245,197,66,.78);
  box-shadow:0 20px 46px rgba(20,57,141,.22),0 0 0 6px rgba(191,219,254,.18), inset 0 1px 0 rgba(255,255,255,.88);
  outline:none;
}
.rta-community-feedback__hint-wrap{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  margin-top:20px;
}
.rta-community-feedback__hint{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:9px 16px;
  border-radius:999px;
  border:1px solid rgba(191,219,254,.9);
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(246,250,255,.92));
  color:#1c407d;
  font-weight:900;
  font-size:12px;
  letter-spacing:.03em;
  text-transform:uppercase;
  box-shadow:0 10px 28px rgba(20,57,141,.08), inset 0 1px 0 rgba(255,255,255,.96);
  animation:rtaFeedbackHintPulse 1.95s ease-in-out infinite;
}
.rta-community-feedback__hint-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:radial-gradient(circle at 35% 35%, #ffe58e, #f5c542 65%, #c79200 100%);
  animation:rtaFeedbackDotPulse 1.95s ease-in-out infinite;
}
.rta-feedback-lightbox{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(3,10,26,.76);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.rta-feedback-lightbox[hidden]{display:none!important}
.rta-feedback-lightbox__backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:transparent;
  cursor:zoom-out;
}
.rta-feedback-lightbox__dialog{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100vw - 36px));
  max-height:calc(100vh - 36px);
  display:grid;
  gap:10px;
}
.rta-feedback-lightbox__toolbar{
  display:flex;
  justify-content:flex-end;
}
.rta-feedback-lightbox__close{
  border:1px solid rgba(255,255,255,.36);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#10275d;
  padding:8px 14px;
  font-weight:900;
  cursor:pointer;
}
.rta-feedback-lightbox__frame{
  margin:0;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.rta-feedback-lightbox__frame img{
  display:block;
  width:auto;
  max-width:100%;
  max-height:calc(100vh - 104px);
  object-fit:contain;
}
body.rta-feedback-lightbox-open{
  overflow:hidden;
}
@keyframes rtaFeedbackTitleSweep{0%{transform:translate3d(-16%,0,0) skewX(-24deg)}100%{transform:translate3d(388%,0,0) skewX(-24deg)}}
@keyframes rtaFeedbackCardSweep{0%{transform:translate3d(-10%,0,0) skewX(-18deg)}100%{transform:translate3d(430%,0,0) skewX(-18deg)}}
@keyframes rtaFeedbackNavSweep{0%{transform:translate3d(-14%,0,0) skewX(-22deg)}100%{transform:translate3d(330%,0,0) skewX(-22deg)}}
@keyframes rtaFeedbackHintPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes rtaFeedbackDotPulse{0%,100%{box-shadow:0 0 0 0 rgba(245,197,66,.55)}50%{box-shadow:0 0 0 8px rgba(245,197,66,0)}}
@media (min-width:901px) and (max-width:1536px), (min-width:901px) and (max-height:820px){
  .rta-community-feedback__carousel{
    width:min(1240px,calc(100% - 44px));
  }
  .rta-community-feedback__item{
    flex-basis:clamp(218px,20vw,278px);
  }
  .rta-community-feedback__media{
    min-height:min(460px,calc(100vh - 220px));
    max-height:min(520px,calc(100vh - 196px));
    padding:10px;
  }
  .rta-community-feedback__media img{
    max-height:min(500px,calc(100vh - 236px));
  }
}
@media (max-width:1200px){
  .rta-community-feedback__item{flex-basis:clamp(240px,30vw,300px)}
  .rta-community-feedback__media{min-height:500px}
}
@media (max-width:900px){
  .rta-community-feedback{padding:58px 0 64px}
  .rta-community-feedback__carousel{width:calc(100% - 20px)}
  .rta-community-feedback__track{gap:14px}
  .rta-community-feedback__item{flex-basis:min(72vw,286px)}
  .rta-community-feedback__media{min-height:auto}
  .rta-community-feedback__nav{display:none}
  .rta-community-feedback__hint{font-size:11px;padding:8px 14px}
}
@media (max-width:640px){
  .rta-community-feedback__title{margin-bottom:24px}
  .rta-community-feedback__title h2{font-size:clamp(28px,9vw,40px);gap:10px}
  .rta-community-feedback__title h2 span{padding:.26em .58em .32em;border-radius:.72rem}
  .rta-community-feedback__carousel{width:calc(100% - 8px)}
  .rta-community-feedback__viewport{padding-inline:2px}
  .rta-community-feedback__item{flex-basis:min(82vw,292px)}
  .rta-community-feedback__media{padding:10px;border-radius:22px}
}
@media (prefers-reduced-motion:reduce){
  .rta-community-feedback__title h2 span::before,
  .rta-community-feedback__media::before,
  .rta-community-feedback__nav::before,
  .rta-community-feedback__hint,
  .rta-community-feedback__hint-dot,
  .rta-community-feedback__media,
  .rta-community-feedback__media img{
    animation:none!important;
    transition:none!important;
  }
}



/* v3.4 community feedback section integration */
.rta-community-feedback {
  scroll-margin-top: 108px;
}

html[data-theme="dark"] .rta-community-feedback {
  background:
    radial-gradient(900px 420px at 50% 0, rgba(58,134,255,.12), rgba(58,134,255,0) 72%),
    linear-gradient(180deg,#070c14 0%,#0b111d 48%,#070c14 100%);
}

html[data-theme="dark"] .rta-community-feedback__title h2 b {
  color: #dbe3ef;
}

html[data-theme="dark"] .rta-community-feedback__hint {
  color: #dbe3ef;
  background: rgba(10,16,27,.88);
  border-color: rgba(88,166,255,.18);
}

@media (max-width: 820px) {
  .rta-community-feedback {
    scroll-margin-top: 92px;
  }
}

/* v3.5 feedback title scale + explicit full-image affordance */
.rta-community-feedback__title {
  margin-bottom: 28px;
}

.rta-community-feedback__title h2 {
  gap: 10px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.rta-community-feedback__title h2 span {
  padding: 0.20em 0.58em 0.26em;
  border-radius: 0.58rem;
  box-shadow: 0 12px 30px rgba(34,82,180,.18), inset 0 1px 0 rgba(255,255,255,.2);
}

.rta-community-feedback__title h2 b {
  font-size: 0.92em;
  letter-spacing: 0.01em;
}

.rta-community-feedback__zoom-label {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(43,115,226,.94), rgba(20,57,141,.96));
  box-shadow: 0 12px 26px rgba(24,57,116,.18), inset 0 1px 0 rgba(255,255,255,.18);
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}

.rta-community-feedback__media:hover .rta-community-feedback__zoom-label,
.rta-community-feedback__media:focus-visible .rta-community-feedback__zoom-label {
  opacity: 1;
  transform: translateY(0);
}

.rta-community-feedback__media {
  cursor: zoom-in;
}

@media (max-width: 900px) {
  .rta-community-feedback__title h2 {
    font-size: clamp(22px, 7vw, 34px);
    gap: 8px;
  }

  .rta-community-feedback__title h2 b {
    font-size: 0.86em;
  }

  .rta-community-feedback__zoom-label {
    opacity: 1;
    top: 10px;
    right: 10px;
    min-height: 28px;
    padding: 7px 10px;
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .rta-community-feedback {
    padding-top: 56px;
  }

  .rta-community-feedback__title {
    margin-bottom: 22px;
  }

  .rta-community-feedback__title h2 {
    font-size: clamp(21px, 7.4vw, 30px);
    line-height: 1.08;
  }

  .rta-community-feedback__title h2 span {
    border-radius: 0.52rem;
  }
}


/* v3.6 feedback carousel size polish */
.rta-community-feedback {
  padding: clamp(54px, 5.2vw, 70px) 0 clamp(58px, 5.4vw, 74px);
}

.rta-community-feedback__carousel {
  width: min(1180px, calc(100% - 48px));
}

.rta-community-feedback__track {
  gap: 14px;
}

.rta-community-feedback__item {
  flex-basis: clamp(208px, 17vw, 252px);
  border-radius: 24px;
}

.rta-community-feedback__media {
  min-height: 430px;
  max-height: 468px;
  padding: 10px 10px 0;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15,23,42,.075), inset 0 1px 0 rgba(255,255,255,.88);
}

.rta-community-feedback__media img {
  max-height: 448px;
}

.rta-community-feedback__media:hover,
.rta-community-feedback__media:focus-visible {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 20px 48px rgba(20,57,141,.13), 0 10px 24px rgba(245,197,66,.10), inset 0 1px 0 rgba(255,255,255,.96);
}

.rta-community-feedback__media:hover img,
.rta-community-feedback__media:focus-visible img {
  transform: scale(1.014);
}

.rta-community-feedback__nav {
  width: 48px;
  height: 48px;
}

.rta-community-feedback__nav span {
  font-size: 28px;
}

.rta-community-feedback__nav--prev { left: -12px; }
.rta-community-feedback__nav--next { right: -12px; }

.rta-community-feedback__hint-wrap {
  margin-top: 16px;
}

.rta-feedback-lightbox__dialog {
  width: min(980px, calc(100vw - 34px));
}

.rta-feedback-lightbox__frame {
  border-radius: 18px;
}

.rta-feedback-lightbox__frame img {
  max-height: calc(100vh - 96px);
}

@media (min-width: 901px) and (max-width: 1536px), (min-width: 901px) and (max-height: 820px) {
  .rta-community-feedback__carousel {
    width: min(1080px, calc(100% - 42px));
  }

  .rta-community-feedback__item {
    flex-basis: clamp(196px, 16.5vw, 232px);
  }

  .rta-community-feedback__media {
    min-height: min(390px, calc(100vh - 260px));
    max-height: min(430px, calc(100vh - 230px));
  }

  .rta-community-feedback__media img {
    max-height: min(414px, calc(100vh - 250px));
  }
}

@media (max-width: 1200px) {
  .rta-community-feedback__carousel {
    width: min(100% - 36px, 1000px);
  }

  .rta-community-feedback__item {
    flex-basis: clamp(206px, 24vw, 250px);
  }

  .rta-community-feedback__media {
    min-height: 420px;
    max-height: 456px;
  }
}

@media (max-width: 900px) {
  .rta-community-feedback {
    padding: 50px 0 58px;
  }

  .rta-community-feedback__carousel {
    width: calc(100% - 18px);
  }

  .rta-community-feedback__track {
    gap: 12px;
  }

  .rta-community-feedback__item {
    flex-basis: min(68vw, 260px);
  }

  .rta-community-feedback__media {
    min-height: auto;
    max-height: none;
    padding: 9px;
    border-radius: 20px;
  }

  .rta-community-feedback__media img {
    max-height: none;
  }

  .rta-feedback-lightbox {
    padding: 14px;
  }

  .rta-feedback-lightbox__dialog {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
  }

  .rta-feedback-lightbox__frame img {
    max-height: calc(100vh - 82px);
  }
}

@media (max-width: 640px) {
  .rta-community-feedback__carousel {
    width: calc(100% - 10px);
  }

  .rta-community-feedback__viewport {
    padding-inline: 4px;
  }

  .rta-community-feedback__item {
    flex-basis: min(78vw, 270px);
  }

  .rta-community-feedback__media {
    padding: 8px;
    border-radius: 18px;
  }

  .rta-community-feedback__hint {
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 34px);
  }
}

/* v3.7 feedback full-image interaction hard fix */
.rta-community-feedback__media {
  cursor: zoom-in;
  touch-action: manipulation;
}

.rta-community-feedback__viewport.is-dragging .rta-community-feedback__media {
  cursor: grabbing;
}

.rta-feedback-lightbox {
  z-index: 2147483000;
}

.rta-feedback-lightbox__dialog {
  width: min(1040px, calc(100vw - 36px));
}

.rta-feedback-lightbox__frame {
  max-height: calc(100vh - 96px);
}

.rta-feedback-lightbox__frame img {
  max-width: 100%;
  max-height: calc(100vh - 108px);
}

@media (max-width: 768px) {
  .rta-feedback-lightbox {
    padding: 14px;
  }

  .rta-feedback-lightbox__dialog {
    width: calc(100vw - 24px);
  }

  .rta-feedback-lightbox__frame img {
    max-height: calc(100vh - 92px);
  }
}

/* v3.8 simplify feedback interactions for reliable full-image opening */
.rta-community-feedback__viewport {
  cursor: default;
  user-select: auto;
  -webkit-user-select: auto;
  touch-action: pan-x;
}

.rta-community-feedback__viewport.is-dragging {
  cursor: default;
}

.rta-community-feedback__media {
  text-decoration: none;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.rta-community-feedback__media::before {
  display: none;
}

.rta-community-feedback__media:hover,
.rta-community-feedback__media:focus-visible {
  transform: translateY(-4px) scale(1.006);
}

.rta-community-feedback__media:hover img,
.rta-community-feedback__media:focus-visible img {
  transform: none;
}

.rta-feedback-lightbox {
  z-index: 2147483640;
}

.rta-feedback-lightbox__dialog {
  width: min(1120px, calc(100vw - 32px));
}

.rta-feedback-lightbox__toolbar {
  gap: 10px;
  align-items: center;
}

.rta-feedback-lightbox__open-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #10275d;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.rta-feedback-lightbox__frame {
  max-height: calc(100vh - 92px);
}

.rta-feedback-lightbox__frame img {
  max-width: 100%;
  max-height: calc(100vh - 104px);
  object-fit: contain;
}

@media (max-width: 768px) {
  .rta-feedback-lightbox {
    padding: 12px;
  }

  .rta-feedback-lightbox__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .rta-feedback-lightbox__frame img {
    max-height: calc(100vh - 88px);
  }
}

/* v3.9.1 FAQ menu kept + desktop feedback section scale fix */
@media (min-width: 1180px) {
  .rta-community-feedback {
    padding: 68px 0 82px;
  }

  .rta-community-feedback__title {
    width: min(1360px, calc(100% - 40px));
    margin-bottom: 34px;
  }

  .rta-community-feedback__title h2 {
    gap: 12px;
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.06;
  }

  .rta-community-feedback__title h2 span {
    padding: 0.24em 0.64em 0.30em;
    border-radius: 0.72rem;
    box-shadow: 0 16px 38px rgba(34, 82, 180, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .rta-community-feedback__title h2 b {
    font-size: 0.96em;
  }

  .rta-community-feedback__carousel {
    width: min(1450px, calc(100% - 40px));
  }

  .rta-community-feedback__track {
    gap: 18px;
  }

  .rta-community-feedback__item {
    flex-basis: clamp(260px, 21vw, 315px);
  }

  .rta-community-feedback__media {
    min-height: 540px;
    max-height: 586px;
    padding: 12px 12px 0;
    border-radius: 28px;
  }

  .rta-community-feedback__media img {
    max-height: 562px;
  }

  .rta-community-feedback__zoom-label {
    top: 16px;
    right: 16px;
    min-height: 36px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .rta-community-feedback__nav {
    width: 60px;
    height: 60px;
  }

  .rta-community-feedback__nav span {
    font-size: 34px;
  }

  .rta-community-feedback__nav--prev {
    left: -18px;
  }

  .rta-community-feedback__nav--next {
    right: -18px;
  }

  .rta-community-feedback__hint-wrap {
    margin-top: 20px;
  }

  .rta-community-feedback__hint {
    padding: 11px 18px;
    font-size: 15px;
  }
}

/* v3.9.2 hero Zalo class CTA + support contact labels */
.btn-zalo-class {
  gap: 10px;
  color: #183974;
  border: 1px solid rgba(24, 57, 116, 0.16);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(24, 57, 116, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.btn-zalo-class img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.btn-zalo-class span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-zalo-class:hover,
.btn-zalo-class:focus-visible {
  color: #12316a;
  border-color: rgba(43, 115, 226, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(229, 241, 255, 0.9));
  box-shadow: 0 20px 44px rgba(24, 57, 116, 0.14), 0 0 24px rgba(43, 115, 226, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

@media (max-width: 820px) {
  .btn-zalo-class {
    gap: 9px;
  }

  .btn-zalo-class img {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

/* v3.9.5 hero document kit CTA */
.btn-docs-kit {
  gap: 10px;
  color: #183974;
  border: 1px solid rgba(24, 57, 116, 0.16);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(24, 57, 116, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.btn-docs-kit img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
  display: block;
}

.btn-docs-kit span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-docs-kit:hover,
.btn-docs-kit:focus-visible {
  color: #12316a;
  border-color: rgba(43, 115, 226, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(229, 241, 255, 0.9));
  box-shadow: 0 20px 44px rgba(24, 57, 116, 0.14), 0 0 24px rgba(43, 115, 226, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

@media (min-width: 1180px) {
  .hero-actions {
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .btn-docs-kit {
    gap: 9px;
  }

  .btn-docs-kit img {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}


/* v3.9.6 XM post-account condition note */
html[data-theme="dark"] .xm-access-note {
  border-color: rgba(245, 197, 66, 0.28);
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12), rgba(58, 134, 255, 0.08));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .xm-access-note strong,
html[data-theme="dark"] .xm-access-note b {
  color: var(--neon-lime);
}

html[data-theme="dark"] .xm-access-note span {
  color: rgba(224, 234, 255, 0.74);
}


/* v3.9.8 XM section alignment only fix */
.xm-access-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.xm-kicker {
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  text-align: center;
  gap: clamp(10px, 1.2vw, 16px);
  padding: 10px 18px;
}

.xm-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.2em;
  text-align: center;
}

.xm-access-copy h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.16;
  text-align: center;
}

.xm-access-copy p {
  margin-right: auto;
  margin-left: auto;
  max-width: 920px;
  text-align: center;
  line-height: 1.88;
}

.partner-code {
  margin-top: 28px;
  margin-bottom: 28px;
}

.xm-access-note {
  max-width: 920px;
  margin-top: -4px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 26px;
  padding: 18px 22px;
  text-align: center;
}

.xm-access-note strong {
  line-height: 1.32;
}

.xm-access-note span {
  line-height: 1.68;
}

.xm-actions {
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 1060px) {
  .xm-access-copy p {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .xm-kicker {
    width: min(100%, 620px);
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .xm-kicker img {
    width: 128px;
  }

  html[data-theme="dark"] .xm-logo-dark {
    width: 144px;
  }

  .xm-access-copy p {
    text-align: center;
    line-height: 1.72;
  }

  .xm-access-note {
    text-align: left;
  }
}

/* v3.10.3 XM banner deep black-frame fix: layered right-to-left slider */
.xm-banner-slider {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.xm-banner-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07111f;
}

.xm-banner-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #07111f;
}

.xm-banner-slider__item {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.78s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.xm-banner-slider__item.is-active {
  z-index: 3;
  transform: translate3d(0, 0, 0);
}

.xm-banner-slider__item.is-exiting {
  z-index: 2;
  transform: translate3d(-100%, 0, 0);
}

.xm-banner-slider .xm-banner-slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #07111f;
}

.xm-banner-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.96), rgba(10, 19, 36, 0.98));
}

.xm-banner-slider__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.xm-banner-slider__dot.is-active {
  background: #4f88ff;
  box-shadow: 0 0 0 4px rgba(79, 136, 255, 0.16), 0 0 18px rgba(79, 136, 255, 0.34);
  transform: scale(1.12);
}

.xm-banner-slider__dot:hover,
.xm-banner-slider__dot:focus-visible {
  transform: scale(1.12);
}

html[data-theme="dark"] .xm-banner-slider__dots {
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.98), rgba(4, 12, 26, 1));
}

html[data-theme="dark"] .xm-banner-slider__dot {
  background: rgba(163, 187, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(173, 197, 255, 0.2);
}

html[data-theme="dark"] .xm-banner-slider__dot.is-active {
  background: #66a4ff;
  box-shadow: 0 0 0 4px rgba(102, 164, 255, 0.16), 0 0 18px rgba(102, 164, 255, 0.34);
}

@media (prefers-reduced-motion: reduce) {
  .xm-banner-slider__item {
    transition: none;
  }
}

@media (max-width: 767px) {
  .xm-banner-slider__viewport {
    aspect-ratio: 16 / 9;
  }

  .xm-banner-slider__dots {
    gap: 8px;
    padding: 12px 12px 14px;
  }

  .xm-banner-slider__dot {
    width: 10px;
    height: 10px;
  }
}

/* v3.9.6 XM post-account condition note */
html[data-theme="dark"] .xm-access-note {
  border-color: rgba(245, 197, 66, 0.28);
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12), rgba(58, 134, 255, 0.08));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .xm-access-note strong,
html[data-theme="dark"] .xm-access-note b {
  color: var(--neon-lime);
}

html[data-theme="dark"] .xm-access-note span {
  color: rgba(224, 234, 255, 0.74);
}


/* v3.9.8 XM section alignment only fix */
.xm-access-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.xm-kicker {
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  text-align: center;
  gap: clamp(10px, 1.2vw, 16px);
  padding: 10px 18px;
}

.xm-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.2em;
  text-align: center;
}

.xm-access-copy h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.16;
  text-align: center;
}

.xm-access-copy p {
  margin-right: auto;
  margin-left: auto;
  max-width: 920px;
  text-align: center;
  line-height: 1.88;
}

.partner-code {
  margin-top: 28px;
  margin-bottom: 28px;
}

.xm-access-note {
  max-width: 920px;
  margin-top: -4px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 26px;
  padding: 18px 22px;
  text-align: center;
}

.xm-access-note strong {
  line-height: 1.32;
}

.xm-access-note span {
  line-height: 1.68;
}

.xm-actions {
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 1060px) {
  .xm-access-copy p {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .xm-kicker {
    width: min(100%, 620px);
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .xm-kicker img {
    width: 128px;
  }

  html[data-theme="dark"] .xm-logo-dark {
    width: 144px;
  }

  .xm-access-copy p {
    text-align: center;
    line-height: 1.72;
  }

  .xm-access-note {
    text-align: left;
  }
}

/* v3.10.2 XM banner right-to-left slider timing + hover pause fix */
.xm-banner-slider {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.xm-banner-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07111f;
}

.xm-banner-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.xm-banner-slider__track.is-resetting {
  transition: none !important;
}

.xm-banner-slider__item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.xm-banner-slider .xm-banner-slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xm-banner-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.96), rgba(10, 19, 36, 0.98));
}

.xm-banner-slider__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.xm-banner-slider__dot.is-active {
  background: #4f88ff;
  box-shadow: 0 0 0 4px rgba(79, 136, 255, 0.16), 0 0 18px rgba(79, 136, 255, 0.34);
  transform: scale(1.12);
}

.xm-banner-slider__dot:hover,
.xm-banner-slider__dot:focus-visible {
  transform: scale(1.12);
}

html[data-theme="dark"] .xm-banner-slider__dots {
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.98), rgba(4, 12, 26, 1));
}

html[data-theme="dark"] .xm-banner-slider__dot {
  background: rgba(163, 187, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(173, 197, 255, 0.2);
}

html[data-theme="dark"] .xm-banner-slider__dot.is-active {
  background: #66a4ff;
  box-shadow: 0 0 0 4px rgba(102, 164, 255, 0.16), 0 0 18px rgba(102, 164, 255, 0.34);
}

@media (prefers-reduced-motion: reduce) {
  .xm-banner-slider__track {
    transition: none;
  }
}

@media (max-width: 767px) {
  .xm-banner-slider__viewport {
    aspect-ratio: 16 / 9;
  }

  .xm-banner-slider__dots {
    gap: 8px;
    padding: 12px 12px 14px;
  }

  .xm-banner-slider__dot {
    width: 10px;
    height: 10px;
  }
}

/* v3.9.6 XM post-account condition note */
html[data-theme="dark"] .xm-access-note {
  border-color: rgba(245, 197, 66, 0.28);
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12), rgba(58, 134, 255, 0.08));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .xm-access-note strong,
html[data-theme="dark"] .xm-access-note b {
  color: var(--neon-lime);
}

html[data-theme="dark"] .xm-access-note span {
  color: rgba(224, 234, 255, 0.74);
}


/* v3.9.8 XM section alignment only fix */
.xm-access-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.xm-kicker {
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  text-align: center;
  gap: clamp(10px, 1.2vw, 16px);
  padding: 10px 18px;
}

.xm-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.2em;
  text-align: center;
}

.xm-access-copy h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.16;
  text-align: center;
}

.xm-access-copy p {
  margin-right: auto;
  margin-left: auto;
  max-width: 920px;
  text-align: center;
  line-height: 1.88;
}

.partner-code {
  margin-top: 28px;
  margin-bottom: 28px;
}

.xm-access-note {
  max-width: 920px;
  margin-top: -4px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 26px;
  padding: 18px 22px;
  text-align: center;
}

.xm-access-note strong {
  line-height: 1.32;
}

.xm-access-note span {
  line-height: 1.68;
}

.xm-actions {
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

@media (max-width: 1060px) {
  .xm-access-copy p {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .xm-kicker {
    width: min(100%, 620px);
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .xm-kicker img {
    width: 128px;
  }

  html[data-theme="dark"] .xm-logo-dark {
    width: 144px;
  }

  .xm-access-copy p {
    text-align: center;
    line-height: 1.72;
  }

  .xm-access-note {
    text-align: left;
  }
}

/* v3.10.0 XM banner auto slider */
.xm-banner-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07111f;
}

.xm-banner-slider .xm-banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: xmBannerFade 8s ease-in-out infinite;
  will-change: opacity;
}

.xm-banner-slider .xm-banner-slide--one {
  animation-delay: 0s;
}

.xm-banner-slider .xm-banner-slide--two {
  animation-delay: 4s;
}

@keyframes xmBannerFade {
  0%,
  8% {
    opacity: 0;
  }

  15%,
  50% {
    opacity: 1;
  }

  58%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xm-banner-slider .xm-banner-slide {
    animation: none;
  }

  .xm-banner-slider .xm-banner-slide--one {
    opacity: 1;
  }

  .xm-banner-slider .xm-banner-slide--two {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .xm-banner-slider {
    aspect-ratio: 16 / 9;
  }
}

/* v3.10.4 XM banner stable crossfade override — no black frame */
.xm-section-banner .xm-banner-slider {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: transparent !important;
}

.xm-section-banner .xm-banner-slider__viewport {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.xm-section-banner .xm-banner-slider__track {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  transition: none !important;
  overflow: hidden !important;
  background: transparent !important;
  isolation: isolate !important;
}

.xm-section-banner .xm-banner-slider__item {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  flex: none !important;
  opacity: 0 !important;
  transform: none !important;
  transition: opacity 0.72s ease-in-out !important;
  will-change: opacity !important;
  backface-visibility: hidden !important;
  pointer-events: none !important;
}

.xm-section-banner .xm-banner-slider__item:first-child {
  opacity: 1 !important;
}

.xm-section-banner .xm-banner-slider__item.is-active {
  z-index: 3 !important;
  opacity: 1 !important;
}

.xm-section-banner .xm-banner-slider__item.is-exiting {
  transform: none !important;
}

.xm-section-banner .xm-banner-slider .xm-banner-slide {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  animation: none !important;
  background: transparent !important;
}

.xm-section-banner .xm-banner-slider__dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 14px 16px !important;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.96), rgba(10, 19, 36, 0.98)) !important;
}

.xm-section-banner .xm-banner-slider__dot {
  width: 11px !important;
  height: 11px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.38) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  cursor: pointer !important;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease !important;
}

.xm-section-banner .xm-banner-slider__dot.is-active {
  background: #4f88ff !important;
  box-shadow: 0 0 0 4px rgba(79, 136, 255, 0.16), 0 0 18px rgba(79, 136, 255, 0.34) !important;
  transform: scale(1.12) !important;
}

html[data-theme="dark"] .xm-section-banner .xm-banner-slider__dots {
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.98), rgba(4, 12, 26, 1)) !important;
}

@media (prefers-reduced-motion: reduce) {
  .xm-section-banner .xm-banner-slider__item {
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .xm-section-banner .xm-banner-slider__viewport {
    aspect-ratio: 16 / 9 !important;
  }

  .xm-section-banner .xm-banner-slider__dots {
    gap: 8px !important;
    padding: 12px 12px 14px !important;
  }

  .xm-section-banner .xm-banner-slider__dot {
    width: 10px !important;
    height: 10px !important;
  }
}

/* v3.10.5 shared stable banner sliders + mouse/touch swipe */
.schedule-promo-image,
.xm-section-banner {
  cursor: grab;
  user-select: none;
}

.schedule-promo-image:active,
.xm-section-banner:active {
  cursor: grabbing;
}

.rta-image-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: #07111f;
}

.rta-image-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07111f;
  isolation: isolate;
  touch-action: pan-y;
}

.rta-image-slider__item {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.002);
  transition: opacity 0.62s ease-in-out, transform 0.62s ease-in-out;
  will-change: opacity, transform;
  pointer-events: none;
}

.rta-image-slider__item:first-child,
.rta-image-slider__item.is-active {
  opacity: 1;
}

.rta-image-slider__item.is-active {
  z-index: 3;
  transform: scale(1);
}

.rta-image-slider__item img,
.rta-image-slider .xm-banner-slide {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  animation: none !important;
  background: transparent !important;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.rta-image-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.96), rgba(10, 19, 36, 0.98));
}

.rta-image-slider__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.rta-image-slider__dot.is-active {
  background: #4f88ff;
  box-shadow: 0 0 0 4px rgba(79, 136, 255, 0.16), 0 0 18px rgba(79, 136, 255, 0.34);
  transform: scale(1.12);
}

.rta-image-slider__dot:hover,
.rta-image-slider__dot:focus-visible {
  transform: scale(1.12);
}

html[data-theme="dark"] .rta-image-slider__dots {
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.98), rgba(4, 12, 26, 1));
}

html[data-theme="dark"] .rta-image-slider__dot {
  background: rgba(163, 187, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(173, 197, 255, 0.2);
}

html[data-theme="dark"] .rta-image-slider__dot.is-active {
  background: #66a4ff;
  box-shadow: 0 0 0 4px rgba(102, 164, 255, 0.16), 0 0 18px rgba(102, 164, 255, 0.34);
}

/* Neutralize older XM slider implementations so the stable shared slider is the only renderer. */
.xm-section-banner .xm-banner-slider,
.xm-section-banner .xm-banner-slider__viewport {
  aspect-ratio: auto !important;
  background: #07111f !important;
}

.xm-section-banner .rta-image-slider__viewport.xm-banner-slider__viewport {
  aspect-ratio: 16 / 9 !important;
}

.xm-section-banner .xm-banner-slider__track {
  display: contents !important;
  transform: none !important;
  transition: none !important;
}

.xm-section-banner .rta-image-slider__item.xm-banner-slider__item {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  opacity: 0 !important;
  transform: scale(1.002) !important;
  transition: opacity 0.62s ease-in-out, transform 0.62s ease-in-out !important;
}

.xm-section-banner .rta-image-slider__item.xm-banner-slider__item:first-child,
.xm-section-banner .rta-image-slider__item.xm-banner-slider__item.is-active {
  opacity: 1 !important;
}

.xm-section-banner .rta-image-slider__item.xm-banner-slider__item.is-active {
  z-index: 3 !important;
  transform: scale(1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .rta-image-slider__item,
  .xm-section-banner .rta-image-slider__item.xm-banner-slider__item {
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .rta-image-slider__dots {
    gap: 8px;
    padding: 12px 12px 14px;
  }

  .rta-image-slider__dot {
    width: 10px;
    height: 10px;
  }
}

html[data-theme="dark"] .site-footer-risk strong {
  color: #f4f7ff;
}

html[data-theme="dark"] .site-footer-risk span {
  color: rgba(224, 234, 255, 0.78);
}

html[data-theme="dark"] .back-to-top-floating {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}



/* Exness v1.0 adaptation */
.exness-access .xm-access-copy {
  text-align: center;
}

.exness-kicker {
  justify-content: center;
  gap: 16px;
}

.exness-kicker-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 57, 116, 0.12);
  box-shadow: 0 14px 34px rgba(24, 57, 116, 0.08);
}

.exness-rt-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #183974;
  background: #ffffff;
  border: 1px solid rgba(24, 57, 116, 0.22);
  font-weight: 1000;
  font-size: 18px;
}

.exness-divider {
  width: 1px;
  height: 28px;
  background: rgba(24, 57, 116, 0.28);
}

.exness-wordmark {
  color: #111111;
  font-weight: 1000;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 1.6vw, 27px);
}

.exness-partner-code strong {
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.03em;
}

.exness-banner-slider .rta-image-slider__viewport,
.exness-guide-banner img {
  background: #050b16;
}

html[data-theme="dark"] .exness-kicker-logo {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .exness-rt-mark {
  color: #0f2450;
}

html[data-theme="dark"] .exness-wordmark {
  color: #ffffff;
}

html[data-theme="dark"] .exness-divider {
  background: rgba(255, 255, 255, 0.24);
}
