/* ============================================================
   MarbleQ — premium quant trading course landing
   Deep ink/navy base + restrained emerald accent. Dark-first.
   ============================================================ */

:root {
  /* Ink / navy base */
  --ink-900: #070b14;
  --ink-850: #0a0f1a;
  --ink-800: #0b1220;
  --ink-750: #0e1626;
  --ink-700: #111c30;
  --line: #1c2840;
  --line-soft: #18233a;

  /* Text */
  --text-100: #f5f8fc;
  --text-200: #dbe3ef;
  --text-300: #aab6cc;
  --text-400: #7f8da6;
  --text-500: #5d6a82;

  /* Emerald accent */
  --acc-300: #6ee7b7;
  --acc-400: #34d399;
  --acc-500: #10b981;
  --acc-600: #059669;
  --acc-700: #047857;
  --acc-glow: rgba(16, 185, 129, 0.32);

  /* Functional */
  --good: #34d399;
  --bad: #fb7185;

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 80px -32px rgba(0, 0, 0, 0.85);
  --shadow-acc: 0 18px 50px -18px var(--acc-glow);

  /* ---- dynamic scroll-driven background tint ----
     These are interpolated slowly via transition; JS swaps the values
     per visible section through body[data-tone] selectors below.
     Defaults = hero (deepest ink). */
  --bg-base: #070b14;          /* solid base color, deepest ink */
  --bg-tint-a: rgba(16, 185, 129, 0.12);   /* top-right glow color */
  --bg-tint-b: rgba(30, 58, 95, 0.35);     /* top-left glow color */
  --bg-aurora-1: rgba(16, 185, 129, 0.14); /* aurora blob — emerald */
  --bg-aurora-2: rgba(34, 56, 120, 0.28);  /* aurora blob — indigo/navy */
  --bg-aurora-3: rgba(20, 120, 90, 0.10);  /* aurora blob — deep teal */

  --font: 'Pretendard', 'Pretendard Variable', system-ui, -apple-system,
    'Apple SD Gothic Neo', 'Malgun Gothic', 'Segoe UI', Roboto, sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink-900);
  color: var(--text-200);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* 한국어 어절 단위 줄바꿈 — 단어 중간에서 끊기지 않게 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* keep-all 전역 적용: 텍스트가 들어가는 모든 요소 */
h1, h2, h3, h4, h5, h6,
p, li, a, span, b, strong, em, td, th, button, label, dt, dd, figcaption, blockquote {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 어절이 자연스럽게 끊기도록 묶는 유틸리티 */
.nowrap { white-space: nowrap; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ambient background field — base tint, scroll-driven via CSS vars.
   Color stops transition slowly so the page breathes between sections
   instead of reading as one flat slab. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 600px at 82% -8%, var(--bg-tint-a), transparent 60%),
    radial-gradient(700px 540px at 8% 4%, var(--bg-tint-b), transparent 62%),
    linear-gradient(180deg, var(--bg-base), var(--ink-850));
  transition: background 1.1s var(--ease);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
}

/* ---- living aurora layer ----
   Three slow radial blobs that drift + rotate behind everything.
   GPU-friendly: only transform/opacity animate; colors come from CSS
   vars so the aurora warms/cools along with the scroll tint. */
.bg-aurora {
  position: fixed;
  /* generous overscan so the slow rotation never exposes a bare corner */
  inset: -45%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  /* the whole field rotates very, very slowly */
  animation: aurora-field 90s linear infinite;
  will-change: transform;
  contain: layout paint;
}
.bg-aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.9;
  transition: background 1.4s var(--ease);
  will-change: transform;
}
.bg-aurora .blob-1 {
  width: 46vw; height: 46vw;
  top: 2%; left: 60%;
  background: radial-gradient(circle at 50% 50%, var(--bg-aurora-1), transparent 70%);
  animation: aurora-drift-1 34s ease-in-out infinite;
}
.bg-aurora .blob-2 {
  width: 52vw; height: 52vw;
  top: 32%; left: -8%;
  background: radial-gradient(circle at 50% 50%, var(--bg-aurora-2), transparent 70%);
  animation: aurora-drift-2 42s ease-in-out infinite;
}
.bg-aurora .blob-3 {
  width: 40vw; height: 40vw;
  top: 64%; left: 48%;
  background: radial-gradient(circle at 50% 50%, var(--bg-aurora-3), transparent 70%);
  animation: aurora-drift-3 38s ease-in-out infinite;
}
@keyframes aurora-field {
  to { transform: rotate(360deg); }
}
@keyframes aurora-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-6%, 7%, 0) scale(1.12); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); }
  50%      { transform: translate3d(8%, -5%, 0) scale(0.92); }
}
@keyframes aurora-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.96); }
  50%      { transform: translate3d(-7%, -6%, 0) scale(1.1); }
}

