:root {
  color-scheme: light dark;
  --ground: #f7f6f3;
  --ink: #171614;
  --muted: #6e6a63;
  --rule: #dcd8d0;
  --field: #ffffff;
  --accent: #b8791f;
  --placeholder: #a5a097;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #171614;
    --ink: #f7f6f3;
    --muted: #8e8a82;
    --rule: #302e2a;
    --field: #1f1e1b;
    --accent: #d9963a;
    --placeholder: #6e6a63;
  }
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Geist, "Geist Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input { font: inherit; }

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: 2.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  text-align: center;
}

.posting-mark {
  display: block;
  width: 4.625rem;
  height: 2.75rem;
  fill: currentColor;
}

.wordmark {
  margin: 2.5rem 0 0;
  font-family: Figtree, Geist, ui-sans-serif, sans-serif;
  font-size: clamp(2.875rem, 4.6vw, 4.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.statement {
  display: flex;
  flex-direction: column;
  margin: 1.875rem 0 0;
  font-size: 1.6875rem;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.42;
}

.statement span { white-space: nowrap; }

.support {
  max-width: 46ch;
  margin: 1.125rem 0 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}

.waitlist-form {
  display: flex;
  gap: .625rem;
  width: min(28.75rem, 100%);
  margin-top: 2.875rem;
}

.waitlist-form input,
.waitlist-form button {
  min-height: 3.375rem;
  border-radius: .1875rem;
}

.waitlist-form input {
  width: 100%;
  min-width: 0;
  padding: 0 1.125rem;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--rule);
  outline-offset: 3px;
}

.waitlist-form input::placeholder { color: var(--placeholder); }

.waitlist-form button {
  flex: none;
  padding: 0 1.5rem;
  color: #171614;
  background: var(--accent);
  border: 0;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
}

.waitlist-form button:hover { filter: brightness(1.04); }
.waitlist-form button:focus-visible, .waitlist-form input:focus-visible { outline: 2px solid var(--ink); }
.waitlist-form :disabled { cursor: not-allowed; opacity: .62; }
.waitlist-form button:disabled:hover { filter: none; }

.waitlist-status {
  margin: .875rem 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

.consent {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

.reassurance {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

footer {
  position: absolute;
  right: 0;
  bottom: 2.75rem;
  left: 0;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  font-size: .75rem;
}

a, .cookie-control {
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

a:hover, .cookie-control:hover { color: var(--ink); border-bottom-color: var(--ink); }
a:focus-visible, .cookie-control:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.cookie-notice {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  width: min(24rem, calc(100% - 2.5rem));
  padding: 1.25rem;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: .1875rem;
  font-size: .8125rem;
  line-height: 1.5;
}

.cookie-notice p { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1rem; }
.cookie-actions button {
  min-height: 2.5rem;
  padding: 0 .875rem;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: .1875rem;
  cursor: pointer;
}
.cookie-actions button:last-child { background: var(--accent); border-color: var(--accent); }
.cookie-actions button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

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

@media (max-width: 40rem) {
  .landing { padding: 1.75rem; }
  .posting-mark { width: 3.625rem; height: 2.125rem; }
  .wordmark { margin-top: 1.75rem; }
  .statement { margin-top: 1.5rem; font-size: 1.3125rem; letter-spacing: -.01em; }
  .statement span { white-space: normal; }
  .support { margin-top: 1rem; font-size: .875rem; }
  .waitlist-form { flex-direction: column; margin-top: 2.25rem; }
  .waitlist-form input, .waitlist-form button { min-height: 3.25rem; }
  .consent, .reassurance { text-align: center; }
  footer { bottom: 2.125rem; }
  .cookie-notice { right: .875rem; bottom: .875rem; width: calc(100% - 1.75rem); }
}
