/* ============================================================
   Amazon Masters — stylesheet
   Palette: white paper, indigo ink, Seller-Central orange.
   Amber + violet appear only on small objects (pills, tags, glyphs).
   ============================================================ */

:root {
  --paper:  #FFFFFF;
  --haze:   #F4F4F8;
  --haze-2: #EDEDF3;
  --line:   #E4E3EC;
  --ink:    #16143C;
  --ink-60: #5A5878;
  --ink-40: #8B89A3;

  --orange:   #FF7A00;
  --orange-d: #E56B00;
  --orange-t: #FFF1E3;
  --amber:    #FFB800;
  --amber-t:  #FFF6DC;
  --violet:   #4B37C8;
  --violet-t: #EEEBFF;
  --green:    #12874A;

  --shell: 1180px;
  --pad: 24px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;

  --shadow-s: 0 1px 2px rgba(22, 20, 60, .05);
  --shadow-m: 0 8px 28px -12px rgba(22, 20, 60, .16);
  --shadow-l: 0 28px 70px -30px rgba(22, 20, 60, .3);

  --font-display: 'Figtree', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.032em; line-height: 1.02; text-transform: lowercase; }
p { margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.band { padding-block: clamp(64px, 8vw, 116px); }
.band--haze { background: var(--haze); }

/* ---------- type helpers ---------- */
.h1 { font-size: clamp(38px, 5.4vw, 66px); }
.h2 { font-size: clamp(32px, 4.6vw, 54px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-60); max-width: 56ch; }
.tint { color: var(--orange); }

/* Section eyebrow: a 3-bar glyph — the same chart language used throughout. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 13px; flex: none;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 100% / 4px 6px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 7px 100% / 4px 13px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 14px 100% / 4px 9px no-repeat;
}

.band-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.band-head .lede { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 122, 0, .9); }
.btn--primary:hover { background: var(--orange-d); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #24215C; }
.btn--wide { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn .arw { transition: transform .18s var(--ease); }
.btn:hover .arw { transform: translate(3px, -3px); }

/* ---------- announcement bar ---------- */
.topbar {
  position: relative; z-index: 60;
  background: var(--ink); color: #fff;
}
.topbar__in {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap; padding-block: 11px;
  font-size: 14.5px;
}
.topbar__tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: 4px 9px; border-radius: 5px;
}
.topbar__txt { color: rgba(255, 255, 255, .84); }
.topbar__cta {
  font-weight: 600; color: var(--amber);
  border-bottom: 1.5px solid rgba(255, 184, 0, .45); padding-bottom: 1px;
}
.topbar__cta:hover { border-bottom-color: var(--amber); }
.topbar__x {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: rgba(255, 255, 255, .5); font-size: 20px; line-height: 1;
  padding: 4px 8px;
}
.topbar__x:hover { color: #fff; }
body.is-topbar-off .topbar { display: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 15.5px; font-weight: 500; color: var(--ink-60); transition: color .16s; }
.nav__links a:hover { color: var(--ink); }
.nav__burger { display: none; margin-left: auto; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__burger span + span { margin-top: 5px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 5vw, 68px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: end; }
.hero__copy { padding-bottom: 40px; }
.hero__h1 { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--ink-40); font-family: var(--font-mono); }

.hero__stage { position: relative; align-self: end; min-height: 380px; display: flex; justify-content: center; }
.hero__mark { position: relative; z-index: 2; width: min(100%, 460px); height: auto; filter: drop-shadow(0 26px 40px rgba(22, 20, 60, .16)); }

/* Signature: the Seller-Central bar chart Mark stands on. */
.chartbase { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(120%, 620px); z-index: 1; }
.chartbase__bars { display: flex; align-items: flex-end; gap: 7px; height: 190px; }
.chartbase__bars i {
  flex: 1; display: block; border-radius: 5px 5px 0 0;
  background: var(--orange); opacity: .17;
  transform-origin: bottom; transform: scaleY(0);
  animation: barGrow .9s var(--ease) forwards;
}
.chartbase__bars i.is-lit { opacity: .34; }
.chartbase__rule { height: 1px; background: var(--line); }
@keyframes barGrow { to { transform: scaleY(1); } }

.hero__ticker {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 56px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
}
.tick { background: var(--paper); padding: 22px 20px; }
.tick__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.tick__l { margin-top: 4px; font-size: 13.5px; color: var(--ink-40); line-height: 1.35; }

/* ---------- partner marquee ---------- */
.partners { border-block: 1px solid var(--line); padding-block: 30px; }
.partners__label { text-align: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 58px; padding-right: 58px; }
.pmark { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--ink-40); white-space: nowrap; transition: color .2s; }
.pmark:hover { color: var(--ink); }
.pmark b { color: var(--amber); font-weight: 800; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--haze); border-radius: 999px; margin-bottom: 34px; }
.tabs button {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--ink-60); transition: background-color .18s, color .18s;
}
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-s); }