/* ============================================================
   SCROLL-DRIVEN TONE STAGES
   Each stage is a deliberately *small* shift in hue/lightness so
   the transition reads as luxury, not a disco. JS sets data-tone
   on <body> from an IntersectionObserver; the vars above interpolate.
   ============================================================ */

/* hero — deepest ink, cool emerald whisper top-right */
body[data-tone="hero"] {
  --bg-base: #070b14;
  --bg-tint-a: rgba(16, 185, 129, 0.12);
  --bg-tint-b: rgba(30, 58, 95, 0.34);
  --bg-aurora-1: rgba(16, 185, 129, 0.13);
  --bg-aurora-2: rgba(34, 56, 120, 0.26);
  --bg-aurora-3: rgba(20, 120, 90, 0.09);
}

/* problem — a faint violet / indigo unease creeps in */
body[data-tone="problem"] {
  --bg-base: #080a16;
  --bg-tint-a: rgba(99, 102, 241, 0.10);
  --bg-tint-b: rgba(55, 48, 110, 0.34);
  --bg-aurora-1: rgba(120, 90, 200, 0.13);
  --bg-aurora-2: rgba(40, 50, 120, 0.28);
  --bg-aurora-3: rgba(80, 60, 150, 0.08);
}

/* value + curriculum — emerald begins to win, hope returns */
body[data-tone="emerald"] {
  --bg-base: #060f14;
  --bg-tint-a: rgba(16, 185, 129, 0.16);
  --bg-tint-b: rgba(20, 70, 90, 0.32);
  --bg-aurora-1: rgba(16, 185, 129, 0.17);
  --bg-aurora-2: rgba(24, 64, 110, 0.24);
  --bg-aurora-3: rgba(20, 140, 100, 0.12);
}

/* pricing — settles deeper + a touch warmer for the "decision" beat */
body[data-tone="pricing"] {
  --bg-base: #0a0d15;
  --bg-tint-a: rgba(45, 160, 130, 0.13);
  --bg-tint-b: rgba(70, 60, 80, 0.30);
  --bg-aurora-1: rgba(40, 170, 130, 0.13);
  --bg-aurora-2: rgba(70, 64, 96, 0.26);
  --bg-aurora-3: rgba(120, 110, 70, 0.07);
}

/* final cta — the emerald glow swells to its brightest, a warm close */
body[data-tone="final"] {
  --bg-base: #061013;
  --bg-tint-a: rgba(16, 185, 129, 0.22);
  --bg-tint-b: rgba(16, 120, 100, 0.30);
  --bg-aurora-1: rgba(16, 200, 140, 0.22);
  --bg-aurora-2: rgba(20, 90, 120, 0.24);
  --bg-aurora-3: rgba(20, 160, 120, 0.16);
}

/* ---- soft section seams ----
   Top & bottom of every section gets a faint vertical fade so the
   tone change never lands on a hard horizontal line. */
section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 140px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.28), transparent);
}
/* keep seams strictly behind content */
section > .wrap { position: relative; z-index: 1; }
/* sections that already paint their own background skip the seam */
.notice::before, .disclaimer::before, .footer::before { display: none; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; padding-block: clamp(64px, 9vw, 116px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc-300);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--acc-400), transparent);
}

