:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --text: #2b2433;
  --muted: #6b6475;
  --brand: #b02b58;
  --brand-soft: #fbe7ee;
  --ok: #00854d;
  --border: #ece4e8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131a;
    --surface: #211b25;
    --text: #f3eef5;
    --muted: #b3a9ba;
    --brand: #f06b97;
    --brand-soft: #3a2230;
    --ok: #4cd39a;
    --border: #3a3140;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--brand); }
header, main, footer { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; flex-wrap: wrap; gap: 8px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; color: var(--text); }
.logo-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 18px; }
nav { display: flex; gap: 16px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--brand); }
.hero { padding: 56px 0 32px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 24px; }
.button { display: inline-block; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 48px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.doc h1 { margin-top: 40px; }
.doc h2 { margin-top: 32px; font-size: 21px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.price { font-size: 28px; font-weight: 700; }
footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 20px 16px 40px; color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* External approval page (approve.html): opened by clients from their private link, often on a phone. */
.approve-page header, .approve-page main, .approve-page footer { max-width: 640px; }
.approve-page main { padding-top: 24px; }
.approve-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.approve-card h1 { margin: 0; font-size: clamp(24px, 5vw, 32px); line-height: 1.2; overflow-wrap: anywhere; }
.approve-card h2 { margin: 8px 0 4px; font-size: 16px; }
.approve-card blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.eyebrow { margin: 0; color: var(--brand); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.lead { margin: 0; color: var(--muted); font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 13px; margin: 0; }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file-list li { overflow-wrap: anywhere; }
.file-preview { display: block; max-width: 100%; margin-top: 8px; border-radius: 8px; border: 1px solid var(--border); }
.button-small { font: inherit; font-size: 14px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.decision { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.decision label { font-weight: 600; }
.decision textarea { font: inherit; width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); resize: vertical; }
.decision-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.decision-buttons .button { flex: 1 1 160px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 17px; padding: 14px 22px; cursor: pointer; }
.button.button-ok { background: #00854d; color: #fff; }
.button.button-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.button:disabled, .button-small:disabled { opacity: 0.6; cursor: wait; }
.error { color: #d83a52; margin: 0; }
.error:empty { display: none; }
.outcome { margin: 8px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--brand-soft); }
.outcome p { margin: 0; }
.outcome blockquote { margin-top: 8px; }
.outcome-title { font-weight: 600; }
.outcome-ok { border-left: 4px solid #00854d; }
.outcome-no { border-left: 4px solid #d83a52; }
