:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #5c6964;
  --line: #dfe6e1;
  --amber: #f8b923;
  --paper: #ffffff;
  --cream: #fffaf0;
  --green: #173f35;
  --green-2: #245b4c;
  --mint: #e6f1eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.72 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: var(--green-2); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.shell { width: min(1040px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 10px 16px; color: var(--ink); background: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.32rem; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { width: 46px; height: 42px; object-fit: contain; background: white; border: 1px solid rgba(23,63,53,.1); border-radius: 13px; }
.wordmark strong { color: #b97800; font-weight: inherit; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 750; }
.site-nav a[aria-current="page"] { color: var(--green-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero { padding: 76px 0 66px; border-block: 1px solid var(--line); background: linear-gradient(145deg, #f3f8f4, #fffaf0 68%); }
.eyebrow { margin-bottom: 16px; color: #875c00; font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 20px; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.062em; }
.intro { max-width: 760px; margin-bottom: 18px; color: var(--muted); font-size: 1.12rem; }
.updated { margin: 0; color: var(--muted); font-size: .9rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding: 72px 0 104px; }
.contents { align-self: start; position: sticky; top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.contents b { display: block; margin-bottom: 12px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.contents a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.contents a:hover { color: var(--green); }
.legal-copy { min-width: 0; }
.legal-copy section { scroll-margin-top: 24px; padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-copy h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 3vw, 2.05rem); line-height: 1.2; letter-spacing: -.032em; }
.legal-copy h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal-copy p, .legal-copy li { color: #34423d; }
.legal-copy ul { padding-left: 22px; }
.legal-copy li + li { margin-top: 8px; }
.notice { padding: 20px 22px; border-left: 4px solid var(--amber); background: var(--paper); }
.contact-card { padding: 24px; border-radius: 20px; background: var(--mint); }
.contact-card p:last-child { margin-bottom: 0; }
footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 32px 0 40px; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1040px); }
  .site-header { align-items: flex-start; padding: 17px 0; }
  .site-nav { gap: 12px; }
  .site-nav a:first-child { display: none; }
  .hero { padding: 54px 0 48px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding: 46px 0 72px; }
  .contents { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
