@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/archivo-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: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

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

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green-100); color: var(--text-strong); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-6);
}
.lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.lockup:hover { color: var(--text); }
.lockup svg { width: 1.75rem; height: 1.75rem; flex: none; }
.lockup span {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: translateY(0.08em); /* sit wordmark baseline on symbol bottom */
}
.label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

/* Main */
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  color: var(--text);
  padding-block: var(--s-8) var(--s-12);
}
.display span { display: block; }
.display .accent { color: var(--accent); }

.intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--s-8);
  border-top: var(--rule);
  padding-top: var(--s-6);
}
.lead {
  grid-column: 1 / span 5;
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 34ch;
  color: var(--text);
}

/* Waitlist */
.waitlist { grid-column: 7 / span 6; max-width: 36rem; }
.form-title {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: var(--lh-tight);
  margin-bottom: var(--s-4);
}
.field { display: flex; align-items: flex-end; gap: var(--s-4); }
.field input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  color: var(--text-strong);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--green-800);
  border-radius: var(--radius);
  padding: 0.875rem 0;
  margin-bottom: 1px;
}
.field input::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus { outline: none; border-bottom: 2px solid var(--focus); margin-bottom: 0; }
.field input[aria-invalid="true"] { border-bottom: 2px solid var(--error); margin-bottom: 0; }

.btn {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--green-800);
  border: 0;
  border-radius: var(--radius);
  padding: 0.875rem 1.5rem;
  min-height: 2.75rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--green-900); }
.btn:active { transform: translateY(1px); }
.btn[aria-busy="true"] { cursor: progress; }

.status { min-height: 1.5em; margin-top: var(--s-3); font-size: var(--fs-small); }
.status[data-state="error"] { color: var(--error); }
.status[data-state="success"] { color: var(--success); font-weight: 500; }

.note { font-size: var(--fs-small); color: var(--text-muted); }
.note + .note { margin-top: var(--s-2); }
.note a:hover { color: var(--accent-text); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer {
  font-size: var(--fs-small);
  color: var(--text-muted);
  padding-block: var(--s-8) var(--s-6);
}

/* Prose pages (privacy, 404) */
.prose { max-width: 60ch; padding-block: var(--s-12) var(--s-16); }
.prose h1 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.prose h2 { font-size: 1.125rem; font-weight: 600; margin: var(--s-8) 0 var(--s-2); }
.prose p, .prose ul { margin-bottom: var(--s-4); }
.prose ul { padding-left: 1.25em; }
.prose .meta { color: var(--text-muted); font-size: var(--fs-small); margin-bottom: var(--s-8); }

/* Load-in */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise var(--dur) var(--ease) both; }
  .reveal:nth-child(2) { animation-delay: 80ms; }
  .reveal:nth-child(3) { animation-delay: 160ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
}

/* Mobile */
@media (max-width: 767px) {
  .display { font-size: clamp(3rem, 15vw, 5rem); padding-block: var(--s-12) var(--s-8); }
  .lead, .waitlist { grid-column: 1 / -1; }
  .field { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .btn { width: 100%; }
}
