:root {
  --pixel: 'Jersey 10', monospace;
  --mono: 'Space Mono', ui-monospace, monospace;
  --serif: 'Source Serif 4', Georgia, serif;
  --grotesk: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --paper: #ffffff;
  --ink: #121212;
  --ink-soft: #3a3a3a;
  --muted: #767676;
  --rule: #e4e4e1;
  --accent: #e0241a;
  --accent-d: #b51910;
  --on-accent: #ffffff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.mark {
  font-family: var(--pixel);
  color: var(--accent);
  line-height: 0.84;
  font-size: clamp(60px, 13vw, 108px);
  text-decoration: none;
}
.sub {
  font-family: var(--serif);
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: clamp(17px, 2.4vw, 21px);
  margin: 26px 0 0;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin: 36px 0 0;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 9px;
  flex-wrap: wrap;
  transition: border-color 0.15s;
}
.field.err {
  border-bottom-color: var(--accent);
}
.field input {
  flex: 1;
  min-width: 180px;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
}
.field input::placeholder {
  color: var(--muted);
}
.btn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  background: var(--accent);
  color: var(--on-accent);
  padding: 11px 18px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--accent-d);
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* turnstile sits quietly under the field */
.cf-turnstile {
  margin-top: 18px;
  min-height: 65px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 16px;
  min-height: 14px;
}
.meta.err {
  color: var(--accent);
}
.signin {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 34px;
}
.signin a {
  color: var(--accent);
  text-decoration: none;
}
.signin a:hover {
  text-decoration: underline;
}

/* success */
.ok {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.ok.show {
  display: flex;
}
.ok-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ok-check {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}
.ok-title {
  font-family: var(--grotesk);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.ok-meta-tight {
  margin-top: 0;
}
.linkbtn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: underline;
  padding: 0;
}
.signup-area.hide {
  display: none;
}
