/* ============================================================================
   Shared visual system for the funnel pages (checkout, upsell, build,
   thank-you, portal).

   Tokens, type ramp, CTA and trust block are lifted from the sales page so the
   order form does not feel like a different website than the page that sold it.
   index.html keeps its own inline styles and does not load this file.
   ========================================================================= */

@font-face{
  font-family:'Barlow Condensed';
  src:url('fonts/BarlowCondensed-600.woff2') format('woff2');
  font-weight:600;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Barlow Condensed';
  src:url('fonts/BarlowCondensed-700.woff2') format('woff2');
  font-weight:700;font-style:normal;font-display:swap;
}

:root{
  --font-head:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-cond:'Barlow Condensed','Oswald','Anton','Arial Narrow','Helvetica Neue',Impact,sans-serif;
  --font-body:'Outfit','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;

  --ink:#0B1220;
  --ink-deep:#070C14;
  --card:#131C2B;
  --card-module:#1B2637;
  --pill-bg:#23304A;
  --pill-border:#33415C;
  --amber:#FFB020;
  --orange:#FF6B2C;
  --red:#E5484D;
  --green:#7ED9A0;
  --white:#FFFFFF;
  --off-white:#FBFBFB;
  --muted:#C6D2E6;
  --muted-dim:#8FA2C0;
  --hairline:#2A3547;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}

/* The `hidden` attribute is only `display:none` in the UA stylesheet, so any
   class that sets a display wins over it. Several rows here are flex and get
   toggled with `hidden` (the order-bump line, the success panels), so make the
   attribute mean what everyone assumes it means. */
[hidden]{display:none !important;}
body{
  margin:0;background:var(--ink);color:var(--white);
  font-family:var(--font-head);font-size:16px;line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block;}
h1,h2,h3,h4,p,ul,ol{margin:0;}
ul{padding:0;list-style:none;}
a{color:inherit;}

/* ---------- layout ------------------------------------------------------- */
.section{width:100%;}
.inner{max-width:1170px;margin:0 auto;padding:0 25px;width:100%;}
.inner--narrow{max-width:760px;}
.page{padding:34px 0 80px;}

.logobar .inner{padding-top:20px;padding-bottom:8px;display:flex;justify-content:center;}
.wordmark{
  font-family:var(--font-cond);font-size:30px;font-weight:700;line-height:1;
  letter-spacing:.06em;text-transform:uppercase;color:var(--white);text-align:center;
  text-decoration:none;
}
.wordmark .accent{color:var(--amber);}

/* ---------- type --------------------------------------------------------- */
.h1{
  font-family:var(--font-cond);font-size:56px;font-weight:600;line-height:1.05;
  color:var(--off-white);text-align:center;
}
.h2{
  font-family:var(--font-cond);font-size:38px;font-weight:600;line-height:1.1;
  color:var(--off-white);
}
.h3{
  font-family:var(--font-body);font-size:20px;font-weight:600;line-height:1.3;
  color:var(--white);
}
.lede{
  font-family:var(--font-head);font-size:18px;font-weight:300;line-height:1.6;
  color:var(--off-white);text-align:center;max-width:640px;margin:18px auto 0;
}
.body{
  font-family:var(--font-head);font-size:17px;font-weight:300;line-height:1.65;
  color:var(--off-white);
}
.body + .body{margin-top:16px;}
.small{
  font-family:var(--font-body);font-size:15px;font-weight:400;line-height:1.5;
  color:var(--muted);
}
.amber{color:var(--amber);}

@media (max-width:700px){
  .h1{font-size:38px;}
  .h2{font-size:30px;}
}

/* ---------- cards -------------------------------------------------------- */
.card{
  background:var(--card);border:3px solid var(--white);border-radius:20px;
  padding:26px;
}
.card--plain{border-width:1px;border-color:var(--hairline);}
.module{
  background:var(--card-module);border:2px solid var(--card-module);
  border-radius:10px;padding:18px;
}

/* ---------- CTA (same geometry as the sales page) ------------------------ */
.cta{
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  font-family:var(--font-head);font-size:22px;font-weight:700;line-height:1.2;
  color:var(--white);background:var(--orange);border:3px solid var(--orange);
  border-radius:10px;padding:15px 20px;text-decoration:none;cursor:pointer;
  box-shadow:0 6px 0 0 #C24717;transition:transform .12s ease,box-shadow .12s ease;
}
.cta:hover{transform:translateY(2px);box-shadow:0 4px 0 0 #C24717;}
.cta:active{transform:translateY(6px);box-shadow:0 0 0 0 #C24717;}
.cta--block{width:100%;}
.cta[disabled],.cta[aria-disabled="true"]{
  opacity:.55;cursor:not-allowed;transform:none;box-shadow:0 6px 0 0 #C24717;
}
.cta-wrap{display:flex;flex-direction:column;align-items:center;margin-top:26px;}
.ctanote{
  font-family:var(--font-body);font-size:15px;font-weight:400;line-height:1.35;
  color:var(--muted);text-align:center;margin-top:12px;
}

/* quiet secondary action — a real link, never hidden or shrunk to nothing */
.decline{
  display:inline-block;margin-top:20px;
  font-family:var(--font-head);font-size:16px;font-weight:400;
  color:var(--muted);text-decoration:underline;text-underline-offset:3px;
  background:none;border:0;padding:0;cursor:pointer;
}
.decline:hover{color:var(--white);}

/* ---------- trust block (verbatim geometry from the sales page) ---------- */
.trust{width:100%;margin-top:14px;}
.trust-top{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  font-family:var(--font-head);font-size:13px;font-weight:600;color:var(--muted);
}
.trust-top svg{flex:none;}
.trust-stripe{
  display:inline-flex;align-items:center;gap:4px;background:#0E1725;
  border:1px solid var(--hairline);border-radius:5px;padding:3px 8px;
  font-size:11px;font-weight:500;color:#9FB0CA;line-height:1;
}
.trust-stripe b{color:#fff;font-weight:700;letter-spacing:-.02em;}
.trust-div{height:1px;background:var(--hairline);margin:10px 0;}
.trust-logos{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;}
.paychip{
  background:#fff;border:1px solid #D8DEE8;border-radius:5px;
  height:26px;min-width:46px;padding:0 7px;
  display:inline-flex;align-items:center;justify-content:center;gap:3px;
  font-family:Arial,Helvetica,sans-serif;line-height:1;
}
.pp-a{color:#253B80;font-weight:800;font-style:italic;font-size:12px;}
.pp-b{color:#179BD7;font-weight:800;font-style:italic;font-size:12px;margin-left:-2px;}
.visa{color:#1A1F71;font-weight:800;font-style:italic;font-size:13px;letter-spacing:.02em;}
.mc-txt{color:#231F20;font-weight:600;font-size:8px;letter-spacing:-.01em;}
.ap-txt,.gp-txt{color:#000;font-weight:600;font-size:12px;}

/* ---------- guarantee ---------------------------------------------------- */
.guarantee{
  display:flex;gap:12px;align-items:flex-start;margin-top:18px;
  font-family:var(--font-body);font-size:15px;line-height:1.5;color:var(--muted);
}
.guarantee svg{flex:none;margin-top:2px;}

/* ---------- forms -------------------------------------------------------- */
.field{margin-top:16px;}
.field label{
  display:block;font-family:var(--font-head);font-size:14px;font-weight:600;
  color:var(--muted);margin-bottom:6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea{
  width:100%;background:#0E1725;color:var(--white);
  border:1px solid var(--hairline);border-radius:8px;
  font-family:var(--font-head);font-size:16px;line-height:1.4;padding:13px 14px;
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,.field textarea:focus{
  outline:2px solid var(--amber);outline-offset:1px;border-color:var(--amber);
}
.field .hint{
  font-family:var(--font-body);font-size:13px;color:var(--muted-dim);margin-top:6px;
}
.field-error{
  font-family:var(--font-head);font-size:14px;color:#FF9A9D;margin-top:8px;
}

.checkline{
  display:flex;gap:12px;align-items:flex-start;
  font-family:var(--font-head);font-size:16px;line-height:1.5;color:var(--off-white);
  cursor:pointer;
}
.checkline input[type="checkbox"],
.checkline input[type="radio"]{
  flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--orange);cursor:pointer;
}

/* ---------- order summary ------------------------------------------------ */
.summary-row{
  display:flex;justify-content:space-between;gap:16px;align-items:baseline;
  padding:12px 0;border-bottom:1px solid var(--hairline);
}
.summary-row:last-of-type{border-bottom:0;}
.summary-row .name{font-family:var(--font-body);font-size:17px;font-weight:600;}
.summary-row .desc{
  font-family:var(--font-body);font-size:14px;font-weight:400;color:var(--muted);
  margin-top:3px;
}
.summary-row .val{font-family:var(--font-body);font-size:17px;font-weight:600;white-space:nowrap;}
.summary-total{
  display:flex;justify-content:space-between;align-items:baseline;
  margin-top:14px;padding-top:14px;border-top:2px solid var(--hairline);
  font-family:var(--font-body);font-size:22px;font-weight:700;
}
.summary-total .val{color:var(--amber);}

/* order bump — amber dashed frame, the one thing on the page that interrupts */
.bump{
  margin-top:18px;background:#1B2637;border:2px dashed var(--amber);
  border-radius:10px;padding:16px 18px;
}
.bump .bump-price{color:var(--amber);font-weight:700;}
.bump .bump-desc{
  font-family:var(--font-body);font-size:14px;line-height:1.5;color:var(--muted);
  margin-top:6px;padding-left:34px;
}

/* ---------- receipts strip ------------------------------------------------
   The only social proof in this funnel is screenshots. No testimonials, no
   review counts, no countdowns — none of that exists yet and inventing it would
   contradict the page that sold them. */
.receipts{
  display:flex;gap:16px;align-items:center;
  background:var(--card);border:1px solid var(--hairline);border-radius:14px;
  padding:14px 18px;margin-top:26px;
}
.receipts img{
  flex:none;width:132px;height:auto;border-radius:8px;
  border:1px solid var(--hairline);background:#16202F;
}
.receipts p{
  font-family:var(--font-head);font-size:15px;font-weight:300;line-height:1.55;
  color:var(--muted);margin:0;
}
.receipts strong{color:var(--white);font-weight:700;}
@media (max-width:620px){
  .receipts{flex-direction:column;align-items:flex-start;gap:12px;}
  .receipts img{width:100%;max-width:260px;}
}

/* ---------- what's-inside recap ------------------------------------------ */
.recap-mockup{width:100%;max-width:340px;margin:2px auto 6px;}
.recap-list{margin-top:6px;}
.recap-list li{
  display:flex;justify-content:space-between;gap:12px;align-items:baseline;
  padding:7px 0;border-bottom:1px solid rgba(42,53,71,.6);
  font-family:var(--font-body);font-size:15px;line-height:1.4;color:var(--off-white);
}
.recap-list li:last-child{border-bottom:0;}
.recap-list .val{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;}
.recap-list .lead-item{font-weight:600;}
.recap-total{
  display:flex;justify-content:space-between;align-items:baseline;
  margin-top:12px;padding-top:12px;border-top:1px solid var(--hairline);
  font-family:var(--font-body);font-size:16px;font-weight:600;color:var(--muted);
}
.recap-total .val{color:var(--white);}

/* ---------- the bet framing ---------------------------------------------- */
.bet{
  margin-top:18px;background:#16202F;border-left:4px solid var(--amber);
  border-radius:0 10px 10px 0;padding:16px 18px;
}
.bet p{
  font-family:var(--font-head);font-size:16px;font-weight:300;line-height:1.6;
  color:var(--off-white);margin:0;
}
.bet strong{font-weight:700;color:var(--white);}

/* ---------- early-buyer bar ---------------------------------------------- */
.early{
  display:flex;gap:12px;align-items:flex-start;margin-top:26px;
  background:#231B08;border:1px solid #6B5A1E;border-radius:10px;padding:14px 18px;
  font-family:var(--font-head);font-size:15px;line-height:1.55;color:#FFD98A;
}
.early svg{flex:none;margin-top:2px;}
.early strong{color:#FFE9B8;font-weight:700;}

/* ---------- future pacing ------------------------------------------------ */
.pacing{margin-top:26px;}
.pacing .h3{margin-bottom:4px;}

/* ---------- founder line -------------------------------------------------- */
.founder-line{
  display:flex;gap:16px;align-items:center;margin-top:26px;
  background:var(--card);border:1px solid var(--hairline);border-radius:14px;
  padding:16px 18px;
}
.founder-line img{
  flex:none;width:64px;height:64px;border-radius:50%;object-fit:cover;
  border:2px solid var(--hairline);
}
.founder-line p{
  font-family:var(--font-head);font-size:15px;font-weight:300;line-height:1.55;
  color:var(--muted);margin:0;
}
.founder-line strong{color:var(--white);font-weight:700;}

/* ---------- setup / status notices --------------------------------------- */
.notice{
  border-radius:10px;padding:16px 18px;margin-top:16px;
  font-family:var(--font-head);font-size:15px;line-height:1.6;
}
.notice--setup{background:#2A2410;border:1px solid #6B5A1E;color:#FFD98A;}
.notice--error{background:#2B1416;border:1px solid #6B2A2E;color:#FFB4B6;}
.notice--ok{background:#12251B;border:1px solid #2C5C41;color:#A9E7C4;}
.notice code{
  font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;
  background:rgba(0,0,0,.35);padding:1px 5px;border-radius:4px;
}
.notice ul{margin-top:8px;padding-left:18px;list-style:disc;}
.notice li{margin-top:4px;}

/* ---------- Stripe Payment Element mount --------------------------------- */
#payment-element{margin-top:8px;min-height:44px;}

/* ---------- two-column split (checkout, upsell) -------------------------- */
.split{display:flex;gap:26px;align-items:flex-start;margin-top:30px;}
.split .col-main{flex:1 1 58%;min-width:0;}
.split .col-side{flex:1 1 42%;min-width:0;position:sticky;top:24px;}
@media (max-width:860px){
  .split{flex-direction:column;gap:20px;}
  .split .col-main,.split .col-side{flex:1 1 100%;width:100%;position:static;}
  /* Summary first on a phone. Stacked in source order the order bump lands
     below the pay button, where nobody sees it before they have already paid. */
  .split .col-side{order:-1;}
}

/* ---------- steps / lists ------------------------------------------------ */
.steps{counter-reset:step;margin-top:22px;}
.steps li{
  counter-increment:step;position:relative;padding-left:44px;margin-top:18px;
  font-family:var(--font-head);font-size:17px;font-weight:300;line-height:1.6;
  color:var(--off-white);
}
.steps li::before{
  content:counter(step);position:absolute;left:0;top:-1px;
  width:30px;height:30px;border-radius:50%;background:var(--amber);color:#241800;
  font-family:var(--font-head);font-size:15px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.ticks li{
  position:relative;padding-left:30px;margin-top:12px;
  font-family:var(--font-head);font-size:16px;font-weight:300;line-height:1.55;
  color:var(--off-white);
}
.ticks li::before{
  content:"";position:absolute;left:4px;top:8px;width:9px;height:5px;
  border-left:2.5px solid var(--green);border-bottom:2.5px solid var(--green);
  transform:rotate(-45deg);
}

/* ---------- footer ------------------------------------------------------- */
.footer{background:var(--ink-deep);padding:34px 0 44px;margin-top:60px;}
.footer .wordmark{font-size:22px;}
.footer-links{
  display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:14px;
  font-family:var(--font-body);font-size:14px;color:var(--muted-dim);
}
.footer-links a{text-decoration:none;}
.footer-links a:hover{color:var(--white);}
.footer-fine{
  font-family:var(--font-body);font-size:12px;line-height:1.6;color:#5D6B84;
  text-align:center;max-width:800px;margin:14px auto 0;
}

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

/* ---- post-purchase progress stepper --------------------------------------
   Shows the buyer where they are on the way to their download. Placed under
   the wordmark on confirmation / options / build / thank-you. */
.funnel-steps{display:flex;align-items:center;justify-content:center;max-width:600px;margin:8px auto 0;padding:0 20px;}
.funnel-steps .step{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.funnel-steps .line{flex:1 1 auto;height:2px;background:var(--hairline);margin:0 8px;min-width:12px;}
.funnel-steps .line.done{background:var(--amber);}
.funnel-steps .dot{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-body);font-size:11px;font-weight:700;background:transparent;border:1.5px solid var(--hairline);
  color:var(--muted-dim);flex:0 0 auto;}
.funnel-steps .step.done .dot{background:var(--amber);border-color:var(--amber);color:#241800;}
.funnel-steps .step.active .dot{border-color:var(--amber);color:var(--amber);}
.funnel-steps .lbl{font-family:var(--font-head);font-size:12px;color:var(--muted-dim);white-space:nowrap;}
.funnel-steps .step.done .lbl{color:var(--muted);}
.funnel-steps .step.active .lbl{color:var(--off-white);font-weight:600;}
@media (max-width:560px){.funnel-steps .lbl{display:none;}.funnel-steps{max-width:320px;}}
