:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e4e1d9;
  --brand: #1f6f5c;
  --brand-ink: #ffffff;
  --brand-soft: #e6f2ee;
  --warn: #9a5b00;
  --warn-soft: #fff4e0;
  --radius: 12px;
  --max: 1040px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161d; --surface: #1a2029; --ink: #e8eaee; --muted: #a2aab8;
    --line: #2c3440; --brand: #4fb89c; --brand-ink: #0c1512; --brand-soft: #1a2e29;
    --warn: #f0b35a; --warn-soft: #2e2415;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 17px; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--brand); }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }
.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 780px; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px;
  padding: 14px 22px; font-size: 17px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.07); }
.btn.secondary { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.small { padding: 9px 14px; font-size: 15px; }
.trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 8px 0 56px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-size: 32px; color: var(--brand); letter-spacing: -0.02em; }
.stat small { color: var(--muted); font-size: 13px; }
section { padding: 40px 0; }
h2 { font-size: 30px; letter-spacing: -0.01em; margin: 0 0 12px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
/* Tool */
#tool { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin: 24px 0; }
.q { margin: 0 0 22px; }
.q > label, .q > .label { display: block; font-weight: 600; margin-bottom: 8px; }
.q .hint { color: var(--muted); font-size: 14px; margin: -4px 0 8px; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input { margin-top: 5px; }
input[type=text], input[type=number], input[type=date], input[type=email], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; }
textarea { min-height: 90px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; margin-bottom: 24px; overflow: hidden; }
.progress div { height: 100%; background: var(--brand); width: 0; transition: width .25s; }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.hidden { display: none !important; }
.finding { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 18px 20px; margin: 0 0 14px; }
.finding.warn { border-left-color: var(--warn); }
.finding h3 { margin: 0 0 6px; font-size: 19px; }
.finding p { margin: 6px 0; }
.finding ul { margin: 6px 0; padding-left: 20px; }
.deadline { display: inline-block; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 14px; border-radius: 6px; padding: 3px 8px; margin: 4px 0; }
.letter-box { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
pre.letter { white-space: pre-wrap; font-family: Georgia, "Times New Roman", serif; font-size: 15.5px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 22px; line-height: 1.55; }
.disclaimer { font-size: 13.5px; color: var(--muted); }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.price { font-size: 30px; font-weight: 700; margin: 6px 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; margin-top: 40px; }
footer a { color: var(--muted); margin-right: 16px; }
.doc { max-width: 760px; padding: 40px 20px; margin: 0 auto; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 22px; margin-top: 28px; }
.notice { background: var(--warn-soft); color: var(--warn); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
@media (max-width: 640px) {
  nav a:not(.cta) { display: none; }
  #tool { padding: 18px; }
  .hero { padding: 44px 0 32px; }
}
@media print {
  body * { visibility: hidden; }
  #letterOut, #letterOut * { visibility: visible; }
  #letterOut { position: absolute; left: 0; top: 0; border: 0; background: #fff; color: #000; }
}
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: right; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl th { color: var(--muted); font-weight: 600; }
.doc ol, .doc ul { padding-left: 22px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