.tabpanel[hidden] { display: none; }

/* ---------- course cards ---------- */
.course {
  display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--paper);
}
.course + .course { margin-top: 20px; }
.course__art {
  position: relative; border-radius: var(--r-m); overflow: hidden;
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; justify-content: center;
}
.course__art--orange { background: linear-gradient(160deg, #FFA23D, var(--orange)); }
.course__art--violet { background: linear-gradient(160deg, #6E5BE0, var(--violet)); }
.course__art--amber { background: linear-gradient(160deg, #FFD166, var(--amber)); }
.course__art img { width: 82%; height: auto; object-fit: contain; }
.course__art span {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); color: var(--ink); padding: 5px 9px; border-radius: 5px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; background: var(--haze); color: var(--ink-60);
}
.chip--orange { background: var(--orange-t); color: var(--orange-d); }
.chip--violet { background: var(--violet-t); color: var(--violet); }
.chip--amber { background: var(--amber-t); color: #8A6100; }
.course__desc { color: var(--ink-60); margin-top: 10px; max-width: 60ch; }
.course__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 27px; letter-spacing: -.03em; }
.price small { font-size: 14px; font-weight: 600; color: var(--ink-40); }
.price s { color: var(--ink-40); font-weight: 600; font-size: 19px; margin-right: 7px; }

/* ---------- generic card grid ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 28px;
}
.card--haze { background: var(--haze); border-color: transparent; }
.card__k {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 18px;
  background: var(--orange-t); color: var(--orange-d);
}
.card__k--violet { background: var(--violet-t); color: var(--violet); }
.card__k--amber { background: var(--amber-t); color: #8A6100; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-60); font-size: 15.5px; }
.card__list { margin-top: 16px; display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-60); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 3px; background: var(--orange); opacity: .5;
}

/* ---------- ecosystem roundup ---------- */
.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eco__cell {
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px;
  display: flex; flex-direction: column; min-height: 260px;
  transition: border-color .2s, transform .2s var(--ease);
}
.eco__cell:hover { border-color: var(--ink-40); transform: translateY(-3px); }
.eco__n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-40); letter-spacing: .1em; }
.eco__cell h3 { margin-top: 14px; font-size: 23px; }
.eco__cell p { margin-top: 10px; font-size: 15px; color: var(--ink-60); }
.eco__cell a { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--orange); }
.eco__cell a:hover { color: var(--orange-d); }
.eco__link { margin-top: auto; padding-top: 18px; text-align: left; font-weight: 600; font-size: 15px; color: var(--orange); }
.eco__link:hover { color: var(--orange-d); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.vcard__media { position: relative; aspect-ratio: 16 / 10; background: var(--haze-2); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__media video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.vcard__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(22, 20, 60, .06), rgba(22, 20, 60, .34));
  transition: background-color .2s;
}
.vcard__play:hover { background: linear-gradient(180deg, rgba(22, 20, 60, .1), rgba(22, 20, 60, .46)); }
.vcard__play i {
  width: 58px; height: 58px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; box-shadow: var(--shadow-m);
  transition: transform .2s var(--ease);
}
.vcard__play:hover i { transform: scale(1.08); }
.vcard__play i::after {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 15px solid var(--orange);
  border-block: 10px solid transparent;
}
.vcard__dur {
  position: absolute; right: 10px; bottom: 10px;
  font-family: var(--font-mono); font-size: 11px; color: #fff;
  background: rgba(22, 20, 60, .72); padding: 3px 7px; border-radius: 5px;
}
.vcard__body { padding: 20px 22px 24px; }
.vcard__body h3 { font-size: 19px; }
.vcard__body p { margin-top: 8px; font-size: 14.5px; color: var(--ink-60); }

/* vertical shorts */
.shorts { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 18px; }
.shorts .vcard__media { aspect-ratio: 9 / 16; }

/* ---------- proof / results ---------- */
.proof + .proof { margin-top: 22px; }
.proof {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--r-l);
}
.proof__tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-40);
}
.proof__tag b { color: var(--violet); font-weight: 500; }
.proof h3 { font-size: clamp(24px, 2.6vw, 32px); }
.proof p { margin-top: 14px; color: var(--ink-60); font-size: 16px; }
.proof__kpis { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin-top: 24px; }
.kpi__n { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; }
.kpi__n.up { color: var(--green); }
.kpi__l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-40); margin-top: 3px; }
.proof__shots { display: flex; gap: 14px; }
.shot {
  flex: 1; border: 1px solid var(--line); border-radius: var(--r-m);
  overflow: hidden; background: var(--paper); box-shadow: var(--shadow-m);
}
.shot img { width: 100%; height: auto; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stat { background: var(--paper); padding: 34px 28px; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.4vw, 52px); letter-spacing: -.035em; line-height: 1; }
.stat__n.o { color: var(--orange); }
.stat__l { margin-top: 12px; color: var(--ink-60); font-size: 15px; max-width: 30ch; }

