:root {
  --bg: #fff;
  --fg: #000;
  --gutter: clamp(24px, 6vw, 72px);
  --font: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 10px/1.6 var(--font);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }

.page {
  min-height: 100svh;
  padding: clamp(32px, 5vh, 60px) var(--gutter) clamp(28px, 4vh, 48px);
  display: grid;
  grid-template-rows: auto auto 1fr auto 1fr auto;
}
.top { grid-row: 1; }
.copy { grid-row: 2; margin-top: clamp(56px, 11vh, 104px); max-width: 74rem; }
.notify { grid-row: 4; }
.foot { grid-row: 6; }

/* wordmark: wide tracking, optical size */
.wordmark { margin: 0; font-weight: 400; font-size: 1em; letter-spacing: .6em; text-transform: uppercase; }

.copy p { font-size: .85em; margin: 0 0 2.8em; text-align: justify; text-wrap: pretty; hyphens: manual; }
.copy p:last-child { margin-bottom: 0; }

/* notify row */
.notify { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6em 2.4em; }
.notify__lead { margin: 0; }
.notify__form { display: flex; align-items: baseline; gap: 2.4em; flex-wrap: wrap; }
.notify input[type=email] {
  font: inherit; letter-spacing: inherit; color: inherit;
  background: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  padding: 0 0 2px; width: 16ch; text-align: center;
  transition: border-color .2s, width .4s var(--ease-out);
}
.notify input[type=email]::placeholder { color: inherit; opacity: 1; }
.notify input[type=email]:focus { outline: 0; border-bottom-color: var(--fg); width: 24ch; }
.notify input[aria-invalid=true] { border-bottom-color: var(--fg); }
.notify button {
  font: inherit; letter-spacing: inherit; color: inherit;
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: transform .1s ease-out, opacity .2s;
}
.notify button:hover { text-decoration: underline; text-underline-offset: .25em; }
.notify button:active { transform: scale(.96); } /* instant press feedback */
.notify button[disabled] { opacity: .4; cursor: default; }
.notify__status { flex-basis: 100%; margin: 0; min-height: 1.6em; }

/* footer */
.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.foot__logo { display: block; width: clamp(150px, 26vw, 262px); line-height: 0; }
.foot__logo img { width: 100%; height: auto; display: block; }
.foot__links { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: .75em; text-transform: uppercase; letter-spacing: .04em; line-height: 1.5; }
.foot__links span a + a { margin-left: .8em; }

@media (min-width: 768px) { body { font-size: 12px; } }

/* small screens: stack the notify row like the reference */
@media (max-width: 640px) {
  .notify { flex-direction: column; align-items: flex-start; }
  .notify__form { gap: 1.4em; }
}

/* entrance: starts hidden only when JS is running */
.js [data-reveal] .w, .js [data-chars] .c { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(4px); }
.js [data-reveal] .w { white-space: pre; }
.js .is-in .w, .js .is-in .c {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: calc(var(--i) * 18ms + var(--d, 0ms));
}
.js .notify, .js .foot { opacity: 0; transform: translateY(8px); }
.js .notify.is-in, .js .foot.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] .w, .js [data-chars] .c, .js .notify, .js .foot { transform: none; filter: none; }
  .js .is-in .w, .js .is-in .c, .js .notify.is-in, .js .foot.is-in { transition: opacity .25s linear; transition-delay: 0ms; }
  .notify input[type=email] { transition: none; }
}
@media (prefers-contrast: more) { .notify input[type=email] { border-bottom-color: var(--fg); } }
