/* Minimal stylesheet for the WO10 foundation pages. The real seller pages
   (WO11) bring the Tailwind build (standalone CLI, no Node) described in
   docs/frontend.md; these tokens match the live offer page's palette. */
:root {
  --ground: #f8f7f3; --surface: #fff; --ink: #172b34; --ink-soft: #4e5a5e; --line: #d4d6d3;
  --accent: #233f4b; --display: "Baskervville", Georgia, serif; --body: "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #141d22; --surface: #1b272e; --ink: #eeeae1; --ink-soft: #bdc8ce; --line: #3b4b54;
          --accent: #b4ccd9; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.55 var(--body); }
.wrap { max-width: 640px; margin: 0 auto; padding: 28px 18px 48px; }
.brand { font-family: var(--display); font-size: 26px; letter-spacing: .03em; margin: 0 0 10px; line-height: 1.2; }
h2 { font-family: var(--display); line-height: 1.15; margin: 0 0 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 16px 0; }
.amount { font-family: var(--display); font-size: 30px; margin: 8px 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }

/* The offer page (rehearsal feedback 2026-11-16): labels above full-width
   boxes, a notice that cannot be missed, the facts on file as a list. */
:root { --ok-ground: #e7f1ea; --ok-ink: #1d4a2c; --error-ground: #f8e6e3; --error-ink: #7a2418; --field: #fff; }
@media (prefers-color-scheme: dark) {
  :root { --ok-ground: #1d3326; --ok-ink: #cfe8d6; --error-ground: #3d2220; --error-ink: #f3cfc9; --field: #141d22; }
}
h3 { font-size: 17px; margin: 18px 0 6px; }
.facts { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: 10px 16px; margin: 12px 0 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .label { color: var(--ink-soft); font-size: 14px; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px 0; } .facts dd { margin-bottom: 10px; } }
.notice { border-radius: 8px; padding: 12px 14px; margin: 8px 0 14px; font-weight: 600; }
.notice-ok { background: var(--ok-ground); color: var(--ok-ink); }
.notice-error { background: var(--error-ground); color: var(--error-ink); }
.sign { display: flex; flex-direction: column; gap: 14px; }
.sign p { margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; color: var(--ink);
               background: var(--field); border: 1px solid var(--line); border-radius: 8px; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.sign button { align-self: flex-start; font: inherit; font-weight: 600; padding: 12px 20px; border: 0;
               border-radius: 8px; background: var(--accent); color: var(--surface); cursor: pointer; }
.sent { margin: 6px 0 10px; padding-left: 20px; }