/* ---------- flagship ---------- */
.flag {
  position: relative; overflow: hidden;
  border-radius: var(--r-l); background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: end;
  padding: clamp(32px, 4vw, 54px); padding-bottom: 0;
}
.flag__copy { padding-bottom: clamp(32px, 4vw, 54px); }
.flag__copy .eyebrow { color: rgba(255, 255, 255, .55); }
.flag__copy .eyebrow::before { filter: none; }
.flag h2 { color: #fff; }
.flag p { color: rgba(255, 255, 255, .72); margin-top: 16px; max-width: 46ch; }
.flag__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.flag__meta span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: 6px 10px;
  color: rgba(255, 255, 255, .78);
}
.flag__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.flag__art { position: relative; align-self: end; display: flex; justify-content: center; }
.flag__art img { width: min(100%, 380px); height: auto; }
.flag__badge {
  position: absolute; left: 0; bottom: 40px; z-index: 2;
  background: var(--paper); color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-l);
}
.flag__badge b { display: block; font-family: var(--font-display); font-size: 16px; }
.flag__badge span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-40); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- split contact ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checkline { display: grid; gap: 14px; margin-top: 28px; }
.checkline li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checkline i {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--orange-t); display: grid; place-items: center;
}
.checkline i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg) translate(1px, -1px); }

