@font-face {
  font-family: "Lora";
  src: url("./assets/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("./assets/Lora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #0d0d0d;
  --panel-soft: #13120f;
  --cream: #f6f1e8;
  --muted: #aaa69d;
  --muted-dark: #77736b;
  --gold-deep: #ae8625;
  --gold: #d2ac47;
  --gold-light: #f7ef8a;
  --line: rgba(210, 172, 71, 0.24);
  --green: #58b98a;
  --amber: #d2ac47;
  --orange: #e58b45;
  --red: #d45e5e;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(210, 172, 71, 0.08), transparent 34rem),
    radial-gradient(circle at 100% 65%, rgba(247, 239, 138, 0.035), transparent 30rem),
    var(--black);
  color: var(--cream);
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.app-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 780px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 5vw, 54px) max(26px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(210, 172, 71, 0.07);
  border-radius: 50%;
  filter: blur(0.2px);
  pointer-events: none;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(210, 172, 71, 0.045);
  border-radius: inherit;
}

.ambient::after {
  inset: 66px;
}

.ambient-one {
  top: 160px;
  right: -350px;
}

.ambient-two {
  bottom: 20px;
  left: -380px;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: clamp(28px, 6vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 106px;
  height: auto;
  object-fit: contain;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.secure-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(247, 239, 138, 0.7);
}

.screen {
  animation: screen-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.screen[hidden] {
  display: none;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.screen-start h1,
.screen-capture h1,
.screen-result h1,
.screen-booking h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2.4rem, 7.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.screen-start h1 {
  background: linear-gradient(110deg, var(--cream) 25%, var(--gold-light) 74%, var(--gold) 100%);
  background-clip: text;
  color: transparent;
}

.intro {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.15rem);
  line-height: 1.75;
}

.test-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 13, 13, 0.82);
  box-shadow: var(--shadow);
}

.test-summary span {
  min-width: 0;
  padding: 18px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.test-summary span + span {
  border-left: 1px solid var(--line);
}

.test-summary b {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-light);
  font-family: "Lora", serif;
  font-size: 26px;
  font-weight: 400;
}

.button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.answer-option:focus-visible,
.back-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(247, 239, 138, 0.72);
  outline-offset: 4px;
}

.button-primary {
  border: 1px solid var(--gold-light);
  background: linear-gradient(105deg, var(--gold-deep), var(--gold), var(--gold-light), var(--gold));
  color: #090807;
  box-shadow: 0 16px 42px rgba(210, 172, 71, 0.2);
}

.button-primary span {
  font-size: 22px;
  line-height: 1;
}

.button-secondary {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.privacy-note,
.cta-note,
.score-key {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.purpose-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  align-items: start;
  margin-top: clamp(34px, 8vw, 56px);
  padding: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.purpose-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.purpose-number {
  color: var(--gold);
  font-family: "Lora", serif;
  font-size: 20px;
}

.progress-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
}

.back-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--gold-light);
  font-size: 20px;
  cursor: pointer;
}

.back-button:disabled {
  opacity: 0.32;
  cursor: default;
}

.progress-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

#progress-label {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}

#category-label {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-percent {
  color: var(--gold-light);
  font-size: 13px;
}

.progress-track {
  height: 3px;
  margin: 17px 0 clamp(28px, 7vw, 48px);
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  width: 8.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  box-shadow: 0 0 16px rgba(247, 239, 138, 0.34);
  transition: width 320ms ease;
}

.question-card {
  position: relative;
  padding: clamp(24px, 6vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(247, 239, 138, 0.035), transparent 35%),
    rgba(13, 13, 13, 0.94);
  box-shadow: var(--shadow);
}

.question-number {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: "Lora", serif;
  font-size: 18px;
}

