/* LearnChatGPT: the LearnExcel sales-letter layout, rebuilt for today. */
:root {
  color-scheme: light;
  --ink: #17191c;
  --ink-2: #3d4248;
  --muted: #646b73;
  --rule: #e3e1db;
  --paper: #ffffff;
  --desk: #f3f1ec;
  --grid: #e4e2dc;
  --red: #b42318;
  --red-deep: #8f1c13;
  --blue: #1f4fbf;
  --gold: #f4c247;
  --gold-deep: #d9a521;
  --night: #15202b;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --s-12: 0.75rem;
  --s-14: 0.875rem;
  --s-16: 1rem;
  --s-19: 1.1875rem;
  --s-24: 1.5rem;
  --s-32: 2rem;
  --s-44: 2.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--s-19);
  line-height: 1.65;
  /* The spreadsheet gridlines of the original LearnExcel background. */
  background-color: var(--desk);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 96px 24px;
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; font-family: var(--sans); font-size: var(--s-14); z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- the sheet ---------- */
.sheet {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(23, 25, 28, 0.06), 0 30px 60px -30px rgba(23, 25, 28, 0.25);
}

/* ---------- masthead + nav ---------- */
.masthead {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding: 36px 48px 26px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--sans); font-weight: 800; font-size: var(--s-32); letter-spacing: -0.03em; line-height: 1; }
.brand-name span { color: var(--red); }
.tagline { max-width: 330px; margin: 0; font-style: italic; color: var(--muted); font-size: var(--s-14); line-height: 1.55; text-align: right; }

.nav { background: var(--ink); }
.nav-inner { display: flex; align-items: center; gap: 4px; padding: 0 36px; min-height: 48px; }
.nav a { color: #e9e7e1; font-family: var(--sans); font-size: var(--s-14); text-decoration: none; padding: 13px 12px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-buy { margin-left: auto; background: var(--gold); color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 4px; }
.nav .nav-buy:hover { background: #ffd062; color: var(--ink); text-decoration: none; }

/* ---------- two-column letter ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 56px;
  padding: 48px 48px 64px;
}
.letter { min-width: 0; }
.letter p { margin: 0 0 1.05em; }
.letter h2 { font-family: var(--sans); font-size: var(--s-24); line-height: 1.25; letter-spacing: -0.015em; margin: 1.6em 0 0.6em; }

.headline {
  font-family: var(--sans); font-weight: 800; font-size: var(--s-44); line-height: 1.08;
  letter-spacing: -0.03em; margin: 0 0 32px; text-wrap: balance;
}
.headline em { font-style: normal; color: var(--red); display: block; }

.subhead { font-family: var(--serif); font-weight: 700; font-size: var(--s-24); line-height: 1.35; color: var(--red); margin: -14px 0 6px !important; text-wrap: balance; }
.strap { font-family: var(--sans); font-size: var(--s-16); color: var(--muted); margin: 0 0 30px !important; }
.opening { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.product { width: 100%; height: auto; }
.questions { list-style: none; margin: 0 0 18px; padding: 0; }
.questions li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  color: var(--red-deep); font-weight: 700; line-height: 1.4;
}
.questions li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px;
  background: var(--red); transform: rotate(45deg);
}
.read-on { font-weight: 700; margin: 0; }


.portrait {
  float: left; width: 168px; margin: 6px 28px 12px 0; shape-outside: margin-box;
}
.portrait-frame {
  aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 10px 24px -14px rgba(23, 25, 28, 0.35);
  display: grid; place-items: center; position: relative;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.portrait-initials { font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--gold); line-height: 1; }
.portrait figcaption { font-family: var(--sans); font-size: var(--s-12); color: var(--muted); margin-top: 8px; line-height: 1.4; }
.portrait figcaption strong { display: block; color: var(--ink); font-size: var(--s-14); }
.lead { font-size: var(--s-24); line-height: 1.4; font-weight: 600; margin-bottom: 0.8em !important; }

.reasons { list-style: none; margin: 8px 0 28px; padding: 0; clear: both; }
.reasons li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--rule); }
.reasons li:last-child { border-bottom: 1px solid var(--rule); }
.reasons svg { width: 24px; height: 24px; margin-top: 3px; }
.reasons strong { display: block; font-family: var(--sans); font-size: var(--s-19); line-height: 1.35; letter-spacing: -0.01em; }
.reasons span { display: block; color: var(--ink-2); font-size: var(--s-16); line-height: 1.55; margin-top: 2px; }

.three { list-style: none; counter-reset: three; margin: 6px 0 26px; padding: 0; display: grid; gap: 12px; }
.three li {
  counter-increment: three; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px;
  background: #faf9f6; border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px;
}
.three li::before {
  content: counter(three); font-family: var(--sans); font-weight: 800; font-size: var(--s-24);
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold);
  display: grid; place-items: center; line-height: 1;
}
.three strong { display: block; font-family: var(--sans); font-size: var(--s-19); line-height: 1.3; }
.three span { display: block; color: var(--ink-2); font-size: var(--s-16); line-height: 1.5; margin-top: 3px; }

.pull {
  margin: 4px 0 26px; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-style: italic; color: var(--ink-2);
}

/* ---------- bonuses ---------- */
.bonus-title { color: var(--red); font-family: var(--serif) !important; font-style: italic; font-size: var(--s-32) !important; letter-spacing: 0 !important; }
.bonuses { list-style: none; margin: 0 0 30px; padding: 0; }
.bonuses li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--rule); }
.bonuses li:last-child { border-bottom: 1px solid var(--rule); }
.bonus-badge { width: 84px; height: 84px; }
.bonuses h3 { font-family: var(--sans); font-size: var(--s-19); line-height: 1.3; margin: 2px 0 4px; }
.bonuses h3 .free { color: var(--red); font-size: var(--s-14); letter-spacing: 0.06em; margin-left: 6px; }
.bonuses p { margin: 0 !important; font-size: var(--s-16); color: var(--ink-2); line-height: 1.55; }

