:root {
  color-scheme: light;
  --page: #f3f7f3;
  --surface: #ffffff;
  --surface-soft: #edf6ef;
  --ink: #14251b;
  --muted: #506258;
  --line: #c8ddce;
  --brand: #19683e;
  --brand-dark: #12492e;
  --warning: #7a4a00;
  --warning-bg: #fff5dc;
  --warning-line: #d79827;
  --focus: #096fae;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(55, 150, 91, 0.13), transparent 28rem), var(--page);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--brand-dark); font-weight: 750; }
a:hover { color: var(--brand); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.site-header { background: #153323; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.site-header-inner,
main,
.site-footer-inner { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.site-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { color: #fff; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: 44px; }
.brand span { display: grid; line-height: 1.2; }
.brand small { color: #c4d5ca; font-weight: 600; }
.back-link { border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 12px; color: #fff; padding: 9px 13px; text-decoration: none; }

main { padding: 48px 0 64px; }
.hero { background: linear-gradient(135deg, #173b28, #205b3a); border-radius: 24px; color: #fff; padding: clamp(28px, 6vw, 52px); box-shadow: 0 24px 70px rgba(20, 55, 35, 0.16); }
.eyebrow { color: #a8edc1; font-size: 0.82rem; font-weight: 850; letter-spacing: 0.1em; margin: 0 0 8px; text-transform: uppercase; }
h1, h2 { line-height: 1.16; }
h1 { font-size: clamp(2rem, 6vw, 3.75rem); margin: 0; }
h2 { font-size: 1.35rem; margin: 0 0 12px; }
.hero p { color: #e1eee5; max-width: 780px; }
.hero p:last-child { margin-bottom: 0; }
.hero a { color: #fff; }

.summary { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin: 22px 0; }
.summary article,
.section { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.summary article { padding: 20px; }
.summary strong { display: block; margin-bottom: 5px; }
.summary p { color: var(--muted); margin: 0; }
.section { margin-top: 16px; padding: clamp(22px, 4vw, 34px); }
.section p,
.section li,
.section td { color: var(--muted); }
.section strong,
.section th { color: var(--ink); }
.section li + li { margin-top: 8px; }
.notice { background: var(--surface-soft); border-left: 5px solid var(--brand); }
.launch-warning { background: var(--warning-bg); border-color: var(--warning-line); border-left: 5px solid var(--warning-line); color: var(--warning); }
.launch-warning p { color: var(--warning); }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 720px; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
th { background: var(--surface-soft); }
code { overflow-wrap: anywhere; }

.legal-links { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-links a { background: var(--brand-dark); border-radius: 10px; color: #fff; padding: 9px 13px; text-decoration: none; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer-inner { color: var(--muted); font-size: 0.92rem; padding: 24px 0; }

.not-found { align-items: center; display: grid; min-height: 100vh; padding: 24px; place-items: center; }
.not-found-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; max-width: 680px; padding: clamp(28px, 7vw, 56px); text-align: center; }
.not-found-card img { height: 72px; width: 72px; }
.not-found-card a { background: var(--brand-dark); border-radius: 12px; color: #fff; display: inline-flex; margin-top: 12px; padding: 11px 16px; text-decoration: none; }

@media (max-width: 760px) {
  .summary { grid-template-columns: 1fr; }
  .site-header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0f1812;
    --surface: #19251d;
    --surface-soft: #183122;
    --ink: #edf5ef;
    --muted: #c2d0c6;
    --line: #31473a;
    --brand: #78d69c;
    --brand-dark: #a1e7bb;
    --warning: #ffe1a3;
    --warning-bg: #3a2b10;
    --warning-line: #e7a62b;
  }
  .legal-links a,
  .not-found-card a { background: #92dfad; color: #102117; }
}