.question-card h2 {
  max-width: 620px;
  margin-bottom: 13px;
  font-family: "Lora", serif;
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.question-help {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.answer-list {
  display: grid;
  gap: 11px;
}

.answer-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.answer-option:hover {
  border-color: rgba(210, 172, 71, 0.48);
  background: rgba(210, 172, 71, 0.055);
  transform: translateX(3px);
}

.answer-option.is-selected {
  border-color: var(--gold-light);
  background: linear-gradient(90deg, rgba(210, 172, 71, 0.16), rgba(247, 239, 138, 0.035));
}

.answer-radio {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(247, 239, 138, 0.46);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px transparent;
}

.answer-option.is-selected .answer-radio {
  border-color: var(--gold-light);
  background: var(--gold-light);
  box-shadow: inset 0 0 0 5px #17140c;
}

.answer-option span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.answer-option strong {
  font-size: 15px;
  font-weight: 500;
}

.answer-option small {
  color: var(--muted-dark);
  font-size: 11px;
}

.answer-option em {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
}

.result-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 5vw, 34px);
  align-items: center;
  margin-bottom: 22px;
}

.score-ring {
  position: relative;
  display: grid;
  width: clamp(108px, 25vw, 142px);
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 239, 138, 0.1), transparent 58%),
    var(--panel);
  box-shadow: inset 0 0 32px rgba(210, 172, 71, 0.07), 0 18px 45px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(247, 239, 138, 0.22);
  border-radius: inherit;
}

.score-ring span {
  font-family: "Lora", serif;
  font-size: clamp(2.5rem, 8vw, 3.7rem);
  line-height: 0.9;
}

.score-ring small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.result-range {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-result h1 {
  margin: 0;
  font-size: clamp(2rem, 6.5vw, 3.7rem);
}

.result-status {
  width: 100%;
  height: 4px;
  margin-bottom: 23px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 20px color-mix(in srgb, var(--gold), transparent 45%);
}

.diagnosis-card,
.priority-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(13, 13, 13, 0.86);
}

.diagnosis-card {
  padding: clamp(22px, 5vw, 30px);
}

.diagnosis-card p {
  margin: 0;
  color: #cfcbc1;
  font-size: 15px;
  line-height: 1.8;
}

.diagnosis-card-featured p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.capture-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.score-ring-small {
  width: 106px;
}

.screen-capture h1,
.screen-booking h1 {
  margin: 0;
  font-size: clamp(2rem, 6.5vw, 3.6rem);
}

.capture-bars,
.capture-form,
.area-card,
.report-item,
.strength-item,
.plan-item,
.metrics-card,
.closing-card {
  border: 1px solid var(--line);
  background: rgba(13, 13, 13, 0.88);
}

.capture-bars {
  display: grid;
  gap: 17px;
  margin: 28px 0 18px;
  padding: 22px;
  border-radius: 22px;
}

.capture-bar > div,
.area-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.capture-bar span,
.area-card-head strong {
  color: var(--cream);
  font-size: 13px;
}

.capture-bar strong,
.area-card-head span {
  color: var(--gold-light);
  font-size: 13px;
}

.capture-bar i,
.area-track {
  display: block;
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.capture-bar b,
.area-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}

.capture-form {
  padding: clamp(22px, 5vw, 30px);
  border-radius: 22px;
}

.capture-form > label {
  display: block;
  margin-bottom: 9px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}

.handle-field {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(247, 239, 138, 0.36);
  border-radius: 16px;
  background: #090909;
}

.handle-field:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(247, 239, 138, 0.1);
}

.handle-field span {
  color: var(--gold);
  font-size: 19px;
}

.handle-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font: 500 17px "Poppins", sans-serif;
}

.form-help,
.form-error {
  margin: 10px 0 18px;
  font-size: 12px;
  line-height: 1.6;
}

.form-help { color: var(--muted); }
.form-error { color: #f2a2a2; }
.honeypot { position: absolute !important; left: -10000px !important; }
.button:disabled { cursor: wait; opacity: 0.7; transform: none; }

.report-section {
  margin: 34px 0;
}

.area-results,
.report-list,
.strength-list,
.plan-list {
  display: grid;
  gap: 12px;
}

.area-card,
.report-item,
.strength-item,
.plan-item,
.metrics-card,
.closing-card {
  border-radius: 20px;
}

.area-card {
  padding: 20px;
}

.area-card > b {
  display: inline-block;
  margin-top: 13px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-card p,
.report-item p,
.strength-item p,
.plan-item p,
.closing-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.report-item,
.plan-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
}

.report-item > span,
.plan-item > span {
  color: var(--gold);
  font-family: "Lora", serif;
  font-size: 17px;
}

.report-item strong,
.plan-item strong {
  color: var(--cream);
  font-size: 14px;
  line-height: 1.55;
}

.strength-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px 19px;
}

