/* ============================================================
   SALES PAGE
   The design brief is unusual: this must NOT read as a sales page.
   Every competitor in this category is a hype page with a fake
   dashboard screenshot. The differentiator is that this one opens by
   trying to talk you out of it. So: a forensic disclosure document,
   in the course's own typography, leading with a disappointing number.
   Restraint IS the positioning. No gradients-on-white, no badges,
   no countdown timers, no testimonials.
   ============================================================ */

.is-sales .wrap { max-width: 48rem; }
.is-sales section:not(.hero) { margin: 0 0 4.5rem; }

/* --- hero: full-bleed cinematic. The image is atmosphere, the number is the message. --- */
.hero {
  position: relative;
  margin: -2.75rem calc(50% - 50vw) 4.5rem;   /* break the reading column, go edge to edge */
  width: 100vw;
  min-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
/* The hero photograph is dark in BOTH themes, so the hero pins the dark palette
   regardless of the reader's colour scheme. Without this, a light-mode reader gets
   dark ink on a dark photograph, which is unreadable however strong the scrim is. */
.hero {
  --bg: #131210;
  --surface: #1a1917;
  --ink: #ece8e0;
  --ink-soft: #a8a49b;
  --ink-faint: #96928b;
  --rule: #2e2c28;
  --accent: #d96a6a;
  --gold: #c9a23f;
  color: var(--ink);
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 32% center;      /* the copy column is centred, so the scrim must cover the whole width, not just the right */
  display: block;
  animation: heroIn 1.6s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }

/* the scrim is what makes text legible and the mood work */
.hero-scrim {
  /* must sit ABOVE .hero-img. A negative z-index here lands it below the photo,
     because .hero-media is its own stacking context, and the scrim does nothing at all. */
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, color-mix(in srgb, var(--bg) 50%, transparent) 0%, color-mix(in srgb, var(--bg) 66%, transparent) 45%, color-mix(in srgb, var(--bg) 86%, transparent) 78%, var(--bg) 100%),
    linear-gradient(to top, var(--bg) 2%, transparent 42%),
    linear-gradient(to bottom, color-mix(in srgb, var(--bg) 80%, transparent) 0%, transparent 26%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 2.5rem;
  width: 100%;
}
.hero-kicker {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 650;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.55rem;
  animation: rise .7s ease .15s both;
}
.hero-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 70%, transparent);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero-num {
  font-family: var(--serif);
  font-size: clamp(4.2rem, 13vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin: 0 0 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-shadow: 0 2px 60px color-mix(in srgb, var(--bg) 80%, transparent);
  animation: rise .8s cubic-bezier(.2,.7,.3,1) .25s both;
}
.hero-cur { color: var(--gold); font-size: 0.5em; vertical-align: 0.42em; margin-right: 0.06em; letter-spacing: 0; }
.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.45; color: var(--ink);
  max-width: 33rem; margin-bottom: 1.35rem;
  animation: rise .8s ease .4s both;
}
.hero-tail {
  font-size: 1rem; color: var(--ink-soft);
  max-width: 33rem; animation: rise .8s ease .5s both;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 0.9rem; animation: rise .8s ease .6s both; }
.hero-note { font-family: var(--sans); font-size: 0.72rem; color: var(--ink-faint); margin: 0; animation: rise .8s ease .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-kicker, .hero-num, .hero-sub, .hero-tail, .hero-cta, .hero-note { animation: none; }
}

/* the numbers strip: the whole argument, before you scroll */
.hero-strip {
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 48rem; margin: 0 auto; width: 100%;
}
.hero-strip > div {
  padding: 1rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  border-left: 1px solid color-mix(in srgb, var(--rule) 55%, transparent);
}
.hero-strip > div:first-child { border-left: none; }
.hs-n { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hs-l { font-family: var(--sans); font-size: 0.62rem; color: var(--ink-faint); line-height: 1.3; }
@media (max-width: 700px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 4.5rem 1.1rem 2rem; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip > div:nth-child(3) { border-left: none; }
  .hero-strip > div:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); }
}

/* --- buttons --- */
.btn {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.72rem 1.35rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
  text-decoration: none;
  display: inline-block;
  transition: transform .12s, border-color .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, black); border-color: transparent; }
.btn-ghost { color: var(--ink); background: none; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wide { display: block; text-align: center; margin-top: auto; }

/* --- the claim --- */
blockquote.claim { font-size: 1.15rem; }
blockquote.claim p:first-child { font-size: 1.25rem; }

.lead { font-size: 1.12rem; line-height: 1.6; }
.quiet { font-size: 0.92rem; color: var(--ink-soft); }

/* --- the scar list --- */
.scars { list-style: none; padding: 0; margin: 2rem 0; }
.scars li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 60%, transparent);
  margin: 0;
}
.scars li:last-child { border-bottom: none; }
.scar-n {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  padding-top: 0.3rem;
  min-width: 1.6rem;
  font-weight: 600;
}
.scars strong { display: block; margin-bottom: 0.15rem; }
.scars div { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }

