/* ---------------------------------------------------------------------------
   Landing page layout only. The design system in tovi.css is shared with the
   connect flow and the app; everything here is the marketing page's own
   two-column-on-desktop, one-column-on-a-phone scaffolding.

   Mobile is the base layer, as in the parent site: the 390px comp is what is
   written first and the 1440px comp arrives through min-width overrides.
   --------------------------------------------------------------------------- */

/* ------------------------------------------------------------------ header */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.site-nav { display: none; align-items: center; gap: 34px; }
.site-nav a { font-family: var(--ticket); font-size: 12px; letter-spacing: 0.13em; color: var(--ink-3); }
.site-nav a:hover { color: var(--red); }
@media (min-width: 860px) { .site-nav { display: flex; } }
.site-head .btn { display: none; }
@media (min-width: 860px) { .site-head .btn { display: inline-block; } }
.site-head__menu { font-family: var(--ticket); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); }
@media (min-width: 860px) { .site-head__menu { display: none; } }

/* -------------------------------------------------------------------- hero */
.hero { padding: 30px var(--gutter) 34px; display: grid; gap: 26px; }
.hero h1 { font-size: 36px; line-height: 1.12; }
.hero__proof { display: flex; flex-direction: column; align-items: center; gap: 10px; }
@media (min-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 430px;
    gap: 56px;
    align-items: center;
    padding: 88px var(--gutter) 96px;
    max-width: var(--measure);
    margin: 0 auto;
  }
  .hero h1 { font-size: 62px; line-height: 1.1; }
}
.hero__cta { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
@media (min-width: 1000px) { .hero__cta { align-items: flex-start; } }
.reassure {
  font-family: var(--ticket); font-size: 11px; line-height: 1.7; letter-spacing: 0.09em;
  color: var(--ink-3); text-align: center;
}
@media (min-width: 1000px) { .reassure { font-size: 12px; text-align: left; } }

/* ------------------------------------------------------------- two columns */
.two-col { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .two-col { gap: 34px; max-width: 900px; } }
.col-card { border: 1px solid var(--espresso); background: var(--cream); padding: 16px 16px 20px; }
.col-card--red { border: 2px solid var(--red); }
.col-card li { font-family: var(--display); font-size: 15px; padding: 5px 0; list-style: none; }
.col-card ul { margin: 0; padding: 0; }
.col-card--muted li { color: var(--ink-5); }
@media (min-width: 700px) {
  .col-card { padding: 28px 30px 32px; }
  .col-card li { font-size: 22px; padding: 9px 0; }
}

.h-sec { font-size: 32px; line-height: 1.12; margin-bottom: 22px; }
@media (min-width: 1000px) { .h-sec { font-size: 58px; line-height: 1.08; margin-bottom: 46px; } }
.h-sec--sm { font-size: 30px; }
@media (min-width: 1000px) { .h-sec--sm { font-size: 52px; } }

.pull {
  font-family: var(--display); font-size: 26px; line-height: 1.18; color: var(--red);
  padding-top: 26px;
}
@media (min-width: 1000px) {
  .pull-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; padding-top: 58px; }
  .pull { font-size: 44px; line-height: 1.12; padding-top: 0; }
}

/* ------------------------------------------------------------------- steps */
.steps { border-top: 2px solid var(--espresso); }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.step__n { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--red); }
.step__t { font-family: var(--display); font-size: 15px; letter-spacing: 0.11em; padding-bottom: 5px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
@media (min-width: 1000px) {
  .steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-bottom: 2px solid var(--espresso);
  }
  .step {
    display: flex; flex-direction: column; gap: 12px;
    padding: 30px 28px 34px;
    border-bottom: none; border-right: 1px solid var(--rule);
  }
  .step:last-child { border-right: none; }
  .step__n { font-size: 40px; }
  .step__t { font-size: 17px; letter-spacing: 0.12em; padding-bottom: 0; }
  .step p { font-size: 15px; }
}

