:root {
  --bg: #121316;
  --ink: #f2f1ee;
  --muted: rgba(242, 241, 238, 0.6);
  --line: rgba(242, 241, 238, 0.15);
  --chip: #ffffff;
  --chip-ink: #0b0b0c;
  --bar: 48px;
  --pad: 20px;
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

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

.bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: var(--bar);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 19, 22, 0.95);
}

.wordmark,
.chip {
  display: flex;
  align-items: center;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark {
  padding: 0 var(--pad);
  border-right: 1px solid var(--line);
}

.wordmark:hover,
.chip:hover {
  opacity: 0.7;
}

.chip {
  margin: 13px var(--pad);
  padding: 2px 6px;
  background: var(--chip);
  color: var(--chip-ink);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px var(--pad) 72px;
  text-align: center;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-family: Archivo, system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.field {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.stage .chip {
  margin: 0;
  padding: 0 24px;
  height: 40px;
}

.foot {
  display: flex;
  align-items: center;
  height: var(--bar);
  padding: 0 var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ruler {
  position: fixed;
  top: var(--bar);
  right: 0;
  bottom: var(--bar);
  width: 48px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 48px
  );
  background-position: right 16px top 24px;
  background-size: 12px 48px;
  background-repeat: repeat-y;
}

@media (max-width: 640px) {
  .ruler {
    display: none;
  }
}
