/* Matches the pre-waitlist site's compact legal document layout. */
@font-face {
  font-family: Gilda;
  src: url('/fonts/GildaDisplay-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #ffffff;
  --ink: #111512;
  --muted: #53605a;
  --line: #d8dedb;
  --soft-line: #ecefed;
  --green: #0b4a3b;
  --sans: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, system-ui, sans-serif;
  --display: Gilda, Georgia, 'Times New Roman', serif;
  --header-height: 80px;
  --gutter: clamp(20px, 4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip-link:focus { transform: translateY(0); outline-color: var(--ink); }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--soft-line);
}
.legal-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 44px;
}
.legal-header img { width: clamp(150px, 13vw, 184px); }
.legal-content {
  width: min(100%, 840px);
  margin-inline: auto;
  padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(64px, 7vw, 96px);
}
.legal-intro {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: clamp(36px, 4vw, 52px);
  text-align: center;
}
.legal-intro h1 {
  font: 400 clamp(20.8px, 1.92vw, 24px)/1.2 var(--display);
  letter-spacing: -.015em;
}
.legal-date {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.draft-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.draft-gap {
  padding: 12px 14px;
  border-left: 2px solid var(--line);
  background: #f7f8f7;
}
.draft-gap-inline { font-weight: 600; }
.legal-section { border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section:last-of-type { border-bottom: 1px solid var(--line); }
.legal-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
}
.legal-section summary::-webkit-details-marker { display: none; }
.legal-section summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.legal-section__indicator {
  flex: 0 0 auto;
  color: var(--ink);
  font: 400 15px/1 var(--sans);
}
.legal-section__indicator-open,
.legal-section[open] .legal-section__indicator-closed { display: none; }
.legal-section[open] .legal-section__indicator-open { display: block; }
.legal-section h2 { font: 400 17px/1.4 var(--display); }
.legal-section__content {
  display: grid;
  gap: 10px;
  padding: 0 36px 22px 0;
  color: #26302b;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.legal-section h3 { font: 400 16px/1.4 var(--display); margin-top: 8px; }
ul { margin: 0; padding-left: 22px; }
li + li { margin-top: 10px; }
dl { margin: 0; }
dt { font-weight: 600; }
dt:not(:first-child) { margin-top: 16px; }
dd { margin: 5px 0 0; }
code { font-size: .9em; overflow-wrap: anywhere; }
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 116px;
  margin-inline: var(--gutter);
  padding-block: 28px;
  border-top: 1px solid var(--soft-line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-footer > span { color: var(--muted); text-transform: none; }
.legal-footer nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 2vw, 24px); margin-inline-start: auto; }
.legal-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: .26em;
  transition: color 160ms cubic-bezier(.16, 1, .3, 1), text-decoration-color 160ms cubic-bezier(.16, 1, .3, 1);
}
.legal-footer a:hover, .legal-footer a:focus-visible {
  color: var(--green);
  text-decoration-color: var(--green);
}
@media (max-width: 767px) {
  :root { --header-height: 68px; --gutter: clamp(18px, 6vw, 28px); }
  .legal-content { padding-top: 40px; }
  .legal-section summary { padding-block: 18px; }
  .legal-section__content { padding-bottom: 20px; }
  .legal-footer {
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding-block: 12px;
    font-size: clamp(8px, 2.5vw, 10px);
    white-space: nowrap;
  }
  .legal-footer nav { gap: clamp(8px, 3vw, 18px); }
}
@media print {
  .skip-link { display: none; }
  .legal-header, .legal-footer { border-color: #777777; }
  .legal-section::details-content { display: block; content-visibility: visible; }
  .legal-section > .legal-section__content { display: grid; }
  .legal-section__indicator { display: none; }
  .legal-section summary { break-after: avoid; }
  .draft-gap { break-inside: avoid; }
}

.legal-section__content a { text-decoration: underline; text-underline-offset: .18em; }
#statistics-toggle { padding: 10px 14px; border: 1px solid var(--line); background: white; color: var(--green); font: inherit; cursor: pointer; }
#statistics-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#statistics-status { margin-top: 8px; }

#opening-dates p + p{margin-top:1em;}
