:root {
  color-scheme: dark;
  --bg: #15191f;
  --surface: #1c222b;
  --text: #f1f3f7;
  --muted: #aeb9ca;
  --line: #3c4655;
  --accent: #ba343d;
  --link: #f5a8ae;
  --focus: #ffcf86;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  scrollbar-color: var(--line) var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--text); background: #79333c; }
a { color: var(--link); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 24px; z-index: 2; padding: 12px 20px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; text-decoration: none; color: var(--text); white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
nav a { color: var(--muted); text-decoration: none; padding-block: 6px; }
nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; }
main { padding-block: 66px 88px; }
h1,h2,h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.5rem); font-weight: 650; letter-spacing: -.035em; margin: 0 0 26px; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 650; letter-spacing: -.02em; margin: 0 0 20px; }
h3 { font-size: 1.2rem; margin: 30px 0 12px; }
p { margin: 0 0 20px; max-width: 70ch; }
ul,ol { max-width: 70ch; padding-left: 24px; margin: 0 0 24px; }
li + li { margin-top: 10px; }
.intro { max-width: 740px; margin-bottom: 50px; }
.intro p, .lead { color: var(--muted); font-size: 1.15rem; }
.intro h1 { max-width: 17ch; }
.project { background: var(--surface); padding: clamp(24px, 4vw, 48px); border-radius: 12px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 40px; }
.project h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); overflow-wrap: anywhere; }
.project p { color: var(--muted); }
.project p strong { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 22px; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.button:hover { background: #9c2831; color: #fff; }
.facts { margin: 0; }
.facts > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts dt { font-size: .9rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.section { padding-top: 56px; }
.section > p { color: var(--muted); }
.notice { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.notice p { font-size: .95rem; margin-bottom: 0; }
.notice strong { color: var(--text); }
.project-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-block: 1px solid var(--line); padding-block: 24px; }
.project-row h3 { margin: 0 0 8px; }
.project-row p { color: var(--muted); margin: 0; }
.project-row > a { flex-shrink: 0; }
.reading { max-width: 74ch; }
.reading h2 { margin-top: 48px; font-size: 1.6rem; }
.reading h3 { margin-top: 32px; }
.reading p,.reading li { color: var(--muted); }
.reading strong { color: var(--text); }
.reading a { overflow-wrap: anywhere; }
.back { display: inline-block; margin-bottom: 26px; }
.updated { color: var(--muted); font-size: .9rem; margin-top: -10px; margin-bottom: 32px; }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.contents { position: sticky; top: 28px; align-self: start; }
.contents summary { font-weight: 600; cursor: pointer; padding-block: 6px; }
.contents ul { padding: 10px 0 0; list-style: none; font-size: .95rem; }
.contents a { display: inline-block; padding-block: 3px; color: var(--muted); text-decoration: none; }
.contents a:hover { color: var(--text); text-decoration: underline; }
.policy-layout h2 { scroll-margin-top: 28px; }
.contact { font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 600; overflow-wrap: anywhere; }
.foot { border-top: 1px solid var(--line); padding-block: 28px 34px; color: var(--muted); font-size: .9rem; }
.foot .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot p { margin: 0; max-width: 68ch; }
.foot-links { display: flex; gap: 22px; }
.foot a { color: var(--muted); }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .masthead .shell { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 20px; }
  nav { gap: 6px 22px; }
  main { padding-block: 42px 60px; }
  .intro { margin-bottom: 34px; }
  .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .facts > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding-block: 12px; }
  .facts dd { margin: 0; }
  .project-row { flex-direction: column; }
  .policy-layout { grid-template-columns: 1fr; gap: 24px; }
  .contents { position: static; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .contents ul { columns: 2; column-gap: 24px; }
  .contents li { break-inside: avoid; }
  .contents li + li { margin-top: 6px; }
  .section { padding-top: 42px; }
  .reading h2 { margin-top: 38px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .project { padding: 22px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .contents ul { columns: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color 140ms ease-out, background-color 140ms ease-out; }
}
@media print {
  :root { color-scheme: light; background: #fff; color: #111; --text: #111; --muted: #333; --link: #111; --bg: #fff; --surface: #fff; --line: #777; }
  .masthead,.contents,.foot,.skip { display: none; }
  .shell { width: 100%; }
  main { padding: 0; }
  .policy-layout { display: block; }
  a:hover { color: #111; }
  .button,.button:hover { background: #fff; color: #111; text-decoration: underline; }
}
