:root {
  --ink: #102d34;
  --petrol: #0f4c5c;
  --petrol-dark: #092f39;
  --orange: #e36414;
  --paper: #f4f1ed;
  --white: #fffefd;
  --muted: #5f6b6f;
  --line: rgba(15, 76, 92, .2);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.wrap { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--white); }
.skip-link:focus { top: 16px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(255,254,253,.96); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-copy { display: grid; line-height: 1; }
.brand-name { color: var(--petrol); font: 700 1.32rem/1 var(--serif); }
.brand-sub { margin-top: 5px; color: var(--muted); font-size: .58rem; letter-spacing: .28em; }
.back-link { font-weight: 700; text-decoration: none; }

.legal-hero { padding: 80px 0 58px; background: var(--paper); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 16px; color: var(--orange); font-size: .75rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 0; color: var(--petrol); font: 500 clamp(3rem, 7vw, 5.8rem)/.96 var(--serif); letter-spacing: -.05em; }
.legal-intro { max-width: 680px; margin: 25px 0 0; color: var(--muted); font-size: 1.05rem; }
.updated { display: inline-block; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; padding: 70px 0 110px; }
.legal-nav { position: sticky; top: 28px; align-self: start; display: grid; gap: 10px; padding-top: 4px; }
.legal-nav a { color: var(--muted); font-size: .86rem; font-weight: 650; text-decoration: none; }
.legal-nav a:hover { color: var(--orange); }
.legal-content { min-width: 0; }
.legal-section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section:last-child { border-bottom: 0; }
h2 { margin: 0 0 18px; color: var(--petrol); font: 600 clamp(1.7rem, 3vw, 2.35rem)/1.15 var(--serif); }
h3 { margin: 28px 0 9px; color: var(--petrol); font-size: 1rem; }
p { margin: 0 0 14px; }
ul { margin: 12px 0 18px; padding-left: 22px; }
li + li { margin-top: 8px; }
.identity { display: grid; grid-template-columns: 190px 1fr; gap: 8px 24px; }
.identity dt { color: var(--muted); }
.identity dd { margin: 0; font-weight: 650; }
.notice { padding: 22px 24px; background: var(--paper); border-left: 3px solid var(--orange); }

footer { padding: 38px 0; background: var(--petrol-dark); color: rgba(255,255,255,.72); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; }
footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: var(--white); }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav-shell { min-height: 70px; }
  .legal-hero { padding: 58px 0 44px; }
  .legal-layout { grid-template-columns: 1fr; gap: 38px; padding: 48px 0 80px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .identity { grid-template-columns: 1fr; gap: 2px; }
  .identity dd { margin-bottom: 12px; }
  .footer-row { display: grid; }
}

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