/* RebuildingU Black Friday: shared tokens and components.
   Every value here comes from the Figma file (Oq9DmdI8Awx3RFJiRZQIG9). */
/* Montserrat, self-hosted (Google Fonts, SIL OFL). Variable font: weights 400-900 + 700 italic. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/montserrat-latin.a5ec54920b.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/montserrat-latin-italic.74c6d53927.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #2F5BB7;
  --navy: #141E33;
  --deep-navy: #0E1526;
  --sky: #D3E1F8;
  --mist: #EDF3FC;
  --light-bg: #F3F6FC;
  --order-bg: #F6F9FE;
  --slate: #3A4766;
  --muted: #5B6270;
  --light-blue: #97ADDB;
  --border: #D6E0F2;
  --border-2: #E3EAF6;

  --bf-black: #0B0B0F;
  --gold: #FFC83D;
  --gold-shadow: #C9940A;
  --gold-text: #3A2A00;
  --red: #E5484D;
  --strike: #7C8293;
  --gray-on-black: #C9CFDA;
  --fine-on-black: #8A90A0;
  --fine-on-light: #7A8499;
  --unit-bg: #1C1C24;
  --unit-border: #3A3A46;
  --panel: #15151C;
  --panel-border: #2A2A34;

  --green: #1FA463;
  --green-shadow: #147A48;
  --green-sub: #E8FAF0;
  --pill-bg: #E8F6EE;
  --pill-text: #147A48;
  --star: #F5B301;

  /* Desktop side padding: 168px at 1440 (1104px content), never below 40px. */
  --pad-d: max(40px, calc((100% - 1104px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, .balance { text-wrap: balance; }
p { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
.strike { text-decoration: line-through; text-decoration-skip-ink: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Desktop and mobile are different designs: below 768px show the mobile frame. */
@media (max-width: 767.98px) { .only-d { display: none !important; } }
@media (min-width: 768px) { .only-m { display: none !important; } }

/* Focus: visible keyboard focus everywhere, resting design untouched. */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Gold Black Friday bar ---------- */
.bf-bar {
  background: var(--gold);
  color: var(--bf-black);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.bf-bar--d { height: 42px; padding: 12px 24px; gap: 14px; }
.bf-bar--d .bf-bar__main { font-weight: 900; font-size: 15px; }
.bf-bar--d .bf-bar__dot { font-weight: 900; font-size: 15px; }
.bf-bar--d .bf-bar__sub { font-weight: 600; font-size: 14px; color: var(--gold-text); }
.bf-bar--m { flex-direction: column; padding: 10px 16px; gap: 1px; }
.bf-bar--m .bf-bar__main { font-weight: 900; font-size: 13px; letter-spacing: 0.78px; }
.bf-bar--m .bf-bar__sub { font-weight: 600; font-size: 11px; color: var(--gold-text); }

/* ---------- Header / logo ---------- */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  padding: 22px 16px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo__mark { width: 26px; height: 26px; flex: none; }
.logo__word {
  font-weight: 800; font-size: 14px; letter-spacing: 2.5px; color: var(--navy);
  white-space: nowrap;
}
.logo__word b { font-weight: 800; color: var(--blue); }
@media (max-width: 767.98px) { .site-header { padding: 16px; } }

/* ---------- Gold join button (sales page) ---------- */
.btn-gold {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; height: 60px; width: 100%;
  padding: 15px 20px;
  background: var(--gold);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--gold-shadow);
  text-align: center; white-space: nowrap;
  transition: background-color .15s ease, transform .05s ease, box-shadow .05s ease;
}
.btn-gold__label { font-weight: 900; font-size: 18px; color: var(--bf-black); }
.btn-gold__sub { font-weight: 600; font-size: 13px; color: var(--gold-text); }
.btn-gold:hover { background: #F2B92A; }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-shadow); }

/* ---------- Green order button (checkout only) ---------- */
.btn-green {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; width: 100%; min-height: 60px;
  padding: 15px 20px; border: 0; cursor: pointer;
  background: var(--green);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--green-shadow);
  text-align: center; color: #FFFFFF;
  transition: background-color .15s ease, transform .05s ease, box-shadow .05s ease;
}
.btn-green__label { font-weight: 900; font-size: 18px; color: #FFFFFF; }
.btn-green__sub { font-weight: 600; font-size: 13px; color: var(--green-sub); }
.btn-green:hover { background: #1B9459; }
.btn-green:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-shadow); }

/* ---------- Guarantee pill ---------- */
.g-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 6px 9px; border-radius: 999px;
  background: var(--pill-bg);
}
.g-pill img { width: 14px; height: 14px; flex: none; }
.g-pill span {
  font-weight: 700; font-size: 11px; letter-spacing: -0.2px; color: var(--pill-text);
  white-space: nowrap;
}

/* ---------- Fine print ---------- */
.fine { font-weight: 500; font-size: 11px; text-align: center; }
.fine--dark { color: var(--fine-on-black); }
.fine--light { color: var(--fine-on-light); }

/* CTA stack: button + pill + fine print */
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }

/* ---------- Countdown ---------- */
.countdown { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.countdown__unit {
  display: flex; flex-direction: column; align-items: center;
  background: var(--unit-bg); border: 1px solid var(--unit-border);
  border-radius: 10px; padding: 9px 0; width: 76px;
}
.countdown__num {
  font-weight: 900; font-size: 30px; color: #FFFFFF;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.countdown__lbl { font-weight: 700; font-size: 9px; letter-spacing: 1.08px; color: var(--gold); }
.countdown__colon { font-weight: 900; font-size: 30px; color: var(--gold); }
/* Mobile countdown (hero + banner): 54px units, 20px digits, 8px labels */
.countdown--m { gap: 6px; }
.countdown--m .countdown__unit { width: 54px; padding: 7px 0; border-radius: 8px; }
.countdown--m .countdown__num { font-size: 20px; }
.countdown--m .countdown__lbl { font-size: 8px; letter-spacing: 0.96px; }
.countdown--m .countdown__colon { font-size: 20px; }

/* After the deadline: hide timers and sale bars. */
html.bf-ended [data-bf-timed] { display: none !important; }

/* No flash of placeholder digits: numbers appear once the script has filled them. */
html:not(.cd-ready) .countdown__num { visibility: hidden; }

/* Checkout: Whop's embedded checkout has its own (required) pay button, so ours steps aside
   once the embed mounts. It returns as a link to Whop's hosted checkout if the embed fails. */
html.whop-mounted #ord-pay { display: none; }
