/* ==========================================================================
   Tournaly marketing site
   Brand: Forensic Navy #0B1E36 | Podium Teal #00A896 | Gavel Gold #FFB800
          Ice Blue #F1F5F9 | Crisp White #FFFFFF | Slate Gray #64748B
   60-30-10: neutral surfaces dominate, navy carries structure and type,
   teal and gold are accents. Gold appears ONLY on the primary CTA.
   ========================================================================== */

:root {
  --navy:  #0B1E36;
  --teal:  #00A896;
  --gold:  #FFB800;
  --ice:   #F1F5F9;
  --white: #FFFFFF;
  --slate: #64748B;

  --navy-80: rgba(11, 30, 54, 0.80);
  --navy-60: rgba(11, 30, 54, 0.60);
  --line:    rgba(11, 30, 54, 0.10);
  --line-on-navy: rgba(255, 255, 255, 0.14);

  --font-head: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --radius: 12px;
  --radius-lg: 18px;
  --pad-y: clamp(64px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--navy-80); }

.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;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600;
  padding: 14px 26px;
  border: 0; border-radius: 10px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(11,30,54,.14);
}
.btn--gold:hover { background: #ECAA00; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11,30,54,.16); }
.btn--gold:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: 0.9375rem; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.link-arrow {
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--teal); padding-bottom: 2px;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { color: var(--teal); }

/* ---------- Chips & icons ---------- */

.chip {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: .01em;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.chip--teal  { background: rgba(0,168,150,.12);  color: #04796C; }
.chip--slate { background: rgba(100,116,139,.14); color: var(--slate); }

.icon { width: 28px; height: 28px; color: var(--teal); }
.icon--sm { width: 20px; height: 20px; flex: 0 0 20px; }

/* ---------- Grids ---------- */

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   0. Nav
   ========================================================================== */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(11,30,54,.05); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--navy);
}
/* assets/logo.png is an opaque 150px render with a gray studio background, so
   it is framed as a rounded tile rather than floated on the page. Replace with
   a transparent SVG when one exists and this can lose the radius. */
.nav__mark {
  display: block; flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 8px;
  overflow: hidden;
}
/* The source render has generous padding baked in, so the image is scaled up
   inside the tile to crop it. Drop the scale when a tight SVG replaces it. */
.nav__mark img,
.footer__mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.34);
  display: block;
}
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__link { font-weight: 500; font-size: .9375rem; color: var(--navy-80); text-decoration: none; }
.nav__link:hover { color: var(--teal); }

/* ==========================================================================
   1. Hero
   ========================================================================== */

.hero { padding: clamp(48px, 7vw, 92px) 0 var(--pad-y); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 940px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__copy .lede { max-width: 34em; margin-bottom: 2rem; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero__visual { min-width: 0; }

/* Real app screenshot. Captured at 2x, so it stays crisp on retina at the
   sizes the hero uses. */
.screen__img {
  display: block;
  width: 100%; height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(11,30,54,.13);
}

.screen {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(11,30,54,.13);
  overflow: hidden;
}
.screen__bar {
  display: flex; gap: 7px; align-items: center;
  padding: 12px 16px; background: var(--ice); border-bottom: 1px solid var(--line);
}
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(11,30,54,.16); }
.screen__body { padding: 20px 22px 22px; }
.screen__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.screen__title { font-family: var(--font-head); font-weight: 600; font-size: .9375rem; }
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--line);
  font-size: .875rem;
}
.row__a { font-weight: 600; width: 68px; flex: 0 0 68px; }
.row__b { color: var(--slate); flex: 1; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.dot--teal { background: var(--teal); }
.dot--gold { background: var(--gold); }
.screen__foot {
  margin-top: 16px; padding: 11px 14px;
  background: var(--ice); border-radius: 9px;
  font-size: .8125rem; font-weight: 500; color: var(--navy-80);
}

/* ==========================================================================
   2. Stakes
   ========================================================================== */

.stakes { background: var(--ice); padding: var(--pad-y) 0; }
.stakes__list { list-style: none; margin: 2rem 0; padding: 0; }
.stakes__list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--navy-80);
}
.stakes__list li:last-child { border-bottom: 1px solid var(--line); }
.stakes__list li::before {
  content: ""; position: absolute; left: 4px; top: 25px;
  width: 8px; height: 2px; background: var(--slate); border-radius: 2px;
}
.stakes__close {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.125rem, 2vw, 1.4rem); line-height: 1.4;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   3. What changes
   ========================================================================== */

.changes { padding: var(--pad-y) 0; }
.changes h2 { margin-bottom: 3rem; }
.change h3 { margin: 18px 0 8px; }
.change p { color: var(--slate); font-size: .9688rem; }

/* ==========================================================================
   4. Guide  (the navy block)
   ========================================================================== */

.guide { background: var(--navy); color: var(--white); padding: var(--pad-y) 0; }
.guide__empathy {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.375rem, 3vw, 2.05rem); line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.guide__body { display: grid; grid-template-columns: 168px 1fr; gap: 36px; align-items: start; }
@media (max-width: 620px) { .guide__body { grid-template-columns: 1fr; } }
.guide__body p { color: rgba(255,255,255,.78); }
.guide__photo {
  width: 168px; height: 168px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  border: 1px dashed var(--line-on-navy);
  display: grid; place-items: center;
  color: rgba(255,255,255,.4); font-size: .8125rem; text-align: center;
}
.guide__sig { margin-top: 1.4rem; font-size: .9375rem; line-height: 1.5; }
.guide__sig strong { color: var(--white); }
.guide__sig span { color: var(--teal); }
.quote {
  margin: 3rem 0 0; padding: 24px 28px;
  border-left: 3px solid var(--teal);
  background: rgba(255,255,255,.05); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .875rem; color: var(--teal); }

