/* The body of every static page except the home page: pricing, the legal pages, contact,
   the launch board, 404 and the waitlist replies. Same layout as before the redesign; the
   type and colour now come from brand.css, which loads first.

   brand.css zeroes the margins on headings and paragraphs (the home page spaces with gap),
   so long-form pages put their reading rhythm back here. */

.page, .legal { max-width: 1120px; margin: 0 auto; padding: 56px 24px 72px; }
.legal { max-width: 780px; }

.page h1, .legal h1 { font: 600 clamp(34px, 4vw, 52px)/1.08 var(--display); letter-spacing: -0.02em; margin: 0 0 .45em; }
.page h2, .legal h2 { font: 600 clamp(24px, 2.6vw, 30px)/1.2 var(--display); letter-spacing: -0.01em; margin: 1.4em 0 .5em; }
.page h3 { font-size: 18px; font-weight: 600; margin: 0 0 .4em; }
.page p, .legal p, .page ul, .legal ul, .legal ol { margin: 0 0 1em; line-height: 1.6; }
.page li, .legal li { margin: .3em 0; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 40em; }
.page .note, .legal .note { font-size: 14px; }
.center { text-align: center; }
.free { font-weight: 600; color: var(--accent-dark); margin: 0; }
.page .btn.primary { margin-top: 8px; }

.legal .updated { color: var(--muted); }
.legal section { padding: 4px 0; }
.legal h2 { font-size: 22px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 22px; margin: 24px 0; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 220px; }

.ticks { padding-left: 0; list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin: .6em 0; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.cards { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 28px 0 40px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1.3fr; } }
.cards .card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-rest); }
.cards .card h2 { margin-top: 0; font-size: 20px; }
.cards .card.featured { border: 2px solid var(--accent); box-shadow: var(--ring); }
.price { font: 600 48px/1.1 var(--display); letter-spacing: -0.03em; margin: 0 0 .3em; }

table.plain { border-collapse: collapse; width: 100%; max-width: 640px; margin: 8px 0 28px; font-size: 15px; }
table.plain th, table.plain td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { font-weight: 600; }

/* The launch board (/launch): every task to launch, who owns it, what is done. */
.board { max-width: 900px; }
.board h2 { margin-top: 0; }
/* A <progress> element, not a div with an inline width: the CSP (style-src 'self') drops
   inline styles, which left the old bars empty on the live site. */
.bar { display: block; width: 100%; height: 10px; margin: 0 0 20px; appearance: none; -webkit-appearance: none;
  background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.bar.big { height: 16px; margin-bottom: 28px; }
.bar::-webkit-progress-bar { background: var(--sunk); }
.bar::-webkit-progress-value { background: var(--accent); }
.bar::-moz-progress-bar { background: var(--accent); }
.blocking { background: var(--sunk); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--r-control); padding: 18px 20px; margin: 0 0 32px; }
.blocking h2 { font-size: 20px; margin: 0 0 .5em; }
.blocking ul { margin: 0; padding-left: 1.2em; }
.blocking li { margin: .3em 0; }
.owner { margin: 40px 0 0; }
.owner .count { font: 400 16px var(--body); color: var(--muted); }
.tasks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r-control); padding: 12px 14px; background: var(--surface); }
@media (min-width: 720px) { .task { grid-template-columns: auto 1fr auto; align-items: center; } }
.task .tick { font-size: 17px; line-height: 1.3; color: var(--muted); }
.task.done { opacity: .72; }
.task.done .tick { color: var(--accent); }
.task.blocked .tick, .task.blocked .chip { color: var(--warn); }
.task.dropped { opacity: .5; }
.task.dropped strong { text-decoration: line-through; }
.task .what { display: grid; gap: 2px; }
.task .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; grid-column: 2; }
@media (min-width: 720px) { .task .meta { grid-column: auto; justify-content: end; } }
.chip { font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 10px; white-space: nowrap; }
.chip.done { background: var(--accent-tint); color: var(--accent-dark); border-color: transparent; }
.chip.doing { background: var(--gold-tint); color: var(--gold-ink); border-color: transparent; }
.chip.blocked { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.built { background: transparent; color: var(--muted); border-style: dashed; }

/* ---- Feedback and Contact us (R23): the two forms, web/public/messages.js ---- */
.msgform { display: grid; gap: 18px; max-width: 40rem; margin: 28px 0 8px; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-rest); }
.msgform .field { display: grid; gap: 6px; }
.msgform .field > span:first-child { font-weight: 600; }
.msgform input, .msgform select, .msgform textarea {
  font: 16px/1.45 var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--r-control); padding: 10px 12px; width: 100%; }
.msgform textarea { resize: vertical; min-height: 10rem; }
.msgform input:focus-visible, .msgform select:focus-visible, .msgform textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.msgform .hint, .msgform .count { font-size: 14px; color: var(--muted); margin: 0; }
.msgform .count.over { color: var(--warn); font-weight: 600; }
.msgform .hint:empty { display: none; }
.msgform .btn.primary { justify-self: start; margin: 0; }
.msgform[aria-busy="true"] .btn.primary { opacity: .6; cursor: progress; }
.msgform .status { margin: 0; font-weight: 600; }
.msgform .status:empty { display: none; }
.msgform .status.ok { color: var(--accent-dark); }
.msgform .status.problem { color: var(--warn); }
/* The honeypot: a field no person sees or reaches. */
.msgform .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.noscript { border-left: 4px solid var(--warn); padding: 12px 16px; background: var(--sunk); border-radius: var(--r-control); }
