html { color-scheme: light; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Single light look by design: the palette stays sand and olive in every viewer theme. */
/* Layout: slim header with contact, short hero, then one long intake form in labeled sections; review panel appears under the form. */
:root {
  --bg: #ebdecb;
  --surface: #f7efe3;
  --ink: #3a2f24;
  --muted: #695945;
  --line: #d3c1a8;
  --accent: #5a6445;
  --accent-ink: #ffffff;
  --accent-soft: #e0d0b9;
  --warn: #8a5a00;
  --danger: #a3262a;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  padding-block: 0 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 760px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0; line-height: 1.15; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

header.top { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.brand small { display: block; font-family: var(--font-body); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.reach { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .95rem; }
.reach span { color: var(--muted); }
.reach b { font-weight: 600; user-select: all; }

.hero { padding-block: 40px 28px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.hero-text { flex: 1 1 300px; min-width: 0; }
.portrait { width: 260px; height: 325px; flex: none; max-width: 100%; border-radius: 12px; object-fit: cover; object-position: 50% 18%; border: 1px solid var(--line); background: var(--accent-soft); }
@media (max-width: 700px) { .portrait { width: 240px; height: 300px; margin-inline: auto; } }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; text-align: center; text-decoration: none; line-height: 1.25; padding: 14px 32px; font: inherit; font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 10px; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta:hover { filter: brightness(1.1); }
.cta.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.cta.secondary:hover { background: var(--accent-soft); filter: none; }
@media (max-width: 560px) { .cta { width: 100%; } }
.plans { margin-bottom: 28px; }
.plans > h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); max-width: 26ch; }
.plans > p { color: var(--muted); max-width: 62ch; margin: 10px 0 0; }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
@media (max-width: 700px) { .plan-cards { grid-template-columns: minmax(0, 1fr); } }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; min-width: 0; }
.plan-card h3 { font-size: 1.2rem; margin-top: 10px; }
.plan-card .aka { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.badge.aca { color: var(--accent); }
.badge.pvt { color: var(--warn); }
.plan-card dl { margin: 16px 0 0; display: grid; gap: 12px; }
.plan-card dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.plan-card dd { margin: 3px 0 0; font-size: .95rem; }
.nopromise { margin-top: 16px; border: 2px solid var(--warn); border-radius: 10px; background: var(--surface); padding: 16px 20px; }
.nopromise h3 { font-size: 1.1rem; }
.nopromise p { margin: 8px 0 0; font-size: .95rem; }
.checks.one { grid-template-columns: minmax(0, 1fr); }
.why { margin-top: 44px; }
.why h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); }
.why p { max-width: 62ch; margin: 12px 0 0; font-size: 1.05rem; }
details.learn { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-top: 20px; }
form > details.learn { margin-top: 0; }
details.learn > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 14px 20px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
details.learn > summary::-webkit-details-marker { display: none; }
details.learn > summary::after { content: "+"; font-family: var(--font-body); font-size: 1.5rem; color: var(--accent); }
details.learn[open] > summary::after { content: "\2212"; }
.learn-body { padding: 0 20px 20px; }
.learn-body > p { color: var(--muted); max-width: 62ch; margin: 0; }
.learn-body .plan-cards { margin-top: 16px; }
.learn .plan-card { background: var(--bg); }
.learn-body h3 { font-size: 1rem; margin-top: 18px; }
.learn-body ul { margin: 8px 0 0; padding-left: 20px; }
.learn-body li { margin-top: 4px; font-size: .95rem; }
.stamp { font-size: .85rem; color: var(--muted); }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; }
.states { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.states h2 { font-size: 1.15rem; }
.states ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.states li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 0; font-size: .88rem; color: var(--muted); }
.states li a { display: block; padding: 5px 14px; border-radius: 999px; color: inherit; text-decoration: none; }
.states li a:hover { background: var(--accent-soft); }
.states li a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.states li b { color: var(--ink); letter-spacing: .04em; margin-right: 4px; }
.hero h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); max-width: none; white-space: nowrap; }
.hero p { max-width: 58ch; color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

form { display: flex; flex-direction: column; gap: 20px; }
fieldset { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 20px; margin: 0; min-width: 0; }
legend { padding: 0 8px; margin-left: -8px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.hint { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; font-weight: 600; min-width: 0; }
label.f em { font-style: normal; font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0; min-height: 44px;
}
textarea { min-height: 92px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
input:user-invalid, select:user-invalid { border-color: var(--danger); }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.chk { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 10px 12px; min-height: 44px; cursor: pointer; font-weight: 500; }
.chk input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.chk:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.person { border-top: 1px dashed var(--line); margin-top: 18px; padding-top: 18px; }
.person:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.person-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.person-head h3 { font-size: 1.05rem; }
.btn { font: inherit; font-weight: 600; min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; }
.btn:hover { background: var(--accent-soft); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.quiet { border-color: var(--line); color: var(--muted); min-height: 36px; padding: 4px 12px; font-size: .88rem; }
.add-row { margin-top: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notice { font-size: .85rem; color: var(--muted); }

#review { margin-top: 28px; border: 2px solid var(--accent); border-radius: 10px; background: var(--surface); padding: 20px; }
#review h2 { font-size: 1.5rem; }
#review p { margin: 8px 0 0; }
.callout { background: var(--accent-soft); border-radius: 8px; padding: 12px 14px; margin-top: 14px; font-weight: 500; }
pre#summary { white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85rem; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin: 16px 0; max-height: 360px; overflow: auto; }
#copyMsg { font-size: .9rem; color: var(--muted); min-height: 1.4em; margin-top: 10px; }

footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: grid; gap: 8px; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background .15s, filter .15s; } }
.spouse-toggle { margin-bottom: 6px; }
.hint-top { margin-top: 20px; }
.hint-tight { margin: 14px 0 0; }
.budget-other { margin-top: 14px; }
.state-field { max-width: 360px; }
.state-field + .state-note { margin-top: 14px; }
.state-note { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); font-size: .9rem; }
.status { margin-top: 28px; border: 2px solid var(--accent); border-radius: 10px; background: var(--surface); padding: 24px 20px; }
.status h2 { font-size: 1.6rem; }
.status p { margin: 10px 0 0; max-width: 60ch; }
.status .actions { margin-top: 18px; }
.status:focus { outline: 3px solid var(--accent); outline-offset: 3px; }
.form-error { border: 2px solid var(--danger); border-radius: 10px; background: var(--surface); padding: 14px 16px; }
.form-error strong { color: var(--danger); font-size: 1.05rem; }
.form-error p { margin: 6px 0 0; font-size: .95rem; }
.btn[disabled] { opacity: .65; cursor: progress; }

