:root {
  --ink: #181713;
  --muted: #706b62;
  --paper: #f6f2eb;
  --panel: #fffdf9;
  --line: #ded8cf;
  --orange: #ef7226;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 235, .94);
  backdrop-filter: blur(14px);
}
.legal-nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; font-size: 20px; }
.legal-brand img { width: 34px; height: 34px; object-fit: contain; }
.legal-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--orange); }
.legal-main { width: min(calc(100% - 40px), var(--max)); margin: 64px auto 100px; }
.legal-intro { max-width: 760px; margin-bottom: 32px; }
.legal-eyebrow { margin: 0 0 10px; color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; max-width: 840px; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; }
.legal-updated { margin: 18px 0 0; color: var(--muted); }
.legal-card { padding: clamp(24px, 5vw, 64px); border: 1px solid var(--line); border-radius: 28px; background: var(--panel); box-shadow: 0 22px 60px rgba(44, 36, 25, .07); }
.legal-card h2 { margin: 2.2em 0 .45em; font-size: clamp(23px, 3vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 1.8em 0 .35em; font-size: 20px; line-height: 1.25; }
.legal-card p, .legal-card li { color: #47433c; }
.legal-card ul { padding-left: 22px; }
.legal-card a { color: #c95816; text-underline-offset: 3px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-panel { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.contact-panel h2 { margin: 0 0 14px; }
.contact-panel p { margin: 8px 0; }
.legal-footer { border-top: 1px solid var(--line); }
.legal-footer-inner { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 28px 0 40px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.legal-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-footer a { text-decoration: none; }
.legal-footer a:hover, .legal-footer a:focus-visible { color: var(--orange); }
@media (max-width: 700px) {
  .legal-nav { min-height: 64px; }
  .legal-links a:not(.keep-mobile) { display: none; }
  .legal-main { width: min(calc(100% - 28px), var(--max)); margin-top: 42px; margin-bottom: 64px; }
  .legal-card { border-radius: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-footer-inner { width: min(calc(100% - 28px), var(--max)); flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
