:root {
  color-scheme: light;
  --ink: #3f2e31;
  --muted: #725f63;
  --rose: #955a5e;
  --rose-dark: #744247;
  --paper: #fffaf8;
  --panel: #fffdfc;
  --line: #e4c6c1;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top right, #f5dfdc 0, transparent 38%), var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: var(--rose-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 4px; }
.legal-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 14px;
  color: white;
  background: var(--rose-dark);
  transform: translateY(-160%);
}
.legal-skip-link:focus { transform: translateY(0); }
.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-color: var(--line);
  background: rgba(255, 250, 248, .92);
}
.legal-header { border-bottom: 1px solid var(--line); }
.legal-footer { flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.legal-brand { display: grid; color: var(--rose-dark); text-decoration: none; }
.legal-brand strong { font: 600 1.1rem/1 var(--serif); letter-spacing: .16em; }
.legal-brand span { margin-top: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .25em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-shell { width: min(880px, calc(100% - 40px)); margin: clamp(42px, 8vw, 88px) auto; }
.legal-intro { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-eyebrow { margin: 0 0 10px; color: var(--rose-dark); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.12; }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.5rem, 8vw, 5.25rem); }
h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.legal-updated { color: var(--muted); }
.legal-content { display: grid; gap: 18px; margin-top: 28px; }
.legal-section { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 16px 38px rgba(92, 52, 58, .06); }
.legal-section p, .legal-section ul { margin: 0; }
.legal-section p + p, .legal-section p + ul, .legal-section ul + p { margin-top: 12px; }
.legal-section li + li { margin-top: 8px; }
.legal-notice { border-left: 5px solid var(--rose); }

@media (max-width: 640px) {
  .legal-header { align-items: flex-start; flex-direction: column; }
  .legal-nav { gap: 12px; }
  .legal-shell { width: min(100% - 28px, 880px); margin-top: 34px; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .legal-section, .legal-header, .legal-footer { border: 1px solid CanvasText; }
  .legal-notice { border-left-width: 5px; }
}