h2.section-title {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-100);
  margin: 0 0 16px;
}
.section-lead {
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  color: var(--text-300);
  max-width: 62ch;
  margin: 0 0 8px;
}

.fine { font-size: 0.82rem; color: var(--text-500); line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--acc-400);
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(180deg, var(--acc-400), var(--acc-600));
  color: #03130d;
  box-shadow: var(--shadow-acc), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px -16px var(--acc-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary .arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text-200);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--acc-500);
  color: var(--text-100);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.92rem;
  color: var(--text-300);
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; transition: color 0.2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--acc-400);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text-100); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: 0.92rem; padding: 10px 20px; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-course {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-300);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-course .ico { width: 16px; height: 16px; flex: none; }
.nav-course:hover {
  color: var(--text-100);
  border-color: var(--acc-500);
  background: rgba(16, 185, 129, 0.08);
}

/* ---------- logo / wordmark ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  color: var(--text-100);
}
.logo .mark { width: 30px; height: 30px; flex: none; }
.logo b { color: var(--acc-300); font-weight: 800; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(120px, 16vw, 168px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-300);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.24);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc-400);
  box-shadow: 0 0 0 0 var(--acc-glow);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--acc-glow); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.7rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text-100);
  margin: 0 0 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--acc-300), var(--acc-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 2.3vw, 1.14rem);
  color: var(--text-300);
  max-width: 54ch;
  margin: 0 0 34px;
}
.hero-sub b { color: var(--text-100); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: 0.9rem; color: var(--text-400);
}
.hero-note strong { color: var(--acc-300); font-weight: 700; }
.hero-vat {
  font-size: 0.74rem; font-weight: 600;
  color: var(--text-500);
  border: 1px solid var(--line);
  padding: 1px 7px; border-radius: 999px;
}

.hero-preview { margin: 16px 0 0; }
.hero-preview a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600;
  color: var(--acc-300);
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-preview a .ico { width: 16px; height: 16px; flex: none; }
.hero-preview a .arrow { transition: transform 0.25s var(--ease); }
.hero-preview a:hover { color: var(--acc-400); border-bottom-color: var(--acc-400); }
.hero-preview a:hover .arrow { transform: translateX(4px); }

/* hero visual — glass marble + orbit */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbit-field { width: min(420px, 100%); }
.orbit-ring {
  fill: none;
  stroke: rgba(52, 211, 153, 0.32);
  stroke-width: 1;
  transform-origin: center;
}
.orbit-ring.r2 { stroke: rgba(52, 211, 153, 0.18); }
.orbit-anim { animation: spin 36s linear infinite; transform-origin: 50% 50%; }
.orbit-anim.rev { animation-duration: 52s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-node { fill: var(--acc-400); }
.floaty { animation: floaty 7s ease-in-out infinite; transform-origin: center; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* hero stat strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 7vw, 76px);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stats .cell {
  background: rgba(11, 18, 32, 0.6);
  padding: 22px 24px;
}
.hero-stats .k { font-size: 1.15rem; font-weight: 800; color: var(--text-100); letter-spacing: -0.02em; }
.hero-stats .k .accent { color: var(--acc-300); }
.hero-stats .d { font-size: 0.86rem; color: var(--text-400); margin-top: 3px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.problem-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.7), rgba(11, 18, 32, 0.5));
  border: 1px solid var(--line-soft);
}
.problem-card .ix {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(251, 113, 133, 0.1);
  color: var(--bad);
  font-weight: 800;
  font-size: 0.85rem;
}
.problem-card p { margin: 0; color: var(--text-300); font-size: 0.97rem; }
.problem-key {
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: clamp(1.02rem, 2.2vw, 1.16rem);
  color: var(--text-200);
}
.problem-key b { color: var(--acc-300); }

