@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000;
  --ink: #cfcdc8;
  --dim: #5f5d59;
  --rule: #2b2a28;
  --gutter: 20px;
  --label: "Newsreader", Georgia, serif;
  --scrub: 150vh;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --grain: .28;
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--label);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-transform: lowercase;
}
::selection { background: var(--ink); color: var(--bg); }

.track { position: relative; height: calc(100svh + var(--scrub)); }
.stage {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
}

.stage canvas, .stage .still {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.stage .still img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}
.stage canvas { opacity: 0; transition: opacity .8s var(--ease); }
.ready .stage canvas { opacity: 1; }
.ready .stage .still { opacity: 0; transition: opacity .8s var(--ease); }

@media (orientation: portrait) {
  :root {
    --reserve: calc(120px + env(safe-area-inset-bottom));
    --tips: 0.89;
  }
  .stage .still {
    bottom: auto;
    height: min(100%, calc((100svh - var(--reserve)) / var(--tips)));
  }
  .stage .still img { object-position: 50% 0; }
}

.mark {
  position: fixed; z-index: 2;
  top: calc(var(--gutter) + env(safe-area-inset-top));
  left: var(--gutter);
  color: inherit; text-decoration: none;
}
.title {
  display: block;
  width: var(--tw);
  aspect-ratio: var(--ar);
}
.t-word { --tw: 210px; --ar: 800 / 222; }
.t-privacy { --tw: 200px; --ar: 640 / 242; position: relative; }
@media (min-width: 900px) {
  .t-word { --tw: 300px; }
  .t-privacy { --tw: 260px; }
}
.title .chrome, .title .flat {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: opacity .6s var(--ease), filter .6s var(--ease);
}
.title .chrome { object-fit: contain; mix-blend-mode: screen; pointer-events: none; }
.title .flat {
  inset: 0 8.33%;
  width: 83.34%;
  object-fit: contain;
  opacity: 0;
  filter: blur(4px);
}
@media (hover: hover) {
  .title:hover .chrome { opacity: 0; filter: blur(4px); }
  .title:hover .flat { opacity: 1; filter: blur(0); }
}
.title:focus-visible { outline: 1px solid var(--dim); outline-offset: 6px; }
.title:focus-visible .chrome { opacity: 0; }
.title:focus-visible .flat { opacity: 1; filter: none; }

.rv {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}
.shown .rv {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.d0 { --i: 0; } .d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; } .d4 { --i: 4; } .d5 { --i: 5; }


.label {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  max-width: 300px;
}
form { display: grid; gap: 10px; }

.field {
  position: relative;
  display: flex; align-items: baseline; gap: 10px;
}

.field::before, .field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  transform-origin: left center;
  transform: scaleX(0);
}
.field::before { background: var(--rule); transition: transform .35s ease; }
.field::after  { background: var(--ink); transition: transform .7s var(--ease); }
.shown .field::before { transform: scaleX(1); transition: transform 1.4s var(--ease) .25s; }
.field:focus-within::after { transform: scaleX(1); }

.field label { color: var(--dim); white-space: nowrap; transition: color .4s var(--ease); }
.field:focus-within label { color: var(--ink); }

.field input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--ink); caret-color: var(--ink);
  font: inherit; font-size: 16px;
  text-transform: none;
  padding: 8px 0 7px;
}

.field button {
  background: none; border: 0; color: var(--dim);
  font: inherit; font-size: 16px; cursor: pointer;
  padding: 4px 0 4px 6px;
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.shown .field.valid button { color: var(--ink); transform: translateX(3px); }
.shown .field button:hover { color: var(--ink); transform: translateX(5px); }

.fine { color: var(--dim); font-size: 12px; font-style: italic; min-height: 1.45em; }
.fine a, .doc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  transition: color .4s var(--ease), text-decoration-color .4s var(--ease);
}
.fine a:hover, .doc a:hover { color: var(--ink); text-decoration-color: var(--dim); }

.field > * {
  transition: opacity .5s var(--ease), filter .5s var(--ease),
              color .4s var(--ease), transform .5s var(--ease);
}
.noted {
  position: absolute; left: 0; bottom: 7px;
  opacity: 0; filter: blur(6px); transform: translateY(6px);
  pointer-events: none;
  transition: opacity .9s var(--ease) .25s, filter .9s var(--ease) .25s, transform 1s var(--ease) .25s;
}
.sent .field > *:not(.noted) { opacity: 0; filter: blur(6px); pointer-events: none; }
.sent .field::after { transform: scaleX(0); }
.sent .noted { opacity: 1; filter: blur(0); transform: none; }

@keyframes nope {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(1px); }
}
.field.nope { animation: nope .45s var(--ease); }

.hp { position: absolute; left: -9999px; }

.doc-page .mark { position: absolute; }
.doc {
  max-width: 34rem;
  padding: calc(var(--gutter) * 2 + 110px) var(--gutter) calc(var(--gutter) * 3);
  margin: 0 auto;
}
.doc h1 { margin: 0 0 28px -12px; }
.doc h2 {
  font-weight: 400; font-size: 13px; font-style: italic;
  color: var(--dim);
  margin: 28px 0 6px;
}
.doc p { font-size: 16px; line-height: 1.6; color: var(--ink); }
.doc .updated { margin-top: 48px; font-size: 12px; font-style: italic; color: var(--dim); }

.grain {
  position: fixed; inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(4%, 1%); }
  100% { transform: translate(1%, 3%); }
}

@media (prefers-reduced-motion: reduce) {
  .track { height: 100svh; }
  .stage canvas { display: none; }
  .rv, .shown .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .field::before { transform: scaleX(1); transition: none; }
  .field.nope { animation: none; }
  .grain { animation: none; }
  .title .chrome, .title .flat { transition: none; }
}
