:root {
  color-scheme: light;
  --ink: #071827;
  --ink-soft: #365064;
  --navy: #071827;
  --navy-2: #0b2941;
  --blue: #145bd7;
  --blue-dark: #0d43a3;
  --sky: #eaf3ff;
  --sky-2: #d5e8ff;
  --lavender: #ecebff;
  --aqua: #8fe5e7;
  --white: #ffffff;
  --line: #d8e1e8;
  --muted: #f5f8fa;
  --success: #087a62;
  --warning: #9a5b00;
  --shadow: 0 24px 80px rgba(7, 24, 39, 0.12);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eef4f8;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(143, 229, 231, 0.28), transparent 24rem),
    radial-gradient(circle at 92% 20%, rgba(98, 118, 255, 0.16), transparent 28rem),
    linear-gradient(145deg, #f8fbfd 0%, #eef4f8 58%, #f6f4ff 100%);
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(20, 91, 215, 0.35);
  outline-offset: 3px;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: 12px;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  width: min(1180px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 22px 8px;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  width: 220px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-button img {
  display: block;
  width: 100%;
  height: auto;
}

.header-nav {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.header-nav button {
  border: 0;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
}

.header-nav button:hover,
.header-nav button[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 3px 14px rgba(7, 24, 39, 0.08);
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px 0 54px;
}

main:focus {
  outline: none;
}

.experience {
  width: 100%;
}

.hero-card,
.assessment-card,
.result-card,
.tool-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card::before,
.assessment-card::before,
.result-card::before,
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #6861e6, var(--aqua));
}

.hero-card {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 48px;
  min-height: 640px;
  padding: clamp(36px, 6vw, 76px);
}

.hero-copy {
  align-self: center;
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6.7vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--blue);
}

.hero-copy > p,
.intro-copy,
.result-intro {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions,
.card-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(20, 91, 215, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-ghost {
  color: var(--blue-dark);
  background: var(--sky);
}

.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero-map {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
}

.map-node {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink-soft);
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.91rem;
}

.map-node:nth-child(2),
.map-node:nth-child(5) {
  transform: translateX(-24px);
}

.map-node:nth-child(3),
.map-node:nth-child(6) {
  transform: translateX(12px);
}

.node-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 12px;
  font-weight: 800;
}

.map-node strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}

.diagnostic-graphic {
  align-self: center;
  padding: 30px 28px 26px;
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(25, 167, 160, 0.28), transparent 38%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(7, 24, 39, 0.2);
}

.diagnostic-graphic svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px 0 10px;
}

