/* ============================================================
   ShortList landing — "Lab grid" base: header strip, buttons, sections,
   headlines, hero, closing block, footer; plus the privacy / sources
   page layout and the waitlist modal. Values from tokens.css.
   Look ported from concepts/landing-lab-grid/css/style.css (2026-10-21).
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--white); color: var(--ink);
  font-family: 'Barlow', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
/* One column for the story and the tool on every screen size; the routine and the bottom stay wide (owner 2026-10-21). */
.container-narrow { max-width: 800px; }

/* ---------- header strip ---------- */
.top { border-bottom: 1px solid var(--ink); position: sticky; top: 0; background: var(--white); z-index: 5; }
.top-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.logo { display: block; height: 34px; width: auto; }
.logo-small { height: 20px; }
.tagline { border-bottom: 1px solid var(--ink); padding: 8px 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- buttons (the tool's forms use .btn-primary, so it shares the yellow look) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none;
  font: 700 15px 'Barlow', sans-serif; padding: 11px 16px; cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-y, .btn-primary { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.btn-y:hover, .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-y:active, .btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-sm { padding: 7px 12px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }
.btn-big { font-size: 18px; padding: 15px 20px; min-width: min(100%, 320px); margin-top: 18px; }

/* ---------- sections + headlines ---------- */
.sec { border-bottom: 1px solid var(--ink); padding: 28px 0 36px; }
.sec-tool { background: #f5f5f5; }
.eyebrow { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; color: var(--c2); }
/* Headlines in Gabarito, the live page's face. */
.display { font: 800 32px/1.08 'Gabarito', sans-serif; letter-spacing: -0.5px; margin: 0; color: var(--ink); }
.display-md { font-size: 28px; margin-bottom: 20px; }
.display-xl { font-size: 30px; text-wrap: balance; }

/* ---------- hero: the problem ---------- */
.two { display: grid; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.deck { font: 500 19px/1.4 'Barlow', sans-serif; margin: 0; }
.body, .lead { font-size: 16px; line-height: 1.55; margin: 0; }
.close-row { align-items: start; }
.quote { margin: 0; border: 3px solid var(--ink); border-left: 10px solid var(--c5); padding: 18px 54px 18px 18px; position: relative; }
.quote blockquote { margin: 0; font: 600 20px/1.4 'Barlow', sans-serif; text-wrap: pretty; }
.quote blockquote::before { content: "”"; position: absolute; right: 12px; top: -4px; font: 800 60px/1 'Gabarito', sans-serif; color: var(--c5); }
.quote figcaption { margin-top: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

.offer { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 10px; color: var(--c2); }

/* ---------- closing block ---------- */
.sec-close { padding: 40px 0 44px; border-bottom: 0; }
.sec-close .display-xl { max-width: 900px; }
.close-foot { display: grid; gap: 14px; margin-top: 22px; padding-top: 16px; border-top: 4px solid var(--ink); align-items: end; }
.final-sub { font: 500 20px 'Barlow', sans-serif; margin: 0; }
.close-foot .offer { margin-bottom: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); padding: 20px 0 30px; }
.foot-grid { display: grid; gap: 12px; align-items: center; }
.foot p { font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.foot a { font-size: 10px; text-transform: uppercase; color: var(--ink); text-decoration: underline; }

/* ---------- privacy / sources pages ---------- */
.policy { max-width: 720px; padding-top: 32px; padding-bottom: 72px; }
.policy-title { font: 800 clamp(32px, 4.5vw, 44px)/1.05 'Gabarito', sans-serif; letter-spacing: -0.5px; margin-bottom: 10px; }
.policy-date { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.policy-summary { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--yellow); background: var(--white); padding: 22px 24px; margin-bottom: 36px; }
.policy-summary p { font-size: 16px; line-height: 1.6; }
.policy-summary strong { font-family: 'Gabarito', sans-serif; font-weight: 800; }
.policy h2 { font: 800 21px/1.2 'Gabarito', sans-serif; margin: 30px 0 10px; }
.policy p, .policy li { font-size: 15px; line-height: 1.65; color: var(--ink); max-width: 62ch; }
.policy ul { margin: 10px 0 0 20px; }
.policy li { margin-bottom: 8px; }
.policy a:not(.btn) { text-decoration: underline; }
.policy-link { font-weight: 700; border-bottom: 2px solid var(--yellow); }

/* ---------- waitlist modal ---------- */
.waitlist {
  margin: auto; /* restore centering removed by the * reset */
  border: 3px solid var(--ink); background: var(--white); color: var(--ink);
  padding: 32px; width: min(430px, calc(100vw - 40px)); font-family: 'Barlow', system-ui, sans-serif;
}
.waitlist::backdrop { background: rgba(17, 17, 17, 0.7); }
.waitlist h3 { font: 800 26px 'Gabarito', sans-serif; margin-bottom: 8px; }
.wl-intro { font-size: 15px; color: var(--muted); line-height: 1.55; margin-bottom: 22px; }
.wl-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 2px solid var(--ink); cursor: pointer; background: var(--white); font-size: 16px; line-height: 1; }
.waitlist label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.waitlist input[type="text"], .waitlist input[type="email"] {
  display: block; width: 100%; margin-top: 6px; font: 500 15px 'Barlow', sans-serif; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); padding: 11px 14px;
}
.wl-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; } /* Reason: off-screen, not display:none, so bots still fill it */
.wl-submit { width: 100%; margin-top: 4px; }
.wl-success h3 { margin-top: 4px; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 720px) {
  .quote blockquote { font-size: 24px; }
  :root { --gutter: 28px; }
  .display { font-size: 44px; }
  .display-md { font-size: 36px; }
  .display-xl { font-size: 38px; }
  .close-foot { grid-template-columns: 1fr auto; }
  .foot-grid { grid-template-columns: auto 1fr auto; gap: 24px; }
}
@media (min-width: 1000px) {
  .display { font-size: 52px; max-width: 960px; }
  .display-md { font-size: 40px; }
  .display-xl { font-size: 44px; }
}
