:root {
  --red: #e0523e;
  --red-soft: #fbe9e5;
  --blue: #3d70c8;
  --blue-soft: #e9effb;
  --yellow: #d9a534;
  --yellow-soft: #fbf2dc;
  --green: #5b8e7d;
  --green-soft: #e8f1ed;
  --ink: #17211d;
  --muted: #5d6863;
  --paper: #f7f5f0;
  --card: #fffdfa;
  --line: #dedbd2;
  --shadow: 0 20px 55px rgba(24, 34, 29, 0.09);
  --radius: 24px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(224, 82, 62, 0.11), transparent 31rem),
    radial-gradient(circle at 92% 14%, rgba(61, 112, 200, 0.1), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

.shell {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.venue-tag {
  border: 1px solid rgba(23, 33, 29, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.screen { display: none; }
.screen.active { display: block; animation: rise 0.34s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 670px;
  margin: 13px 0 18px;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.colour-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 12px;
  margin: 26px 0;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(23, 33, 29, 0.06);
}

.colour-strip span:nth-child(1) { background: var(--red); }
.colour-strip span:nth-child(2) { background: var(--blue); }
.colour-strip span:nth-child(3) { background: var(--yellow); }
.colour-strip span:nth-child(4) { background: var(--green); }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.meta-card {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.72);
}

.meta-card strong,
.meta-card span { display: block; }

.meta-card strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.meta-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.context-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 20px 0 26px;
  padding: 17px 18px;
  border-left: 4px solid var(--ink);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 253, 250, 0.8);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.context-card strong { color: var(--ink); }

.coach-avatar {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border: 3px solid white;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(23, 33, 29, 0.13);
}

.button-primary,
.button-secondary,
.answer,
.button-link {
  border: 0;
  text-decoration: none;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.button-primary {
  width: 100%;
  padding: 15px 22px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 26px rgba(23, 33, 29, 0.17);
}

.button-primary:hover,
.button-secondary:hover { transform: translateY(-1px); }
.button-primary:active,
.button-secondary:active { transform: translateY(0); }
.button-primary:disabled { cursor: not-allowed; opacity: 0.38; box-shadow: none; }

.button-secondary {
  padding: 14px 20px;
  background: white;
  color: var(--ink);
}

.microcopy {
  margin: 12px auto 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.progress-track {
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e4e0d8;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 0.25s ease;
}

.progress-label {
  min-width: 48px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.question-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.experience-note {
  max-width: 600px;
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.experience-note strong { color: var(--ink); }

.question-text {
  margin-bottom: 25px;
  font-size: clamp(28px, 6vw, 39px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.answers {
  display: grid;
  gap: 11px;
}

.answer {
  position: relative;
  width: 100%;
  padding: 17px 18px 17px 54px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.12s ease, background 0.15s ease;
}

.answer::before {
  content: attr(data-letter);
  position: absolute;
  top: 16px;
  left: 17px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.answer:hover { border-color: #ada99f; transform: translateY(-1px); }
.answer.selected { border-color: var(--ink); background: #eeece7; }

.question-nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.button-link {
  padding: 10px 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.reveal-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius);
  color: white;
  box-shadow: var(--shadow);
}

.reveal-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 42px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.result-ready-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.result-ready-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  border: 42px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.result-ready-card .eyebrow { color: rgba(255, 255, 255, 0.68); }

.result-ready-card h2 {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 10px 0 13px;
  font-size: clamp(36px, 8vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.result-ready-card p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.55;
}

.locked-colours {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}

.locked-colours span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.locked-colours span:nth-child(1) { background: var(--red); }
.locked-colours span:nth-child(2) { background: var(--blue); }
.locked-colours span:nth-child(3) { background: var(--yellow); }
.locked-colours span:nth-child(4) { background: var(--green); }

.reveal-card .eyebrow { color: rgba(255, 255, 255, 0.78); }

.reveal-card h2 {
  position: relative;
  z-index: 1;
  margin: 9px 0 10px;
  font-size: clamp(36px, 8vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.motto {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-bottom: 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

.teaser {
  padding: 26px 4px 10px;
}

.teaser h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.teaser p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.unlock-card {
  margin-top: 20px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.unlock-card h3 { margin-bottom: 8px; font-size: 22px; }
.unlock-card > p { color: var(--muted); line-height: 1.55; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 50px;
  margin-bottom: 15px;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: white;
  color: var(--ink);
  font-size: 16px;
}

.field input:focus { border-color: var(--ink); }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.consent-row input { margin-top: 3px; }

.privacy-line {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

.privacy-line a { color: inherit; }

.result-stack {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.result-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.result-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 17px;
}

.result-card p,
.result-card li {
  color: #3f4944;
  font-size: 15px;
  line-height: 1.62;
}

.result-card ul { margin: 0; padding-left: 20px; }
.result-card li + li { margin-top: 7px; }

.practical-card {
  border-color: rgba(91, 142, 125, 0.34);
  background: linear-gradient(135deg, #edf4f0, #fff8e9);
}

.practical-label {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.practical-card .foundation-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 33, 29, 0.1);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.share-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 22px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.share-card h3 { margin-bottom: 5px; font-size: 19px; }
.share-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.share-card .button-secondary { border: 1px solid var(--line); white-space: nowrap; }
.share-card .share-status { grid-column: 1 / -1; color: var(--green); font-size: 12px; font-weight: 700; }

.blend-row {
  display: grid;
  grid-template-columns: 66px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  font-size: 13px;
  font-weight: 700;
}

.blend-track {
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: #ece9e2;
}

.blend-fill { height: 100%; border-radius: inherit; }
.blend-pct { color: var(--muted); text-align: right; }

.local-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 22px;
  padding: 25px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}

.local-card h3 { margin-bottom: 8px; font-size: 24px; }
.local-card p { margin-bottom: 0; color: rgba(255, 255, 255, 0.74); line-height: 1.55; }

.coach-photo {
  width: 112px;
  height: 112px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
}

.cta-card {
  margin-top: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8eee9, #fff4df);
  text-align: center;
}

.cta-card h3 { margin-bottom: 8px; font-size: 26px; }
.cta-card p { max-width: 520px; margin: 0 auto 18px; color: var(--muted); line-height: 1.55; }
.cta-card .button-primary { width: auto; min-width: 250px; }

.cta-card .cta-reassurance {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.availability {
  margin-top: 14px !important;
  font-size: 12px;
  font-weight: 700;
}

.footer-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 720px); padding-top: 21px; }
  .brand-row { margin-bottom: 27px; }
  .venue-tag { max-width: 48%; text-align: center; }
  .meta-grid { grid-template-columns: 1fr; }
  .meta-card { min-height: 0; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .reveal-card { padding: 27px 23px; }
  .result-ready-card { padding: 27px 23px; }
  .unlock-card { padding: 21px; }
  .context-card { align-items: center; }
  .coach-avatar { width: 58px; height: 58px; }
  .local-card { grid-template-columns: 1fr; gap: 14px; padding: 23px; text-align: center; }
  .coach-photo { width: 82px; height: 82px; }
  .local-card .coach-photo { margin: 0 auto; }
  .local-card h3 { font-size: 21px; }
  .share-card { grid-template-columns: 1fr; }
  .share-card .button-secondary { width: 100%; }
  .share-card .share-status { grid-column: 1; }
  .local-card .button-secondary { width: 100%; }
  .cta-card { padding: 25px 20px; }
  .cta-card .button-primary { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