.graphic-labels {
  display: flex;
  justify-content: space-between;
  color: #c5d5e2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graphic-track {
  fill: none;
  stroke: url(#pathGradient);
  stroke-width: 9;
  stroke-linecap: round;
}

.graphic-node {
  fill: var(--blue);
  stroke: white;
  stroke-width: 5;
}

.growth-node {
  fill: var(--aqua);
}

.gap-ring {
  fill: rgba(20, 91, 215, 0.14);
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 2;
}

.gap-core {
  fill: white;
}

.search-handle {
  fill: none;
  stroke: white;
  stroke-width: 10;
  stroke-linecap: round;
}

.diagnostic-graphic text {
  fill: var(--blue-dark);
  font-size: 30px;
  font-weight: 900;
}

.diagnostic-graphic > strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.diagnostic-graphic > p {
  margin: 0;
  color: #9eb3c3;
  font-size: 0.78rem;
  line-height: 1.5;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-pill {
  padding: 8px 11px;
  color: var(--ink-soft);
  background: rgba(234, 243, 255, 0.9);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.assessment-card,
.tool-card,
.result-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.intro-card {
  min-height: 585px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 6px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--ink-soft);
  background: var(--muted);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.progress-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 750;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: #e8eef2;
  border-radius: 999px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #6861e6);
  border-radius: inherit;
  transition: width 300ms ease;
}

.question-kicker {
  margin: 0 0 11px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.question-title {
  margin-bottom: 12px;
  max-width: 780px;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.question-help {
  color: var(--ink-soft);
  line-height: 1.55;
}

.answer-list {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.answer-button {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 17px 18px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
}

.answer-button:hover,
.answer-button[aria-pressed="true"] {
  background: var(--sky);
  border-color: rgba(20, 91, 215, 0.45);
  box-shadow: 0 10px 24px rgba(20, 91, 215, 0.09);
}

.answer-key {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--blue-dark);
  background: var(--sky-2);
  border-radius: 10px;
  font-weight: 850;
}

.question-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.text-button {
  border: 0;
  padding: 10px 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.result-hero {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(25px, 5vw, 48px);
  align-items: center;
}

.result-graphic {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  color: white;
  background:
    radial-gradient(circle at 70% 22%, rgba(25, 167, 160, 0.34), transparent 42%),
    linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: 32px;
  box-shadow: 0 22px 46px rgba(20, 91, 215, 0.2);
}

.result-number {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.disconnect-icon {
  width: 112px;
  height: 112px;
}

.result-copy .section-title {
  margin-bottom: 14px;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 13px;
}

.result-meta span {
  padding: 6px 9px;
  color: var(--blue-dark);
  background: var(--sky);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.primary-action-panel {
  margin-top: 30px;
  padding: 26px 28px;
  background: var(--sky);
  border: 1px solid var(--sky-2);
  border-radius: 20px;
}

.primary-action-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.primary-action-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.result-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  margin-top: 16px;
}

.next-step-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
  padding: 18px 20px;
  color: var(--ink-soft);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  line-height: 1.55;
}

.next-step-strip strong {
  color: var(--ink);
}

.insight-panel,
.action-panel,
.secondary-panel,
.email-panel,
.score-panel {
  padding: 22px;
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.action-panel {
  background: var(--sky);
  border-color: var(--sky-2);
}

.panel-label {
  display: block;
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-panel h3,
.action-panel h3,
.secondary-panel h3,
.email-panel h3,
.score-panel h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.insight-panel p,
.action-panel p,
.secondary-panel p,
.email-panel p,
.score-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.email-panel {
  margin-top: 16px;
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.email-panel p {
  color: #c5d5e2;
}

.lead-form {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1.2fr auto;
  gap: 10px;
  margin-top: 18px;
}

.lead-form input:not([type="checkbox"]) {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.consent-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: #c5d5e2;
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: var(--aqua) !important;
  font-size: 0.86rem;
  font-weight: 700;
}

.tool-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 30px;
}

.score-orb {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  background: var(--sky);
  border: 1px solid var(--sky-2);
  border-radius: 50%;
  text-align: center;
}

.score-orb strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1;
}

.score-orb span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.checklist-section + .checklist-section {
  margin-top: 25px;
}

.checklist-section h3 {
  margin-bottom: 11px;
  font-size: 1.08rem;
}

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

.check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px;
  background: var(--muted);
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  line-height: 1.45;
}

.check-item:has(input:checked) {
  background: #effbf7;
  border-color: #bce9da;
}

.check-item input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--success);
}

.checker-result {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 14px;
  margin-top: 28px;
}

.score-panel {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.score-panel p {
  color: #c5d5e2;
}

.next-fix {
  padding: 22px;
  background: var(--lavender);
  border-radius: 18px;
}

.next-fix h3 {
  margin-bottom: 8px;
}

.next-fix p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.tool-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.directory-card {
  padding: 22px;
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.directory-card.live {
  background: var(--sky);
  border-color: var(--sky-2);
}

.directory-card h3 {
  margin-bottom: 8px;
}

.directory-card p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.status-tag {
  display: inline-flex;
  padding: 6px 8px;
  color: var(--ink-soft);
  background: white;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 8px 30px;
  color: #5d7180;
  font-size: 0.78rem;
}

.site-footer a {
  text-decoration: none;
}

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

@media (max-width: 820px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-node,
  .map-node:nth-child(2),
  .map-node:nth-child(3),
  .map-node:nth-child(5),
  .map-node:nth-child(6) {
    transform: none;
  }

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

  .lead-form {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    padding-top: 15px;
  }

  .brand-button {
    width: 165px;
  }

  .header-nav {
    gap: 2px;
    padding: 3px;
  }

  .header-nav button {
    padding: 8px 9px;
    font-size: 0.75rem;
  }

  main {
    padding-top: 8px;
  }

  .hero-card,
  .assessment-card,
  .tool-card,
  .result-card {
    border-radius: 22px;
  }

  .hero-card {
    min-height: auto;
    padding: 34px 22px;
  }

  .hero-map,
  .tool-directory,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .map-node:nth-child(n + 5) {
    display: none;
  }

  .assessment-card,
  .tool-card,
  .result-card {
    padding: 31px 20px;
  }

  .progress-shell {
    grid-template-columns: 1fr auto;
  }

  .progress-shell > span:first-child {
    display: none;
  }

  .answer-button {
    grid-template-columns: 34px 1fr;
    padding: 14px;
  }

  .answer-key {
    width: 32px;
    height: 32px;
  }

  .question-nav {
    align-items: stretch;
  }

  .question-nav .button {
    flex: 1;
  }

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

  .result-graphic {
    min-height: 180px;
  }

  .disconnect-icon {
    width: 94px;
    height: 94px;
  }

  .next-step-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .score-orb {
    width: 100px;
    height: 100px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form .button,
  .consent-row {
    grid-column: 1;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

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