:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #22252a;
  --muted: #5a5f68;
  --line: #d9d5cc;
  --accent: #a8432b;
  --accent-ink: #ffffff;
  --note-bg: #fbf3e4;
  --note-line: #e2c48f;
  --opinion-bg: #eef1f5;
  --opinion-line: #8a97ab;
  --focus: #1d5fd1;
  --maxw: 44rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191c;
    --surface: #1f2226;
    --text: #e9e7e2;
    --muted: #a6abb3;
    --line: #363a40;
    --accent: #e0805f;
    --accent-ink: #17191c;
    --note-bg: #2a2418;
    --note-line: #7a6236;
    --opinion-bg: #222830;
    --opinion-line: #5d6b80;
    --focus: #7fb0ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: .01em; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
main { padding: 2rem 0 3rem; }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.2; margin: 0 0 1.25rem; letter-spacing: -.01em; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 2.75rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.125rem; }
.events { padding-left: 1.25rem; }
.events li { margin-bottom: .5rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .975rem; }
caption { text-align: left; font-weight: 600; padding: .6rem .75rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .75rem; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--bg); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.total th, tr.total td { font-weight: 700; border-top: 2px solid var(--text); }
.timeline td:first-child, .timeline th:first-child { white-space: nowrap; }
@media (max-width: 34rem) {
  .timeline td:first-child { white-space: normal; min-width: 6.5rem; }
}
.opinion { background: var(--opinion-bg); border-left: 4px solid var(--opinion-line); padding: .9rem 1rem; margin: 0 0 1rem; border-radius: 0 6px 6px 0; }
.opinion .label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .25rem; }
.notice { background: var(--note-bg); border: 1px solid var(--note-line); padding: 1rem; border-radius: 6px; margin: 0 0 1.5rem; }
.notice p:last-child { margin-bottom: 0; }
.jump { font-weight: 600; }
dl.faq dt { font-weight: 700; margin-top: 1.25rem; }
dl.faq dd { margin: .25rem 0 0; }
footer.site { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9rem; padding: 1.5rem 0 2rem; }
footer.site p { margin-bottom: .75rem; }
footer.site nav { margin-top: .5rem; }

/* Form */
form.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.field label, fieldset legend { display: block; font-weight: 600; margin-bottom: .3rem; }
.hint { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }
.req { color: var(--accent); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: .6rem .7rem; min-height: 2.75rem;
}
textarea { min-height: 9rem; resize: vertical; }
fieldset { border: 0; margin: 0 0 1.1rem; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
button[type=submit] {
  font: inherit; font-weight: 700; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 6px; padding: .75rem 1.4rem; min-height: 2.75rem; cursor: pointer;
}
button[disabled] { opacity: .6; cursor: progress; }
.status { margin-top: 1rem; font-weight: 600; }
.status.error { color: var(--accent); }
.cf-turnstile { margin: 0 0 1rem; min-height: 65px; }

/* Site-wide independence notice (top of every page) */
:root { --bar-bg: #e8edf2; --bar-line: #b9c4d1; --bar-text: #26313d; }
@media (prefers-color-scheme: dark) {
  :root { --bar-bg: #1c2330; --bar-line: #34404f; --bar-text: #d5dbe3; }
}
.sitebar { background: var(--bar-bg); color: var(--bar-text); border-bottom: 1px solid var(--bar-line); font-size: .875rem; line-height: 1.5; }
.sitebar p { margin: 0; padding: .55rem 0; }
.sitebar strong { font-weight: 700; }

/* Guides, tools */
.meta { color: var(--muted); font-size: .9rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .75rem 1rem .75rem 2.25rem; }
.toc li { margin-bottom: .2rem; }
.guide { margin-bottom: 1rem; }
.guide dl { margin: 0 0 1rem; }
.guide dt { font-weight: 700; margin-top: .9rem; }
.guide dd { margin: .2rem 0 0; }
.guide ol, .guide ul, article ul, article ol { padding-left: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem 1.25rem; margin: 0 0 1.25rem; }
.card h2:first-child, .card h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.agency-result h3 { margin-top: 1rem; }
.agency-result p { margin-bottom: .5rem; }
.grid2 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 36rem) { .grid2 { grid-template-columns: 1fr 1fr; } }
input[type=date], input[type=number] {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: .6rem .7rem; min-height: 2.75rem;
}
textarea.letter { min-height: 32rem; font: .95rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
button.btn {
  font: inherit; font-weight: 700; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 6px; padding: .7rem 1.2rem; min-height: 2.75rem; cursor: pointer;
}
button.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.notice.strong { border-width: 2px; }
textarea.short { min-height: 5.5rem; }
.field.indent { margin-left: 1.85rem; }

.cases dt{font-weight:600;margin-top:1em}
.cases dd{margin:0.25em 0 0 0}
