/* Legal pages (terms, privacy, restaurant agreement): same brand as the home page, built for reading. */
:root {
  --brand: #00483c;
  --brand-deep: #003329;
  --accent: #d12b22;
  --ink: #102320;
  --muted: #3d5550;
  --paper: #ffffff;
  --sage: #e7f0ec;
  --line: #c9dad3;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --scallop: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--paper); }
a { color: var(--brand); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.awning :focus-visible, footer :focus-visible { outline-color: var(--paper); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 0.75rem; z-index: 5; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.awning {
  background: var(--brand); color: var(--paper); padding-bottom: var(--scallop);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--scallop)) no-repeat,
    radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - 0.5px), #0000 var(--scallop)) bottom / calc(var(--scallop) * 2) var(--scallop) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--scallop)) no-repeat,
    radial-gradient(circle at 50% 0, #000 calc(var(--scallop) - 0.5px), #0000 var(--scallop)) bottom / calc(var(--scallop) * 2) var(--scallop) repeat-x;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; max-width: 72rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--paper); text-decoration: none; font: 800 1.4rem/1 var(--display); letter-spacing: -0.03em; }
.logo svg { width: 1.5rem; height: 1.5rem; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-weight: 600; font-size: 0.95rem; }
.topbar nav a { color: var(--paper); text-decoration: none; }
.topbar nav a:hover, .topbar nav a[aria-current='page'] { text-decoration: underline; }

main { padding: clamp(2rem, 5vw, 3.25rem) 0 4rem; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; color: var(--brand-deep); }
h1 { font-size: clamp(2.1rem, 5vw, 2.9rem); line-height: 1.05; font-weight: 800; margin: 0 0 0.75rem; }
h2 { font-size: 1.4rem; line-height: 1.2; font-weight: 700; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.4rem; }
p, ul, ol { margin: 0 0 0.9rem; }
li { margin-bottom: 0.35rem; }
.meta { color: var(--muted); font-size: 0.95rem; }
.summary { background: var(--sage); border-radius: 0.6rem; padding: 1rem 1.2rem; margin: 1.25rem 0 0.5rem; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }
/* Remove this note (and the .draft element) once a lawyer has approved the text. */
.draft { border: 2px dashed var(--accent); border-radius: 0.6rem; padding: 0.75rem 1rem; color: #7a1712; font-weight: 600; font-size: 0.95rem; margin-bottom: 1.25rem; }
.toc { border-left: 3px solid var(--line); padding-left: 1rem; margin: 1.5rem 0; font-size: 0.975rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 0.5rem 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
th { color: var(--brand-deep); }
.table-scroll { overflow-x: auto; }

footer { background: var(--brand-deep); color: #a9c7bc; font-size: 0.925rem; padding: 1.5rem 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; max-width: 72rem; }
footer a { color: #e7f0ec; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