/* Before → After */
.ba {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
.ba-col {
  padding: 24px 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.ba-before {
  background: linear-gradient(180deg, rgba(251, 113, 133, 0.05), transparent);
  border-color: rgba(251, 113, 133, 0.22);
}
.ba-after {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.015));
  border-color: rgba(16, 185, 129, 0.32);
}
.ba-tag {
  display: inline-block; margin-bottom: 14px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ba-before .ba-tag { color: var(--bad); }
.ba-after .ba-tag { color: var(--acc-300); }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ba-col li {
  position: relative; padding-left: 20px;
  font-size: 0.94rem; color: var(--text-300);
}
.ba-col li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 2px;
}
.ba-before li::before { background: rgba(251, 113, 133, 0.55); }
.ba-after li::before { background: var(--acc-400); }
.ba-after li { color: var(--text-200); }
.ba-arrow {
  align-self: center;
  font-size: 1.6rem; font-weight: 800;
  color: var(--acc-400);
}

/* ============================================================
   VALUES
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.value-card {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.8), rgba(10, 16, 28, 0.55));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc-400), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.4); }
.value-card:hover::before { opacity: 1; }
.value-num {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--acc-400); margin-bottom: 18px;
}
.value-icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--acc-300);
}
.value-card h3 {
  font-size: 1.18rem; font-weight: 800; color: var(--text-100);
  letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.35;
}
.value-card p { margin: 0; color: var(--text-300); font-size: 0.96rem; }
.value-card .fine { margin-top: 14px; }

/* ============================================================
   AUDIENCE
   ============================================================ */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
}
.aud-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.aud-col.yes {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.015));
  border-color: rgba(16, 185, 129, 0.3);
}
.aud-col.no {
  background: linear-gradient(180deg, rgba(251, 113, 133, 0.05), transparent);
  border-color: rgba(251, 113, 133, 0.22);
}
.aud-head {
  display: flex; align-items: center; gap: 11px;
  font-size: 1.05rem; font-weight: 800; color: var(--text-100);
  margin-bottom: 18px; letter-spacing: -0.02em;
}
.aud-badge {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px; font-weight: 800;
}
.aud-col.yes .aud-badge { background: rgba(16, 185, 129, 0.16); color: var(--acc-300); }
.aud-col.no .aud-badge { background: rgba(251, 113, 133, 0.14); color: var(--bad); }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.aud-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.96rem; color: var(--text-300);
}
.aud-list li svg { flex: none; margin-top: 3px; }
.aud-col.yes li svg { color: var(--acc-400); }
.aud-col.no li svg { color: var(--bad); }

/* ============================================================
   CURRICULUM — chapters / phases
   ============================================================ */
/* legend */
.cur-legend {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  margin-top: 28px;
  font-size: 0.88rem; color: var(--text-400);
}
.cur-key { display: inline-flex; align-items: center; gap: 9px; }

/* open / lock badges (shared) */
.badge-open {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  color: #03130d;
  background: linear-gradient(180deg, var(--acc-300), var(--acc-500));
  padding: 4px 11px; border-radius: 999px;
  box-shadow: 0 4px 14px -6px var(--acc-glow);
}
.badge-open svg { width: 12px; height: 12px; flex: none; }
.badge-lock {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--text-400);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px;
  white-space: nowrap;
}
.badge-lock svg { width: 12px; height: 12px; flex: none; opacity: 0.85; }

/* phase grouping */
.cur-phase { margin-top: clamp(40px, 6vw, 64px); }
.phase-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.phase-tag {
  display: inline-block;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--acc-400);
  margin-bottom: 8px;
}
.phase-head h3 {
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-100); margin: 0 0 8px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.phase-range {
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-500);
  font-variant-numeric: tabular-nums;
}
.phase-head p { margin: 0; color: var(--text-300); font-size: 0.96rem; max-width: 70ch; }

/* card grid */
.cur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cur-card {
  display: flex; flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.78), rgba(10, 16, 28, 0.5));
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.cur-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-lg);
}
.cur-card.open {
  border-color: rgba(16, 185, 129, 0.34);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(16, 185, 129, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(15, 22, 38, 0.85), rgba(10, 16, 28, 0.55));
}
.cur-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.cur-no {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--acc-300);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cur-card.lock .cur-no { color: var(--text-400); }
.cur-card h4 {
  font-size: 1.12rem; font-weight: 800; color: var(--text-100);
  letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.32;
}
.cur-q {
  margin: 0 0 14px;
  font-size: 0.92rem; font-weight: 600; font-style: italic;
  color: var(--acc-300);
}
.cur-card.lock .cur-q { color: var(--text-300); }