/* --- tiers --- */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.25rem;
  margin: 2.5rem 0;
  align-items: stretch;
}
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.6rem 1.5rem 1.75rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-hero {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--rule));
  background:
    radial-gradient(26rem 14rem at 100% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%),
    var(--surface);
}
.tier-flag {
  position: absolute; top: -0.62rem; left: 1.5rem;
  font-family: var(--sans); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  padding: 0.2rem 0.5rem; border-radius: 2px;
}
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.9rem; }
.tier-name { font-family: var(--sans); font-size: 0.86rem; font-weight: 700; letter-spacing: -0.01em; }
.tier-price { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier-line { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.tier-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tier-list li {
  font-family: var(--sans); font-size: 0.8rem; line-height: 1.5;
  padding: 0.4rem 0 0.4rem 1.1rem; position: relative; color: var(--ink-soft); margin: 0;
}
.tier-list li::before {
  content: ""; position: absolute; left: 0; top: 0.78rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.tier-list strong { color: var(--ink); }
.tier-note { font-family: var(--sans); font-size: 0.7rem; color: var(--ink-faint); margin: 0.9rem 0 0; line-height: 1.5; }

/* --- tools table --- */
table.tools td:first-child { white-space: nowrap; }
table.tools td:not(:first-child), table.tools th:not(:first-child) { text-align: left; }
table.tools code { font-size: 0.76rem; color: var(--accent); background: none; padding: 0; }

/* --- refusals --- */
.refusals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin: 2rem 0;
}
@media (max-width: 680px) { .refusals { grid-template-columns: 1fr; } }
.refusal h3 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 0.6rem;
}
.refusal p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* --- close --- */
.close {
  border-top: 1px solid var(--rule);
  padding-top: 3rem;
}
.foot {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ink-faint);
}

/* the sales page has no TOC rail */
.is-sales .toc { display: none; }

/* --- what is in the kit: concrete manifest --- */
.kit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0 1rem;
}
@media (max-width: 760px) { .kit { grid-template-columns: 1fr; } }
.kit-col {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.35rem 1.3rem 1.5rem;
}
.kit-h {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 700;
  color: var(--ink); margin-bottom: 0.3rem; letter-spacing: -0.01em;
}
.kit-sub { font-family: var(--sans); font-size: 0.72rem; color: var(--ink-faint); margin: 0 0 1rem; line-height: 1.4; }
.kit-list { list-style: none; padding: 0; margin: 0; }
.kit-list li {
  font-family: var(--sans); font-size: 0.8rem; line-height: 1.5;
  color: var(--ink-soft); padding: 0.5rem 0; margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--rule) 55%, transparent);
}
.kit-list li:first-child { border-top: none; }
.kit-list strong { color: var(--ink); }
.kit-list.mono li { display: flex; flex-direction: column; gap: 0.1rem; }
.kit-list code { font-family: var(--mono); font-size: 0.76rem; color: var(--accent); background: none; padding: 0; }
.kit-t { font-size: 0.68rem; color: var(--ink-faint); }

/* --- what you bring --- */
.bring { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin: 2rem 0 0; }
@media (max-width: 640px) { .bring { grid-template-columns: 1fr; } }
.bring-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.bring-n { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); font-weight: 600; padding-top: 0.2rem; }
.bring-item div { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.bring-item strong { color: var(--ink); }

/* --- how the machine works: pipeline flow + agent roster --- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}
@media (max-width: 720px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .flow { grid-template-columns: 1fr; } }
.flow-step {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem 1.1rem 1.15rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  position: relative;
}
.flow-gate { border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); }
.fs-n { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-faint); }
.fs-t { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.fs-d { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-soft); line-height: 1.45; }
.fs-gate {
  font-family: var(--sans); font-size: 0.68rem; color: var(--accent);
  margin-top: 0.35rem; padding-top: 0.4rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  line-height: 1.4;
}
.how-sub {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 1rem; border: none; padding: 0;
}
.how-sub::before { display: none; }
.roster {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem;
  margin: 0 0 1.5rem;
}
@media (max-width: 620px) { .roster { grid-template-columns: 1fr; } }
.ra { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 0; border-top: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); }
.ra code { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); background: none; padding: 0; }
.ra span { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-soft); line-height: 1.4; }

/* Policy links and the earnings disclaimer. The disclaimer is not fine print by accident:
   this page leads with a revenue figure, and a page that does that owes the reader the
   qualification in the same breath. */
.foot-legal { margin-top: 1rem; font-size: 0.78rem; }
.foot-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot-disclaim { margin-top: 0.75rem; font-size: 0.74rem; line-height: 1.55; opacity: 0.75; max-width: 42rem; }
