:root {
  --paper: #f3f4ef;
  --white: #ffffff;
  --ink: #10120f;
  --muted: #65695f;
  --line: #cfd3c8;
  --soft: #e7e9e2;
  --lime: #c9ff3d;
  --forest: #173f35;
  --signal: #ff5a36;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.shell { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--lime); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 72px; border-bottom: 1px solid rgba(16,18,15,.16); background: rgba(243,244,239,.94); backdrop-filter: blur(18px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 21px; font-weight: 700; text-decoration: none; }
.brand-mark { position: relative; width: 26px; height: 26px; flex: 0 0 26px; background: var(--ink); }
.brand-mark::after { content: ""; position: absolute; inset: 6px 5px; border: 3px solid var(--lime); border-top: 0; transform: skew(-10deg); }
.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a.primary { border-radius: 4px; padding: 0 18px; background: var(--ink); color: var(--white); }

.legal-hero { padding: clamp(76px, 10vw, 132px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 7.5vw, 96px); font-weight: 600; line-height: .95; letter-spacing: -.05em; }
h1 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.02em; }
.hero-summary { max-width: 760px; margin: 34px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.updated { display: inline-block; margin-top: 28px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 12px; font-weight: 600; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(50px, 8vw, 110px); padding: clamp(64px, 9vw, 120px) 0; }
.toc { position: sticky; top: 104px; align-self: start; border-top: 1px solid var(--ink); }
.toc strong { display: block; padding: 16px 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.toc a { min-height: 40px; display: flex; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover { color: var(--ink); }
.legal-content { min-width: 0; }
.policy-section { padding: 0 0 54px; scroll-margin-top: 100px; }
.policy-section + .policy-section { padding-top: 54px; border-top: 1px solid var(--line); }
.policy-section h2 { margin: 0 0 20px; font-size: clamp(27px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.policy-section h3 { margin: 30px 0 10px; font-size: 18px; line-height: 1.3; }
.policy-section p { margin: 0 0 16px; }
.policy-section ul { margin: 18px 0; padding-left: 22px; }
.policy-section li { margin: 9px 0; }
.policy-section a { color: var(--forest); font-weight: 700; }
.data-table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 15px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.notice { margin-top: 28px; padding: 20px; border-left: 4px solid var(--forest); background: #e4ebe7; }
.draft-notice { padding: 22px; border: 1px solid #c79d25; border-radius: 4px; background: #fff4cf; color: #5f4600; }

.support-content { padding: clamp(64px, 9vw, 120px) 0; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 72px; }
.support-card { min-width: 0; min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.support-card.accent { background: var(--lime); }
.support-card .label { margin: 0 0 36px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.support-card h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.15; letter-spacing: -.03em; }
.support-card p { margin: 0; color: var(--muted); }
.support-card.accent p { color: var(--ink); }
.support-card a { overflow-wrap: anywhere; font-weight: 700; }
.faq { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; cursor: pointer; font-size: clamp(18px, 2vw, 23px); font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; font-size: 26px; font-weight: 400; }
details[open] summary::after { content: "-"; }
.answer { max-width: 760px; padding: 0 0 28px; color: var(--muted); }
.answer p { margin: 0 0 12px; }
.answer a { color: var(--forest); font-weight: 700; }

footer { padding: 44px 0 28px; background: var(--ink); color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-bottom: 48px; }
.footer-tagline { max-width: 420px; margin: 18px 0 0; color: #9da198; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(120px,1fr)); gap: 10px 42px; font-size: 14px; }
.footer-links a { min-height: 36px; display: flex; align-items: center; color: #c6c9c1; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid #343631; color: #7f8379; font-size: 12px; }
.footer-credit { color: #c6c9c1; font-weight: 600; text-decoration: none; }
.footer-credit:hover { color: var(--lime); }

@media (max-width: 820px) {
  .nav-links a:not(.primary) { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc a { display: none; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header, .nav { min-height: 64px; }
  .nav-links a.primary { padding: 0 13px; }
  .legal-hero { padding-top: 68px; }
  h1 { letter-spacing: -.04em; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { border: 1px solid var(--line); border-bottom: 0; }
  .data-table tr:last-child { border-bottom: 1px solid var(--line); }
  .data-table td { border: 0; border-bottom: 1px solid var(--line); }
  .data-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
