/* One stylesheet for every directory. Each site sets --accent in its <head>. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #1d2320; --muted: #5d6762; --line: #e3e1da;
  --ok: #1f7a46; --warn: #a24b00; --radius: 12px; --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 2px 8px rgb(0 0 0 / .04);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131614; --surface: #1c201e; --ink: #e9ece9; --muted: #a3ada7; --line: #2e3430; --ok: #5cc98a; --warn: #f0a35e; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { a { color: color-mix(in srgb, var(--accent) 55%, white); } }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.preview { background: #fff3c4; color: #5a4300; font-size: 14px; padding: 6px 16px; text-align: center; }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 18px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--accent); }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 12px; }
.crumbs a { color: var(--muted); }
main { padding-top: 8px; padding-bottom: 48px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 20px 0 10px; letter-spacing: -0.01em; }
h2 { font-size: 23px; margin: 36px 0 12px; }
h3 { font-size: 18px; margin: 0 0 4px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hero { padding: 12px 0 8px; }
.btn, button[type=submit], .search button { display: inline-block; background: var(--accent); color: #fff !important; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover, button[type=submit]:hover { filter: brightness(1.08); }
.btn.small { padding: 7px 14px; font-size: 15px; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); margin: 18px 0; }
.search label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
select, input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], input:not([type]), textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 46px; }
@media (max-width: 680px) { .search { grid-template-columns: 1fr; } }
.promise { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.promise li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.doors { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.doors a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.doors a:hover { border-color: var(--accent); }
.doors strong { display: block; font-size: 18px; color: var(--accent); margin-bottom: 4px; }
.doors span { color: var(--muted); font-size: 15px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 14px; color: var(--muted); font-weight: 600; }
.ref { text-decoration: none; margin-left: 2px; }
.how { padding-left: 22px; }
.how li { margin-bottom: 8px; }
.answer { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
.answer div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.answer dt { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.answer dd { margin: 4px 0 0; font-weight: 600; }
.steps { padding-left: 0; list-style: none; counter-reset: s; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps p { margin: 4px 0; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.rules li { margin-bottom: 8px; }
.src { font-size: 13px; color: var(--muted); }
.draft { color: var(--warn); font-weight: 600; }
.checklist { list-style: none; padding: 0; }
.checklist li::before { content: "☐ "; color: var(--muted); }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card p { margin: 0 0 6px; font-size: 15px; }
.facts { list-style: none; padding: 0; margin: 6px 0 10px; font-size: 14px; }
.facts .check::before { content: "✓ "; color: var(--ok); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: #fff3c4; color: #5a4300; vertical-align: middle; }
.tag.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; }
.sources { font-size: 14px; color: var(--muted); }
.contact { list-style: none; padding: 0; }
.contact li { margin-bottom: 6px; }
.request { max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field[hidden] { display: none; }
.label, .request legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.checks, .radios { display: grid; gap: 6px; }
.checks label, .radios label, .match, .consent { display: flex; gap: 10px; align-items: flex-start; }
.radios { grid-auto-flow: column; justify-content: start; gap: 18px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.who { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; }
.match { padding: 4px 0; }
.consent { font-size: 15px; margin: 8px 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.5em; color: var(--warn); }
.thanks { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: var(--radius); padding: 6px 18px; max-width: 640px; }
.cta-biz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 8px; margin-top: 36px; }
.foot { border-top: 1px solid var(--line); background: var(--surface); font-size: 15px; padding: 18px 0 28px; }
.foot p { margin: 6px 0; }
/* Planner flows */
.plan-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 18px 0; }
.plan-summary div { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 12px 14px; }
.plan-summary span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.plan-summary strong { display: block; font-size: 22px; margin-top: 2px; }
.plan-summary small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.flow-form { margin-bottom: 8px; }
.biz { font-size: 15px; margin: 6px 0; }
.btn.ghost { background: transparent; color: var(--accent) !important; border: 2px solid var(--accent); padding: 10px 18px; }
.planners .doors a { border-top: 4px solid var(--accent); }
