:root {
  --ink: #111111;
  --green: #0f5c4d;
  --tint: #e8f3ef;
  --paper: #ffffff;
  --muted: #4a4a4a;
  --warn: #fff3c4;
  --bad: #a31616;
  --radius: 12px;
  --stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--stack);
}
[hidden] { display: none !important; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
a { color: var(--green); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid #e0a800;
  outline-offset: 2px;
}
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 10px; }
h3 { font-size: 1.05rem; margin: 18px 0 6px; }
p { margin: 0 0 12px; }
.small { font-size: 0.85rem; color: var(--muted); }

.topbar { border-bottom: 2px solid var(--ink); background: var(--paper); }
.topbar-in { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.by { font-size: 0.8rem; color: var(--muted); }

.hero { padding: 18px 0 18px; }
@media (min-width: 640px) { .hero { padding-top: 28px; } }
.lede { font-size: 1.1rem; max-width: 34em; }

.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 20px 18px;
  margin: 0 4px 28px 0;
}
.notice {
  background: var(--tint);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 4px 20px 0;
  font-weight: 600;
}
.summary {
  background: var(--warn);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
label, legend { display: block; font-weight: 700; padding: 0; margin-bottom: 6px; }
legend { font-size: 1.05rem; }
input[type="text"], input[type="date"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
}
input[aria-invalid="true"] { border-color: var(--bad); }
.hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.err { font-size: 0.9rem; color: var(--bad); font-weight: 600; margin: 6px 0 0; }
.err:empty { display: none; }

.group { margin: 0 0 14px; }
.group-h { font-weight: 700; color: var(--green); margin: 0 0 6px; font-size: 0.95rem; }
.choices { display: grid; gap: 6px; }
.choices.row { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.35;
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
}
.choice input { width: 22px; height: 22px; flex: none; accent-color: var(--green); margin: 0; }
.choice:has(input:checked) { background: var(--tint); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.choice:has(input:focus-visible) { outline: 3px solid #e0a800; outline-offset: 2px; }

.conditional { border-left: 4px solid var(--green); padding-left: 14px; margin: 0 0 16px; }

.btn {
  display: inline-block;
  min-height: 48px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { background: #d9d9d9; color: #555; box-shadow: none; cursor: not-allowed; }
.btn.block { display: block; width: 100%; }

.result { background: var(--tint); }
.result .total { font-size: clamp(1.4rem, 7vw, 2.4rem); font-weight: 800; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount, .total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: start; padding: 10px 0; border-top: 2px solid var(--ink); }
.line > :nth-child(1) { grid-column: 1; grid-row: 1; }
.line > .amount { grid-column: 2; grid-row: 1; text-align: right; font-weight: 700; }
.line > .chip { grid-column: 1; grid-row: 2; justify-self: start; }
textarea { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 0.95rem; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 8px; resize: vertical; }
.chip { display: inline-block; font-size: 0.75rem; padding: 1px 8px; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--paper); }
.warnbox { background: var(--warn); border-left: 6px solid #d19a00; padding: 10px 14px; border-radius: 6px; }

.offer h2 { margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 14px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 6px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin: 16px 0; }
.consent input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--green); }

.faq { margin: 8px 0 40px; }
details { border: 2px solid var(--ink); border-radius: 10px; margin: 0 0 10px; background: var(--paper); }
summary { cursor: pointer; font-weight: 700; padding: 12px 14px; min-height: 48px; }
details p { padding: 0 14px; }

.prose h1 { font-size: 1.7rem; }
.prose h2 { margin-top: 22px; font-size: 1.1rem; }
.prose li { margin-bottom: 8px; }
mark.todo { background: #ffec3d; color: var(--ink); padding: 0 3px; border-radius: 3px; font-weight: 700; }

.footer { border-top: 2px solid var(--ink); padding: 24px 0 40px; margin-top: 16px; }
.independent { font-weight: 700; margin-bottom: 6px; }
.footnav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0; }
.footnav a { display: inline-block; min-height: 44px; line-height: 44px; }

@media (min-width: 640px) {
  h1 { font-size: 2.4rem; }
  .btn.block { width: auto; min-width: 260px; }
  .card { padding: 26px 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.form-h { font-size: 1.05rem; margin: 6px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.form-h:not(:first-of-type) { margin-top: 26px; }

.btn.alt { background: var(--paper); color: var(--ink); font-size: 0.95rem; min-height: 44px; padding: 8px 14px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; }
.keep { background: var(--tint); border: 2px solid var(--green); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 20px; }
.keep h2 { font-size: 1.05rem; }
.preview { margin: 18px 0; }
.doc-cap { font-weight: 700; margin: 0 0 8px; }
.doc { background: #fff; border: 1.5px solid #8a8a8a; border-radius: 4px; box-shadow: 2px 3px 0 #cfcfcf; padding: 16px 16px 8px; margin: 0 0 8px; }
.doc-h { font-weight: 800; font-size: 1.05rem; margin: 0; }
.doc-total { font-weight: 800; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.doc-sub { font-weight: 700; font-size: 0.9rem; margin: 10px 0 2px; }
.bars { position: relative; padding-top: 8px; }
.bar { display: block; height: 9px; background: #e3e3e3; border-radius: 3px; margin: 0 0 9px; }
.bar.w1 { width: 94%; } .bar.w2 { width: 80%; } .bar.w3 { width: 88%; } .bar.w4 { width: 62%; } .bar.w5 { width: 74%; }
.fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%); }

.hero { padding-bottom: 12px; }
.trust { font-size: 0.85rem; color: var(--green); font-weight: 600; margin: 0 0 4px; }
.trust::before { content: ""; display: inline-block; width: 9px; height: 5px; margin-right: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-2px) rotate(-45deg); }
.sample-strip { display: flex; gap: 14px; align-items: center; margin: 0 0 20px; font-size: 0.9rem; line-height: 1.4; }
.sample-strip p { margin: 0 0 6px; }
.sample-strip .thumb { flex: none; display: block; width: 88px; border: 1px solid #8a8a8a; line-height: 0; }
.sample-strip img { width: 100%; height: auto; }
@media (min-width: 600px) { .sample-strip .thumb { width: 120px; } }

.warnbox { padding: 10px 12px; }
.warnbox h3 { margin-top: 0; }
.warnbox ul { margin: 0; padding-left: 18px; }
.warnbox li + li { margin-top: 8px; }
#pay-block { scroll-margin-top: 12px; }
#pay-block:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
input[type="date"] { display: block; min-width: 0; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.result .btn.block { margin: 12px 0; }
.choices[data-group] { margin-top: 10px; border-left: 4px solid var(--green); padding-left: 12px; }
.warnbox li { font-size: 0.9rem; line-height: 1.4; }
