/* Aaron Levi: dark "thumbnail" sections, off-white "banner" bands,
   condensed display type, money-green numbers. */
:root {
  --ink: #0d0d0b;          /* page background */
  --panel: #171714;        /* cards on dark */
  --panel-2: #1e1d19;
  --line: #2a2925;
  --line-strong: #3a3934;
  --paper: #f3f1ea;        /* banner off-white */
  --paper-line: #dedbd1;
  --paper-text: #3a3832;
  --paper-muted: #4a4840;
  --text: #f3f1ea;
  --muted: #a3a097;
  --accent: #4ade80;       /* money green */
  --accent-ink: #0d0d0b;
  --accent-2: #8f8c82;     /* "what you put in" */
  --yellow: #f5d90a;
  --danger: #ff6b6b;
  --youtube: #ff0033;
  --border: var(--line);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); }
a:hover { color: var(--accent); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.98; margin: 0; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
h2.display { font-size: clamp(40px, 5vw, 64px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font-family: var(--display); font-size: 28px; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; color: var(--text); white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 12px; }
.nav-full { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 16px; margin-right: 8px; }
.nav-full a { text-decoration: none; }
.nav-sub { display: inline-flex; align-items: center; gap: 6px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--panel); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mobile-nav { border-top: 1px solid var(--line); display: flex; flex-direction: column; font-weight: 600; padding-bottom: 12px; }
.mobile-nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (max-width: 820px) {
  .nav-full { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn-green { background: var(--accent); color: var(--accent-ink); }
.btn-green:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--accent); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: transparent; }
.btn-red { background: var(--youtube); color: #fff; }
.btn-red:hover { color: #fff; filter: brightness(1.08); }
.btn-yellow { background: var(--yellow); color: var(--ink); }

/* ---------- Bands ---------- */
.band { padding-top: 80px; padding-bottom: 80px; border-bottom: 1px solid var(--line); }
.band-paper { background: var(--paper); color: var(--ink); border-bottom: 0; }
.band-paper a:not(.btn) { color: var(--ink); }
.band-paper .eyebrow { color: var(--paper-muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(56px, 8vw, 104px); line-height: 0.95; }
.hero .kicker { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: 0.01em; }
.hero .intro { margin: 0; max-width: 520px; font-size: 19px; color: var(--paper-text); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; flex: 1 1 520px !important; }
.hero-photo { position: relative; padding-bottom: 28px; flex: 1 1 400px; }
.hero-photo img { display: block; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; margin-left: auto; border-radius: 20px; object-fit: cover; object-position: 50% 30%; background: #d9d6cc; }
.photo-chip { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--text); border-radius: 16px; padding: 14px 20px; display: flex; align-items: baseline; gap: 12px; box-shadow: 0 12px 32px rgba(13, 13, 11, 0.25); }
.photo-chip b { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--yellow); }
.photo-chip span { font-size: 15px; font-weight: 600; line-height: 1.3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) {
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 340px; margin: 0 auto; }
  .photo-chip { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
a.card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 12px; transition: border-color 0.15s, transform 0.15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.receipt .num { font-family: var(--display); font-size: 48px; line-height: 1.05; color: var(--accent); }
.receipt .what { font-weight: 600; }
.receipt .watch { font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.tool-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; letter-spacing: 0.01em; }
.tool-card p { margin: 0; color: var(--muted); font-size: 16px; }
.tool-card .example { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.tool-card .example .eyebrow { font-size: 12px; }
.tool-card .example strong { color: var(--accent); }
.tool-card .badge { align-self: flex-start; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow); }

/* ---------- Coaching ---------- */
.coach-head { display: flex; align-items: center; gap: 14px; }
.coach-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.coaching h2 { font-size: clamp(44px, 6vw, 76px); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; font-weight: 600; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 2px; }
.offer { background: var(--ink); color: var(--text); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; flex: 1 1 380px !important; }
.offer a:not(.btn) { color: var(--text); }
.offer-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--display); font-size: 34px; text-transform: uppercase; }
.offer-title .price { color: var(--accent); }
.offer-meta { margin-top: -14px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .n { font-family: var(--display); font-size: 22px; color: var(--accent); width: 22px; flex: none; }
.steps small { display: block; color: var(--muted); font-size: 16px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.quote figcaption { font-size: 15px; color: var(--paper-muted); font-weight: 600; }
.booking-embed { width: 100%; min-height: 720px; border: 0; border-radius: 16px; background: #fff; }

/* ---------- Quick math / choice chips ---------- */
.chips { display: grid; gap: 8px; }
.chips-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--ink); color: var(--text); font-family: inherit; font-weight: 600; font-size: 16px; cursor: pointer; padding: 0 4px; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.qm-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.qm-result { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.big { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--accent); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.video-card { display: grid; gap: 10px; min-width: 0; align-content: start; }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb .play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 64px; height: 44px; border-radius: 12px; background: rgba(0, 0, 0, 0.72); display: grid; place-items: center; }
.video-thumb:hover .play { background: var(--youtube); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame.wide { max-width: 860px; }
.video-title { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.3; }
.placeholder { border: 1px dashed var(--line-strong); border-radius: 14px; padding: 22px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-top: 40px; padding-bottom: 56px; color: var(--muted); font-size: 15px; }
.site-footer .container { display: flex; flex-direction: column; gap: 18px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer .coffee a { color: var(--yellow); font-weight: 600; }
.site-footer p { margin: 0; }
.site-footer .fine { font-size: 14px; max-width: 760px; }

/* ---------- Tool pages ---------- */
.tool-page { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.tool-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.tool-head .eyebrow { color: var(--accent); }
.tool-head h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.back { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.lead { margin: 0; color: var(--muted); max-width: 720px; }
.tool-layout { display: grid; gap: 24px; grid-template-columns: 360px minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .tool-layout { grid-template-columns: minmax(0, 1fr); } }
.results { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--ink); color: var(--text); font-size: 18px; font-weight: 600; font-family: inherit; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.row-2 { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.result-hero { display: flex; flex-direction: column; gap: 4px; }
.result-hero .label { font-size: 15px; color: var(--muted); font-weight: 600; }
.result-hero .big { font-size: clamp(56px, 8vw, 96px); }
.result-hero[data-tone="bad"] .big { color: var(--danger); }
.result-hero[data-tone="mid"] .big { color: var(--yellow); }
.result-hero .sub { margin: 0; color: var(--muted); font-size: 16px; }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { border-top: 3px solid var(--line-strong); padding-top: 10px; display: flex; flex-direction: column; justify-content: space-between; gap: 2px; }
.stat .label { color: var(--muted); font-size: 14px; font-weight: 600; }
.stat .value { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat.good { border-top-color: var(--accent); }
.stat.good .value { color: var(--accent); }
.stat.bad { border-top-color: var(--danger); }
.stat.bad .value { color: var(--danger); }
.stat.mute { border-top-color: var(--accent-2); }

.chart-box { position: relative; height: 340px; }
.note { color: var(--muted); font-size: 15px; margin: 0; }
.table-wrap { overflow-x: auto; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
details summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }

.call-cta { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.call-cta .t { font-family: var(--display); font-size: 26px; text-transform: uppercase; display: block; }
.call-cta .s { font-size: 16px; color: var(--paper-text); }
.try-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.try-next a { text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-family: var(--display); font-size: 22px; text-transform: uppercase; }

/* ---------- Email gate ---------- */
.gated { position: relative; display: flex; flex-direction: column; gap: 20px; }
.gated.locked > .gated-body { filter: blur(7px); opacity: 0.55; pointer-events: none; user-select: none; max-height: 560px; overflow: hidden; }
.gate-card { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); background: var(--paper); color: var(--ink); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45); z-index: 2; }
.gated:not(.locked) > .gate-card { display: none; }
.gate-card h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; text-transform: uppercase; margin: 0; }
.gate-card p { margin: 0; color: var(--paper-text); font-size: 16px; }
.gate-card form { display: grid; gap: 10px; }
.gate-card input { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #bdb9ad; background: #fff; color: var(--ink); font-size: 17px; font-family: inherit; width: 100%; }
.gate-card .btn { width: 100%; }
.gate-card .fine { font-size: 13px; color: var(--paper-muted); }
.gate-card .error { color: #b42318; font-size: 15px; font-weight: 600; }

/* ---------- Debt rows ---------- */
#debts { display: grid; gap: 14px; }
.debt-row + .debt-row { border-top: 1px solid var(--line); padding-top: 14px; }
.debt-row { display: grid; gap: 8px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1fr) auto; grid-template-areas: "name name name del" "bal apr min min"; align-items: end; }
.debt-row > :nth-child(1) { grid-area: name; }
.debt-row > :nth-child(2) { grid-area: bal; }
.debt-row > :nth-child(3) { grid-area: apr; }
.debt-row > :nth-child(4) { grid-area: min; }
.debt-row > .icon-btn { grid-area: del; }
.debt-row .field label { font-size: 13px; white-space: nowrap; }
.debt-row .field input { padding: 0 10px; min-width: 0; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.debt-row .field input::-webkit-inner-spin-button,
.debt-row .field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.icon-btn { border: 1px solid var(--line-strong); background: var(--ink); color: var(--muted); border-radius: 10px; height: 48px; width: 48px; cursor: pointer; font-size: 1.2rem; }
.icon-btn:hover { color: var(--danger); }
