:root {
  --ink: #10212b;
  --muted: #6f7a7b;
  --cream: #f7f5ef;
  --paper: #fffdf8;
  --orange-deep: #d85417;
  --orange-cta: #c94a10;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
a { color: var(--orange-cta); text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-header {
  padding: 20px clamp(24px, 8vw, 125px);
  border-bottom: 1px solid #e3e1d9;
  background: var(--paper);
}
.legal-header a.brand {
  display: inline-flex;
  align-items: center;
}
.legal-header img { width: 150px; display: block; }

.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}
.legal-shell .eyebrow {
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legal-shell h1 {
  margin: 14px 0 6px;
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.legal-shell .updated {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 40px;
}
.legal-shell h2 {
  margin: 42px 0 12px;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}
.legal-shell p, .legal-shell li {
  color: #3d4a4a;
  font-size: 14.5px;
  line-height: 1.75;
}
.legal-shell ul, .legal-shell ol {
  padding-left: 20px;
}
.legal-shell li { margin-bottom: 8px; }
.legal-shell strong { color: var(--ink); }

.legal-footer {
  padding: 30px clamp(24px, 8vw, 125px);
  border-top: 1px solid #e3e1d9;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.legal-footer a { color: var(--muted); font-weight: 700; }

@media (max-width: 600px) {
  .legal-shell { padding: 45px 20px 70px; }
}

.notfound-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 100px 24px 120px;
  text-align: center;
}
.notfound-shell .notfound-number {
  font-family: Georgia, serif;
  font-size: clamp(90px, 22vw, 150px);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--orange-deep);
}
.notfound-shell h1 {
  margin: 10px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 400;
  color: var(--ink);
}
.notfound-shell p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 36px;
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.notfound-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}
.notfound-actions a.primary {
  background: var(--orange-cta);
  color: #fff;
}
.notfound-actions a.primary:hover { background: #a83a0c; }
.notfound-actions a.secondary {
  border: 1px solid #d8d9d1;
  color: var(--ink);
}
.notfound-actions a.secondary:hover { border-color: var(--orange-deep); color: var(--orange-deep); }

@media (max-width: 600px) {
  .notfound-shell { padding: 70px 20px 90px; }
}