.strength-item span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(88, 185, 138, 0.45);
  border-radius: 50%;
  color: var(--green);
  font-size: 12px;
}

.strength-item p { margin: 1px 0 0; }

.metrics-card,
.closing-card {
  padding: clamp(22px, 5vw, 30px);
}

.metrics-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: metrics;
}

.metrics-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: start;
  color: #cfcbc1;
  font-size: 13px;
  line-height: 1.6;
  counter-increment: metrics;
}

.metrics-card li::before {
  content: counter(metrics);
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(210, 172, 71, 0.12);
  color: var(--gold-light);
  font-size: 11px;
}

.closing-card {
  margin: 42px 0 18px;
  background: linear-gradient(145deg, rgba(210, 172, 71, 0.13), rgba(13, 13, 13, 0.92) 54%);
}

.closing-card h2 {
  margin-bottom: 10px;
  font-family: "Lora", serif;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
}

.test-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 239, 138, 0.25);
  border-radius: 14px;
  background: rgba(5, 5, 5, 0.68);
}

.test-reference span {
  color: var(--muted);
  font-size: 12px;
}

.test-reference strong {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.back-link {
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font: 500 14px "Poppins", sans-serif;
  cursor: pointer;
}

.booking-frame-wrap {
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #050505;
  box-shadow: var(--shadow);
}

.booking-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: #050505;
}

.priority-section {
  margin: 34px 0 28px;
}

.section-heading {
  margin-bottom: 15px;
}

.section-heading span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-family: "Lora", serif;
  font-size: 25px;
  font-weight: 400;
}

.priority-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
}

.priority-card > span {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 15px;
  color: var(--gold-light);
  font-family: "Lora", serif;
  font-size: 17px;
}

.priority-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
}

.priority-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-dark);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .app-shell {
    padding-inline: 17px;
  }

  .brand-bar {
    padding-bottom: 28px;
  }

  .brand-logo {
    width: 94px;
  }

  .secure-note {
    font-size: 10px;
  }

  .screen-start h1 {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  .test-summary span {
    padding: 15px 8px;
    font-size: 10px;
  }

  .test-summary b {
    font-size: 22px;
  }

  .question-card {
    padding: 23px 18px;
    border-radius: 23px;
  }

  .question-card h2 {
    font-size: clamp(1.52rem, 7vw, 2rem);
  }

  .answer-option {
    min-height: 70px;
    padding-inline: 13px;
  }

  .answer-option:hover {
    transform: none;
  }

  .answer-option small {
    font-size: 10px;
  }

  .result-hero {
    grid-template-columns: 104px 1fr;
  }

  .capture-score {
    grid-template-columns: 92px 1fr;
    gap: 17px;
  }

  .score-ring-small {
    width: 92px;
  }

  .screen-capture h1 {
    font-size: 2rem;
  }

  .report-item,
  .plan-item {
    gap: 12px;
    padding: 17px;
  }

  .booking-frame-wrap {
    min-height: 650px;
    border-radius: 18px;
  }

  .booking-frame-wrap iframe {
    height: 650px;
  }

  .score-ring {
    width: 104px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 370px) {
  .secure-note {
    display: none;
  }

  .question-card {
    padding-inline: 15px;
  }

  .answer-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .answer-option em {
    display: none;
  }

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

  .capture-score {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.campaign-consent:not([hidden]) { display: flex; align-items: flex-start; gap: .75rem; margin: 1rem 0; font-size: .875rem; line-height: 1.55; color: #d4d0c5; font-weight: 400; }
.campaign-consent[hidden] { display: none; }
.campaign-consent input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-top: .2rem; accent-color: #d2ac47; }
