/* EBCoach. Black and gold, warm light content bands. Poppins headings, Lato body (self hosted). 8px rhythm. */
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-wght-600.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("/fonts/Lato-wght-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("/fonts/Lato-wght-700.woff2") format("woff2"); }
:root {
  --ink: #0b0b0b; --ink-2: #171717; --gold: #cc8800; --gold-hi: #e5a734; --gold-text: #8a5a00;
  --char: #2b2b2b; --slate: #394b56; --light: #f0f2f4; --paper: #ffffff; --on-dark: #f2efe8; --on-dark-2: #c9c4b8;
  --r: 12px; --sec: 56px; --wrap: 1160px;
  --fs-1: clamp(2.2rem, 1.6rem + 2.6vw, 3.5rem); --fs-2: clamp(1.75rem, 1.4rem + 1.4vw, 2.44rem); --fs-3: 1.25rem;
}
@media (min-width: 900px) { :root { --sec: 96px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 "Lato", system-ui, sans-serif; color: var(--char); background: var(--paper); }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
h1, h2, h3 { font-family: "Poppins", "Helvetica Neue", Arial, sans-serif; font-weight: 600; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-1); } h2 { font-size: var(--fs-2); } h3 { font-size: var(--fs-3); }
p { margin: 0 0 16px; max-width: 68ch; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; } .center { text-align: center; } .center p { margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -64px; background: var(--gold-hi); color: var(--ink); padding: 8px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 8px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 11, 0.96); border-bottom: 1px solid #2a2418; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { width: 168px; height: auto; }
.menu-btn { width: 48px; height: 48px; background: transparent; border: 1px solid #4a3d22; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--on-dark); position: relative; content: ""; }
.bars::before { position: absolute; top: -7px; } .bars::after { position: absolute; top: 7px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--ink); padding: 16px 24px 24px; border-bottom: 1px solid #2a2418; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav li a { display: block; padding: 12px 0; color: var(--on-dark); text-decoration: none; font-weight: 700; min-height: 44px; }
.nav li a[aria-current="page"] { color: var(--gold-hi); }
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { display: flex; position: static; padding: 0; background: none; border: 0; align-items: center; gap: 24px; }
  .nav ul { display: flex; gap: 24px; margin: 0; }
  .nav li a { padding: 12px 0; }
  .brand img { width: 212px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 700 1rem/1.2 "Lato", sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-hi); color: var(--ink); }
.btn-gold:hover { background: #f0b850; }
.btn-line { background: transparent; color: var(--char); border-color: var(--char); }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 1.0625rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.link-gold { color: var(--gold-hi); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.link-dark { color: var(--gold-text); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

/* Dark starfield bands (pure CSS, no image) */
.starfield { background-color: var(--ink); color: var(--on-dark);
  background-image: radial-gradient(1px 1px at 12% 22%, #e5a73480, transparent 60%), radial-gradient(1px 1px at 72% 12%, #ffffff60, transparent 60%), radial-gradient(1.5px 1.5px at 38% 68%, #e5a73466, transparent 60%), radial-gradient(1px 1px at 88% 58%, #ffffff50, transparent 60%), radial-gradient(1px 1px at 58% 88%, #e5a73460, transparent 60%), radial-gradient(ellipse at 80% 0%, #2a1f0a 0%, transparent 55%), radial-gradient(ellipse at 0% 100%, #1d1608 0%, transparent 50%); }
.starfield p { color: var(--on-dark-2); }
.starfield .lead { color: var(--on-dark); }
.eyebrow { font: 700 0.875rem/1.4 "Lato", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 16px; }
.eyebrow-dark { color: var(--gold-text); }
.eyebrow-brand { text-transform: none; letter-spacing: 0.06em; }
.lead { font-size: 1.1875rem; }
.sub { color: var(--slate); }

/* Hero */
.hero { padding: 48px 0 var(--sec); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 24px; }
.hero-cta.center { justify-content: center; }
@media (min-width: 960px) { .hero { padding-top: 80px; } .hero-in { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.video { margin: 0; }
.video-play { position: relative; padding: 0; border: 1px solid #4a3d22; border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; width: 100%; display: block; }
.video-play img { width: 100%; }
.play { position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 10px rgba(229, 167, 52, 0.25); }
.play::after { content: ""; position: absolute; left: 32px; top: 24px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--ink); }
.video figcaption { font-size: 0.9375rem; color: var(--on-dark-2); margin-top: 12px; }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }

/* Method */
.method { padding: var(--sec) 0; background: var(--light); }
.method-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .method-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.rounded { border-radius: var(--r); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: var(--paper); padding: 24px; border-radius: var(--r); border-left: 4px solid var(--gold); }
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; } .steps p { margin: 0; color: var(--slate); }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold-hi); display: grid; place-items: center; font: 600 1.25rem "Poppins", sans-serif; }

/* Free value */
.free, .resources, .faq, .next, .aff, .form-sec, .plans-page { padding: var(--sec) 0; }
.free-grid, .res-grid, .plan-grid { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 760px) { .free-grid, .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Plan cards: three across only when each card has room for its price; stacked and centered below that. */
.plan-grid { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
.card, .res { background: var(--paper); border: 1px solid #e3e0d8; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card .btn, .res a { margin-top: auto; align-self: flex-start; }
.card-img { border-radius: 8px; margin-bottom: 8px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-img.contain { object-fit: contain; background: var(--ink); }
.card-dark { background: var(--ink); color: var(--on-dark); border-color: #4a3d22; justify-content: center; }
.card-dark p { color: var(--on-dark-2); }
.resources { background: var(--light); }

/* Plans */
.plans-teaser { padding: var(--sec) 0; }
.plans-teaser h2 { color: #fff; text-align: center; }
.plan { background: var(--paper); color: var(--char); border-radius: var(--r); padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; border: 1px solid #e3e0d8; }
.plan p { color: var(--slate); }
.plan-featured { border: 3px solid var(--gold-hi); }
.plan-price { font: 600 2rem/1.1 "Poppins", sans-serif; color: var(--char) !important; margin: 0; }
.plan-call { font-size: 1.25rem; }
.plan-note { font-weight: 700; color: var(--gold-text) !important; }
.plan .btn { margin-top: auto; align-self: stretch; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }
.equity-line { text-align: center; margin: 32px auto 0; font-weight: 700; }

/* FastTrack */
.fast { background: var(--ink); color: var(--on-dark); padding: var(--sec) 0; border-top: 1px solid #2a2418; }
.fast h2 { color: #fff; }
.fast p { color: var(--on-dark-2); }
.fast-in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .fast-in { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.fast-price { font: 600 2.25rem/1.1 "Poppins", sans-serif; color: var(--gold-hi) !important; }
.fast-price span { font: 400 1rem "Lato", sans-serif; color: var(--on-dark-2); }
.fast-equity { font-size: 0.9375rem; border-left: 3px solid var(--gold-hi); padding-left: 16px; }
.ticks-dark li { color: var(--on-dark); }
.ticks-dark li::before { border-color: var(--gold-hi); }
.teaser-more { text-align: center; margin: 32px auto 0; color: var(--on-dark-2); }

/* Guarantee */
.guarantee { background: #fbf6ea; padding: 48px 0; border-top: 1px solid #efe2c2; border-bottom: 1px solid #efe2c2; }
.guarantee-in { display: grid; gap: 24px; align-items: center; justify-items: center; text-align: center; }
.seal { width: 160px; }
@media (min-width: 760px) { .guarantee-in { grid-template-columns: 200px 1fr; justify-items: start; text-align: left; } .guarantee-in.no-seal { grid-template-columns: 1fr; max-width: 820px; } .seal { width: 200px; } }

/* FAQ */
details { border-bottom: 1px solid #e3e0d8; padding: 8px 0; }
summary { cursor: pointer; font: 600 1.125rem/1.4 "Poppins", sans-serif; padding: 12px 0; min-height: 44px; list-style-position: outside; }
details p { color: var(--slate); }

/* Final CTA, page hero */
.final, .page-hero { padding: var(--sec) 0; }
.final h2, .page-hero h1 { color: #fff; }

/* Forms */
.form-sec.alt { background: var(--light); }
.form-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.form { display: grid; gap: 16px; max-width: 640px; }
.fld label { display: block; font-weight: 700; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--slate); }
.hint { font-size: 0.9375rem; color: var(--slate); margin: -4px 0 8px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; color: var(--char); background: var(--paper); border: 2px solid #8a96a0; border-radius: 10px; }
/* Checkboxes and radios stay compact (Founder t650u: the consent box rendered full width on iPad and laptop). */
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; border-radius: 4px; accent-color: var(--gold); flex: none; }
textarea { min-height: 120px; resize: vertical; }
[aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9375rem; color: var(--slate); margin: 0; }
/* Forms inside centered bands sit on the center line; their own text stays left aligned. A single-column form
   section is only as wide as its form, so the heading, text and form share one centered column. */
.form-sec .narrow { max-width: 688px; }
.center .form { margin: 32px auto 0; text-align: left; }
/* Pay page: consent sits in a quiet panel with the thin gold trim, at small text size, box beside the first line. */
.checkout-form { max-width: 560px; justify-items: center; }
.checkout-form > * { width: 100%; }
.checkout-form .btn { width: auto; min-width: 240px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 16px 20px; border: 1px solid rgba(229, 167, 52, 0.45); border-radius: var(--r); background: rgba(255, 255, 255, 0.03); }
.consent input[type="checkbox"] { margin-top: 3px; }
.consent label { font-size: 0.9375rem; line-height: 1.55; color: var(--on-dark-2); cursor: pointer; }
.consent a, .checkout-missing a, .starfield .lead a { color: var(--gold-hi); }
.checkout-missing { margin: 0; padding: 12px 16px; border-left: 3px solid var(--gold-hi); background: rgba(229, 167, 52, 0.08); font-size: 0.9375rem; color: var(--on-dark) !important; border-radius: 0 8px 8px 0; }
.checkout-missing:focus { outline: none; }
.aside, .panel { background: var(--light); border-radius: var(--r); padding: 32px; }
.aside h2, .panel h2 { font-size: 1.5rem; }
.report { max-width: 320px; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); }
.aff-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .aff-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } .panel { position: sticky; top: 96px; } }
.aff h2 { margin-top: 32px; } .aff h2:first-child { margin-top: 0; }
.next-steps { padding-left: 24px; } .next-steps li { margin-bottom: 12px; }

/* Legal */
.legal { padding-top: 48px; padding-bottom: var(--sec); }
.legal h2 { font-size: 1.375rem; margin-top: 40px; scroll-margin-top: 96px; }
.summary { background: #fbf6ea; border: 1px solid #efe2c2; border-radius: var(--r); padding: 24px 32px; }
.summary h2, .toc h2 { margin-top: 0; font-size: 1.25rem; }
.toc { margin: 32px 0; } .toc ol { columns: 2 260px; padding-left: 20px; } .toc li { margin-bottom: 6px; break-inside: avoid; }

/* Footer */
.ftr { background: var(--ink); color: var(--on-dark-2); padding: 56px 0 32px; }
.ftr a { color: var(--on-dark); }
.ftr-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 2fr 1fr 1fr; } }
.ftr-h { font-size: 1rem; color: var(--gold-hi); text-transform: uppercase; letter-spacing: 0.12em; }
.ftr ul { list-style: none; padding: 0; margin: 0; } .ftr li a { display: inline-flex; min-height: 44px; align-items: center; }
.ftr-tag { margin-top: 16px; }
.ftr-base { border-top: 1px solid #2a2418; margin-top: 32px; padding-top: 24px; font-size: 0.9375rem; text-align: center; }
.ftr-base p { margin-left: auto; margin-right: auto; }
.ftr-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 24px; }
.ftr-links { display: inline-flex; gap: 0 20px; }
.ftr-base a { display: inline-flex; min-height: 44px; align-items: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .toc, .skip { display: none; } .starfield { background: none; color: #000; } .page-hero h1 { color: #000; } body { font-size: 11pt; } }
/* Tap targets (Mono sign-off): contents links 44px rows, inline text links at least 24px tall */
.toc li { margin-bottom: 0; }
.toc a { display: block; min-height: 44px; padding: 10px 0; box-sizing: border-box; }
main p a, main li a, main dd a, main summary a, .legal a { padding-block: 4px; }
main .toc a { padding: 10px 0; }
/* Legal drafts: pending values, tables, numbered contents (toc numbers are in the link text) */
.ph { text-decoration: underline dotted; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--gold-text); }
.ph-note { font-size: 0.9375rem; margin: 12px 0 0; }
.toc ol { list-style: none; padding-left: 0; }
.legal ol, .legal ul { padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.legal table { border-collapse: collapse; width: 100%; min-width: 480px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e3ddcf; }
