:root {
  --bg: #ffffff;
  --bg-soft: #f8f5ef;
  --bg-sunken: #f1f0ef;
  --surface: #ffffff;
  --text: #070707;
  --text-2: #303030;
  --muted: #747474;
  --line: #dfdfdf;
  --line-strong: #cfcfcf;
  --brand-navy: #1a2352;
  --brand-orange: #ff9802;
  --brand-coral: #f26848;
  --brand-pink: #fe4156;
  --brand-purple: #6266ca;
  --brand-teal: #42948c;
  --brand-blue: #3e7ea9;
  --brand-plum: #ad4a75;
  --brand-gradient: linear-gradient(90deg, #ffa12b 0%, #f36d50 42%, #fe4156 100%);
  --brand-gradient-135: linear-gradient(135deg, #ff9802 0%, #ff6b55 45%, #fe4156 100%);
  --shadow: 0 24px 60px -36px rgba(26, 35, 82, 0.38);
  --shadow-sm: 0 15px 32px -28px rgba(26, 35, 82, 0.42);
  --shadow-gradient: 0 18px 44px -20px rgba(254, 65, 86, 0.72);
  --pad: 24px;
  --maxw: 640px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --r: 20px;
  --r-lg: 28px;
  --r-sm: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(130deg, rgba(255, 247, 235, 0.78) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 241, 244, 0.88) 100%),
    #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button[disabled] {
  cursor: default;
}

a {
  color: inherit;
}

.app {
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
}

.app::before,
.app::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.app::before {
  background: linear-gradient(108deg, rgba(255, 245, 230, 0.9), rgba(255, 255, 255, 0.7) 48%, rgba(255, 238, 243, 0.82));
}

.app::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.94));
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
}

.shell.start-shell {
  max-width: 1180px;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--safe-b) + 28px);
  animation: screen-in 0.42s var(--ease) both;
}

.screen.back {
  animation-name: screen-in-back;
}

.screen.quiet-screen {
  animation: none;
}

.question-screen.motion-screen,
.context-screen.motion-screen {
  animation-name: question-flow-in;
}

@keyframes screen-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.motion-screen .q-text,
.motion-screen .support,
.motion-screen .section-label,
.motion-screen .round-badge,
.motion-screen .round-title,
.motion-screen .round-ring,
.motion-screen .band-pill,
.motion-screen .card,
.motion-screen .acc-mini-item,
.motion-screen .field,
.motion-screen .consent,
.motion-screen .error-box,
.motion-screen .sticky-actions .btn {
  animation: rise 0.52s var(--ease) both;
}

.motion-screen.back .q-text,
.motion-screen.back .support,
.motion-screen.back .section-label {
  animation-name: rise-back;
}

.stagger > * {
  animation: rise 0.52s var(--ease) both;
}

.stagger > :nth-child(1) {
  animation-delay: 20ms;
}

.stagger > :nth-child(2) {
  animation-delay: 70ms;
}

.stagger > :nth-child(3) {
  animation-delay: 120ms;
}

.stagger > :nth-child(4) {
  animation-delay: 170ms;
}

.stagger > :nth-child(5) {
  animation-delay: 220ms;
}

.stagger > :nth-child(6) {
  animation-delay: 270ms;
}

.stagger > :nth-child(7) {
  animation-delay: 320ms;
}

.stagger > :nth-child(8) {
  animation-delay: 370ms;
}

