/* Rockies waitlist. Colours and type from the A3 design (Rockies waitlist canvas, 5 Oct 2026). */

@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-semibold.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-bold.woff") format("woff"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/atkinsonhyperlegible-regular.woff") format("woff"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/atkinsonhyperlegible-bold.woff") format("woff"); }

:root {
  color-scheme: light;
  --bg: #FBFAF7;
  --ink: #1F2A24;
  --ink-soft: #46504A;
  --muted: #5D665F;
  --logo: #161A18;
  --green: #285E43;
  --green-dark: #1C4532;
  --green-line: #2F6B4C;
  --eyebrow: #4F7A60;
  --sage: #E4EDE6;
  --sage-2: #C2D7C8;
  --pill: #EAF1EB;
  --chip-border: #CFDDD2;
  --card-border: #E4E2DA;
  --selected: #EDF4EE;
  --mark-border: #BFC3BC;
  --track: #E8EBE6;
  --disabled-ink: #66706A;
  --input-border: #D6D4CC;
  --focus: #8DBA9A;
  --error: #A63A2B;
  --head: Poppins, "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

p { text-wrap: pretty; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1:focus, h2:focus { outline: none; }

.noscript { max-width: 440px; margin: 0 auto; padding: 24px; font-size: 17px; }

/* Layout: one narrow column, phone first */
.step {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wordmark { font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--logo); line-height: 1.2; }
.wordmark-lg { font-size: 28px; }
.green { color: var(--green-line); }
.h-line { display: block; }
.small { margin: 0; font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* Landing */
.step-landing { padding-bottom: 110px; }
.step-landing { max-width: none; }
.landing {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 24px 0;
  text-align: center;
}
.peak { display: block; margin-top: 18px; }
.eyebrow {
  margin: 0;
  font-family: var(--head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
h1 {
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sub { margin: 0; font-size: 17px; color: var(--ink-soft); }
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.chips li {
  font-size: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--chip-border);
  color: var(--green);
}
.credits { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.cta { display: flex; flex-direction: column; gap: 8px; width: 100%; padding-top: 6px; }
.hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; display: block; }

/* Buttons */
.btn {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #FFFFFF;
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}
.btn:hover { background: var(--green-dark); }
a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; color: #FFFFFF; }
a.btn:hover { color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--selected); color: var(--green-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--track); color: var(--disabled-ink); cursor: not-allowed; }
.btn.is-busy { opacity: 0.75; cursor: progress; }
.btn-sm { width: auto; flex: none; min-height: 48px; padding: 0 16px; border-radius: 10px; font-size: 15px; }
.link {
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Question steps */
.step-q { gap: 16px; padding: 22px 24px 28px; }
.bar-head { display: flex; align-items: center; justify-content: space-between; }
.track { height: 6px; background: var(--track); border-radius: 3px; overflow: hidden; }
.fill { height: 100%; background: var(--green); border-radius: 3px; transition: width .4s ease; }
h2 {
  margin: 10px 0 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.q-intro { margin: 10px 0 -8px; font-size: 15px; color: var(--muted); }
.q-intro + h2 { margin-top: 0; }
.options { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid var(--card-border);
  background: #FFFFFF;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-text b { font-weight: 700; }
.opt-text span { font-size: 14px; color: var(--muted); }
.mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--mark-border);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mark.round { border-radius: 999px; }
.option.is-checked, .option:has(input:checked) { background: var(--selected); border-color: var(--green); }
.option.is-checked .mark, .option input:checked ~ .mark { background: var(--green); border-color: var(--green); }
.option.is-checked .mark::after, .option input:checked ~ .mark::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #FFFFFF;
  border-width: 0 3px 3px 0;
  transform: translateY(-1px) rotate(45deg);
}
.option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }

/* Contact step */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 16px;
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.hint { font-size: 13px; color: var(--muted); }
.err { font-size: 14px; color: var(--error); }
.err-box { margin: 0 0 4px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; padding-top: 2px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }

/* Done */
.step-done { gap: 18px; padding: 24px 24px 32px; }
.done-peak { display: block; width: 100%; max-width: 342px; height: auto; margin-top: 16px; }
.step-done h2 { margin: 0; font-size: 32px; line-height: 1.1; }
.lead { margin: 0; font-size: 17px; }
.share {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.share p { margin: 0; }
.share-row { display: flex; gap: 10px; align-items: center; }
.share-url {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  background: #F3F2EE;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.step-done > p { margin: 0; }

/* Wider screens: keep the phone column, give it room */
@media (min-width: 600px) {
  .landing { padding-top: 56px; }
  .step-q, .step-done { padding-top: 40px; }
  .hills { height: 120px; }
  .step-landing { padding-bottom: 140px; }
}

/* Very narrow phones */
@media (max-width: 359px) {
  h1 { font-size: 32px; }
  .chips li { font-size: 13px; padding: 7px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .fill { transition: none; }
}