/* ---------- inside the ecosystem ---------- */
.inside { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.inside__cell { grid-column: span 2; border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.inside__cell--wide { grid-column: span 3; }
.inside__cell--full { grid-column: span 6; display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.inside__cell h3 { margin-bottom: 10px; }
.inside__cell p { color: var(--ink-60); font-size: 15.5px; }
.inside__big { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -.035em; line-height: 1; color: var(--orange); }
.inside__shot { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-m); }

/* ---------- articles ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: transform .2s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.post__body { padding: 20px 22px 24px; }
.post__body h3 { font-size: 19px; }
.post__body span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40); }

/* ---------- faq ---------- */
.faq { max-width: 880px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.7vw, 20px);
  letter-spacing: -.02em;
}
.faq__q i {
  flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: var(--haze); transition: background-color .2s;
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform .24s var(--ease);
}
.faq__q i::before { width: 13px; height: 2px; }
.faq__q i::after { width: 2px; height: 13px; }
.faq__q[aria-expanded="true"] i { background: var(--orange-t); }
.faq__q[aria-expanded="true"] i::before { background: var(--orange); }
.faq__q[aria-expanded="true"] i::after { transform: translate(-50%, -50%) scaleY(0); background: var(--orange); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 26px; color: var(--ink-60); max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- closing cta ---------- */
.closer {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-l); padding: clamp(48px, 7vw, 92px) 28px;
  background: linear-gradient(135deg, #FF9B33, var(--orange) 55%, #F26400);
  color: #fff;
}
.closer h2 { color: #fff; }
.closer p { margin: 16px auto 0; max-width: 46ch; color: rgba(255, 255, 255, .9); }
.closer .btn { margin-top: 30px; }
.closer__bars { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; gap: 8px; height: 90px; opacity: .16; padding-inline: 20px; }
.closer__bars i { flex: 1; background: #fff; border-radius: 4px 4px 0 0; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .68); padding-block: 64px 40px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot__logo { height: 26px; width: auto; margin-bottom: 18px; }
.foot__blurb { font-size: 15px; max-width: 34ch; }
.foot h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .42); margin-bottom: 16px; }
.foot li + li { margin-top: 10px; }
.foot a { font-size: 15px; transition: color .16s; }
.foot a:hover { color: #fff; }
.foot__bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .45); }

/* ---------- modal shell ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(22, 20, 60, .55); backdrop-filter: blur(3px); animation: fade .2s var(--ease); }
.modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 620px;
  max-height: min(88vh, 820px); overflow-y: auto;
  background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-l);
  animation: pop .26s var(--ease);
}
.modal__box--wide { max-width: 860px; }
.modal__x {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; background: var(--haze);
  display: grid; place-items: center; font-size: 18px; color: var(--ink-60);
}
.modal__x:hover { background: var(--haze-2); color: var(--ink); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
body.is-locked { overflow: hidden; }

/* ---------- 3-step lead flow ---------- */
.flow { padding: 34px; }
.flow__rail { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.flow__rail span { flex: 1; height: 4px; border-radius: 2px; background: var(--haze-2); overflow: hidden; }
.flow__rail span::after { content: ""; display: block; height: 100%; width: 0; background: var(--orange); transition: width .4s var(--ease); }
.flow__rail span.is-done::after, .flow__rail span.is-now::after { width: 100%; }
.flow__step { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 8px; }
.flow h3 { font-size: clamp(22px, 2.4vw, 27px); }
.flow > p { color: var(--ink-60); margin-top: 10px; font-size: 15.5px; }
.flow__panel[hidden] { display: none; }

.opts { display: grid; gap: 10px; margin-top: 24px; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-m);
  transition: border-color .16s, background-color .16s;
}
.opt:hover { border-color: var(--ink-40); }
.opt.is-on { border-color: var(--orange); background: var(--orange-t); }
.opt__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); margin-top: 2px; position: relative; background: var(--paper); }
.opt.is-on .opt__dot { border-color: var(--orange); }
.opt.is-on .opt__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--orange); }
.opt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; }
.opt small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-60); }
.opt em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: var(--violet-t); color: var(--violet); padding: 3px 7px; border-radius: 5px; margin-left: 8px; white-space: nowrap; }

.flow__nav { display: flex; gap: 10px; margin-top: 24px; }
.flow__back { padding: 15px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-60); }
.flow__back:hover { color: var(--ink); }

.booknote { margin-top: 20px; padding: 16px 18px; background: var(--haze); border-radius: var(--r-m); font-size: 14.5px; color: var(--ink-60); }
.booknote b { color: var(--ink); }
.cal { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; min-height: 300px; background: var(--haze); }
.cal iframe { width: 100%; height: 520px; border: 0; display: block; }
.cal__fallback { padding: 40px 28px; text-align: center; color: var(--ink-60); font-size: 15px; }
.msgrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.msgbtn { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-m); font-weight: 600; font-size: 15px; }
.msgbtn:hover { border-color: var(--ink-40); }
.msgbtn svg { flex: none; }