/* curriculum overview lead card */
.cur-lead { grid-column: 1 / -1; }
.cur-lead h4 { font-size: 1.24rem; }
.cur-lead .cur-q {
  font-style: normal; font-weight: 500;
  color: var(--text-300);
  font-size: 0.98rem; line-height: 1.6;
  max-width: 64ch;
}
@media (max-width: 760px) {
  .cur-lead { grid-column: auto; }
}

/* sub-topic chips */
.cur-chips {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.cur-chips li {
  font-size: 0.78rem; line-height: 1.45;
  color: var(--text-300);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-soft);
  padding: 5px 10px; border-radius: 9px;
}
.cur-card.open .cur-chips li {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.05);
}

/* common footer line */
.cur-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 14px;
}
.cur-meta {
  font-size: 0.78rem; color: var(--text-400); font-weight: 500;
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px;
}
.cur-meta .meta-ico {
  width: 14px; height: 14px; flex: none;
  color: var(--acc-400);
  vertical-align: middle;
}
.cur-card.lock .cur-meta .meta-ico { color: var(--text-500); }
.cur-preview {
  font-size: 0.8rem; font-weight: 700; color: var(--acc-300);
  white-space: nowrap;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cur-preview:hover { color: var(--acc-400); transform: translateX(2px); }

/* ============================================================
   TRUST / PROOF
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 44px;
}
.trust-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.78), rgba(10, 16, 28, 0.5));
  border: 1px solid var(--line);
}
.trust-card h3 {
  font-size: 1.1rem; font-weight: 800; color: var(--text-100);
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.trust-card p { margin: 0; color: var(--text-300); font-size: 0.95rem; }
.trust-span2 { grid-column: 1 / -1; }

/* placeholder mock window */
.mock {
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-850);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.mock-bar span { margin-left: 8px; font-size: 0.76rem; color: var(--text-500); }
.mock-body {
  position: relative;
  height: 168px;
  padding: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(transparent 95%, rgba(16, 185, 129, 0.12) 95%) 0 0 / 100% 28px,
    linear-gradient(90deg, transparent 95%, rgba(16, 185, 129, 0.08) 95%) 0 0 / 28px 100%;
}
.mock-body .ph {
  font-size: 0.82rem; color: var(--text-500);
  border: 1px dashed var(--line);
  padding: 8px 16px; border-radius: 999px;
  background: var(--ink-850);
}
/* sparkline drawn purely in CSS/SVG */
.mock-spark { position: absolute; inset: 0; opacity: 0.9; }
.mock-spark path { fill: none; stroke: var(--acc-400); stroke-width: 2; }
.mock-spark .area { fill: url(#sparkfill); stroke: none; }

.profile-mini {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.profile-mini .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: radial-gradient(120% 120% at 35% 30%, var(--acc-300), var(--acc-700));
}
.profile-mini .meta b { display: block; color: var(--text-100); font-size: 0.96rem; }
.profile-mini .meta span { font-size: 0.84rem; color: var(--text-400); }

.disclaim-inline {
  margin-top: 14px;
  font-size: 0.82rem; color: var(--text-500);
  display: flex; gap: 8px; align-items: flex-start;
}
.disclaim-inline svg { flex: none; margin-top: 2px; color: var(--text-400); }

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare {
  margin-top: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(10, 16, 28, 0.55);
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.compare-table thead th {
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-400); letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.015);
}
.compare-table tbody th {
  font-weight: 700; color: var(--text-200);
  white-space: nowrap;
}
.compare-table td { color: var(--text-400); }
.compare-table tr td:last-child,
.compare-table tr th:last-child { border-left: 1px solid rgba(16, 185, 129, 0.22); }
.col-mq {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.03));
  color: var(--text-100) !important;
  font-weight: 700;
}
.compare-table thead .col-mq {
  color: var(--acc-300) !important;
  background: rgba(16, 185, 129, 0.14);
}
.col-mq b { color: var(--acc-300); }
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-wrap {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  margin-inline: auto;
}
.price-card {
  position: relative;
  padding: clamp(30px, 5vw, 46px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(16, 185, 129, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(15, 22, 38, 0.9), rgba(10, 16, 28, 0.7));
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.price-ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: #03130d;
  background: linear-gradient(180deg, var(--acc-300), var(--acc-500));
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.price-anchor {
  font-size: 1.05rem; color: var(--text-500);
  text-decoration: line-through;
  text-decoration-color: var(--bad);
}
.price-now {
  font-size: clamp(2.6rem, 9vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--text-100);
  line-height: 1.05;
  margin: 6px 0 4px;
}
.price-now .accent { color: var(--acc-300); }
.price-now .price-vat {
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0;
  color: var(--text-400);
  vertical-align: middle;
  margin-left: 6px;
}
.price-save {
  display: inline-block;
  font-size: 0.86rem; font-weight: 700;
  color: var(--acc-300);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 13px; border-radius: 999px;
  margin-bottom: 26px;
}
.price-list {
  list-style: none; margin: 0 0 30px; padding: 0;
  display: grid; gap: 13px;
  text-align: left;
  max-width: 420px; margin-inline: auto;
}
.price-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.96rem; color: var(--text-200);
}
.price-list li svg { flex: none; margin-top: 3px; color: var(--acc-400); }
.price-assure {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px auto 0;
  font-size: 0.9rem; font-weight: 600; color: var(--acc-300);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 9px 16px; border-radius: 999px;
}
.price-assure svg { flex: none; color: var(--acc-400); }
.price-meta {
  margin-top: 16px; font-size: 0.84rem; color: var(--text-500);
}

/* ============================================================
   NOTICE (유의사항)
   ============================================================ */
.notice {
  padding-block: clamp(40px, 6vw, 64px);
  background: rgba(7, 11, 20, 0.6);
  border-top: 1px solid var(--line-soft);
}
.notice-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800; letter-spacing: 0.01em;
  color: var(--text-200); margin: 0 0 18px;
}
.notice-title svg { color: var(--acc-400); flex: none; }
.notice-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  max-width: 860px;
}
.notice-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-300); line-height: 1.6;
}
.notice-list li::before {
  content: ""; flex: none; margin-top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--acc-500);
}

