:root {
  --bg: #0a0a0a;
  --ink: #ededE8;
  --muted: #6e6e69;
  --line: #222222;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 3vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--bg); }

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

.bar {
  position: fixed;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--pad);
  z-index: 2;
}
.bar:not(.bottom) { top: 0; }
.bar.bottom { bottom: 0; color: var(--muted); }

.mark {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.link { position: relative; }
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.link:hover::after { transform: scaleX(1); }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  padding-bottom: calc(var(--pad) * 3.2);
  pointer-events: none;
}
.hero > * { pointer-events: auto; }

h1 {
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.join { max-width: 380px; }
.join label { display: block; color: var(--muted); margin-bottom: 10px; }

.field {
  display: flex;
  border-bottom: 1px solid var(--ink);
}
.field input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
  color: var(--ink);
}
.field input::placeholder { color: var(--muted); }
.field button {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  padding: 0 2px 0 12px;
  color: var(--ink);
  transition: transform 0.25s ease;
}
.field button:hover { transform: translateX(4px); }

.note { margin-top: 10px; color: var(--muted); min-height: 1em; }

/* about page */
.about {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--pad) * 4) var(--pad) var(--pad);
  max-width: 640px;
}
.about p {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 1.2em;
}
.about .mono { color: var(--muted); margin-bottom: 24px; display: block; }

.mark { display: inline-flex; align-items: center; gap: 9px; }
.mark img { width: 18px; height: 18px; }
.join .field + .field { margin-top: 6px; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }
.about a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.about h2 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; margin-bottom: 2.4em; letter-spacing: -0.01em; }
