:root {
  --paper: #fff;
  --ink: #000;
  --muted: #6b6b6b;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #000; --ink: #fff; --muted: #9c9c9c; }
  .logo img { filter: invert(1); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; text-decoration: none; }

/* Page frame: header / content / footer, the mark is cropped by this box */
.sheet {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3rem;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  overflow: hidden;
}
.logo { display: inline-block; text-decoration: none; }
.logo img { display: block; height: 24px; width: auto; }

.statement {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 20ch;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem);
}
.statement p {
  margin: 0 0 .8em;
  font-weight: 500;
  font-stretch: 110%;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.statement a { font-size: .5em; font-weight: 400; }

.mark {
  position: absolute;
  top: 50%;
  left: max(52%, 720px);
  height: 104vh;
  width: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
.mark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s cubic-bezier(.3, .6, .2, 1) forwards;
  animation-delay: calc(var(--i) * 110ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .mark path { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 860px) {
  .sheet { grid-template-rows: auto 1fr auto auto; }
  .mark {
    position: static;
    transform: none;
    height: auto;
    width: 88vw;
    margin: 0 -30vw 0 auto;
  }
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.25rem;
  justify-content: flex-start;
  align-items: baseline;
  font-size: .9375rem;
}
.foot nav { display: flex; gap: 1.5rem; }
.foot .legal { color: var(--muted); }

/* Legal pages */
.prose { align-self: start; max-width: 66ch; }
.prose h1 {
  margin: 0 0 .3em;
  font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 500;
  font-stretch: 110%;
  line-height: 1.12;
  letter-spacing: -.012em;
}
.prose .meta { margin: 0 0 2.5rem; color: var(--muted); }
.prose h2 { margin: 2.25em 0 .6em; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.prose h3 { margin: 1.75em 0 .5em; font-size: 1.0625rem; font-weight: 600; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .35em; }