/* ============================================================
   STICKY MINI CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  transform: translateY(120%);
  transition: transform 0.4s var(--ease);
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line);
  padding-block: 11px;
  padding-bottom: max(11px, env(safe-area-inset-bottom));
}
.sticky-cta.show { transform: translateY(0); }
.sticky-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.sticky-copy { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-copy strong {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--acc-300); text-transform: uppercase;
}
.sticky-price { font-size: 1.05rem; font-weight: 800; color: var(--text-100); }
.sticky-price .accent { color: var(--acc-300); }
.sticky-price s { font-size: 0.82rem; font-weight: 600; color: var(--text-500); margin-left: 4px; }
.sticky-price .sticky-vat {
  font-size: 0.66rem; font-weight: 600;
  color: var(--text-400);
  border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 999px;
  vertical-align: middle;
  margin-left: 2px;
}
.cta-vat {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0;
  background: rgba(0, 0, 0, 0.16);
  padding: 2px 8px; border-radius: 999px;
}
.sticky-btn { padding: 12px 22px; font-size: 0.95rem; white-space: nowrap; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { margin-top: 40px; max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  background: none; border: none;
  text-align: left;
  font-size: 1.02rem; font-weight: 600;
  color: var(--text-100);
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--acc-300); }
.faq-q:focus-visible { outline: 2px solid var(--acc-400); outline-offset: 2px; border-radius: 6px; }
.faq-q .chev {
  flex: none; width: 22px; height: 22px;
  transition: transform 0.3s var(--ease);
  color: var(--acc-400);
}
.faq-item[aria-expanded="true"] .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item[aria-expanded="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  margin: 0;
  padding: 0 40px 24px 4px;
  color: var(--text-300);
  font-size: 0.96rem;
}
.faq-a p b { color: var(--text-100); }

/* ============================================================
   DISCLAIMER band
   ============================================================ */
