/* legititapp.com - same look as the app: readable type (Atkinson Hyperlegible, made
   for low vision), Fraunces for headlines, the app's blue for "legit" and its
   warm ground. */
:root {
  --ground: #F4F1EA; --surface: #FFFFFF; --ink: #1C1B19; --muted: #57534E; --line: #E6E0D5;
  --legit: #1F5FAD; --legit-soft: #E3ECF7; --bad: #B3400A; --bad-soft: #FBE6DA; --mixed: #8A5A00;
  --display: "Fraunces", Georgia, serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #15140F; --surface: #1F1D18; --ink: #F1EEE7; --muted: #B5AFA4; --line: #34312A;
    --legit: #8DB4EA; --legit-soft: #1C2A3D; --bad: #F08A52; --bad-soft: #3A2318; --mixed: #E7B45A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
a { color: var(--legit); }
:focus-visible { outline: 3px solid var(--legit); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.5vw, 34px); line-height: 1.2; }
h3 { font-size: 19px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* header */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.shield { width: 30px; height: 34px; background: var(--legit); color: #fff; display: grid; place-items: center; font-weight: 700;
  border-radius: 6px 6px 15px 15px; font-size: 17px; }
.brand b { font-family: var(--display); font-size: 23px; font-weight: 600; }
.top nav { display: flex; gap: 18px; font-size: 16px; }
.top nav a { color: var(--ink); text-decoration: none; }

/* hero */
.hero { padding-block: 36px 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 20px; }
.lede { font-size: 21px; color: var(--muted); max-width: 34ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 18px;
  border-radius: 999px; padding: 14px 26px; border: 2px solid var(--ink); background: var(--ink); color: var(--ground);
  text-decoration: none; cursor: pointer; min-height: 52px; }
.btn.ghost { background: transparent; color: var(--ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* phone mock: a scam text with the verdict sliding up over it */
.phone { width: min(320px, 100%); aspect-ratio: 9 / 18; margin-inline: auto; border-radius: 40px; border: 10px solid var(--ink);
  background: var(--surface); position: relative; overflow: hidden; }
.chat { padding: 34px 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { background: var(--line); border-radius: 18px 18px 18px 6px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.sheet { position: absolute; inset: auto 0 0 0; background: var(--ground); border-radius: 22px 22px 0 0; padding: 18px; display: flex;
  flex-direction: column; gap: 8px; box-shadow: 0 -10px 30px rgba(0,0,0,.12); }
.verdict-row { display: flex; justify-content: space-between; align-items: baseline; }
.verdict-row b { font-family: var(--display); font-size: 26px; color: var(--bad); }
.verdict-row span { font-weight: 700; font-size: 20px; }
.meter { display: flex; gap: 3px; height: 8px; }
.meter i { flex: 1; border-radius: 2px; }
.sheet p { font-size: 14px; line-height: 1.4; }

/* sections */
section { padding-block: 52px; }
section.band { background: var(--surface); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
section.band .card { background: var(--ground); }
.card .tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--legit); }
ul.checks { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.plan .price { font-family: var(--display); font-size: 32px; font-weight: 600; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--muted); }

/* waitlist form */
form.waitlist { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
label { font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
input, select { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); min-height: 52px; }
input:focus, select:focus { border-color: var(--legit); outline: none; }
.note { font-size: 15px; color: var(--muted); }
.status { min-height: 1.5em; font-weight: 700; }
.status.ok { color: var(--legit); }
.status.err { color: var(--bad); }
.code-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--legit-soft); color: var(--legit); font-weight: 700;
  font-size: 22px; letter-spacing: .06em; padding: 10px 18px; border-radius: 12px; }

/* legal pages */
.legal { padding-block: 24px 64px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); }
.legal h2 { font-size: 24px; margin-top: 34px; }
.legal p, .legal li { max-width: 68ch; }
.legal .stack { gap: 12px; }
.draft { background: var(--bad-soft); color: var(--bad); border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 16px; }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap, .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top nav { display: none; }
}
@media (max-width: 460px) { .plans { grid-template-columns: minmax(0, 1fr); } }
