
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-soft: #efece4;
  --text: #24231f;
  --muted: #5c5a53;
  --line: #dcd8cd;
  --accent: #2e6a63;
  --accent-ink: #ffffff;
  --help: #9c3f1d;
  --help-ink: #ffffff;
  --focus: #1d4ed8;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1c1a;
    --surface: #242623;
    --surface-soft: #2c2e2a;
    --text: #ecebe6;
    --muted: #b5b3ab;
    --line: #3b3d38;
    --accent: #7cc0b6;
    --accent-ink: #10201e;
    --help: #f0a07e;
    --help-ink: #2a1208;
    --focus: #93b4ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 12px 16px; z-index: 10; }
.skip-link:focus { left: 16px; top: 12px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 960px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 6px 2px; display: inline-block; }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom: 2px solid var(--accent); }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 1.25rem; margin: 28px 0 8px; }
h3 { font-size: 1.05rem; margin: 18px 0 6px; }
p { margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.925rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.card.soft { background: var(--surface-soft); }
.card > :first-child { margin-top: 0; }
.stack > * + * { margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.button, button { font: inherit; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; cursor: pointer; }
.button.secondary, button.secondary { background: transparent; color: var(--accent); }
.button.quiet, button.quiet { background: transparent; border-color: transparent; color: var(--accent); padding: 6px 10px; min-height: 40px; text-decoration: underline; }
.button.large { min-height: 56px; font-size: 1.1rem; padding: 12px 28px; }
.button.help, .help-link { background: var(--help); border-color: var(--help); color: var(--help-ink); }
.help-link { font-weight: 700; padding: 8px 18px; border-radius: 999px; text-decoration: none; display: inline-block; }
.help-hero { display: block; text-align: center; font-size: 1.3rem; padding: 20px; border-radius: var(--radius); }
.inline-form { display: inline; }
label, legend { font-weight: 600; display: block; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 0.95rem; margin: 0 0 8px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], textarea, select { font: inherit; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; }
.field { margin: 0 0 22px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.choice input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.progress { margin: 8px 0 20px; }
.progress label { font-weight: 400; }
.progress progress { width: 100%; height: 12px; appearance: none; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); overflow: hidden; accent-color: var(--accent); }
.progress progress::-webkit-progress-bar { background: var(--surface-soft); }
.progress progress::-webkit-progress-value { background: var(--accent); }
.progress progress::-moz-progress-bar { background: var(--accent); }
.notice { background: var(--surface); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; margin: 12px 0 20px; }
.errors { background: var(--surface); border-left: 4px solid var(--help); padding: 12px 16px; border-radius: 8px; margin: 12px 0 20px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.urgent { border-left: 4px solid var(--help); }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin-right: 6px; }
.tag.yours { border-color: var(--accent); color: var(--accent); }
.statement, .plan-item { border-top: 1px solid var(--line); padding: 12px 0; }
.statement:first-of-type, .plan-item:first-of-type { border-top: 0; }
.statement-label { font-size: 0.9rem; color: var(--muted); margin: 4px 0 2px; }
.item-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.done-title { text-decoration: line-through; color: var(--muted); }
.section-list { list-style: none; padding: 0; margin: 0; }
.section-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.section-list li:first-child { border-top: 0; }
.site-footer { max-width: 760px; margin: 0 auto; padding: 16px 16px 40px; color: var(--muted); font-size: 0.9rem; }
.grid-2 { display: grid; gap: 12px; }
@media (min-width: 640px) {
  h1 { font-size: 2rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