.field { margin-top: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m);
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
}
.field input:focus { outline: none; border-color: var(--orange); }
.field input::placeholder { color: var(--ink-40); }
.optin { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.optin:hover { border-color: var(--ink-40); }
.optin input { flex: none; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--orange); }
.optin b { display: block; font-size: 15px; font-family: var(--font-display); font-weight: 700; }
.optin small { display: block; font-size: 13.5px; color: var(--ink-60); margin-top: 2px; }
.done { text-align: center; padding: 14px 0 4px; }
.done__ring { width: 62px; height: 62px; border-radius: 50%; background: var(--orange-t); display: grid; place-items: center; margin: 0 auto 20px; }
.done__ring::after { content: ""; width: 20px; height: 11px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg) translate(2px, -2px); }
.fineprint { margin-top: 16px; font-size: 12.5px; color: var(--ink-40); }

/* ---------- what's inside modal ---------- */
.inside-modal { padding: 34px; }
.inside-modal h3 { font-size: clamp(24px, 2.6vw, 32px); }
.inside-modal > p { color: var(--ink-60); margin-top: 10px; }
.mo { display: grid; gap: 10px; margin-top: 26px; }
.mo__row { display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); }
.mo__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-40); }
.mo__n b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--orange); letter-spacing: -.03em; }
.mo__t { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; }
.mo__t small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--ink-60); margin-top: 2px; letter-spacing: 0; }
.mo__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); background: var(--violet-t); padding: 5px 9px; border-radius: 5px; white-space: nowrap; }
.mo__k--amber { color: #8A6100; background: var(--amber-t); }

.bonus { margin-top: 26px; padding: 24px; border-radius: var(--r-m); background: var(--haze); }
.bonus h4 { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-transform: lowercase; }
.bonus ul { display: grid; gap: 12px; margin-top: 16px; }
.bonus li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.bonus li i { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--amber); display: grid; place-items: center; margin-top: 1px; }
.bonus li i::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.bonus li b { font-weight: 600; }
.bonus li span { color: var(--ink-60); }
.worth { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--green); background: #E6F5ED; padding: 3px 7px; border-radius: 5px; margin-left: 6px; white-space: nowrap; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 320px; margin-top: 20px; }
  .hero__mark { width: min(72%, 380px); }
  .eco { grid-template-columns: repeat(2, 1fr); }
  .inside { grid-template-columns: repeat(4, 1fr); }
  .inside__cell--full { grid-column: span 4; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 22px;
  }
  .nav__links.is-open a { padding: 10px 0; font-size: 17px; color: var(--ink); }
  .nav__burger { display: block; margin-left: 4px; order: 3; }
  /* Keep the primary action reachable on mobile — just make it compact. */
  .nav__cta { margin-left: auto; padding: 9px 15px; font-size: 14px; order: 2; }
  .nav__cta .arw { display: none; }
  .nav__in { position: relative; gap: 12px; }

  .hero__ticker { grid-template-columns: repeat(2, 1fr); }
  .course { grid-template-columns: 1fr; gap: 22px; }
  .grid--3, .grid--4, .reviews, .posts { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flag { grid-template-columns: 1fr; padding-bottom: 0; }
  .flag__copy { padding-bottom: 10px; }
  .flag__art img { width: min(72%, 300px); }
  .flag__badge { left: 10px; bottom: 20px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .inside__cell--full { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --pad: 18px; }
  .proof__kpis { grid-template-columns: repeat(2, auto); gap: 20px 24px; }
  .topbar__in { padding-block: 10px 12px; font-size: 13.5px; }
  .topbar__x { display: none; }
  .hero__actions .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4, .reviews, .posts, .eco, .stats { grid-template-columns: 1fr; }
  .shorts { grid-template-columns: 1fr; }
  .inside { grid-template-columns: 1fr; }
  .inside__cell, .inside__cell--wide, .inside__cell--full { grid-column: span 1; }
  .foot__grid { grid-template-columns: 1fr; }
  .flow, .inside-modal { padding: 26px 20px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { max-height: 92vh; border-radius: var(--r-l) var(--r-l) 0 0; }
  .msgrow { grid-template-columns: 1fr; }
  .mo__row { grid-template-columns: 52px 1fr; }
  .mo__k { grid-column: 2; justify-self: start; }
  .proof__shots { flex-direction: column; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 10px 12px; font-size: 14px; }
}

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

/* ---------- forms: honeypot + inline error ---------- */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 12px; padding: 10px 14px; border-radius: var(--r-s); background: #FDECEC; color: #A1261E; font-size: 14px; }
