* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--wine); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--wine); }
.legal-shell { width: min(100% - 96px, 1040px); margin-inline: auto; padding: 32px 0 64px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-nav .brand { display: inline-flex; align-items: center; gap: 14px; color: var(--wine); text-decoration: none; font: 28px var(--serif); letter-spacing: -.035em; }
.brand img { width: 52px; height: 42px; object-fit: contain; }
.legal-nav > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--text-ui); }
.legal-header { padding: clamp(48px, 7vw, 88px) 0 24px; }
.eyebrow { display: block; margin-bottom: 20px; color: var(--wine); font-size: var(--text-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--wine); letter-spacing: -.04em; text-wrap: balance; }
h1 { margin: 0 0 28px; font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.1; max-width: 17ch; }
h2 { margin: 52px 0 18px; font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.25; max-width: 32ch; }
h3 { margin: 28px 0 12px; font-size: 1rem; line-height: 1.5; }
p { margin: 0 0 20px; max-width: 70ch; }
.legal-header p { color: var(--muted); font-size: 1.0625rem; max-width: 62ch; }
ul, ol { padding-left: 24px; margin: 0 0 24px; max-width: 70ch; }
li + li { margin-top: 10px; }
.summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; border: 1px solid var(--line); background: var(--rose-light); margin: 24px 0 48px; }
.summary > div { min-width: 0; padding: 24px; font-size: .9375rem; overflow-wrap: anywhere; }
.summary > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.summary > div:nth-child(even) { border-left: 1px solid var(--line); }
.summary strong { display: block; margin-bottom: 8px; color: var(--wine); font-size: var(--text-caption); letter-spacing: .08em; text-transform: uppercase; }
.notice { background: var(--rose-light); border-left: 2px solid var(--wine); padding: 24px 28px; margin-block: 28px; }
.notice p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 24px 0 36px; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 18px 16px; overflow-wrap: anywhere; }
th { color: var(--wine); font-weight: 600; background: var(--rose-light); font-size: var(--text-caption); letter-spacing: .06em; text-transform: uppercase; }
.legal-footer { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 28px; color: var(--muted); font-size: var(--text-note); }
.legal-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.error-page { min-height: 100svh; display: grid; align-items: center; }
.error-shell { width: min(100% - 48px, 900px); margin-inline: auto; padding-block: 60px; }
.error-shell > img { width: 100px; margin-bottom: 48px; }
.error-shell h1 { max-width: 14ch; }
.error-shell > p:not(.eyebrow) { max-width: 50ch; color: var(--muted); }
.error-link { display: inline-flex; align-items: center; gap: 32px; margin-top: 20px; padding: 18px 24px; background: var(--wine); color: var(--paper); text-decoration: none; font-size: var(--text-ui); min-height: 56px; }
.error-link svg { width: 24px; height: 24px; }
@media (max-width: 700px) {
  .legal-shell { width: calc(100% - 40px); padding-top: 24px; }
  .legal-nav { gap: 16px; padding-bottom: 22px; }
  .legal-nav > div { gap: 8px 20px; }
  .legal-header { padding-top: 44px; }
  h1 { font-size: clamp(2.5rem, 10vw, 3.75rem); }
  h2 { font-size: 1.875rem; margin-top: 40px; }
  .summary { grid-template-columns: 1fr; }
  .summary > div { padding: 20px; }
  .summary > div:nth-child(even) { border-left: 0; }
  .summary > div + div { border-top: 1px solid var(--line); }
  .notice { padding: 20px; }
  /* Keep table/row/cell roles explicit in HTML as the visual layout changes. */
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  tbody { display: grid; gap: 20px; }
  tr { border: 1px solid var(--line); padding: 8px 20px; }
  td { border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; overflow-wrap: anywhere; }
  td:last-child { border-bottom: 0; }
  .cell-label { display: block; margin-bottom: 5px; color: var(--wine); font-size: var(--text-caption); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
}
@media (min-width: 701px) { .cell-label { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
