/* SalesFunnels.io: John Lee theme
   Near-black canvas, off-white ink, a single violet accent, hairline borders. */
:root {
  --bg: #0b0b0e;
  --bg-2: #121216;
  --bg-3: #17171c;
  --ink: #f1f1f4;
  --soft: #c9c9d1;
  --muted: #aeaeb8;
  --faint: #7c7c88;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.2);
  --violet: #a78bfa;
  --violet-2: #c4b5fd;
  --violet-bg: rgba(167, 139, 250, 0.1);
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 6px;
  --max: 1160px;
  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 180ms var(--ease), color 180ms var(--ease); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.05rem, 1.3vw, 1.2rem); letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
::selection { background: var(--violet); color: var(--bg); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .container { padding: 0 16px; } }
.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section.soft { background: var(--bg-2); }
.section.dark { background: var(--bg-2); }
.section.pt-0 { padding-top: 0; border-top: 0; }
@media (max-width: 760px) { .section { padding: 80px 0; } }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.small { font-size: .88rem; color: var(--muted); }

.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}
.eyebrow-dark { color: var(--violet); }
.highlight, .ai-glow { color: var(--violet); }

/* Buttons: solid white or hairline outline, 4px corners */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .8rem 1.3rem; border-radius: 4px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); font: 600 .95rem/1.1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 140ms var(--ease);
}
.btn:hover { background: #fff; border-color: #fff; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary, .btn-accent { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-accent { background: var(--violet); border-color: var(--violet); color: #0b0b0e; }
.btn-accent:hover { background: var(--violet-2); border-color: var(--violet-2); }
.btn-outline, .btn-ghost-light { background: transparent; color: var(--ink); border-color: var(--line-2); font-weight: 500; }
.btn-outline:hover, .btn-ghost-light:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.55); }
.btn-lg { min-height: 52px; padding: .95rem 1.5rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(11,11,14,.82);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo img { width: 28px; height: 28px; }
.logo b { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo span { color: var(--violet); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 4px; width: 40px; height: 40px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 68px; left: 0; right: 0; background: var(--bg);
    padding: 24px; border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 520px) { .nav-actions .btn-outline { display: none; } }

/* Hero */
.hero { padding: 120px 0 104px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 520px; pointer-events: none;
  background: radial-gradient(600px 300px at 70% 20%, rgba(167,139,250,.14), transparent 70%);
}
.hero .container { position: relative; }
.hero h1 { max-width: 16ch; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--soft); max-width: 640px; margin: 28px 0 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.hero-badges { display: flex; gap: 10px 28px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-badges span { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-badges span::before { content: "●"; color: var(--violet); margin-right: 10px; font-size: .6rem; vertical-align: 2px; }

/* Grids & cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color 200ms var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 10px; }
.section.soft .card, .section.dark .card { background: var(--bg); }
.card-hl { border-color: rgba(167,139,250,.5); }
.icon {
  width: 44px; height: 44px; border-radius: 4px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--bg-3); font-size: 1.25rem; margin-bottom: 20px;
}
.commission { font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; color: var(--ink) !important; margin: 10px 0 0 !important; }
.commission-hl { font-size: 2.4rem; color: var(--violet) !important; }

/* Feature checklist */
.feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--soft); }
.feature-list li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--violet); }
@media (max-width: 960px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 76px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 28px; left: 28px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--violet);
}
.grid-4.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4.steps { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--violet); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 680px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 72px 48px; background: var(--bg-2);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 85% 0%, rgba(167,139,250,.18), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band p { color: var(--soft); font-size: 1.1rem; max-width: 620px; margin: 0 0 32px; }
@media (max-width: 560px) { .cta-band { padding: 48px 22px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; }
.stat { padding: 24px 20px 0 0; }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .stats, .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* AI Suite */
.section.ai { background: var(--bg-2); position: relative; overflow: hidden; }
.section.ai::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 15%, rgba(167,139,250,.16), transparent 70%); pointer-events: none; }
.section.ai .container { position: relative; }
.ai-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.ai-sub { font-size: 1.12rem; color: var(--soft); max-width: 560px; }
.ai-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.ai-checks li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: .95rem; }
.ai-checks li::before { content: "✓"; font-family: var(--mono); color: var(--violet); }
.ai-badge { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ai-orb { width: 300px; max-width: 100%; }
.ai-orb img { width: 100%; height: auto; }
.ai-247 { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-2); border-radius: 4px; padding: 12px 18px; background: var(--bg); }
.ai-247 b { font-family: var(--display); font-weight: 500; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--violet); }
.ai-247 span { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ai-card { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 200ms var(--ease); }
.ai-card:hover { border-color: rgba(167,139,250,.5); }
.ai-card h3 { font-size: 1.05rem; }
.ai-card p { color: var(--muted); margin: 0; font-size: .93rem; }
.ai-ic { font-size: 1.4rem; margin-bottom: 18px; }
.ai-tag { position: absolute; top: 22px; right: 20px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.ai-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.ai-trio b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.ai-trio span { color: var(--muted); font-size: .95rem; }
.ai-cta { margin-top: 48px; }
@media (max-width: 960px) {
  .ai-head { grid-template-columns: minmax(0, 1fr); }
  .ai-badge { order: -1; align-items: flex-start; }
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ai-grid, .ai-trio, .ai-checks { grid-template-columns: minmax(0, 1fr); }
  .ai-orb { width: 220px; }
}

/* Plans */
.billing-toggle { display: inline-flex; gap: 4px; margin: 0 0 32px; padding: 4px; border: 1px solid var(--line-2); border-radius: 4px; }
.billing-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 3px; font: 500 .9rem var(--sans); color: var(--muted); cursor: pointer; }
.billing-toggle button.active { background: var(--ink); color: var(--bg); }
.billing-toggle .save { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--violet); margin-left: 6px; }
.billing-toggle button.active .save { color: #6d28d9; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.plan .tag { align-self: flex-start; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 5px 10px; margin-bottom: 20px; }
.plan .tag-ai { color: var(--violet); border-color: rgba(167,139,250,.5); }
.plan-desc { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.price .amount { font-family: var(--display); font-size: 3.4rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); }
.price-note { color: var(--muted); font-size: .9rem; min-height: 1.5em; margin: 10px 0 24px; }
.plan-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.plan-list li { display: flex; gap: 12px; color: var(--soft); font-size: .95rem; }
.plan-list li::before { content: "✓"; font-family: var(--mono); color: var(--violet); }
.plan-featured { border-color: rgba(167,139,250,.55); background: linear-gradient(180deg, rgba(167,139,250,.08), var(--bg) 45%); }
.plans-note { max-width: 820px; margin: 24px 0 0; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { padding: 28px 22px; } }

.wallet-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.wallet-note .eyebrow { margin-bottom: 10px; }
.wallet-note p { color: var(--muted); margin: 0; max-width: 620px; }
@media (max-width: 700px) { .wallet-note { flex-direction: column; align-items: flex-start; padding: 24px 20px; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td { color: var(--soft); }
td.rate { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { th, td { padding: 12px; } }

/* Comparison */
.compare td:first-child { color: var(--ink); font-weight: 500; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td.cost { font-family: var(--mono); color: var(--soft); white-space: nowrap; }
.compare tr.ai-row td { background: rgba(167,139,250,.05); }
.inc { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.inc-ai { color: var(--violet); }
.compare-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.compare-totals div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-2); }
.compare-totals span { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.compare-totals b { font-family: var(--display); font-weight: 500; font-size: 2rem; letter-spacing: -0.03em; }
.compare-totals .strike { color: var(--faint); text-decoration: line-through; }
.compare-totals .hl { border-color: rgba(167,139,250,.55); }
.compare-totals .hl b { color: var(--violet); }
@media (max-width: 640px) {
  .compare-totals { grid-template-columns: minmax(0, 1fr); }
  .compare td:nth-child(2), .compare th:nth-child(2) { display: none; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .logo { margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Document pages (terms, guide) */
.doc-hero { padding: 96px 0 56px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.doc-hero p { color: var(--soft); font-size: 1.05rem; max-width: 760px; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 64px 24px 104px; }
.doc-toc { position: sticky; top: 96px; align-self: start; font-size: .9rem; }
.doc-toc h4 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.doc-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 10px; color: var(--faint); }
.doc-toc a { color: var(--soft); text-decoration: none; }
.doc-toc a:hover { color: var(--ink); }
.doc { max-width: 780px; }
.doc section { scroll-margin-top: 90px; margin-bottom: 64px; }
.doc h2 { font-size: 1.7rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.doc h3 { margin-top: 32px; font-size: 1.1rem; }
.doc p, .doc li { color: var(--soft); }
.doc ul.cols { columns: 3; column-gap: 24px; padding-left: 18px; }
.doc ul.cols li { break-inside: avoid; margin-bottom: 6px; }
.doc .table-wrap { margin: 14px 0 18px; }
.doc .rates-note { color: var(--muted); font-size: .9rem; }
.callout { border: 1px solid var(--line); border-left: 2px solid var(--violet); background: var(--bg-2); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 16px 0; color: var(--soft); }
.callout.warn { border-left-color: var(--warn); }
.callout b { color: var(--ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.pill-row li { border: 1px solid var(--line-2); border-radius: 4px; padding: 7px 12px; font-size: .9rem; color: var(--ink); }
.print-btn { margin-top: 12px; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 24px 80px; }
  .doc-toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
  .doc ul.cols { columns: 2; }
}
@media (max-width: 520px) { .doc-layout { padding: 32px 16px 64px; } }
@media (max-width: 480px) { .doc ul.cols { columns: 1; } }

/* Affiliate guide */
.guide-cover { padding: 112px 0 88px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.guide-cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 10%, rgba(167,139,250,.16), transparent 70%); pointer-events: none; }
.guide-cover .container { position: relative; }
.guide-cover h1 { max-width: 18ch; }
.guide-cover p { max-width: 640px; margin: 24px 0 32px; font-size: 1.12rem; color: var(--soft); }
.guide-cover .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.guide-cover .kpi { padding: 24px 16px 0 0; }
.guide-cover .kpi b { display: block; font-family: var(--display); font-weight: 500; font-size: 2.4rem; letter-spacing: -0.04em; line-height: 1; }
.guide-cover .kpi span { display: block; margin-top: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .guide-cover .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
.commission-table td.big { font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.commission-table tr.hl td { background: rgba(167,139,250,.08); }
.commission-table tr.hl td.big { color: var(--violet); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: tl; border-top: 1px solid var(--line); }
.timeline li { position: relative; padding: 20px 0 20px 64px; border-bottom: 1px solid var(--line); }
.timeline li::before { counter-increment: tl; content: counter(tl, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--violet); }
.timeline li b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.08rem; color: var(--ink); margin-bottom: 4px; }
.timeline li span { color: var(--muted); }

/* Checkout pages */
.checkout-page { background: var(--bg); }
.secure { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.checkout { padding: 48px 0 88px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 24px; align-items: start; }
.order-summary { position: sticky; top: 92px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.order-summary .tag { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 5px 10px; margin-bottom: 18px; }
.order-summary .tag-ai { color: var(--violet); border-color: rgba(167,139,250,.5); }
.order-summary h1 { font-size: 2rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.order-summary h3 { margin-top: 28px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.order-summary .plan-list { margin-top: 12px; padding-top: 0; border-top: 0; gap: 10px; }
.summary-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 8px; }
.summary-prices div { border: 1px solid var(--line); border-radius: 4px; padding: 16px; background: var(--bg); }
.summary-prices b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1; }
.summary-prices span { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; }
.assurances { list-style: none; padding: 18px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.assurances li::before { content: "—"; color: var(--violet); margin-right: 10px; }
.checkout-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.checkout-form h2 { font-size: 1.5rem; }
.checkout-frame { position: relative; border-radius: 4px; overflow: hidden; background: #fff; min-height: 900px; }
.checkout-frame iframe { display: block; width: 100%; height: 1150px; border: 0; background: #fff; }
.checkout-frame iframe[hidden] { display: none; }
.checkout-frame:has(iframe[hidden]) { background: var(--bg); border: 1px dashed var(--line-2); min-height: 420px; }
.checkout-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.checkout-footer { padding: 24px 0 40px; text-align: center; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.checkout-footer a { color: var(--soft); }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: minmax(0, 1fr); } .order-summary { position: static; } }
@media (max-width: 520px) { .secure { display: none; } .checkout-form, .order-summary { padding: 22px 16px; } }

/* Focus */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media print {
  :root { --bg: #fff; --bg-2: #fff; --bg-3: #fff; --ink: #111; --soft: #222; --muted: #555; --line: #ddd; --line-2: #bbb; }
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .doc-toc, .print-btn, .no-print { display: none !important; }
  .guide-cover::before { display: none; }
  .doc-layout { display: block; padding: 24px 0; }
  .doc section { break-inside: avoid-page; }
  a { color: inherit; }
}

/* Numbered markers instead of emoji icons */
.grid, .ai-grid { counter-reset: ic step; }
.icon, .ai-ic {
  width: auto; height: auto; border: 0; background: none; display: block; font-size: 0; margin-bottom: 22px;
}
.icon::before, .ai-ic::before {
  counter-increment: ic; content: counter(ic, decimal-leading-zero);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: var(--violet);
}
.order-summary > .small { margin: 18px 0 0; }

/* /jlg: John Lee hero and founder section */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; }
.hero-jlg h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.portrait, .stage { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: #1b1b21; }
.portrait::after, .stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.portrait img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(transparent, rgba(11,11,14,.92)); }
.portrait figcaption b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.portrait figcaption span { display: block; color: var(--soft); font-size: .85rem; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.stage img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.founder p { color: var(--soft); }
.founder .hero-cta { margin-top: 28px; }
@media (max-width: 900px) {
  .hero-split, .founder-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .portrait { max-width: 420px; }
}

/* Checkout: summary on top, embedded checkout at full width so funnel
   pages render at desktop width instead of a squeezed mobile layout. */
.checkout-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.order-summary { position: static; }
@media (min-width: 900px) {
  .order-summary { column-count: 2; column-gap: 48px; }
  .order-summary > * { break-inside: avoid; }
  .order-summary > h3 { break-before: column; margin-top: 0; }
}
.checkout-form { padding: 24px; }
.checkout-frame iframe { height: 1500px; }
@media (max-width: 520px) { .checkout-form { padding: 12px; } .checkout-frame iframe { height: 2200px; } }
.checkout-loading[hidden] { display: none; }

/* Let the embedded checkout blend into the dark card: no white backing,
   so a transparent or #121216 funnel page shows the site background. */
.checkout-frame, .checkout-frame iframe { background: transparent; }
.checkout-frame { border-radius: 4px; }

/* Checkout panel: a light card so the white funnel order form blends in
   seamlessly (the form itself can't be restyled from this site). */
.checkout-form { background: #ffffff; border-color: #ffffff; color: #111114; padding: 32px 28px; }
.checkout-form h2 { color: #111114; }
.checkout-form .small { color: #5b5b66; }
.checkout-form a { color: #111114; text-decoration-color: rgba(17,17,20,.3); }
.checkout-form a:hover { text-decoration-color: #111114; }
.checkout-frame, .checkout-frame iframe { background: #ffffff; }
.checkout-loading { color: #5b5b66; }
.checkout-frame:has(iframe[hidden]) { background: #f6f6f8; border: 1px dashed #d4d4da; }
.checkout-form .secure-note { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #5b5b66; margin: -6px 0 18px; }
@media (max-width: 520px) { .checkout-form { padding: 20px 12px; } }