.stagger > :nth-child(9) {
  animation-delay: 420ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(18px, 12px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-back {
  from {
    opacity: 0;
    transform: translate3d(-18px, 12px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.colour-wipe {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.colour-wipe.is-active {
  visibility: visible;
}

.colour-wipe span {
  position: absolute;
  inset: -12%;
  will-change: transform;
  transform: translateX(-125%) skewX(-8deg);
}

.colour-wipe-orange {
  background: var(--brand-orange);
}

.colour-wipe-pink {
  background: var(--brand-pink);
}

.colour-wipe.is-active .colour-wipe-orange {
  animation: colour-wipe-pass 0.86s cubic-bezier(0.2, 0, 0, 1) both;
}

.colour-wipe.is-active .colour-wipe-pink {
  animation: colour-wipe-pass 0.86s cubic-bezier(0.2, 0, 0, 1) 90ms both;
}

@keyframes colour-wipe-pass {
  0% {
    transform: translateX(-125%) skewX(-8deg);
  }
  48%,
  58% {
    transform: translateX(0) skewX(-8deg);
  }
  to {
    transform: translateX(125%) skewX(-8deg);
  }
}

@keyframes screen-in-back {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes question-flow-in {
  from {
    opacity: 0.98;
    transform: translate3d(12px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.question-screen.motion-screen.back,
.context-screen.motion-screen.back {
  animation-name: question-flow-in-back;
}

@keyframes question-flow-in-back {
  from {
    opacity: 0.98;
    transform: translate3d(-12px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stack-center {
  align-items: center;
  text-align: center;
}

.loading-stack {
  gap: 12px;
}

.skeleton {
  border-radius: var(--r);
  background: linear-gradient(90deg, var(--bg-soft), var(--bg-sunken), var(--bg-soft));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-short {
  width: 55%;
  height: 18px;
}

.skeleton-wide {
  width: 90%;
  height: 44px;
}

.skeleton-mid {
  width: 75%;
  height: 44px;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.brandbar {
  padding: calc(var(--safe-t) + 18px) 0 2px;
  display: flex;
  align-items: center;
}

.brandbar a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brandbar-logo {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.eyebrow,
.section-label,
.card-kicker {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.h1,
.h2,
.q-text,
.round-title,
.report-main-title,
.report-section-title {
  margin: 0;
  color: var(--text);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
}

.h1 {
  font-size: 88px;
}

.h2 {
  font-size: 34px;
}

.support,
.card-body,
.muted,
.disclaimer {
  color: var(--text-2);
}

.support {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.disclaimer {
  color: #7e7772;
  font-size: 13px;
  line-height: 1.45;
}

.start-screen {
  overflow: visible;
}

.start-hero {
  min-height: 590px;
  padding: 18px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  position: relative;
}

.start-copy {
  z-index: 3;
  padding-right: 12px;
  position: relative;
}

.start-title {
  max-width: 760px;
  margin-top: 18px;
}

.start-support {
  max-width: 680px;
  margin-top: 24px;
  font-size: 20px;
}

.start-duration {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.start-duration span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 0 7px rgba(254, 65, 86, 0.13);
}

.start-portrait {
  align-self: end;
  justify-self: end;
  width: 100%;
  height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.start-portrait::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 84%;
  height: 84%;
  border-radius: 46% 54% 44% 50%;
  background: linear-gradient(160deg, rgba(247, 244, 238, 0.95), rgba(255, 240, 244, 0.76));
}

.start-portrait img {
  position: relative;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 26px 25px rgba(26, 35, 82, 0.16));
  animation: person-in 0.9s var(--ease) 0.22s both;
}

@keyframes person-in {
  from {
    opacity: 0;
    transform: translate(34px, 18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sticky-actions {
  margin-top: auto;
  padding: 18px 0 calc(var(--safe-b) + 18px);
}

.shell:not(.start-shell):not(.report-shell) .sticky-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 34;
  width: min(calc(100% - 48px), 592px);
  margin-top: 0;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 34%);
}

.start-screen .sticky-actions {
  width: min(58%, 650px);
  margin-top: -92px;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg) 34%);
}

.btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  color: var(--text);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s var(--ease), filter 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.978);
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-gradient);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-ghost {
  background: var(--surface);
  border: 1.5px solid var(--brand-navy);
  color: var(--text);
}

.btn-quiet {
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
}

.btn,
.tile,
.context-choice,
.route,
.report-progress-dots button,
.plan-calendar button {
  transform-origin: 50% 50%;
  will-change: transform;
}

.btn-primary.is-motion-hovered {
  color: #ffffff;
  filter: none;
  background: linear-gradient(90deg, #ff8700 0%, #ff5272 52%, #f52f4a 100%);
  box-shadow: 0 20px 42px -18px rgba(254, 65, 86, 0.88);
}

.btn-ghost.is-motion-hovered,
.btn-quiet.is-motion-hovered {
  color: #ffffff;
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  box-shadow: 0 18px 38px -20px rgba(26, 35, 82, 0.82);
}

.route.is-motion-hovered {
  color: #ffffff;
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  box-shadow: 0 18px 38px -20px rgba(26, 35, 82, 0.76);
}

.report-progress-dots button.is-motion-hovered {
  color: #ffffff;
  border-color: #ffffff;
  background: var(--brand-pink);
  box-shadow: 0 8px 22px rgba(254, 65, 86, 0.38);
}

.plan-calendar button.is-motion-hovered {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: var(--brand-gradient-135);
  box-shadow: 0 16px 30px -18px rgba(254, 65, 86, 0.8);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: calc(var(--safe-t) + 12px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 72%, rgba(255, 255, 255, 0));
}

.topbar-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.back-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  display: grid;
  place-items: center;
}

.back-btn:hover:not([disabled]) {
  color: var(--text);
  background: var(--bg-soft);
}

.back-btn[disabled] {
  opacity: 0;
}

.topbar-meta,
.topbar-count {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.topbar-count {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--bg-sunken);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(26, 35, 82, 0.08);
}

.progress-fill {
  height: 100%;
  min-width: 2%;
  border-radius: inherit;
  background: var(--brand-gradient);
  transition: width 0.32s var(--ease);
}

.pips {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pips::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--bg-sunken);
  box-shadow: inset 0 1px 2px rgba(26, 35, 82, 0.08);
}

.pip {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 3px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #ffffff;
  font-size: 20px;
  font-weight: 850;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
}

.pip.done,
.pip.active {
  border-color: #ffffff;
  color: #ffffff;
  background: var(--brand-gradient-135);
}

.pip.active {
  transform: scale(1.12);
  animation: stage-light 1.9s ease-in-out infinite;
  box-shadow: 0 0 0 7px rgba(254, 65, 86, 0.11), 0 16px 30px -18px rgba(254, 65, 86, 0.7);
}

@keyframes stage-light {
  0%,
  to {
    box-shadow: 0 0 0 5px rgba(254, 65, 86, 0.12), 0 10px 24px rgba(254, 65, 86, 0.26);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(255, 152, 2, 0.16), 0 14px 30px rgba(254, 65, 86, 0.4);
  }
}

.context-screen {
  min-height: 0;
}

.context-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
  padding-bottom: 24px;
}

.context-choice-grid-compact {
  margin-top: 28px;
}

.context-choice {
  --choice-tone: var(--brand-navy);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 166px;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  color: #ffffff;
  background: var(--choice-tone);
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  transform-origin: 50% 50%;
  will-change: transform;
}

.context-choice::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -42px;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.context-choice:hover {
  transform: translateY(-3px);
}

.context-choice.selected {
  background: #ffffff;
  color: var(--choice-tone);
  border-color: var(--choice-tone);
  box-shadow: 0 0 0 3px rgba(26, 35, 82, 0.08), var(--shadow);
  animation: tile-pop 0.34s var(--ease) both;
}

.context-choice-tone-1 {
  --choice-tone: #ef4c61;
}

.context-choice-tone-2 {
  --choice-tone: #f26848;
}

.context-choice-tone-3 {
  --choice-tone: #f69f2c;
}

.context-choice-tone-4 {
  --choice-tone: #6266ca;
}

.context-choice-tone-5 {
  --choice-tone: #1a2352;
}

.context-choice-tone-6 {
  --choice-tone: #42948c;
}

.context-choice-tone-7 {
  --choice-tone: #7432b7;
}

.context-choice-tone-8 {
  --choice-tone: #3e7ea9;
}

.context-choice-tone-9 {
  --choice-tone: #ad4a75;
}

.context-choice-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

.context-choice.selected .context-choice-icon {
  background: var(--choice-tone);
  color: #ffffff;
}

.context-choice-label {
  position: relative;
  z-index: 1;
  max-width: 130px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.12;
}

.context-choice-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.58);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  background: var(--choice-tone);
  color: #ffffff;
}

.context-choice.selected .context-choice-check {
  opacity: 1;
  transform: none;
}

.context-choice-grid-compact .context-choice {
  min-height: 168px;
}

.section-label {
  margin: 28px 0 14px;
}

.q-text {
  font-size: 42px;
  max-width: 660px;
}

.tiles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

.tile {
  width: 100%;
  min-height: 62px;
  border: 1px solid transparent;
  border-radius: var(--r);
  color: #ffffff;
  background: var(--tile-tone);
  box-shadow: 0 12px 28px -22px rgba(26, 35, 82, 0.75);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 750;
  transition: transform 0.16s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  transform-origin: 50% 50%;
  will-change: transform;
}

.tile:hover:not([disabled]),
.tile.selected {
  color: var(--tile-tone);
  border-color: var(--tile-tone);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 35, 82, 0.08), 0 18px 38px -22px rgba(26, 35, 82, 0.72);
}

.tile.selected {
  animation: tile-pop 0.34s var(--ease) both;
}

@keyframes tile-pop {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.022);
  }
  to {
    transform: scale(1);
  }
}

.tile-tone-1 {
  --tile-tone: #ef4c61;
}

.tile-tone-2 {
  --tile-tone: #f26848;
}

.tile-tone-3 {
  --tile-tone: #f5a12b;
}

.tile-tone-4 {
  --tile-tone: #6266ca;
}

.tile-tone-5 {
  --tile-tone: #1a2352;
}

.tile-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tile:hover:not([disabled]) .tile-num,
.tile.selected .tile-num {
  border-color: var(--tile-tone);
  color: #ffffff;
  background: var(--tile-tone);
}

.tile-check {
  margin-left: auto;
  opacity: 0;
  transform: scale(0.58);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.tile.selected .tile-check {
  opacity: 1;
  transform: none;
}

.round-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand-gradient-135);
  box-shadow: 0 20px 40px -22px rgba(254, 65, 86, 0.8);
  font-size: 28px;
  font-weight: 850;
  margin-bottom: 24px;
  animation-name: badge-in;
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.round-title {
  font-size: 52px;
}

.round-complete-stage {
  gap: 18px;
}

.round-ring {
  --ring: 60%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(#ffffff 59%, transparent 61%),
    conic-gradient(from -90deg, #ff9802 0%, #fe4156 var(--ring), #efefef var(--ring), #efefef 100%);
  box-shadow: var(--shadow);
  animation: ring-in 0.74s cubic-bezier(0.2, 0, 0, 1) both;
}

@keyframes ring-in {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.round-ring-inner {
  text-align: center;
}

.round-complete-score {
  font-size: 58px;
  font-weight: 850;
  line-height: 0.95;
}

.round-complete-title {
  font-size: 42px;
}

.round-complete-section {
  font-size: 34px;
}

.round-auto-note {
  color: var(--muted);
  margin: 0;
}

.band-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}

.band-pill.high {
  color: #2f786d;
  background: #e6f5f1;
  border-color: #c9e8e0;
}

.band-pill.mid {
  color: #856100;
  background: #fff3d8;
  border-color: #f1dfaf;
}

.band-pill.low {
  color: #9b2338;
  background: #fff0f2;
  border-color: #f4ccd2;
}

.analysing-steps {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.astep {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.astep-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
}

.astep.on {
  color: var(--text);
}

.astep.on .astep-dot {
  background: var(--brand-gradient-135);
  box-shadow: 0 0 0 6px rgba(254, 65, 86, 0.1);
}

.reveal-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 10px;
  align-items: start;
  padding-top: 92px;
  padding-bottom: 110px;
}

.reveal-score-copy {
  align-items: flex-start;
  text-align: left;
}

.big-score {
  color: transparent;
  background: var(--brand-gradient-135);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 122px;
  font-weight: 900;
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
  animation: score-in 0.72s cubic-bezier(0.05, 0.7, 0.1, 1) both;
}

@keyframes score-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal-breakdown-title {
  margin-top: 24px;
  font-size: 32px;
}

.reveal-kevin {
  height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.reveal-kevin img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(26, 35, 82, 0.18));
  animation: person-in 0.86s var(--ease) 0.16s both;
}

.reveal-details {
  grid-column: 1 / -1;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.card + .card {
  margin-top: 12px;
}

.card-title {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.card-body {
  margin: 10px 0 0;
  line-height: 1.55;
}

.card-strength {
  background: #eef9f6;
  border-color: #c9e8e0;
}

.card-opportunity {
  background: #fff8ec;
  border-color: #eadcc0;
}

.acc-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.acc-mini-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  text-align: center;
}

.acc-mini-val {
  color: var(--brand-pink);
  font-size: 28px;
  font-weight: 850;
}

.acc-mini-lab {
  margin-top: 6px;
  color: var(--text-2);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 850;
}

.field {
  margin-top: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
}

.field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  outline: 0;
}

.field input:focus {
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 4px rgba(254, 65, 86, 0.12);
}

.req {
  color: var(--brand-pink);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.consent input {
  width: 22px;
  height: 22px;
  accent-color: var(--brand-pink);
}

.error-box {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #ffc6ce;
  border-radius: 14px;
  background: #fff0f2;
  color: #9b2338;
  font-weight: 700;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.report-shell {
  max-width: 1120px;
}

.report-experience {
  padding-bottom: calc(var(--safe-b) + 104px);
}

.report-progress-nav {
  position: sticky;
  top: 0;
  z-index: 35;
  margin: 10px 0 30px;
  padding: 14px 0 12px;
  background: linear-gradient(rgba(255, 255, 255, 0.96) 74%, rgba(255, 255, 255, 0));
  backdrop-filter: blur(14px);
}

.report-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}

.report-progress-head span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 850;
}

.report-progress-head strong {
  font-size: 13px;
}

.report-progress-track {
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--bg-sunken);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(26, 35, 82, 0.1);
}

.report-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gradient);
  transition: width 0.5s var(--ease);
}

.report-progress-dots {
  display: flex;
  justify-content: space-between;
  margin-top: -18px;
  padding: 0 2px;
}

.report-progress-dots button {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #ffffff;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 850;
}

.report-progress-dots button.done,
.report-progress-dots button.active {
  border-color: var(--brand-pink);
  color: var(--brand-pink);
}

.report-progress-dots button.active {
  transform: scale(1.18);
  box-shadow: 0 4px 14px rgba(254, 65, 86, 0.22);
}

.report-slide {
  min-height: 66vh;
}

.report-slide-forward {
  animation: report-slide-forward 0.52s var(--ease) both;
}

.report-slide-back {
  animation: report-slide-back 0.52s var(--ease) both;
}

@keyframes report-slide-forward {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes report-slide-back {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.report-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(26, 35, 82, 0.1);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 18%, #f7f4ff 100%);
  box-shadow: 0 22px 70px -42px rgba(26, 35, 82, 0.55);
  display: flex;
  align-items: center;
  padding: 34px;
}

.report-hero-copy {
  position: relative;
  z-index: 2;
  width: 62%;
}

.report-main-title,
.report-section-title {
  max-width: 650px;
  font-size: 54px;
}

.report-total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.report-total {
  font-size: 96px;
  font-weight: 900;
  line-height: 0.88;
  font-variant-numeric: tabular-nums;
}

.report-total span {
  color: var(--muted);
  margin-left: 5px;
  font-size: 24px;
}

.report-summary {
  max-width: 570px;
  font-size: 15.5px;
}

.report-hero-person {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 43%;
  height: 96%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.report-hero-person img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 22px rgba(26, 35, 82, 0.18));
}

.section-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.section-score-card {
  min-height: 210px;
  border-radius: 20px;
  padding: 18px;
  color: #ffffff;
  background: var(--choice-tone);
  display: flex;
  flex-direction: column;
}

.section-score-card:nth-child(1) {
  --choice-tone: #ef4c61;
}

.section-score-card:nth-child(2) {
  --choice-tone: #42948c;
}

.section-score-card:nth-child(3) {
  --choice-tone: #f69f2c;
}

.section-score-card:nth-child(4) {
  --choice-tone: #6266ca;
}

.section-score-card:nth-child(5) {
  --choice-tone: #1a2352;
}

.section-score-card strong {
  margin-top: auto;
  font-size: 36px;
  line-height: 1;
}

.section-score-card span {
  font-size: 13px;
  font-weight: 800;
}

.section-score-card em {
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
}

.report-grid,
.advice-grid,
.course-grid,
.report-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.acc-card,
.advice-card,
.course-card,
.route {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.acc-card:first-child,
.advice-card:first-child {
  grid-column: 1 / -1;
}

.acc-letter {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--brand-gradient-135);
  font-size: 22px;
  font-weight: 900;
}

.bar-track {
  width: 100%;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--bg-sunken);
  margin-top: 12px;
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gradient);
}

.evidence-list,
.line-list,
.answer-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.evidence-list li,
.line-list li,
.answer-list li {
  margin: 6px 0;
}

.plan-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.plan-calendar button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.plan-calendar button.active {
  color: #ffffff;
  border-color: transparent;
  background: var(--brand-gradient-135);
  box-shadow: var(--shadow-gradient);
}

.plan-day-card {
  margin-top: 18px;
}

.report-download-card {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.5fr);
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  color: #ffffff;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-navy), #303b78);
}

.report-download-card .card-kicker,
.report-download-card .card-title,
.report-download-card .card-body {
  color: #ffffff;
}

.report-pdf-note {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.answers-card {
  display: none;
  margin-top: 12px;
}

.answers-card.open {
  display: block;
}

.answer-section + .answer-section {
  margin-top: 20px;
}

.report-controls {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  width: min(100% - 36px, 720px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(260px, 1fr);
  gap: 10px;
  padding-bottom: calc(var(--safe-b) + 12px);
}

.report-controls::before {
  content: "";
  position: absolute;
  inset: -24px -28px 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 34%);
  backdrop-filter: blur(8px);
}

.print-report {
  display: none;
}

.footer-line {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .start-hero {
    min-height: 720px;
    padding: 28px 0 22px;
    display: block;
  }

  .start-title {
    font-size: 68px;
  }

  .start-portrait {
    position: absolute;
    right: -34px;
    bottom: 0;
    width: 58%;
    height: 425px;
  }

  .start-screen .sticky-actions {
    width: 100%;
    margin-top: 0;
  }

  .section-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-score-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 18px;
  }

  .h1,
  .start-title {
    font-size: 54px;
  }

  .h2 {
    font-size: 30px;
  }

  .q-text {
    font-size: 34px;
  }

  .context-choice-grid {
    gap: 8px;
  }

  .context-choice {
    min-height: 126px;
    padding: 13px;
    border-radius: 16px;
  }

  .context-choice-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .context-choice-label {
    font-size: 12px;
  }

  .pips {
    gap: 6px;
    min-height: 52px;
  }

  .pip {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .round-title {
    font-size: 42px;
  }

  .reveal-stage {
    grid-template-columns: minmax(0, 1fr) 118px;
    padding-top: 42px;
  }

  .big-score {
    font-size: 94px;
  }

  .reveal-kevin {
    height: 300px;
    margin-left: -36px;
  }

  .acc-mini,
  .report-grid,
  .advice-grid,
  .course-grid,
  .report-routes {
    grid-template-columns: 1fr;
  }

  .acc-card:first-child,
  .advice-card:first-child {
    grid-column: auto;
  }

  .report-hero {
    min-height: 410px;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .report-hero-copy {
    width: 76%;
  }

  .report-main-title,
  .report-section-title {
    font-size: 40px;
  }

  .report-total {
    font-size: 72px;
  }

  .report-hero-person {
    width: 50%;
    height: 68%;
  }

  .report-download-card {
    grid-template-columns: 1fr;
  }

  .report-controls {
    grid-template-columns: 108px 1fr;
    width: calc(100% - 28px);
  }
}

@media (max-width: 430px) {
  .start-screen {
    min-height: 100svh;
    position: relative;
    overflow: hidden;
  }

  .brandbar {
    position: relative;
    z-index: 6;
  }

  .brandbar-logo {
    height: 27px;
  }

  .start-hero {
    min-height: 0;
    padding: 12px 0 0;
  }

  .start-title {
    max-width: 330px;
    font-size: 44px;
  }

  .start-support {
    position: relative;
    z-index: 7;
    max-width: 86%;
    margin-left: -4px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(9px);
    font-size: 16px;
    line-height: 1.38;
  }

  .start-portrait {
    right: -50vw;
    bottom: -42svh;
    width: min(126vw, 520px);
    height: 132svh;
  }

  .start-portrait img {
    max-width: none;
    width: auto;
    height: 100%;
  }

  .start-screen .sticky-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--safe-b) + 18px);
    padding: 0;
    background: transparent;
  }

  .start-screen .sticky-actions .muted,
  .start-screen .sticky-actions .disclaimer {
    display: none;
  }

  .topbar-context .topbar-meta {
    display: none;
  }

  .context-screen .q-text {
    font-size: 27px;
  }

  .context-screen .support {
    font-size: 13px;
    margin-top: 6px;
  }

  .context-choice-grid {
    margin-top: 12px;
    padding-bottom: 4px;
    gap: 6px;
  }

  .context-choice {
    min-height: 112px;
    padding: 10px;
  }

  .tile {
    min-height: 60px;
    border-radius: 16px;
  }

  .report-hero {
    min-height: 440px;
  }

  .report-hero-copy {
    width: 84%;
  }

  .plan-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .colour-wipe {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  body * {
    visibility: hidden;
  }

  .print-report,
  .print-report * {
    visibility: visible;
  }

  .print-report {
    display: block !important;
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    color: #111111;
    background: #ffffff;
    padding: 28px;
  }

  .print-report h1,
  .print-report h2,
  .print-report h3 {
    break-after: avoid;
  }

  .print-section {
    break-inside: avoid;
    margin: 0 0 24px;
  }

  .print-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .print-card {
    border: 1px solid #dddddd;
    border-radius: 12px;
    padding: 14px;
  }

  .report-controls,
  .report-progress-nav,
  .sticky-actions {
    display: none !important;
  }
}