/* --------------------------------------------------------------- scan board */
.scan-wrap { display: grid; gap: 20px; }
.scan-total__cap { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 1000px) {
  .scan-wrap { grid-template-columns: 1fr 620px; gap: 70px; align-items: start; }
}
.scan-total { display: flex; flex-direction: column; gap: 2px; }
.scan-total .money { font-size: 34px; }
.scan-total .money span { font-size: 16px; }
@media (min-width: 1000px) {
  .scan-total {
    flex-direction: row-reverse; align-items: flex-end; justify-content: space-between; gap: 20px;
  }
  .scan-total .money { font-size: 46px; white-space: nowrap; }
  .scan-total .money span { font-size: 20px; }
  .scan-total__cap { font-family: var(--display); font-size: 22px; line-height: 1.2; max-width: 15ch; }
}

/* -------------------------------------------------------------- difference */
.split { display: grid; gap: 26px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; } }
.split--wide { }
@media (min-width: 1000px) { .split--wide { grid-template-columns: 1.15fr 1fr; } }

.def { padding: 18px 0; border-top: 1px solid var(--rule); }
.def__t { font-family: var(--display); font-size: 17px; line-height: 1.2; padding-bottom: 6px; }
.def p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
@media (min-width: 1000px) {
  .def { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; }
  .def__t { font-size: 19px; padding-bottom: 0; }
}

.dash-item { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--ink-2); }
.dash-item__d { font-family: var(--ticket); color: var(--red); }

/* --------------------------------------------------- reliability explainer */
.score-board { display: flex; flex-direction: column; gap: 4px; padding: 30px; }
.score-board__n { font-family: var(--display); font-size: 62px; line-height: 1.04; color: var(--cream-lit); }
.score-board__n span { font-size: 24px; color: var(--on-dark); }
.score-board__band {
  align-self: flex-start; margin-top: 6px; padding: 6px 14px; background: var(--red);
  font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; color: var(--cream-lit);
}
.score-board p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--on-dark); }
@media (min-width: 1000px) { .score-board__n { font-size: 76px; } .score-board__n span { font-size: 28px; } }

.quote-box {
  border: 2px solid var(--espresso); background: var(--cream-menu);
  padding: 22px 24px;
  font-family: var(--display); font-size: 19px; line-height: 1.3;
}
@media (min-width: 1000px) { .quote-box { padding: 26px 28px; font-size: 21px; } }

/* -------------------------------------------------------------- closing CTA */
.closer {
  background: var(--cream-menu); border-top: 1px solid var(--rule);
  padding: 54px var(--gutter) 60px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.closer h2 { font-size: 38px; line-height: 1.08; }
.closer__sub { font-family: var(--display); font-size: 22px; color: var(--red); }
@media (min-width: 1000px) {
  .closer { padding: 96px var(--gutter) 104px; gap: 28px; }
  .closer h2 { font-size: 74px; line-height: 1.06; }
  .closer__sub { font-size: 30px; }
}

/* ------------------------------------------------------------------ footer */
.site-foot {
  background: var(--espresso);
  padding: 34px var(--gutter) 44px;
  display: flex; flex-direction: column; gap: 20px;
  font-family: var(--ticket); font-size: 11px; line-height: 1.7; letter-spacing: 0.08em;
  color: var(--ink-5);
}
.site-foot a { color: var(--on-dark); }
.site-foot a:hover { color: var(--cream-lit); }
@media (min-width: 1000px) {
  .site-foot { flex-direction: row; justify-content: space-between; gap: 40px; padding: 40px var(--gutter) 56px; }
  .site-foot__legal { max-width: 70ch; }
  .site-foot__links { text-align: right; white-space: nowrap; letter-spacing: 0.13em; }
}

/* ------------------------------------------------- one-offs, as classes */
/* See the note at the foot of tovi.css: the CSP does not allow style="". */
.outcome { background: var(--cream); }
.outcome__t { font-family: var(--display); font-size: 20px; padding-bottom: 8px; }
.claim { font-size: 18px; line-height: 1.5; font-weight: 600; max-width: 42ch; margin-bottom: 22px; }
.pull-note { font-size: 16px; line-height: 1.6; color: var(--ink-3); padding-top: 16px; }
.ticket--foot { padding-top: 12px; color: var(--ink-5); }
.ticket--label { padding-bottom: 12px; }
.ticket--above { padding-bottom: 10px; }
.cta-center { display: flex; justify-content: center; padding-top: 30px; }
.receipt__line { margin-top: 8px; font-size: 15px; }
.h-sec--tight { margin-bottom: 0; }
.scan-tag { font-size: 11px; }
