/* ProveFox landing (L1). Tokens are the approved palette (spec section 5); parent side is pinned light.
   System font stack, no webfont, no third-party request. */
:root {
  color-scheme: light;
  --navy: #0F172A; --slate: #1E293B; --amber: #F59E0B; --teal: #2DD4BF; --teal-deep: #0D9488; --amber-deep: #B45309;
  --cloud: #F8FAFC; --white: #FFFFFF; --muted: #475569; --edge: #64748B; --hair: #DDE3EA; --red: #DC2626;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.45 var(--font); background: var(--cloud); color: var(--navy); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--cloud); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--white); color: var(--navy); padding: 12px 16px; z-index: 9; }
.skip:focus { top: 8px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.dark { background: var(--navy); color: var(--cloud); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 1.5px solid var(--amber); border-radius: 999px; background: var(--amber); color: var(--navy);
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; }
.btn--ghost { background: transparent; color: var(--cloud); border-color: var(--teal); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { cursor: progress; }

.nav .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { margin: 0; display: inline-flex; align-items: center; min-height: 44px; line-height: 0; }
.brand img { height: 64px; width: auto; margin-block: -12px; }
.nav nav { display: flex; gap: 16px; flex-wrap: wrap; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav nav a:hover { text-decoration: underline; }
.nav .btn { margin-left: auto; }

.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 40px 56px; }
.hero h1 { font-size: 56px; line-height: .95; letter-spacing: -.02em; margin: 0 0 16px; }
.hero p { font-size: 20px; margin: 0 0 24px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { justify-self: center; width: 100%; max-width: 260px; }

.band { padding: 56px 0; }
.band > div { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.band h2 { font-size: 34px; text-align: center; margin: 0 0 24px; line-height: 1.15; }
.alt { background: var(--white); }
.steps, .tiers, .cards { display: grid; gap: 20px; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--hair); border-radius: 16px; padding: 20px; }
.alt .card { background: var(--cloud); }
.step-art { display: block; width: 100%; height: 180px; object-fit: contain; margin-bottom: 12px; }
.card h3 { font-size: 20px; margin: 0 0 8px; }
.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); font-weight: 700; margin-bottom: 8px; }
.week { display: flex; gap: 12px; margin: 4px 0 12px; flex-wrap: wrap; }
.week div { display: grid; justify-items: center; gap: 4px; font-size: 15px; color: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid transparent; }
.dot--solid { background: var(--teal-deep); border-color: var(--teal-deep); }
.dot--practising { background: linear-gradient(90deg, var(--amber-deep) 50%, transparent 50%); border-color: var(--amber-deep); }
.dot--notyet { border-color: var(--edge); }
.dot--none { border-color: var(--edge); border-style: dashed; }
.honesty { font-weight: 700; color: #0F766E; }
.tier { text-align: center; }
.tier p { color: var(--muted); }
.center { text-align: center; max-width: 60ch; margin: 20px auto 0; }

.pilot { max-width: 34rem; margin: 24px auto 0; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 12px; font: 16px var(--font); color: var(--navy);
  background: var(--white); border: 1.5px solid var(--edge); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.field > .hint { font-weight: 400; }
.hint { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; font-weight: 700; }
.status[hidden] { display: none; }
.status.bad { color: var(--red); }
.priv { max-width: 62ch; }
.priv h2 { text-align: left; }

footer { padding: 32px 20px; text-align: center; }
footer .brand { display: inline-block; margin: 0 0 8px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 24px 16px 40px; gap: 20px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .hero-art { order: -1; max-width: 160px; }
  .wrap { padding-inline: 16px; }
  .band { padding: 40px 0; }
  .band > div { padding-inline: 16px; }
  .nav .wrap { display: grid; grid-template-columns: 1fr auto; row-gap: 0; }
  .nav nav { grid-row: 2; grid-column: 1 / -1; }
  .band h2 { font-size: 28px; }
  .steps, .tiers, .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* L2 privacy and L3 terms: a reading surface, measure capped, one bold plain sentence per section. */
.legalbar nav { margin-left: auto; }
.legal { max-width: 68ch; margin-inline: auto; padding: 24px 20px 56px; }
.legal h1 { font-size: 34px; margin: 0 0 12px; line-height: 1.15; }
.legal__meta { margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.legal h2 { font-size: 20px; margin: 32px 0 8px; scroll-margin-top: 20px; }
.legal p, .legal li { font-size: 16px; line-height: 1.45; }
.legal__plain { font-weight: 700; }
.legal ul { padding-left: 20px; }
.legal a { color: #0F766E; }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; }
.pending { border: 1.5px solid var(--red); border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; }
.pending h2 { margin: 0 0 8px; font-size: 16px; color: var(--red); }
.pending ul { margin: 0; padding-left: 20px; font-size: 15px; }
.toc { margin: 0 0 24px; padding: 16px; background: var(--white); border: 1px solid var(--hair); border-radius: 16px; }
.toc h2 { font-size: 16px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
.tbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; background: #EEF2F7; padding: 0 4px; border-bottom: 2px solid var(--red); }
.never { border: 1.5px solid var(--teal-deep); border-radius: 16px; padding: 16px; margin: 16px 0; }
.never p { margin: 0; font-size: 17px; font-weight: 700; }
@media (max-width: 760px) { .legalbar nav { margin-left: 0; grid-column: 1 / -1; } }
