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

:root {
  --page: #080c14;
  --surface: #101725;
  --surface-strong: #151e2f;
  --surface-soft: #0d1320;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.19);
  --gold: #dfb867;
  --gold-bright: #efca7c;
  --gold-soft: rgba(223, 184, 103, 0.12);
  --teal: #45c4aa;
  --coral: #ef7f70;
  --blue: #6fa8ff;
  --text: #f7f8fb;
  --body: #bdc6d7;
  --muted: #8490a6;
  --danger: #ff8d83;
  --content: 1240px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--page);
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

fieldset {
  min-width: 0;
  border: 0;
}

legend {
  padding: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  background: #0b0f1a;
}

.site-nav {
  max-width: 1200px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 24px;
  color: #ffffff;
  line-height: 1.6;
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark .m1 {
  color: #ffffff;
}

.wordmark .m2 {
  color: #dcb46a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #c5ccdb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #dcb46a;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-lang {
  color: #c5ccdb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-lang:hover {
  color: #dcb46a;
}

.btn-gold {
  padding: 10px 24px;
  border: 0;
  border-radius: 8px;
  color: #0b0f1a;
  background: #dcb46a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.btn-gold:hover {
  background: #e7c480;
  transform: translateY(-1px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.mobile-menu[hidden] {
  display: none;
}

.page-shell {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 64px;
  padding-bottom: 48px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.intro h1 {
  max-width: 850px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--body);
  font-size: 16px;
  line-height: 1.75;
}

.intro-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
}

.diagnostic-shell {
  scroll-margin-top: 22px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 660px;
}

.diagnostic-layout[hidden],
.result-panel[hidden],
.step-panel[hidden] {
  display: none;
}

.diagnostic-sidebar {
  padding: 34px 30px 34px 0;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress-meta strong {
  color: var(--text);
}

.progress-track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 220ms ease;
}

.step-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
}

.step-item[aria-current="step"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.step-item.is-complete {
  color: var(--body);
}

.step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.step-item[aria-current="step"] .step-number {
  color: #15100a;
  border-color: var(--gold);
  background: var(--gold);
}

.step-item.is-complete .step-number {
  color: var(--teal);
  border-color: rgba(69, 196, 170, 0.45);
}

.step-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.sidebar-note {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.diagnostic-main {
  min-width: 0;
  padding: 42px 0 48px 52px;
  border-left: 1px solid var(--line);
}

.step-panel {
  max-width: 850px;
}

.step-heading {
  margin-bottom: 30px;
}

.step-kicker {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.step-heading h2 {
  max-width: 780px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.step-heading p {
  max-width: 710px;
  margin-top: 10px;
  color: var(--body);
  font-size: 14px;
}

.field-block + .field-block {
  margin-top: 30px;
}

.field-title,
.field-label {
  display: block;
  margin-bottom: 11px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field-hint {
  display: block;
  margin-top: -5px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

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

.option-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card {
  position: relative;
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.option-card:hover {
  border-color: var(--line-strong);
  background: var(--surface);
  transform: translateY(-1px);
}

.option-card:has(input:checked) {
  border-color: rgba(223, 184, 103, 0.75);
  background: var(--gold-soft);
}

.option-card input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--gold);
}

.option-copy {
  min-width: 0;
}

.option-copy strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.option-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

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

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

select,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: rgba(223, 184, 103, 0.8);
  box-shadow: 0 0 0 3px rgba(223, 184, 103, 0.1);
}

select {
  color-scheme: dark;
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.step-actions.end {
  justify-content: flex-end;
}

.btn-primary,
.btn-secondary,
.btn-text {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  color: #15100a;
  background: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}

.btn-secondary:hover {
  border-color: rgba(223, 184, 103, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.btn-text {
  min-height: 42px;
  padding: 8px 4px;
  color: var(--body);
  background: transparent;
}

.btn-text:hover {
  color: var(--text);
}

.validation-message {
  min-height: 20px;
  margin-top: 12px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

.result-panel {
  padding: 48px 0 8px;
  scroll-margin-top: 18px;
}

.result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line-strong);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 7px 10px;
  border: 1px solid rgba(69, 196, 170, 0.35);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(69, 196, 170, 0.08);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.result-hero h2 {
  max-width: 820px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.result-description {
  max-width: 780px;
  margin-top: 16px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.fit-score {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 10px solid rgba(255, 255, 255, 0.07);
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  border-radius: 50%;
}

.fit-score strong {
  font-size: 40px;
  line-height: 1;
}

.fit-score span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-strong);
}

.score-item {
  min-width: 0;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.score-item:first-child {
  padding-left: 0;
}

.score-item:last-child {
  border-right: 0;
}

.score-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.score-value {
  display: block;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
}

.score-value.teal {
  color: var(--teal);
}

.result-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.result-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.result-section h3 {
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-section p {
  color: var(--body);
  font-size: 14px;
  line-height: 1.75;
}

.result-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.result-list li {
  position: relative;
  padding-left: 18px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.55;
}

.result-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--body);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
}

.contact-panel {
  margin-top: 38px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.contact-head h3 {
  font-size: 25px;
  line-height: 1.2;
}

.contact-head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 12px;
}

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

.lead-form .form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 5px;
}

.privacy-note {
  max-width: 660px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.result-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.footer {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 30px 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer a:hover {
  color: var(--text);
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu:not([hidden]) {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border-top: 1px solid var(--line);
  }

  .mobile-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 11px;
    border-radius: 6px;
    color: var(--body);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    color: var(--gold-bright);
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-menu .mobile-menu-cta {
    grid-column: 1 / -1;
    justify-content: center;
    color: #0b0f1a;
    background: #dcb46a;
  }

  .mobile-menu .mobile-menu-cta:hover {
    color: #0b0f1a;
    background: #e7c480;
  }
}

@media (max-width: 980px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro h1 {
    font-size: 48px;
  }

  .intro-copy {
    max-width: 720px;
  }

  .diagnostic-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .diagnostic-sidebar {
    padding-right: 22px;
  }

  .diagnostic-main {
    padding-left: 32px;
  }

  .option-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 0 18px;
  }

  .wordmark {
    font-size: 22px;
  }

  .nav-right {
    gap: 12px;
  }

  .mobile-menu:not([hidden]) {
    padding-right: 18px;
    padding-left: 18px;
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 28px, var(--content));
    padding: 38px 0 58px;
  }

  .intro {
    padding-bottom: 32px;
  }

  .intro h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .intro-copy {
    font-size: 14px;
  }

  .diagnostic-layout {
    display: block;
    min-height: 0;
  }

  .diagnostic-sidebar {
    padding: 22px 0 18px;
  }

  .step-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-top: 18px;
  }

  .step-item {
    min-height: 42px;
    display: flex;
    justify-content: center;
    padding: 5px;
  }

  .step-number {
    width: 30px;
    height: 30px;
  }

  .step-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .sidebar-note {
    display: none;
  }

  .diagnostic-main {
    padding: 28px 0 34px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-heading h2 {
    font-size: 27px;
  }

  .option-grid,
  .option-grid.three-up,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: 76px;
  }

  .step-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 30px -14px -18px;
    padding: 14px;
    border-top-color: var(--line-strong);
    background: rgba(8, 12, 20, 0.96);
    backdrop-filter: blur(12px);
  }

  .step-actions .btn-primary,
  .step-actions .btn-secondary {
    flex: 1;
  }

  .result-panel {
    padding-top: 34px;
  }

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

  .result-hero h2 {
    font-size: 34px;
  }

  .fit-score {
    width: 140px;
    height: 140px;
    border-width: 8px;
  }

  .score-grid,
  .result-detail-grid,
  .lead-form,
  .contact-head {
    grid-template-columns: 1fr;
  }

  .score-item,
  .score-item:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .score-item:last-child {
    border-bottom: 0;
  }

  .result-detail-grid {
    column-gap: 0;
  }

  .contact-panel {
    padding: 20px;
  }

  .lead-form .form-submit {
    display: grid;
    gap: 14px;
  }

  .lead-form .btn-primary {
    width: 100%;
  }

  .footer {
    width: min(100% - 28px, var(--content));
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 700px) {
  .site-nav {
    height: 66px;
  }
}

@media (max-width: 640px) {
  .nav-right > .btn-gold {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }
}

/* ============================================================
   Qualifier v2 — pills, gauge, bars, analysis, inline errors
   ============================================================ */

/* Intro promise line */
.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.intro-meta span { display: inline-flex; align-items: center; gap: 8px; }
.intro-meta span::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* Compact answer pills (replace selects) */
.option-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.option-card.slim { min-height: 0; padding: 13px 16px; align-items: center; }
.option-card.slim .option-copy strong { font-size: 13.5px; font-weight: 600; }
@media (max-width: 700px) {
  .option-grid.compact { grid-template-columns: 1fr; }
  .option-card.slim { min-height: 0; }
}

/* Inline validation state */
.field-block.has-error .field-title,
.field.has-error .field-label { color: var(--danger); }
.field-block.has-error .option-card,
.field.has-error input,
.field.has-error select { border-color: rgba(255, 141, 131, 0.55); }
.field-block.has-error,
.field.has-error { scroll-margin-top: 90px; }
.validation-message:not(:empty) {
  color: var(--danger);
  font-weight: 600;
}

/* Clickable completed steps */
.step-btn {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
.step-item.is-complete .step-btn { cursor: pointer; }
.step-item.is-complete .step-btn:hover .step-label,
.step-item.is-complete .step-btn:focus-visible .step-label { color: var(--gold-bright); }
.step-item.is-complete .step-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 760px) {
  .step-btn { display: flex; justify-content: center; }
}

/* Analysis interstitial */
.analysis-panel {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 90px 24px 110px;
}
.analysis-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
  animation: qspin 0.8s linear infinite;
}
@keyframes qspin { to { transform: rotate(360deg); } }
.analysis-panel ul { list-style: none; display: grid; gap: 12px; }
.analysis-panel li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--body);
  opacity: 0.28;
  transition: opacity 0.3s ease;
}
.analysis-panel li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.analysis-panel li.on { opacity: 1; }
.analysis-panel li.on::before { opacity: 1; }

/* Fit score: conic gauge driven by --p (0-100) */
.fit-score {
  position: relative;
  border: 0;
  background:
    radial-gradient(closest-side, var(--surface-soft) 82%, transparent 83% 100%),
    conic-gradient(var(--gold) calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
}

/* Potential / readiness bars */
.score-bar {
  display: block;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.score-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.score-bar-fill.good { background: var(--teal); }
.score-bar-fill.mid { background: var(--gold); }
.score-bar-fill.low { background: var(--coral); }

/* Lead form loading state */
.btn-primary.is-loading { opacity: 0.75; pointer-events: none; }
.btn-primary.is-loading::after {
  content: "";
  display: inline-block;
  width: 13px; height: 13px;
  margin-left: 9px;
  vertical-align: -2px;
  border-radius: 50%;
  border: 2px solid rgba(8, 12, 20, 0.4);
  border-top-color: transparent;
  animation: qspin 0.7s linear infinite;
}

/* Alternate contact (Calendly) */
.contact-alt {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.contact-alt a { color: var(--gold); font-weight: 600; text-decoration: none; }
.contact-alt a:hover { color: var(--gold-bright); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .analysis-ring { animation: none; }
  .score-bar-fill { transition: none; }
}