/* ---------- guarantee, price, cart ---------- */
.seal { width: 230px; margin: 34px auto 6px; }
.close { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: center; margin: 26px 0 8px; }
.stamp-wrap { display: grid; place-items: center; }
.stamp {
  display: inline-block; transform: rotate(-7deg); padding: 10px 18px; border: 5px solid var(--ink);
  border-radius: 8px; font-family: var(--sans); font-weight: 900; font-size: 1.625rem; line-height: 1;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); text-align: center;
  filter: url(#stamp-ink);
}
.stamp small { display: block; font-size: var(--s-14); letter-spacing: 0.3em; margin-top: 6px; font-weight: 800; }
.price-copy p { text-align: center; font-weight: 700; margin-bottom: 0.7em !important; }
.price-copy .ask { font-family: var(--sans); font-size: var(--s-24); letter-spacing: -0.01em; }
.price-copy .amount { font-family: var(--sans); font-size: 4.5rem; line-height: 1; letter-spacing: -0.04em; color: var(--red); margin: 6px 0 10px !important; }
.price-copy .amount span { font-size: var(--s-24); letter-spacing: 0; color: var(--ink); margin-left: 6px; }

.arrow { width: 92px; margin: 22px auto 10px; }
@media (prefers-reduced-motion: no-preference) {
  .arrow { animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
}
.cart { text-align: center; }
.buy {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 340px; padding: 16px 32px 14px; border-radius: 6px;
  background: linear-gradient(#ffd666, var(--gold)); color: var(--ink);
  border: 2px solid var(--gold-deep); box-shadow: 0 2px 0 var(--gold-deep), 0 14px 28px -14px rgba(143, 28, 19, 0.45);
  font-family: var(--sans); text-decoration: none;
}
.buy b { font-size: var(--s-32); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.buy small { font-size: var(--s-14); font-weight: 600; color: var(--ink-2); }
.buy:hover { background: linear-gradient(#ffdd7a, #f7ca57); text-decoration: none; }
.buy:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--gold-deep); }
.text-buy { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: var(--s-16); font-weight: 600; }
.pay { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.pay li { font-family: var(--sans); font-size: var(--s-12); font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 4px; padding: 4px 8px; background: #fff; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: var(--s-14); color: var(--ink-2); }
.trust svg { width: 20px; height: 20px; flex: none; }
.after-note { margin-top: 28px !important; text-align: center; font-size: var(--s-16); line-height: 1.6; color: var(--ink-2); }
.price-go { text-align: center; font-weight: 700; }

.signoff { margin-top: 36px; }
.signature { font-family: var(--serif); font-style: italic; font-size: var(--s-44); line-height: 1; color: var(--ink); margin: 4px 0 2px !important; }
.ps { margin-top: 26px; padding-top: 18px; border-top: 1px dashed #cfccc4; }
.ps strong:first-child { color: var(--red); }

/* ---------- sidebar ---------- */
.sidebar { font-size: var(--s-16); line-height: 1.55; }
.side-block + .side-block { margin-top: 44px; }
.side-title { font-family: var(--sans); font-size: var(--s-16); font-weight: 800; margin: 0; letter-spacing: -0.005em; }
.side-sub { font-family: var(--sans); font-weight: 700; color: var(--red); margin: 2px 0 0; font-size: var(--s-16); }
.side-note { color: var(--muted); font-size: var(--s-14); margin: 8px 0 0; line-height: 1.5; }
.quote { margin: 18px 0 0; padding: 0 0 18px; border-bottom: 1px dashed #cfccc4; }
.quote p { margin: 0; color: var(--blue); }
.quote footer { margin-top: 8px; font-weight: 700; font-size: var(--s-14); color: var(--ink-2); }

.case { margin: 16px 0 0; padding: 0 0 16px; border-bottom: 1px dashed #cfccc4; }
.case h3 { font-family: var(--sans); font-size: var(--s-16); font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: var(--blue); }
.case p { margin: 0 0 4px; font-size: var(--s-14); line-height: 1.5; color: var(--ink-2); }
.case b { color: var(--ink); }
.case .case-after b { color: var(--red); }
.case .case-ref { margin: 6px 0 0; font-family: var(--sans); font-size: var(--s-12); font-weight: 600; color: var(--muted); }
.side-cred { margin: 16px 0 0; font-size: var(--s-14); font-style: italic; color: var(--muted); line-height: 1.5; }

.toc { margin: 18px 0 0; }
.toc-part { margin: 0 0 16px; }
.toc-part h3 { font-family: var(--serif); font-size: var(--s-16); font-weight: 700; margin: 0 0 4px; line-height: 1.35; display: flex; justify-content: space-between; gap: 10px; }
.toc-part h3 span { font-family: var(--sans); font-size: var(--s-12); font-weight: 600; color: var(--muted); white-space: nowrap; padding-top: 3px; font-variant-numeric: tabular-nums; }
.toc-part ol { margin: 0; padding-left: 1.5em; font-size: var(--s-14); line-height: 1.6; color: var(--ink-2); }
.toc-part a { font-weight: 600; }

.stats { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: var(--s-14); }
.stats caption { text-align: left; font-family: var(--sans); font-weight: 800; font-size: var(--s-16); padding-bottom: 6px; }
.stats th, .stats td { padding: 5px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.stats thead th { font-family: var(--sans); font-size: var(--s-12); color: var(--muted); font-weight: 600; text-align: left; }
.stats thead th + th, .stats td { text-align: right; padding-left: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats tbody th { font-weight: 400; text-align: left; padding-right: 10px; }
.stats tfoot th { text-align: left; }
.stats tfoot th, .stats tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 7px; }
.stats-foot { font-weight: 700; margin: 12px 0 0; }

.toc-toggle { margin: 4px 0 6px; padding: 10px 14px; width: 100%; border: 1px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: var(--s-14); cursor: pointer; }
.toc-toggle[hidden] { display: none; }

.side-cta { position: sticky; top: 24px; margin-top: 44px; padding: 22px 20px; border: 2px solid var(--ink); border-radius: 8px; background: #fffdf6; text-align: center; }
.side-cta p { margin: 0; }
.side-cta-name { font-family: var(--sans); font-weight: 800; font-size: var(--s-16); }
.side-cta-price { font-family: var(--sans); font-weight: 800; font-size: var(--s-44); line-height: 1.1; letter-spacing: -0.03em; color: var(--red); margin: 4px 0 8px !important; }
.side-cta-price span { font-size: var(--s-16); color: var(--ink); letter-spacing: 0; }
.side-cta ul { list-style: none; margin: 0 0 16px; padding: 0; font-size: var(--s-14); line-height: 1.5; color: var(--ink-2); }
.side-cta li + li { margin-top: 4px; }
.buy.buy-small { min-width: 0; width: 100%; padding: 10px 14px; }
.buy.buy-small b { font-size: var(--s-19); }

/* ---------- footer ---------- */
.foot { border-top: 4px solid var(--ink); margin: 0 48px; padding: 36px 0 26px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-family: var(--sans); font-size: var(--s-14); font-weight: 800; margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: var(--s-14); line-height: 1.5; }
.foot li { margin-bottom: 7px; }
.foot p { font-size: var(--s-14); line-height: 1.55; color: var(--ink-2); margin: 0; }
.fineprint { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: var(--s-12); color: var(--muted); }
.fineprint b { color: var(--ink); }

/* ---------- mobile buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: none;
  align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: var(--s-14);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.buybar.show { transform: translateY(0); }
.buybar span { line-height: 1.3; }
.buybar strong { display: block; font-size: var(--s-16); }
.buybar a { flex: none; background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none; padding: 10px 16px; border-radius: 4px; }

/* ---------- inner pages ---------- */
.inner { padding: 52px 48px 64px; max-width: 760px; }
.inner h1 { font-family: var(--sans); font-weight: 800; font-size: var(--s-44); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; }
.inner .intro { font-size: var(--s-24); line-height: 1.45; color: var(--ink-2); margin: 0 0 30px; }
.inner h2 { font-family: var(--sans); font-size: var(--s-24); letter-spacing: -0.015em; margin: 40px 0 10px; line-height: 1.25; }
.inner p, .inner li { margin: 0 0 0.9em; }
.panel { border: 1px solid var(--rule); border-radius: 8px; padding: 22px 24px; background: #faf9f6; margin: 22px 0; }
.panel > :last-child { margin-bottom: 0; }
.video {
  aspect-ratio: 16 / 9; border-radius: 8px; background: linear-gradient(160deg, #26333f, var(--night));
  display: grid; place-items: center; text-align: center; color: #d8dde2; font-family: var(--sans); font-size: var(--s-14);
  margin: 18px 0 8px;
}
.video svg { width: 64px; height: 64px; margin: 0 auto 10px; }
.lesson-video { margin: 18px 0 6px; }
.lesson-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--night); box-shadow: 0 0 0 1px var(--rule), 0 20px 40px -24px rgba(23, 25, 28, 0.45); }
.lesson-video figcaption { font-family: var(--sans); font-size: var(--s-12); color: var(--muted); margin-top: 8px; }
.transcript { margin: 4px 0 18px; font-size: var(--s-16); color: var(--ink-2); }
.transcript summary { cursor: pointer; font-family: var(--sans); font-size: var(--s-14); font-weight: 600; color: var(--blue); }
.transcript p { margin: 10px 0 0 !important; line-height: 1.6; }
.prompt { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: var(--s-14); line-height: 1.65; white-space: pre-wrap; background: var(--night); color: #eef1f4; border-radius: 8px; padding: 18px 20px; margin: 14px 0 20px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 22px; }
.ba div { border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; font-size: var(--s-16); line-height: 1.55; }
.ba h3 { font-family: var(--sans); font-size: var(--s-12); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 6px; color: var(--muted); }
.ba .after h3 { color: var(--red); }
.order { width: 100%; border-collapse: collapse; font-size: var(--s-16); margin: 8px 0 0; }
.order td { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.order td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order tfoot td { font-family: var(--sans); font-weight: 800; border-bottom: 0; border-top: 2px solid var(--ink); }
.btn-disabled { display: inline-block; margin-top: 18px; padding: 14px 22px; border-radius: 6px; background: #e8e6e0; color: var(--ink-2); font-family: var(--sans); font-weight: 700; font-size: var(--s-16); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; padding: 40px 32px 56px; }
  .masthead { padding: 30px 32px 22px; }
  .nav-inner { padding: 0 20px; }
  .foot { margin: 0 32px; }
  .opening { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .close { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1.125rem; background-attachment: scroll; }
  .masthead { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 16px 16px; }
  .brand-name { font-size: 1.625rem; }
  .brand-mark { width: 34px; height: 34px; }
  .tagline { text-align: left; max-width: none; }
  .nav-inner { padding: 0 6px; }
  .nav .wide-only { display: none; }
  .nav a { padding: 12px 10px; white-space: nowrap; }
  .nav .nav-buy { padding: 7px 12px; }

  /* One column. The sidebar's quotes and contents slot into the letter where they make the argument. */
  .layout { display: flex; flex-direction: column; gap: 0; padding: 28px 16px 40px; }
  .letter, .sidebar { display: contents; }
  #top { order: 1; } #story { order: 2; } #proof { order: 3; } #method { order: 4; }
  #course { order: 5; } #contents { order: 6; } #bonuses { order: 7; } #guarantee { order: 8; }
  #price { order: 9; } #ps { order: 10; }
  .side-block { margin: 30px 0 6px; padding: 22px 18px; background: #faf9f6; border: 1px solid var(--rule); border-radius: 8px; }
  .side-block + .side-block { margin-top: 30px; }
  .side-cta { display: none; }

  .headline { font-size: 2.125rem; margin-bottom: 22px; }
  .subhead { font-size: var(--s-19); margin-top: -8px !important; }
  .opening { grid-template-columns: 1fr; gap: 18px; }
  .product { max-width: 240px; margin: 0 auto; }
  .portrait { width: 116px; margin: 4px 18px 8px 0; }
  .portrait-initials { font-size: 44px; }
  .lead { font-size: var(--s-19); }
  .bonus-title { font-size: var(--s-24) !important; }
  .bonuses li { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .bonus-badge { width: 60px; height: 60px; }
  .seal { width: 190px; }
  .stamp { font-size: var(--s-24); }
  .price-copy .amount { font-size: 3.5rem; }
  .buy { min-width: 0; width: 100%; padding: 14px 16px 12px; }
  .buy b { font-size: 1.625rem; }
  .foot { margin: 0 16px; padding-bottom: 90px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .buybar { display: flex; }
  .inner { padding: 32px 16px 48px; }
  .inner h1 { font-size: 2.125rem; }
  .inner .intro { font-size: var(--s-19); }
  .ba { grid-template-columns: 1fr; }
}

/* ---------- checkout ---------- */
.order-summary { border: 1px solid var(--rule); border-radius: 8px; background: #faf9f6; padding: 0 22px; margin: 0 0 22px; }
.order-summary summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: var(--s-16); }
.order-summary[open] summary { border-bottom: 1px solid var(--rule); }
.order-summary .order { margin-bottom: 14px; }
.contact-card { border: 2px solid var(--ink); border-radius: 8px; padding: 22px 24px; background: #fff; }
.contact-card label { display: block; font-family: var(--sans); font-weight: 700; font-size: var(--s-16); margin-bottom: 8px; }
.contact-card input { width: 100%; font: inherit; font-family: var(--sans); font-size: var(--s-19); padding: 12px 14px; border: 1px solid #b9b6ae; border-radius: 6px; background: #fff; color: var(--ink); }
.contact-card input:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.contact-card input[aria-invalid="true"] { border-color: var(--red); }
.contact-card .help { font-family: var(--sans); font-size: var(--s-14); color: var(--muted); margin: 8px 0 0 !important; }
.form-error { font-family: var(--sans); font-size: var(--s-14); font-weight: 600; color: var(--red); margin: 10px 0 0 !important; }
.checkout-status { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: var(--s-14); color: var(--ink-2); margin: 14px 0 0 !important; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--ink); animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.buy.buy-form { width: 100%; min-width: 0; margin-top: 16px; padding: 12px 18px; cursor: pointer; font: inherit; font-family: var(--sans); }
.buy.buy-form b { font-size: var(--s-19); }
.buy.buy-form:disabled { opacity: 0.6; cursor: progress; }
.buy.buy-form[hidden] { display: none; }
.payment-placeholder, .payment-failure { margin-top: 18px; border: 1px dashed #cfccc4; border-radius: 8px; padding: 18px 22px; }
.payment-placeholder h2, .payment-failure h2 { font-size: var(--s-19) !important; margin: 0 0 6px !important; }
.payment-placeholder p, .payment-failure p { font-size: var(--s-16); color: var(--ink-2); margin: 0 0 8px !important; }
.payment-placeholder[hidden], .payment-failure[hidden], .form-error[hidden], .checkout-status[hidden] { display: none; }
.embedded-payment { margin-top: 18px; }
.embedded-payment:empty { display: none; }
.button-link { display: inline-block; font: inherit; font-family: var(--sans); font-weight: 700; font-size: var(--s-16); background: var(--ink); color: #fff; border: 0; border-radius: 6px; padding: 12px 18px; text-decoration: none; cursor: pointer; }
.button-link:hover { background: #2b2f34; text-decoration: none; }
.guarantee-note { font-size: var(--s-16); color: var(--ink-2); margin-top: 22px !important; }
.order-state .test-note { font-family: var(--sans); font-size: var(--s-14); color: var(--muted); }

.access-link input { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: var(--s-14); padding: 10px 12px; border: 1px solid #b9b6ae; border-radius: 6px; background: #fff; color: var(--ink); }
.access-link .help { font-family: var(--sans); font-size: var(--s-14); color: var(--muted); }

/* ---------- course player (members area) ---------- */
.course-player { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding: 36px 48px 56px; }
.cp-kicker { font-family: var(--sans); font-weight: 800; font-size: var(--s-14); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin: 0; }
.cp-stage h1 { font-family: var(--sans); font-weight: 800; font-size: var(--s-32); letter-spacing: -0.02em; line-height: 1.2; margin: 6px 0 18px; }
.cp-stage video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--night); }
.cp-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 6px; flex-wrap: wrap; }
.cp-btn { font: inherit; font-family: var(--sans); font-weight: 700; font-size: var(--s-16); background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 16px; cursor: pointer; }
.cp-btn-next { background: var(--gold); border-color: var(--gold-deep); }
.cp-btn:disabled { opacity: 0.45; cursor: default; }
.cp-done { font-family: var(--sans); font-size: var(--s-14); color: var(--ink-2); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cp-done input { width: 18px; height: 18px; accent-color: var(--green, #1f7a4d); }
.cp-list { font-family: var(--sans); font-size: var(--s-14); }
.cp-list > ol { list-style: none; margin: 0; padding: 0; }
.cp-progress { font-weight: 700; margin: 0 0 14px; }
.cp-part > span { display: block; font-weight: 800; font-size: var(--s-14); margin: 16px 0 6px; }
.cp-part ol { list-style: none; margin: 0; padding: 0; }
.cp-part a { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.cp-part a:hover { background: var(--desk); }
.cp-part a.is-current { background: var(--goldTint, #fdf3d6); box-shadow: inset 3px 0 0 var(--gold-deep); font-weight: 700; }
.cp-tick { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b9b6ae; }
.cp-part a.is-done .cp-tick { background: #1f7a4d; border-color: #1f7a4d; box-shadow: inset 0 0 0 3px #fff; }
.cp-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: var(--s-12); }
.cp-bonuses { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 8px; background: #faf9f6; }
.cp-bonuses h2 { font-size: var(--s-16); margin: 0 0 8px; }
.cp-bonuses ul { margin: 0; padding-left: 18px; line-height: 1.8; }
@media (max-width: 1000px) { .course-player { grid-template-columns: 1fr; padding: 24px 16px 40px; } }

/* ---------- business landing page ---------- */
.lead-box { border: 2px solid var(--ink); border-radius: 10px; padding: 26px 28px; background: #fffdf6; margin: 10px 0 8px; }
.lead-box h2 { margin: 0 0 6px !important; font-size: var(--s-24) !important; }
.lead-box > p { font-size: var(--s-16); color: var(--ink-2); margin: 0 0 16px !important; }
.lead-form label { display: block; font-family: var(--sans); font-weight: 700; font-size: var(--s-16); margin-bottom: 8px; }
.lead-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-row input { flex: 1 1 240px; font: inherit; font-family: var(--sans); font-size: var(--s-19); padding: 12px 14px; border: 1px solid #b9b6ae; border-radius: 6px; background: #fff; color: var(--ink); }
.lead-row input:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.lead-row .buy.buy-form { width: auto; flex: 0 0 auto; margin-top: 0; }
.lead-form .help { font-family: var(--sans); font-size: var(--s-14); color: var(--muted); margin: 10px 0 0 !important; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-done p { font-size: var(--s-16); margin: 0 0 8px !important; }
.pack-list li { grid-template-columns: 1fr; }
.lead-done[hidden], .lead-form[hidden] { display: none; }
@media (max-width: 760px) { #pack { order: 7; } .lead-row .buy.buy-form { width: 100%; } }

/* Longer course brand stays legible on small screens. */
.brand-name { white-space: normal; line-height: 1.05; font-size: clamp(1.35rem, 2.8vw, 2rem); }
.brand-name span { display: block; font-size: .78em; letter-spacing: .02em; margin-top: .1em; }
