@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("fonts/arimo-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #000;
  --foreground: #fff;
  --rule: #aaa;
  --muted: #c4c4c4;
  --gutter: clamp(24px, 4.45vw, 64px);
  --fold-offset: -25px;
  --body-font: "Arimo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--background); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }
a:focus-visible { outline: 2px solid var(--foreground); outline-offset: 6px; }
::selection { background: var(--foreground); color: var(--background); }

.site-header, main, .site-footer { width: 100%; max-width: 1600px; margin-inline: auto; }
.site-header {
  height: 80px;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.corner { display: block; width: 120px; height: 80px; margin-left: -12px; transform: translateY(8px); }
.corner img, img.corner { object-fit: cover; width: 120px; height: 120px; }
.corner img { margin-top: -20px; }
.home-link { font-size: 24px; }
.home-main { padding: 44px var(--gutter) 80px; }
.wordmark-stage { position: relative; height: 260px; overflow: clip; overflow-clip-margin: 20px; }
.wordmark-stage > svg { position: absolute; display: block; width: calc(100% + 30px); height: auto; left: -15px; top: -76px; transform-origin: 50% 50%; transform: translateY(calc(var(--fold-offset) * var(--settle, 0))) scale(calc(1 + .12 * var(--settle, 0))); }
.premise {
  margin: 26px 24px 0;
  max-width: 800px;
  font-size: clamp(40px, 4.722vw, 68px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0;
}
.home-header { visibility: visible; }
/* An unenhanced page is the full master wordmark. Animation is optional. */
.home.is-complete .home-header { visibility: hidden; }
.site-footer { padding: 0 var(--gutter) 44px; margin-top: auto; }
.legal {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: clamp(16px, 1.53vw, 22px);
  line-height: 1.5;
}
.legal strong { font-weight: 700; font-size: .955em; }
.legal .email { margin-left: auto; }
.legal nav { display: flex; gap: 32px; }

.document-main { padding: 80px var(--gutter) 64px; }
.document-main h1 { margin: 0; border-bottom: 2px solid var(--foreground); padding-bottom: 16px; font-size: clamp(56px, 6.67vw, 96px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.updated { margin: 24px 0 44px; color: var(--muted); font-size: 16px; }
.document-copy { max-width: 74ch; }
.document-copy section { margin-top: 32px; }
.document-copy h2 { margin: 0 0 12px; font-size: 48px; line-height: 1.2; letter-spacing: -.025em; }
.document-copy p { margin: 0; }
.document-copy > p { margin-bottom: 40px; }
.document-copy a { overflow-wrap: anywhere; }
.error-page .document-copy { margin-top: 48px; font-size: 28px; }
.error-page .document-copy p { margin-bottom: 24px; }

/* These transforms reproduce the motion study's final frame before JS runs. */
@media (prefers-reduced-motion: reduce) {
  .home #ode, .home #ram { display: none; }
  .home #n { transform: translateX(-141.3px); }
  .home #g { transform: translateX(-165px); }
  .home #whole { transform: translateX(150px); }
  .home #underline { d: path("M31.3 86.4 H88.7"); }
  .home .wordmark-stage > svg { --settle: 1 !important; }
  .home .home-header { visibility: hidden; }
}

@media (max-width: 1100px) and (min-width: 601px) {
  .wordmark-stage { height: 210px; }
  .wordmark-stage > svg { top: -48px; }
  .premise { margin-left: 0; max-width: 680px; }
  .legal .email { margin-left: 0; }
}

@media (max-width: 600px) {
  :root { --fold-offset: 0px; }
  body { font-size: 18px; }
  .site-header { height: 80px; }
  .corner { width: 96px; height: 80px; margin-left: -12px; }
  .corner img, img.corner { width: 96px; height: 96px; }
  .corner img { margin-top: -8px; }
  .home-link { font-size: 18px; }
  .home-main { padding-top: 40px; padding-bottom: 56px; }
  .wordmark-stage { height: 110px; }
  .wordmark-stage > svg { width: calc(100% + 22px); left: -11px; top: 0; }
  .premise { margin: 25px 0 0; font-size: 33px; font-weight: 700; line-height: 1.06; letter-spacing: 0; max-width: 350px; }
  .site-footer { padding-bottom: 32px; }
  .legal { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding-top: 16px; font-size: clamp(17px, 4.87vw, 19px); }
  .legal strong { font-size: 1em; }
  .legal .email { margin-left: 0; }
  .registration { overflow-wrap: anywhere; }
  .legal nav { gap: 24px; }
  .document-main { padding-top: 64px; padding-bottom: 56px; }
  .document-main h1 { font-size: 56px; padding-bottom: 18px; }
  .updated { margin-bottom: 36px; }
  .document-copy h2 { font-size: 28px; }
  .document-copy section { margin-top: 32px; }
}
