:root {
  --navy: #102a43;
  --navy-2: #163d64;
  --blue: #1769e0;
  --blue-dark: #0e4fae;
  --sky: #eaf3ff;
  --sky-2: #f4f8fd;
  --ink: #142438;
  --muted: #607086;
  --line: #d7e3ef;
  --surface: #ffffff;
  --background: #eef5fd;
  --success: #2f7b61;
  --success-soft: #eaf7f1;
  --warning: #956123;
  --warning-soft: #fff5e7;
  --shadow: 0 20px 55px rgba(27, 67, 105, .12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, #dbeaff 0, transparent 29rem),
    var(--background);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid rgba(23, 105, 224, .28);
  outline-offset: 3px;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.4vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.04;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.18;
}
h3 { margin-bottom: 7px; font-size: 1rem; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(166, 190, 214, .58);
  background: rgba(244, 249, 255, .82);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(16, 42, 67, .12);
}
.brand-copy strong, .brand-copy span { display: block; }
.brand-copy strong { color: var(--navy); font-size: .9rem; }
.brand-copy span { margin-top: 2px; color: var(--muted); font-size: .73rem; }
.header-label {
  border: 1px solid #bfd4eb;
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.7);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

main { min-height: calc(100vh - 79px); }
.screen {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  animation: screen-in .2s ease;
}
@keyframes screen-in {
  from { opacity: .45; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.eyebrow, .card-label {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.landing-screen {
  display: grid;
  min-height: calc(100vh - 79px);
  align-items: center;
  padding: 64px 0 78px;
}
.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, .87fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}
.landing-copy { max-width: 710px; }
.landing-copy .lead { max-width: 675px; }
.assessment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin: 27px 0 28px;
  color: var(--muted);
  font-size: .84rem;
}
.assessment-meta span { display: inline-flex; align-items: baseline; gap: 5px; }
.assessment-meta strong { color: var(--navy); font-size: 1rem; }

.primary-button, .light-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
}
.primary-button {
  border: 1px solid var(--navy);
  color: white;
  background: var(--navy);
  box-shadow: 0 9px 22px rgba(16, 42, 67, .14);
}
.primary-button:hover { background: var(--navy-2); }
.primary-button:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.start-button { min-width: 215px; }
.landing-note { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }

.pressure-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: clamp(27px, 4vw, 39px);
  color: white;
  background: linear-gradient(145deg, #102a43 0%, #174c7e 100%);
  box-shadow: 0 28px 70px rgba(16, 42, 67, .2);
}
.pressure-map::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  bottom: -135px;
  border: 42px solid rgba(94, 169, 255, .11);
  border-radius: 50%;
}
.pressure-map .card-label { color: #9fc9f6; }
.pressure-map h2 { max-width: 390px; color: white; }
.map-heading { margin-bottom: 25px; }
.map-list { position: relative; z-index: 1; display: grid; }
.map-item {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.map-number {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: rgba(67, 148, 236, .27);
  font-size: .73rem;
  font-weight: 700;
}
.map-item h3 { margin: 0; color: white; font-size: .95rem; }
.map-item p { margin: 4px 0 0; color: #c6d8e9; font-size: .79rem; line-height: 1.55; }
.map-footer { position: relative; z-index: 1; margin: 20px 0 0; color: #9db9d3; font-size: .73rem; }

.assessment-screen, .context-screen { padding: 58px 0 80px; }
.assessment-shell { width: min(840px, 100%); margin: 0 auto; }
.progress-area { margin-bottom: 17px; }
.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #dce7f2;
}
.progress-track span {
  display: block;
  width: 16.6667%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #58a5ff);
  transition: width .25s ease;
}
.progress-track.is-complete span { width: 100%; }

.question-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 44px);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.question-copy { max-width: 720px; margin-bottom: 26px; }
.question-copy h2 { font-size: clamp(1.45rem, 3.3vw, 2.15rem); line-height: 1.3; }
.question-copy > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.answer-list { display: grid; gap: 11px; margin: 0; padding: 0; border: 0; }
.answer-option { position: relative; display: block; cursor: pointer; }
.answer-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.option-card {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  min-height: 65px;
  align-items: center;
  gap: 14px;
  border: 1px solid #cddbe9;
  border-radius: 13px;
  padding: 13px 16px;
  color: var(--ink);
  background: white;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.answer-option:hover .option-card { border-color: #91b7df; background: var(--sky-2); }
.answer-option input:focus-visible + .option-card {
  outline: 3px solid rgba(23, 105, 224, .22);
  outline-offset: 2px;
}
.answer-option input:checked + .option-card {
  border-color: var(--blue);
  background: #f1f7ff;
  box-shadow: 0 0 0 1px var(--blue);
}
.option-marker {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #b5c8dc;
  border-radius: 50%;
  color: var(--muted);
  background: white;
  font-size: .72rem;
  font-weight: 700;
}
.answer-option input:checked + .option-card .option-marker { border-color: var(--blue); color: white; background: var(--blue); }
.option-text { font-size: .92rem; line-height: 1.48; }
.question-actions {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid #e4edf6;
}
.text-button {
  border: 0;
  padding: 8px 1px;
  color: var(--blue-dark);
  background: transparent;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(14, 79, 174, .32);
  text-underline-offset: 4px;
}
.text-button:hover { text-decoration-color: currentColor; }

.context-shell { width: min(940px, 100%); }
.context-card { display: grid; gap: 28px; }
.context-card .question-copy { margin-bottom: -1px; }
.context-group { margin: 0; padding: 0; border: 0; }
.context-group legend { margin-bottom: 12px; color: var(--navy); font-size: .92rem; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.choice-grid label { position: relative; display: block; cursor: pointer; }
.choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice-grid span {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cddbe9;
  border-radius: 11px;
  padding: 9px 10px;
  color: var(--ink);
  background: white;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.choice-grid label:hover span { border-color: #91b7df; background: var(--sky-2); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(23, 105, 224, .22); outline-offset: 2px; }
.choice-grid input:checked + span { border-color: var(--blue); color: var(--blue-dark); background: var(--sky); box-shadow: inset 0 0 0 1px var(--blue); }
.frequency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.result-screen { padding: 64px 0 78px; }
.result-container { width: min(1020px, 100%); margin: 0 auto; }
.result-heading { max-width: 850px; margin-bottom: 34px; }
.result-heading h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.profile-panel, .recommendation-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(25px, 4vw, 36px);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(31, 69, 104, .07);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.section-heading h2 { margin-bottom: 0; }
.profile-key { max-width: 300px; margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.5; text-align: right; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.profile-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--sky-2);
}
.profile-card.is-primary { border-color: #8eb9e6; background: #edf6ff; box-shadow: inset 0 0 0 1px rgba(23,105,224,.16); }
.profile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.profile-card h3 { margin: 0; color: var(--navy); font-size: .91rem; }
.priority-tag { border-radius: 99px; padding: 4px 7px; color: var(--blue-dark); background: #dbeeff; font-size: .61rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.signal-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 17px 0 12px; }
.signal-track span { height: 5px; border-radius: 99px; background: #d9e4ee; }
.profile-card[data-level="bottleneck"] .signal-track span:first-child { background: var(--blue); }
.profile-card[data-level="interference"] .signal-track span:nth-child(-n+2) { background: var(--warning); }
.profile-card[data-level="strong"] .signal-track span { background: var(--success); }
.status-label { margin: 0; color: var(--muted); font-size: .73rem; font-weight: 700; line-height: 1.4; }
.profile-card[data-level="bottleneck"] .status-label { color: var(--blue-dark); }
.profile-card[data-level="interference"] .status-label { color: var(--warning); }
.profile-card[data-level="strong"] .status-label { color: var(--success); }

.recommendation-section { margin-top: 18px; }
.next-step-flow {
  margin-top: 18px;
  border-radius: 24px 24px 27px 27px;
  box-shadow: 0 22px 58px rgba(16, 42, 67, .15);
}
.next-step-flow .recommendation-section {
  margin-top: 0;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: none;
}
.next-step-flow .diagnostic-cta {
  z-index: 1;
  margin-top: -18px;
  border-radius: 0 0 27px 27px;
  padding-top: 32px;
  box-shadow: none;
}
.recommendation-heading { margin-bottom: 17px; }
.recommendation-list { display: grid; gap: 14px; }
.recommendation-card {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(21px, 3.5vw, 30px);
  background: linear-gradient(145deg, #ffffff 0%, #f2f7fd 100%);
}
.recommendation-card h3 { margin-bottom: 10px; font-size: 1.16rem; }
.recommendation-card p { color: var(--muted); font-size: .88rem; line-height: 1.68; }
.recommendation-card p:last-child { margin-bottom: 0; }
.intervention-box { border-left: 3px solid var(--blue); padding: 3px 0 3px 20px; }
.intervention-box > strong { display: block; margin-bottom: 9px; color: var(--navy); }
.phrase {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: clamp(1.12rem, 2.5vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.structure-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 16px; }
.structure-flow strong { border-radius: 8px; padding: 7px 9px; color: var(--navy); background: var(--sky); font-size: .79rem; }
.structure-flow span { color: #8aa0b5; font-size: .78rem; }
.example-lines { display: grid; gap: 7px; margin-top: 12px; }
.example-lines p { margin: 0; border-radius: 8px; padding: 8px 10px; color: #40566d; background: white; font-size: .79rem; }
.example-lines strong { color: var(--navy); }
.recovery-phrases { display: grid; gap: 7px; margin-top: 9px; }
.recovery-phrases span { border-radius: 8px; padding: 8px 10px; color: var(--navy); background: white; font-size: .82rem; font-weight: 600; }

.self-assessment-note {
  margin: 14px 4px 0;
  color: #74869a;
  font-size: .68rem;
  line-height: 1.55;
}
.self-assessment-note strong { color: #536a80; font-weight: 600; }

.diagnostic-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
  gap: clamp(30px, 6vw, 66px);
  overflow: hidden;
  border-radius: 27px;
  padding: clamp(30px, 5vw, 50px);
  color: white;
  background: linear-gradient(145deg, #102a43 0%, #174c7e 100%);
  box-shadow: 0 25px 64px rgba(16, 42, 67, .2);
}
.diagnostic-cta::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -200px;
  top: -220px;
  border: 55px solid rgba(99, 174, 255, .11);
  border-radius: 50%;
}
.cta-copy, .diagnostic-path { position: relative; z-index: 1; }
.diagnostic-cta .card-label { color: #9fc9f6; }
.diagnostic-cta h2 { max-width: 610px; color: white; font-size: clamp(1.75rem, 3.4vw, 2.55rem); }
.diagnostic-cta p { max-width: 665px; color: #c9d8e8; font-size: .91rem; line-height: 1.68; }
.diagnostic-cta p strong { color: white; }
.light-button { margin-top: 10px; border: 1px solid white; color: var(--navy); background: white; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.light-button:hover { background: #edf5fd; }
.booking-status { min-height: 20px; margin: 10px 0 0 !important; color: #a9c9e7 !important; font-size: .72rem !important; }
.diagnostic-path { display: grid; align-content: center; gap: 8px; }
.diagnostic-path div {
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(255,255,255,.055);
}
.diagnostic-path span { grid-row: 1 / 3; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: white; background: rgba(67, 148, 236, .32); font-size: .66rem; font-weight: 700; }
.diagnostic-path strong { color: white; font-size: .84rem; }
.diagnostic-path small { margin-top: 2px; color: #a9c0d5; font-size: .68rem; }

.result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 3px 0;
  color: var(--muted);
  font-size: .75rem;
}

@media (max-width: 900px) {
  .landing-grid { grid-template-columns: 1fr; gap: 42px; }
  .landing-copy { max-width: 820px; }
  .pressure-map { width: min(680px, 100%); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .52fr); column-gap: 20px; align-items: center; }
  .profile-top { grid-row: 1 / 3; }
  .signal-track { margin: 0 0 8px; }
  .diagnostic-cta { grid-template-columns: 1fr; }
  .diagnostic-path { grid-template-columns: repeat(3, 1fr); }
  .diagnostic-path div { grid-template-columns: 31px 1fr; padding: 12px; }
}

@media (max-width: 700px) {
  .header-inner, .screen { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 43px; height: 43px; }
  .brand-copy span, .header-label { display: none; }
  .landing-screen { min-height: calc(100vh - 71px); padding: 44px 0 58px; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .assessment-meta { gap: 8px 15px; }
  .assessment-screen, .context-screen, .result-screen { padding: 35px 0 55px; }
  .question-card { border-radius: 20px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frequency-grid { grid-template-columns: 1fr; }
  .recommendation-card { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .profile-key { max-width: none; margin-top: 8px; text-align: left; }
  .diagnostic-path { grid-template-columns: 1fr; }
  .result-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  body { background: radial-gradient(circle at 20% 0%, #dbeaff 0, transparent 22rem), var(--background); }
  .header-inner, .screen { width: min(100% - 24px, 1180px); }
  .brand-copy strong { font-size: .82rem; }
  .landing-screen { padding-top: 35px; }
  .landing-copy .lead { font-size: 1rem; line-height: 1.65; }
  .assessment-meta { display: grid; grid-template-columns: 1fr; margin: 22px 0 24px; }
  .start-button { width: 100%; }
  .pressure-map { border-radius: 22px; }
  .question-card { padding: 24px 17px; }
  .question-copy { margin-bottom: 21px; }
  .option-card { grid-template-columns: 29px 1fr; min-height: 68px; gap: 11px; padding: 12px; }
  .option-marker { width: 27px; height: 27px; }
  .option-text { font-size: .86rem; }
  .question-actions { margin-top: 23px; }
  .question-actions .primary-button { min-width: 137px; }
  .choice-grid { grid-template-columns: 1fr; }
  .profile-panel, .recommendation-section { padding: 22px 17px; }
  .profile-card { display: block; }
  .profile-top { margin-bottom: 15px; }
  .signal-track { margin-bottom: 9px; }
  .diagnostic-cta { border-radius: 22px; padding: 28px 20px; }
  .next-step-flow { border-radius: 22px; }
  .next-step-flow .recommendation-section { border-radius: 22px 22px 0 0; }
  .next-step-flow .diagnostic-cta { margin-top: -12px; border-radius: 0 0 22px 22px; padding-top: 26px; }
  .light-button { width: 100%; }
}
