:root {
  color-scheme: light;
  --primary: #145c36;
  --primary-strong: #0d4427;
  --gold: #a76b0b;
  --coral: #a63b34;
  --ink: #18201d;
  --muted: #58645f;
  --line: #dce2df;
  --surface: #f5f7f6;
  --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.65; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header-inner {
  width: min(1080px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--primary); }
.site-actions { display: flex; align-items: center; gap: 16px; }
.legal-language { min-height: 36px; border: 1px solid var(--line); border-radius: 7px; padding: 6px 28px 6px 9px; color: var(--ink); background: var(--white); font: inherit; font-size: 12px; font-weight: 750; }

.title-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.title-inner { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 46px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; }
h1 { margin: 0; max-width: 720px; font-size: 38px; line-height: 1.18; }
.lead { max-width: 680px; margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.updated { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 70px; }
.document-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.document-section:last-child { border-bottom: 0; }
h2 { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
h3 { margin: 22px 0 8px; font-size: 16px; }
p { margin: 0 0 12px; }
ul, ol { margin: 10px 0 0; padding-left: 22px; }
li + li { margin-top: 8px; }
.notice { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--gold); background: #fff7e3; }
.danger-note { border-left-color: var(--coral); background: #fdf0ef; }
.action-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 7px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--primary);
  font-weight: 750;
  text-decoration: none;
}
.action-link:hover { color: var(--white); background: var(--primary-strong); }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer-inner {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.footer-links { display: flex; gap: 14px; }

@media (max-width: 680px) {
  .site-header-inner { min-height: 64px; gap: 12px; }
  .brand small { display: none; }
  .site-nav a:not([aria-current="page"]) { display: none; }
  .site-actions { min-width: 0; gap: 8px; }
  .legal-language { width: 70px; max-width: 70px; }
  .title-inner { padding: 38px 0 34px; }
  h1 { font-size: 30px; }
  .lead { font-size: 15px; }
  .document-section { padding: 24px 0; }
  .site-footer-inner { display: grid; }
}
