:root {
  --paper: #f8f6f0;
  --surface: #ffffff;
  --panel: #efede4;
  --ink: #1a1e18;
  --ink-soft: #3b3f36;
  --g-300: #cbc7b9;
  --g-400: #aba797;
  --g-500: #827e70;
  --g-600: #5b584c;
  --forest: #11402c;
  --forest-500: #1e6240;
  --forest-100: #cfe1d4;
  --forest-wash: #e9f0eb;
  --forest-darker: #051711;
  --gold: #d6a23e;
  --gold-300: #e8c879;
  --gold-soft: #f0dda6;
  --clay-100: #f2ddd2;
  --clay-600: #a24a2a;
  --cream: #f4efe2;
  --border-warm: #e6e2d6;
  --font-display: "Cabinet Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --gutter: clamp(20px, 5vw, 72px);
}

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

html, body { height: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold-soft); color: var(--forest-darker); }

/* Ambient */

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.b1 { width: 56vmax; height: 56vmax; left: -22vmax; top: -26vmax; background: radial-gradient(circle, rgba(207, 225, 212, .9), transparent 65%); }
.b2 { width: 44vmax; height: 44vmax; right: -14vmax; bottom: -18vmax; background: radial-gradient(circle, rgba(240, 221, 166, .85), transparent 65%); }
.b3 { width: 30vmax; height: 30vmax; left: 46vw; top: 26vh; background: radial-gradient(circle, rgba(242, 221, 210, .7), transparent 65%); }

.spot {
  position: absolute;
  width: 560px; height: 560px;
  left: -280px; top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 221, 166, .45), transparent 60%);
  opacity: 0;
}

.grain {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  opacity: .05;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Chrome */

.top {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  z-index: 10;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 28px; height: 28px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.025em;
}
.brand-word span { color: var(--gold); }

.count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--g-500);
  display: flex; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.count-cur { color: var(--forest); display: inline-block; }
.count-sep { opacity: .6; }

.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(17, 64, 44, .06);
  z-index: 11;
}
.progress-bar {
  display: block; height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
}

.pager {
  position: fixed; right: var(--gutter); bottom: 26px;
  display: flex; gap: 2px;
  z-index: 10;
  border-radius: 999px;
  border: 1px solid var(--border-warm);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(26, 30, 24, .25);
  padding: 3px;
  opacity: 0;
  visibility: hidden;
}
.pager-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--forest);
  transition: background .2s;
}
.pager-btn:hover:not(:disabled) { background: var(--forest-wash); }
.pager-btn:disabled { opacity: .3; cursor: default; }
.pager-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Stage */

#stage { position: relative; height: 100%; }

.screen {
  position: absolute; inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  -webkit-overflow-scrolling: touch;
}
.screen.is-active { visibility: visible; }

.screen-inner {
  min-height: 100%;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 112px var(--gutter) 120px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}

.ghost {
  position: fixed;
  right: calc(var(--gutter) - 1vw);
  bottom: -6vw;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(180px, 34vw, 520px);
  line-height: 1;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(17, 64, 44, .09);
  pointer-events: none;
  user-select: none;
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow svg { width: 14px; height: 14px; flex: none; }
.eyebrow::after {
  content: "";
  flex: 0 1 120px;
  height: 1px;
  background: var(--border-warm);
}

.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}

.hl {
  position: relative;
  font-style: normal;
  color: var(--forest);
  white-space: nowrap;
  z-index: 0;
}
.hl .bar {
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: .18em;
  background: var(--gold);
  transform-origin: left;
  z-index: -1;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -.01em;
}

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; will-change: transform; }

.hint {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
  max-width: 56ch;
}
.hint strong { color: var(--forest); font-weight: 600; }

.body { margin-top: 40px; }

/* Intro */

.intro .title { font-size: clamp(46px, 7.4vw, 108px); line-height: .95; }
.intro .hint { font-size: clamp(17px, 1.5vw, 19px); margin-top: 28px; }

.meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 30px;
}
.meta span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-warm);
  background: rgba(255, 255, 255, .6);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Fields */

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 36px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--forest);
}
.field label i { font-style: normal; font-weight: 500; color: var(--g-500); }

