:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5a6662;
  --line: #d8ded8;
  --paper: #f7f6f0;
  --white: #ffffff;
  --evergreen: #163f35;
  --moss: #587a44;
  --copper: #b85f3c;
  --sun: #efc85b;
  --shadow: 0 24px 70px rgba(24, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--evergreen);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--evergreen);
  background: var(--sun);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  min-height: calc(100svh - 150px);
  margin: 0 auto;
  padding: 24px 24px 56px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--evergreen);
  font-size: 4.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: #35413d;
  font-size: 1.25rem;
}

.signup {
  max-width: 640px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(24, 33, 31, 0.08);
}

.signup label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.email-row,
.share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bdc7bf;
  border-radius: 6px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffefb;
}

input:focus {
  border-color: var(--moss);
  outline: 3px solid rgba(88, 122, 68, 0.18);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--evergreen);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

button:hover {
  background: #205347;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.turnstile {
  min-height: 70px;
  margin-top: 14px;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-message {
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-message.error {
  color: #9b2f1f;
}

.result {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  max-width: 640px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(22, 63, 53, 0.18);
  border-radius: 8px;
  background: #e9f0e5;
}

.result-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.position {
  margin: 0;
  color: var(--evergreen);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.share-row input {
  min-width: 0;
}

.artifact {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.artifact img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.artifact-caption {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.artifact-caption span {
  display: block;
  margin-bottom: 5px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.artifact-caption strong {
  display: block;
  color: var(--evergreen);
  font-size: 1rem;
  line-height: 1.35;
}

.queue-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.queue-band > div {
  padding: 28px 24px;
  background: #fffdf6;
  text-align: center;
}

.metric {
  display: block;
  color: var(--evergreen);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.rewards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 58px 24px;
}

.rewards article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.step {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--evergreen);
  font-weight: 900;
}

.rewards h2 {
  margin-bottom: 8px;
  color: var(--evergreen);
  font-size: 1.3rem;
}

.rewards p,
.proof p {
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 38px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px 72px;
}

.proof h2 {
  color: var(--evergreen);
  font-size: 2.2rem;
  line-height: 1.08;
}

.proof p {
  max-width: 680px;
  font-size: 1.08rem;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .hero,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 8px;
  }

  h1 {
    font-size: 3.5rem;
  }

  .artifact {
    max-width: 520px;
  }

  .rewards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 10px 18px 42px;
  }

  h1 {
    font-size: 3rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .signup,
  .result {
    padding: 16px;
  }

  .email-row,
  .share-row,
  .result,
  .queue-band {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .rewards,
  .proof {
    padding-inline: 18px;
  }
}