.disclaimer {
  background: rgba(7, 11, 20, 0.7);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.disclaimer .wrap { padding-block: clamp(40px, 6vw, 64px); }
.disclaimer h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--text-200); margin: 0 0 18px;
}
.disclaimer h2 svg { color: var(--text-400); }
.disclaimer ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 11px;
  max-width: 860px;
}
.disclaimer li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.88rem; color: var(--text-400); line-height: 1.65;
}
.disclaimer li::before {
  content: ""; flex: none; margin-top: 9px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-500);
}

/* ============================================================
   FINAL CTA + apply
   ============================================================ */
.final {
  text-align: center;
  background:
    radial-gradient(700px 400px at 50% 120%, rgba(16, 185, 129, 0.16), transparent 60%);
}
.final-badge {
  display: inline-flex; align-items: center;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--acc-300);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.final h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--text-100);
  margin: 0 auto 16px; max-width: 22ch;
  line-height: 1.18;
}
.final h2 .nowrap { display: inline-block; }
.final .hero-cta b { font-weight: 800; }
.final h2 .accent { color: var(--acc-300); }
.final p { color: var(--text-300); max-width: 52ch; margin: 0 auto 30px; }
.final .hero-cta { justify-content: center; }

#apply {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}
#apply .ap-tag {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--acc-400);
}
#apply p { margin: 10px 0 0; color: var(--text-300); font-size: 0.95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 44px;
  background: var(--ink-900);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 22px;
  align-items: flex-start; justify-content: space-between;
}
.footer .logo { margin-bottom: 14px; }
.footer-tag { font-size: 0.9rem; color: var(--text-400); max-width: 44ch; }
.footer-fine { font-size: 0.8rem; color: var(--text-500); margin-top: 14px; max-width: 56ch; }
.footer-copy { font-size: 0.82rem; color: var(--text-500); }

/* ============================================================
   reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .cur-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }

  /* Before → After stacks vertically */
  .ba { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-course span:not(.ico) { display: none; }
  .nav-course { padding: 8px 11px; }
  .problem-list { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .cur-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .cell { display: flex; align-items: baseline; gap: 10px; }

  /* compare table → stacked cards */
  .compare { border: none; background: none; }
  .compare-table thead { display: none; }
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td { display: block; width: 100%; }
  .compare-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(10, 16, 28, 0.55);
  }
  .compare-table tbody th {
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.82rem; letter-spacing: 0.04em;
    color: var(--acc-300);
    border-bottom: 1px solid var(--line-soft);
  }
  .compare-table td {
    display: flex; justify-content: space-between; gap: 14px;
    border-bottom: 1px solid var(--line-soft);
    border-left: none !important;
  }
  .compare-table td::before {
    content: attr(data-label);
    color: var(--text-500); font-weight: 600; flex: none;
  }
  .compare-table td:last-child { border-bottom: none; }
  .col-mq { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }

  /* freeze the living background: no drift, no rotation, no tint
     interpolation — a single calm static gradient instead. */
  .bg-aurora { animation: none; }
  .bg-aurora span { animation: none; transition: none; }
  body::before { transition: none; }
}

/* ============================================================
   BACKGROUND — mobile / small-screen tuning
   Fewer + smaller blurs so low-power GPUs stay smooth.
   ============================================================ */
@media (max-width: 760px) {
  .bg-aurora { animation-duration: 120s; }
  .bg-aurora span { filter: blur(46px); opacity: 0.8; }
  .bg-aurora .blob-1 { width: 80vw; height: 80vw; }
  .bg-aurora .blob-2 { width: 92vw; height: 92vw; }
  .bg-aurora .blob-3 { display: none; }  /* drop the third blob on phones */
}
