/* PCI SAQ JP — style.css (screen) */
:root {
  --ink: #10161f;
  --ink-2: #2c394b;
  --muted: #56637a;
  --line: #d5dce6;
  --line-weak: #e7ecf3;
  --bg: #ffffff;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --accent: #1b46c8;
  --accent-ink: #ffffff;
  --accent-soft: #e8edfc;
  --ok: #0d6b45;
  --warn: #8a3d05;
  --danger: #a1141b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 22, 31, .06), 0 8px 24px rgba(16, 22, 31, .05);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: .01em;
}

h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: #12308f; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: 0 0 .35em; }
strong { font-weight: 700; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.error-text { color: var(--danger); font-weight: 700; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .02em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.brand-text small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.site-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 10px;
  color: var(--ink-2); text-decoration: none; font-size: 14px; border-radius: 8px;
}
.site-nav a:hover { background: var(--surface); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.local-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: var(--ok); background: #e9f5ef; border: 1px solid #bfe2d2; border-radius: 999px;
  padding: 4px 10px; white-space: nowrap;
}
.local-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover { background: var(--surface); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #163aa6; border-color: #163aa6; color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: #fff; border-color: #e3b7ba; color: var(--danger); }
.btn-danger:hover { background: #fdf1f1; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-small { min-height: 36px; padding: 4px 12px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.btn-row-lg .btn { min-height: 52px; padding: 12px 22px; }

/* ---------- hero ---------- */
main { display: block; }
.view { padding: 36px 0 72px; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: start; padding: 12px 0 8px; }
.hero h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: .01em; margin-bottom: 14px; }
.hero .lead { font-size: 17px; color: var(--ink-2); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.hero-side { background: var(--surface); border: 1px solid var(--line-weak); border-radius: var(--radius); padding: 20px; }
.hero-side h2 { font-size: 15px; margin-bottom: 10px; }
.hero-side ul { list-style: none; padding: 0; margin: 0; }
.hero-side li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hero-side li:last-child { border-bottom: 0; }
.hero-side .tick { color: var(--ok); font-weight: 800; }

.resume-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; box-shadow: var(--shadow); }
.resume-main { font-size: 16px; margin-bottom: 4px; }
.dot-sep { color: var(--muted); margin: 0 6px; }

.section { padding: 40px 0 8px; }
.section h2 { font-size: clamp(20px, 2.6vw, 26px); }
.section .section-lead { color: var(--muted); max-width: 46em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 0; }
.feature { border: 1px solid var(--line-weak); border-radius: var(--radius); padding: 20px; background: #fff; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }
.feature .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; margin-bottom: 10px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0 0; counter-reset: s; }
.step-card { border-top: 3px solid var(--ink); padding: 14px 2px 0; }
.step-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.step-card p { font-size: 14px; color: var(--muted); margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.type-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.type-table th, .type-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-weak); text-align: left; vertical-align: top; }
.type-table thead th { background: var(--surface); font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }
.type-table tbody tr:last-child td { border-bottom: 0; }
.type-table .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.type-table .tag.ready { background: #e9f5ef; color: var(--ok); }
.type-table .tag.pending { background: #fdf3e7; color: var(--warn); }

.faq { margin-top: 18px; }
.faq details { border: 1px solid var(--line-weak); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq summary::marker { color: var(--accent); }
.faq p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }

.disclaimer {
  margin-top: 34px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); padding: 18px 20px; font-size: 13.5px; color: var(--ink-2);
}
.disclaimer p { margin: 0 0 8px; }
.disclaimer p:last-child { margin-bottom: 0; }

/* ---------- page head ---------- */
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(22px, 3vw, 30px); }
.page-head .lead { color: var(--muted); max-width: 48em; margin-bottom: 0; }

/* ---------- wizard ---------- */
.wizard-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex: 1; }
.steps .step { height: 6px; flex: 1; background: var(--line); border-radius: 999px; }
.steps .step.is-done { background: #9fb0d6; }
.steps .step.is-current { background: var(--accent); }
.step-count { margin: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.wizard-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow); }
.q-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent); margin-bottom: 6px; }
.q-text { font-size: clamp(19px, 2.6vw, 24px); margin-bottom: 10px; }
.help { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
.choice-list { display: grid; gap: 10px; margin: 18px 0 4px; }
.choice {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; min-height: 52px;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff;
  transition: border-color .12s, background .12s;
}
.choice:hover { border-color: #a9b8d6; background: #fbfcfe; }
.choice input { margin: 4px 0 0; width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice-label { font-size: 15.5px; }
.wizard-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }

.group-questions { display: grid; gap: 14px; margin: 18px 0 0; }
.q1b-row { border: 1px solid var(--line-weak); border-radius: 12px; padding: 12px 14px; margin: 0; }
.q1b-row legend { font-size: 14.5px; font-weight: 700; padding: 0 4px; }
.q1b-row .pill { margin-right: 6px; margin-top: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px;
}
.pill input, .status-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }

/* ---------- verdict ---------- */
.verdict { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; background: #fff; }
.verdict.is-primary { border-color: #b9c7ea; box-shadow: var(--shadow); }
.verdict-type { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.type-tag { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: .01em; }
.type-sub { font-size: 14px; color: var(--muted); }
.verdict-desc { color: var(--ink-2); }
.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; padding: 14px; background: var(--surface); border-radius: 10px; }
.meta-grid dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.meta-grid dd { margin: 0; font-size: 14px; font-weight: 700; }
.sub-h { font-size: 16px; margin: 22px 0 8px; }
.elig-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.elig { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.elig-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; flex: none; margin-top: 2px; }
.elig.ok .elig-mark { background: #e9f5ef; color: var(--ok); }
.elig.ng .elig-mark { background: #fdecec; color: var(--danger); }
.elig.unknown .elig-mark { background: #fdf3e7; color: var(--warn); }
.elig.na .elig-mark { background: var(--surface-2); color: var(--muted); }
.elig.na .elig-text { color: var(--muted); }
.verdict-channels { font-size: 13.5px; color: var(--muted); margin: -6px 0 10px; }

.callout { border: 1px solid #c7d3ee; background: #f4f7fe; border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.callout-title { font-weight: 800; margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-color: #ecd0b2; background: #fdf7ef; }
.link { font-weight: 700; }
.chain { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 10px; }
.chain summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chain ol { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); }
.chain-q { display: block; }
.chain-a { color: var(--accent); font-weight: 700; }
.notices { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: var(--surface); }
.notices ul { margin: 0; }
.notices li { font-size: 14px; }

/* ---------- answers ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.tab.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 700; }

.progress-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; background: #fff; }
.progress-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric { }
.metric-label { font-size: 12.5px; color: var(--muted); margin: 0; }
.metric-value { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.metric-sub { font-size: 12.5px; color: var(--muted); margin: 0; }
.bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 14px; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .2s ease; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }

.item-list { display: grid; gap: 14px; padding-bottom: 64px; }
.item { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; scroll-margin-top: 90px; }
.item.is-answered { border-color: #ccd8ef; }
.item-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; }
.req { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.item-title { font-size: 16.5px; margin: 0; }
.item-state { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.item-state[data-state="in_place"] { background: #e9f5ef; color: var(--ok); }
.item-state[data-state="in_place_ccw"] { background: #fdf3e7; color: var(--warn); }
.item-state[data-state="not_in_place"] { background: #fdecec; color: var(--danger); }
.item-state[data-state="not_applicable"] { background: var(--surface-2); color: var(--muted); }
.item-summary { font-size: 14px; color: var(--ink-2); margin: 10px 0 6px; }
.item-ask { font-size: 14.5px; margin-bottom: 8px; }
.item-about { margin: 0 0 18px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-weak); border-radius: 10px; padding: 10px 14px; background: var(--surface); }
.item-about summary { cursor: pointer; font-weight: 700; }
.item-about p { margin: 8px 0 0; }
.item-help { font-size: 13.5px; color: var(--ink-2); border-top: 1px dashed var(--line-weak); padding-top: 8px; }
.item-help summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.evidence { margin: 8px 0; padding-left: 1.2em; }
.evidence li { font-size: 13px; }

.status-set { border: 0; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.status-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; background: #fff;
}
.status-pill:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.status-pill:has(input[value="not_in_place"]:checked) { border-color: var(--danger); background: #fdf1f1; }
.status-pill:has(input[value="not_applicable"]:checked) { border-color: var(--muted); background: var(--surface-2); }

.extra-fields { margin-top: 14px; display: grid; gap: 12px; }
.field { display: grid; gap: 4px; }
.field label, .field-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 200px 1fr; gap: 12px; }
input[type="text"], input[type="date"], textarea, select {
  font: inherit; font-size: 15px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px;
  width: 100%; background: #fff; color: var(--ink);
}
textarea { resize: vertical; min-height: 48px; }
input[type="file"] { font-size: 14px; padding: 8px 0; }

.sticky-actions {
  position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end;
  padding: 12px 0; margin-top: 22px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 40%);
}

/* ---------- review ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.stat-label { font-size: 12.5px; color: var(--muted); margin: 0; }
.stat-value { font-size: 26px; font-weight: 800; margin: 2px 0; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12px; color: var(--muted); margin: 0; }

.group-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 12px; }
.group-table th, .group-table td { padding: 8px 10px; border-bottom: 1px solid var(--line-weak); text-align: left; }
.group-table thead th { background: var(--surface); font-size: 12.5px; color: var(--ink-2); }
.group-table td { font-variant-numeric: tabular-nums; }

.gap-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.gap { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-weak); border-radius: 10px; font-size: 14px; }
.gap.is-blocking { border-color: #e6b6b9; background: #fdf6f6; }
.gap-kind { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.gap-note { grid-column: 2 / -1; font-size: 12.5px; color: var(--danger); }
.gap-action { grid-column: 2 / -1; font-size: 12.5px; color: var(--ink-2); }
@media screen { .page { aspect-ratio: 210 / 297; } }

.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- data ---------- */
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; background: #fff; }
.panel.danger { border-color: #e8c6c8; }
.save-state { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.save-state[data-state="saved"] { color: var(--ok); }
.save-state[data-state="error"] { color: var(--danger); }
.project-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.project-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-weak); border-radius: 10px; }
.project-list li.is-current { border-color: #b9c7ea; background: #f7f9fe; }
.p-name { font-weight: 700; }
.p-meta { font-size: 12.5px; color: var(--muted); margin-right: auto; }

/* ---------- print document (screen preview + print) ---------- */
.print-doc { margin: 22px 0 0; display: grid; gap: 18px; }
.page {
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px;
  width: 100%; max-width: 780px; margin: 0 auto; color: #000;
  font-size: 12px; line-height: 1.6; position: relative; overflow: hidden;
}
.page-head-print { display: flex; gap: 10px; align-items: baseline; border-bottom: 2px solid #111; padding-bottom: 6px; margin-bottom: 12px; font-size: 10px; }
.p-brand { font-weight: 800; letter-spacing: .06em; }
.p-title { flex: 1; }
.p-no { font-variant-numeric: tabular-nums; }
.p-h1 { font-size: 20px; margin: 6px 0 4px; }
.p-sub { font-size: 11px; color: #333; }
.p-fine { font-size: 9pt; color: #333; margin: 2px 0 6px; }
.p-notice { border: 1px solid #111; padding: 6px 8px; font-weight: 700; margin: 8px 0; }
.p-h2 { font-size: 13px; border-left: 4px solid #111; padding-left: 6px; margin: 12px 0 6px; }
.p-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10.5px; margin: 6px 0 10px; }
.p-table th, .p-table td { border: 1px solid #999; padding: 4px 6px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.p-table th { background: #f0f0f0; font-weight: 700; }
.p-table-list th:nth-child(1), .p-table-list td:nth-child(1) { width: 8%; }
.p-table-elig th:nth-child(1), .p-table-elig td:nth-child(1) { width: 12%; }
.p-table-elig .c-st { font-weight: 700; }
.p-table-list th:nth-child(2), .p-table-list td:nth-child(2) { width: 12%; }
.p-list { margin: 4px 0 8px 18px; font-size: 10.5px; }
.p-item { font-size: 10.5px; margin-bottom: 4px; }
.p-disclaimer { border-top: 1px solid #999; margin-top: 10px; padding-top: 6px; font-size: 9.5px; color: #222; }
.p-disclaimer p { margin: 0 0 3px; }
.page-foot { display: flex; justify-content: space-between; border-top: 1px solid #bbb; margin-top: 10px; padding-top: 4px; font-size: 9px; color: #333; }
.watermark { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; place-items: center; pointer-events: none; }
.watermark span { font-size: 34px; font-weight: 800; color: rgba(0, 0, 0, .07); transform: rotate(-24deg); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 30px 0 40px; font-size: 13px; color: var(--muted); }
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.site-footer a { color: var(--ink-2); }
.site-footer p { margin: 0 0 6px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .view { padding: 24px 0 56px; }
  .header-inner { flex-wrap: wrap; gap: 8px; min-height: 56px; padding: 6px 20px; }
  .site-nav { order: 3; margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 0; }
  .local-badge { order: 2; }
  .site-nav a { white-space: nowrap; padding: 6px 8px; font-size: 13px; }
  .local-badge { margin-left: auto; }
  .wizard-card { padding: 18px; }
  .progress-numbers { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .metric-value { font-size: 20px; }
  .metric-sub { font-size: 11px; }
  .field-row { grid-template-columns: 1fr; }
  .item { padding: 16px; }
  .item-head { grid-template-columns: auto 1fr; }
  .item-state { grid-column: 1 / -1; justify-self: start; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gap { grid-template-columns: auto 1fr; }
  .gap-kind { grid-column: 1 / -1; justify-self: start; }
  .verdict { padding: 18px; }
  .page { padding: 14px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


