/* Shared styles for the one-screen offer pages (/founding, /read). Same palette and type as the
   Fit Finder (index.html). Purple carries chrome; gold only marks the "match" moment. */
:root {
  --bg: #f4f4f3; --surface: #ffffff; --surface-2: #f3f3f9; --border: #dddde9;
  --ink: #141413; --ink-muted: #4f4f4f; --ink-faint: #6b6b6b;
  --primary: #6564e2; --primary-text: #4f4ed8; --primary-soft: #ebebf9;
  --accent: #b17d16; --accent-soft: #fcf2de; --good: #267d70; --bad: #c32613;
  --shadow: 0 1px 2px rgba(20,20,25,.05), 0 12px 28px -14px rgba(20,20,25,.16);
  /* depth, design system v5 (Oct 19), ported Oct 20 */
  --primary-top: #6564e2; --primary-bottom: #4f4ed8; --mark-gold: #f2c46b;
  --shadow-primary: 0 1px 2px rgba(40,38,140,.30), 0 8px 18px -8px rgba(101,100,226,.60);
  --highlight-primary: inset 0 1px 0 rgba(255,255,255,.25);
  --highlight-surface: inset 0 1px 0 rgba(255,255,255,.9);
  --pressed: inset 0 1px 2px rgba(20,20,25,.18);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.55;
  padding-inline: 16px; padding-block: 20px 48px;
}
.shell { max-width: 640px; margin: 0 auto; }
h1, h2, h3 { font-family: 'Manrope', system-ui, sans-serif; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 28px; line-height: 1.15; font-weight: 800; margin-top: 14px; }
h2 { font-size: 17px; font-weight: 800; }
p { margin: 10px 0 0; }
a { color: var(--primary-text); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; font-size: 16px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(155deg, var(--primary-top), var(--primary-bottom)); box-shadow: var(--highlight-primary), 0 3px 10px -3px rgba(101,100,226,.45); display: flex; align-items: center; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 5px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.lede { color: var(--ink-muted); font-size: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--highlight-surface), var(--shadow); padding: 22px; margin-top: 18px; }
.card.example { border-color: var(--accent); }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.example .eyebrow { color: #8a5f0c; }
.rows { margin: 12px 0 0; padding: 0; list-style: none; }
.rows li { padding: 10px 0; border-top: 1px solid var(--border); }
.rows li:first-child { border-top: none; padding-top: 4px; }
.rows b { display: block; font-size: 12.5px; color: var(--ink-muted); font-weight: 600; margin-bottom: 2px; }
.msg { background: var(--surface-2); border-radius: 9px; padding: 12px; white-space: pre-wrap; font-size: 14px; }
.who { font-size: 14px; color: var(--ink-muted); }
label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input, select { width: 100%; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 11px 12px; }
input:focus, select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; font: inherit; font-weight: 700; font-size: 15px; border-radius: 9px; border: none; padding: 13px 16px; cursor: pointer; background: linear-gradient(180deg, var(--primary-top), var(--primary-bottom)); color: #fff; box-shadow: var(--highlight-primary), var(--shadow-primary); transition: transform .08s ease, box-shadow .15s ease; }
.btn:hover:not([disabled]) { background: var(--primary-bottom); }
.btn:active:not([disabled]) { transform: translateY(1px); box-shadow: var(--pressed); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: default; box-shadow: none; }
.hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }
.error { color: var(--bad); font-size: 13px; min-height: 1em; margin-top: 8px; }
.full-note { background: var(--accent-soft); border-radius: 9px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.done h2 { font-size: 20px; }
footer { margin-top: 28px; font-size: 12.5px; color: var(--ink-faint); display: flex; gap: 14px; flex-wrap: wrap; }
footer a { color: var(--ink-faint); }
@media (max-width: 480px) { h1 { font-size: 24px; } .card { padding: 18px; } }
