:root {
  --ink: #111;
  --muted: #6b6b6b;
  --rule: #d9d9d9;
  --paper: #fff;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.mark { display: block; color: var(--ink); }
.mark path { stroke: currentColor; }

/* Landing */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px;
}

.hero .mark {
  width: clamp(120px, 22vw, 184px);
  height: auto;
  animation: rise 900ms cubic-bezier(.2,.7,.2,1) both;
}

.wordmark {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 4.6vw, 40px);
  letter-spacing: .32em;
  /* balance the trailing letter-spacing so the text centres optically */
  padding-left: .32em;
  line-height: 1.2;
  text-transform: uppercase;
  animation: rise 900ms 120ms cubic-bezier(.2,.7,.2,1) both;
}

.rule {
  width: 48px;
  height: 1px;
  margin: 32px auto;
  background: var(--ink);
  border: 0;
  animation: grow 900ms 300ms cubic-bezier(.2,.7,.2,1) both;
}

.tagline {
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 900ms 380ms cubic-bezier(.2,.7,.2,1) both;
}

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* Footer */

.footer {
  border-top: 1px solid var(--rule);
  padding: 24px 16px 28px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

.footer p { margin: 0; }
.footer .sep { margin: 0 .6em; color: var(--rule); }

@media (max-width: 640px) {
  .footer .sep { display: none; }
  .footer span.item { display: block; }
}

/* Document pages (privacy, 404) */

.topbar {
  border-bottom: 1px solid var(--rule);
  padding: 20px 16px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.topbar .mark { width: 40px; height: auto; }

.topbar span {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.doc {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 16px 72px;
}

.doc h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.15;
}

.doc .updated {
  margin: 0 0 40px;
  font-size: 13px;
  color: var(--muted);
}

.doc h2 {
  margin: 40px 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.doc p, .doc li { font-size: 16px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }

.doc address { font-style: normal; }