/* ==========================================================================
   5. Plan
   ========================================================================== */

.plan { padding: var(--pad-y) 0; }
.plan h2 { margin-bottom: 3rem; }
.steps {
  list-style: none; margin: 0 0 3rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.steps li {
  padding: 30px 28px;
  background: var(--ice); border-radius: var(--radius-lg);
}
.steps__num {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem;
  margin-bottom: 18px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: .9688rem; }

/* ==========================================================================
   6. Platform
   ========================================================================== */

.platform { background: var(--ice); padding: var(--pad-y) 0; }
.platform .narrow { text-align: center; margin-bottom: 3.25rem; }
.platform h2 { max-width: 18ch; margin-inline: auto; }
.cap {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.cap p { color: var(--slate); font-size: .9375rem; flex: 1; }

/* ==========================================================================
   7. Saturday
   ========================================================================== */

.saturday { padding: var(--pad-y) 0; }
.saturday h2 { margin-bottom: 3rem; }
.compare__col { padding: 34px 32px; border-radius: var(--radius-lg); }
.compare__col h3 {
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.compare__col--bad { background: var(--ice); }
.compare__col--bad h3 { color: var(--slate); }
.compare__col--bad p { color: var(--slate); }
.compare__col--good { background: var(--navy); color: var(--white); }
.compare__col--good h3 { color: var(--teal); }
.compare__col--good p { color: rgba(255,255,255,.85); font-size: 1.0625rem; }

/* ==========================================================================
   8. Pilot
   ========================================================================== */

.pilot { background: var(--navy); color: var(--white); padding: var(--pad-y) 0; text-align: center; }
.pilot h2 { max-width: 20ch; margin-inline: auto; margin-bottom: 1rem; }
.pilot .lede { color: rgba(255,255,255,.78); max-width: 46ch; margin: 0 auto 2.5rem; }

.promises {
  list-style: none; margin: 0 auto 2.5rem; padding: 0;
  display: inline-flex; flex-direction: column; gap: 12px; text-align: left;
}
.promises li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,.85); font-size: .9688rem;
}

/* Waitlist widget (getwaitlist.com) ships its own CSS and assumes a light
   background. The pilot section is navy, so the widget sits in a white card
   rather than being restyled piece by piece — their class names are not a
   stable API and would break on any widget update. */
.waitlist-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  text-align: left;
}
.waitlist-card #getWaitlistContainer { margin: 0 auto; }

/* Colors come from the getwaitlist dashboard (already brand-correct). These
   only fix what the dashboard can't set: typeface and control sizing.
   #primaryCTA is the widget's own id, so it is stable across their updates. */
.waitlist-card #getWaitlistContainer,
.waitlist-card #getWaitlistContainer * {
  font-family: var(--font-body) !important;
}
.waitlist-card #getWaitlistContainer input[name="email"] {
  padding: 13px 15px !important;
  font-size: 1rem !important;
}
.waitlist-card #getWaitlistContainer #primaryCTA {
  padding: 13px 20px !important;
  font-size: 1rem !important;
  white-space: nowrap;
}

.form { max-width: 540px; margin-inline: auto; }
.form__row { display: flex; gap: 10px; }
@media (max-width: 560px) { .form__row { flex-direction: column; } }
.form__input {
  flex: 1; min-width: 0;
  font-family: var(--font-body); font-size: 1rem;
  padding: 14px 16px;
  color: var(--navy); background: var(--white);
  border: 1px solid transparent; border-radius: 10px;
}
.form__input::placeholder { color: var(--slate); }
.form__input[aria-invalid="true"] { border-color: var(--gold); }
.form__msg {
  min-height: 1.4em; margin: 14px 0 0;
  font-size: .9375rem; font-weight: 500; text-align: center;
}
.form__msg.is-ok    { color: var(--teal); }
.form__msg.is-error { color: var(--gold); }
.form__fine { margin-top: 10px; font-size: .8125rem; color: rgba(255,255,255,.5); }

/* Honeypot: hidden from people, reachable by bots. Not display:none. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.is-busy { opacity: .6; pointer-events: none; }

/* ==========================================================================
   9. Checklist
   ========================================================================== */

.checklist { padding: var(--pad-y) 0; background: var(--ice); }
.checklist__inner { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .checklist__inner { grid-template-columns: 1fr; } }
.checklist__cover {
  aspect-ratio: 8.5 / 11;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); box-shadow: 0 18px 44px rgba(11,30,54,.22);
  display: grid; place-items: center; padding: 24px; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.3;
}
.checklist .form { margin-inline: 0; }
.checklist .form__input { border-color: var(--line); }
.checklist .form__msg { text-align: left; }

/* ==========================================================================
   10. Footer
   ========================================================================== */

.footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 32px 0; border-top: 1px solid var(--line-on-navy); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .875rem; }
.footer__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; color: var(--white); letter-spacing: -0.02em;
}
.footer__mark {
  display: block; flex: 0 0 26px;
  width: 26px; height: 26px;
  border-radius: 6px;
  overflow: hidden;
}
.footer__links { display: flex; gap: 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--teal); }