.input, .textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--g-300);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -.01em;
  padding: 6px 0 12px;
  outline: none;
  border-radius: 0;
  transition: border-color .25s;
}
.input::placeholder, .textarea::placeholder { color: var(--g-300); font-weight: 500; }
.input:focus, .textarea:focus { border-color: transparent; }

.textarea {
  resize: none;
  line-height: 1.3;
  min-height: 60px;
  overflow: hidden;
}

.underline-wrap { position: relative; }
.underline-wrap::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.underline-wrap:focus-within::after { transform: scaleX(1); }

.chars {
  margin-top: 10px;
  font-size: 13px;
  color: var(--g-500);
  display: flex; justify-content: space-between;
}

/* Choices */

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choices.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(26, 30, 24, .04);
  text-align: left;
  line-height: 1.3;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .25s, background-color .25s, box-shadow .25s, opacity .25s;
  overflow: hidden;
}
.choice:hover { border-color: var(--forest-100); box-shadow: 0 10px 28px -16px rgba(17, 64, 44, .35); }
.choice:focus-visible { outline: 2px solid var(--forest-500); outline-offset: 2px; }

.choice .key {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border-warm);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--g-600);
  transition: background-color .25s, color .25s, border-color .25s;
}
.choice .label { flex: 1; }
.choice .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  transform: scale(0);
}
.choice .tick svg { width: 12px; height: 12px; fill: none; stroke: var(--forest-darker); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.choice .flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), rgba(240, 221, 166, .9), transparent 60%);
  opacity: 0;
  pointer-events: none;
}

.choice[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest-wash);
}
.choice[aria-pressed="true"] .key {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.choice.is-dim { opacity: .45; }

.counter {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--g-600);
}
.dots { display: inline-flex; gap: 6px; }
.dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--g-300);
  display: block;
  transition: background-color .25s, border-color .25s;
}
.dots i.on { background: var(--gold); border-color: var(--gold); }

.extra { margin-top: 28px; }

/* Actions */

.actions {
  margin-top: 40px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}

.ok {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px 16px 26px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ok:hover { transform: scale(1.02); box-shadow: 0 14px 34px -14px rgba(17, 64, 44, .6); }
.ok:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ok[disabled] { opacity: .6; cursor: progress; }
.ok .arrow { width: 16px; height: 16px; fill: none; stroke: var(--gold-300); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.ok:hover .arrow { transform: translateX(3px); }

.enter-hint { font-size: 14px; color: var(--g-500); }
.enter-hint kbd {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 2px 7px;
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  margin: 0 2px;
}

.error {
  flex-basis: 100%;
  color: var(--clay-600);
  font-size: 15px;
  font-weight: 500;
  min-height: 1.2em;
}

/* Thanks */

.thanks .screen-inner { align-items: flex-start; }

.seal { width: 92px; height: 92px; margin-bottom: 34px; }
.seal circle { fill: none; stroke: var(--forest); stroke-width: 2; }
.seal path { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

.thanks .title { font-size: clamp(46px, 7.4vw, 104px); line-height: .95; }

.signoff {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--forest);
}
.signoff svg { width: 22px; height: 22px; }

/* Responsive */

@media (max-width: 720px) {
  body { font-size: 15px; }
  .top { padding-top: 18px; padding-bottom: 18px; }
  .brand svg { width: 24px; height: 24px; }
  .brand-word { font-size: 18px; }
  .eyebrow::after { display: none; }
  .screen-inner { padding-top: 92px; padding-bottom: 110px; justify-content: flex-start; }
  .fields { grid-template-columns: 1fr; gap: 22px; }
  .choices, .choices.cols-3 { grid-template-columns: 1fr; gap: 8px; }
  .choice { min-height: 54px; padding: 12px 14px; font-size: 15px; }
  .body { margin-top: 30px; }
  .hint { font-size: 16px; }
  .enter-hint { display: none; }
  .ghost { bottom: auto; top: 54px; right: -2vw; font-size: 46vw; }
  .pager { bottom: max(18px, env(safe-area-inset-bottom)); }
}

@media (hover: none) {
  .choice .key { display: none; }
}
