/* Middle Man Academy funnel — design modeled on a clean, centered, single-column workshop page */
:root {
  --ink: #000012;
  --muted: #51607a;
  --faint: #8592a8;
  --line: #e6ebf3;
  --blue-1: #3e8bff;
  --blue-2: #1154ff;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #ef4444;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

/* Soft page wash, like the reference */
.wash {
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(62,139,255,.10), transparent 70%),
    radial-gradient(600px 380px at 95% 5%, rgba(255,196,120,.14), transparent 70%),
    linear-gradient(#fff 0%, #f2f7ff 38%, #f8fbff 68%, #fff 100%);
}
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; text-align: center; }
.container-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Top */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; padding-top: 28px; }
.brand-logo { width: 42px; height: 42px; display: block; filter: drop-shadow(0 6px 14px rgba(17,84,255,.35)); }
.brand-logo.sm { width: 32px; height: 32px; }
.brand-word { display: block; text-align: left; line-height: 1; }
.brand-word b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-word small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .32em; color: var(--blue-2); margin-top: 4px; }
.brand-logo.sm + .brand-word b { font-size: 16px; }
.brand-logo.sm + .brand-word small { font-size: 8.5px; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(180deg, var(--blue-1), var(--blue-2)); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.kicker { font-weight: 700; font-size: 18px; margin: 20px 0 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 8px 20px;
  font-weight: 600; font-size: 16px; color: var(--muted);
  box-shadow: 0 1px 2px rgba(0,0,18,.06), 0 6px 18px -8px rgba(0,0,18,.12);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
h1 {
  font-size: clamp(32px, 6vw, 50px); line-height: 1.12; letter-spacing: -.03em;
  font-weight: 700; margin: 22px auto 18px; max-width: 720px;
}
.hl {
  display: inline-block; color: #fff; padding: 2px 12px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 10px 24px -10px rgba(17,84,255,.6);
}
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 600px; margin: 0 auto 14px; }
.lede b { color: var(--ink); font-weight: 600; }
.lede .u { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fine { font-size: 13px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.5; }
.fine b { color: var(--ink); }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }

/* VSL */
.vsl {
  position: relative; width: 100%; max-width: 720px; margin: 26px auto 8px;
  aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0b1020;
  box-shadow: 0 30px 60px -30px rgba(0,0,18,.45), 0 0 0 1px rgba(0,0,18,.06);
}
.vsl iframe, .vsl video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #cbd5e1; text-align: center; padding: 20px; }
.vsl-empty .play { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(180deg, var(--blue-1), var(--blue-2)); display: grid; place-items: center; margin: 0 auto 12px; box-shadow: 0 12px 30px -10px rgba(17,84,255,.8); }
.vsl-empty .play::after { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.vsl-empty small { display: block; font-size: 13px; color: #94a3b8; margin-top: 4px; }
.vsl-note { font-size: 13px; color: var(--faint); margin: 6px 0 0; }

/* Comparison prices */
.was { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; font-weight: 600; margin-right: 6px; }
.price-hero { display: inline-flex; align-items: baseline; gap: 12px; margin: 26px 0 0; }
.price-hero .was { font-size: 28px; margin: 0; }
.price-hero b { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-hero .save { align-self: center; background: #dcfce7; color: #166534; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.label-expired { display: none; }
.timer-done #timer, .timer-done .label-live { display: none; }
.timer-done .label-expired { display: block; }
.dont-miss { max-width: 520px; margin: 22px auto 0; background: #fff7ed; color: #9a3412; border-radius: 14px; padding: 14px 18px; font-size: 16.5px; box-shadow: 0 0 0 1px #fed7aa; }
.dont-miss b { color: #7c2d12; }

/* Countdown */
.timer { display: inline-flex; gap: 10px; }
.tbox { width: 70px; padding: 12px 0 8px; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,18,.06), 0 8px 20px -10px rgba(0,0,18,.18); }
.tbox b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.tbox span { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.timer-expired .tbox b { color: var(--faint); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer; border: 0;
  color: #fff; border-radius: var(--radius); padding: 16px 28px; min-width: min(100%, 360px);
  background: linear-gradient(180deg, var(--blue-1), var(--blue-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 28px -10px rgba(17,84,255,.55);
  font: inherit; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 32px -10px rgba(17,84,255,.65); }
.btn strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.btn small { display: block; font-size: 14px; opacity: .9; }
.btn-row { margin: 26px 0 14px; }
.bonus-note { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.bonus-note::before, .bonus-note::after { content: ""; width: 10px; height: 6px; border-radius: 2px; background: var(--amber); opacity: .8; }
.bonus-note b { color: var(--ink); }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 700; }
.section-sub { color: var(--muted); font-size: 18px; margin: 0 auto 32px; max-width: 580px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.card {
  background: #fff; border-radius: 18px; padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,18,.05), 0 12px 30px -16px rgba(0,0,18,.16), 0 0 0 1px var(--line);
}
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-2); background: #eaf1ff; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.modules { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; text-align: left; }
.modules li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.modules li:last-child { border-bottom: 0; }
.mnum { flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, var(--blue-1), var(--blue-2)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.modules b { display: block; font-size: 16.5px; }
.modules span { color: var(--muted); font-size: 14.5px; }
.modules span.mnum { color: #fff; font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 0 auto; max-width: 560px; text-align: left; }
.checks li { position: relative; padding: 9px 0 9px 32px; font-size: 16.5px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: #eaf1ff; color: var(--blue-2); font-size: 13px; font-weight: 800; display: grid; place-items: center; }

/* Module phases */
.modules li.phase-label { display: block; border-bottom: 0; padding: 26px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); }
.modules li.phase-label:first-child { padding-top: 0; }

/* AI toolkit */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.tool { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 0 0 1px var(--line), 0 10px 26px -16px rgba(0,0,18,.18); }
.tool b { display: block; font-size: 16px; margin: 10px 0 4px; letter-spacing: -.01em; }
.tool > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; }
.tool-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, var(--blue-1), var(--blue-2)); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(17,84,255,.6); }

/* Value stack */
.stack { max-width: 460px; margin: 18px auto 10px; background: #fff; border-radius: 16px; padding: 8px 20px; text-align: left; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgba(0,0,18,.2); }
.stack > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.stack-row s, .stack-total s { color: var(--faint); }
.stack-total { font-weight: 700; }
.stack-total s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.stack-today { border-bottom: 0 !important; font-weight: 700; font-size: 18px !important; }
.stack-today b { font-size: 30px; letter-spacing: -.02em; color: var(--blue-2); }

/* Checkout block */
.checkout-wrap { max-width: 1040px; margin: 0 auto; padding: 0 12px; }
.checkout-head { text-align: center; margin-bottom: 18px; }
.price-line { font-size: 18px; color: var(--muted); }
.price-line s { color: var(--faint); margin-right: 6px; }
.price-line b { color: var(--ink); font-size: 28px; letter-spacing: -.02em; }
.checkout-block { max-width: 1040px; margin: 0 auto; }
.checkout-slot { width: 100%; min-height: 640px; }
.checkout-slot iframe { width: 100% !important; height: 640px !important; border: 0; border-radius: 20px; }
.checkout-placeholder { border: 2px dashed #c7d2fe; border-radius: 20px; padding: 48px 20px; text-align: center; color: var(--muted); background: #f8faff; }
.fb-error-banner { background: #fee2e2; border: 1px solid var(--red); border-radius: 10px; padding: 14px 18px; margin: 0 auto 14px; max-width: 720px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fb-error-banner p { color: #991b1b; margin: 0; font-size: 15px; }
.fb-error-close { background: none; border: 0; color: #991b1b; font-size: 22px; cursor: pointer; }
.secure { font-size: 13px; color: var(--faint); text-align: center; margin-top: 10px; }

/* Upsell-specific */
.order-bar {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  color: #fff; text-align: center; padding: 11px 16px;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  box-shadow: 0 6px 18px -8px rgba(220,38,38,.6);
}
.order-bar b { font-weight: 800; }
.order-bar .blink { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: middle; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 640px) { .order-bar { font-size: 13.5px; padding: 10px 12px; } }
.progress { max-width: 560px; margin: 26px auto 0; }
.progress-bar { height: 10px; border-radius: 999px; background: #e5ebf5; overflow: hidden; }
.progress-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-1), var(--blue-2)); }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.alert-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff7ed; color: #9a3412; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 15px; margin-top: 18px; box-shadow: 0 0 0 1px #fed7aa; }
.no-thanks { display: inline-block; margin: 18px auto 0; font-size: 15px; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; border: 0; font-family: inherit; }
.no-thanks:hover { color: var(--muted); }

/* FAQ */
.faq { max-width: 640px; margin: 0 auto; text-align: left; }
.faq details { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--blue-2); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 20px 48px; text-align: center; color: var(--faint); font-size: 13px; }
footer .brand { padding-top: 0; font-size: 17px; color: var(--ink); }
footer p { margin: 12px auto 0; max-width: 700px; line-height: 1.6; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 14px; }
footer nav a { text-decoration: none; color: var(--muted); }

@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .lede { font-size: 18px; }
  .tbox { width: 62px; }
  .btn { width: 100%; }
  .checkout-slot { min-height: 980px; }
  .checkout-slot iframe { height: 980px !important; }
}
