:root {
  --ink: #121a33;
  --muted: #61708c;
  --line: #dfe5ef;
  --paper: #f7f9fc;
  --white: #ffffff;
  --purple: #6830c7;
  --purple-dark: #291054;
  --purple-deep: #170a31;
  --blue: #326dff;
  --aqua: #12b9c6;
  --gold: #d6a53e;
  --card-radius: 20px;
  --control-radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

#app {
  min-height: 100vh;
}

.app-fallback {
  min-height: 100vh;
  padding: 32px;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.app-fallback-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 34px;
  background: white;
  box-shadow: 0 20px 60px rgba(37, 26, 65, 0.10);
  text-align: center;
}

.app-fallback-card h1 {
  margin: 0 0 12px;
  font-size: 26px;
}

.app-fallback-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

button,
textarea {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
textarea:focus-visible,
h1:focus-visible {
  outline: 3px solid rgba(50, 109, 255, 0.35);
  outline-offset: 4px;
}

button:disabled {
  cursor: not-allowed;
}

.app-shell,
.results-page {
  min-height: 100vh;
}

.topbar {
  width: min(1400px, calc(100% - 64px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.nav-identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-tile {
  width: 48px;
  height: 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #9a38f2, #6720d1 78%);
  color: white;
  box-shadow: 0 9px 22px rgba(104, 32, 209, 0.24);
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.nav-logo-tile::after {
  content: "";
  width: 36px;
  height: 36px;
  position: absolute;
  top: -13px;
  right: -10px;
  border-radius: 50%;
  background: rgba(206, 157, 255, 0.52);
}

.nav-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.08;
}

.nav-brand-copy strong {
  color: inherit;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.nav-brand-copy small {
  margin-top: 5px;
  color: #7d879a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 27px;
  height: 27px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  transform: rotate(45deg);
}

.brand-mark i {
  display: block;
  border-radius: 2px;
  background: var(--blue);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  background: var(--purple);
}

.header-tag,
.result-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.intro-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(105, 48, 199, 0.10), transparent 27%),
    linear-gradient(90deg, transparent 49.9%, rgba(223, 229, 239, 0.42) 50%, transparent 50.1%),
    var(--paper);
}

.intro-shell::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -210px;
  bottom: -190px;
  border: 1px solid rgba(104, 48, 199, 0.18);
  border-radius: 50%;
}

.intro-grid {
  width: min(1260px, calc(100% - 64px));
  min-height: calc(100vh - 176px);
  margin: 0 auto;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 84px;
}

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

.eyebrow,
.complete-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow span,
.complete-pill i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 5px rgba(18, 185, 198, 0.12);
}

.intro-copy h1 {
  margin: 24px 0 22px;
  max-width: 670px;
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.intro-copy h1 em,
.results-heading h1 em {
  color: var(--purple);
  font-style: normal;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.intro-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-button,
.secondary-button {
  min-height: 56px;
  border: 0;
  border-radius: var(--control-radius);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--purple), #4a1c98);
  box-shadow: 0 12px 34px rgba(70, 27, 147, 0.25);
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(70, 27, 147, 0.31);
}

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

.time-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.text-button {
  margin-top: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.skills-panel {
  position: relative;
  z-index: 1;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: linear-gradient(160deg, #2e145a, #16092f 70%);
  color: white;
  box-shadow: 0 32px 80px rgba(25, 8, 56, 0.26);
}

.skills-panel::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -120px;
  border-radius: 50%;
  background: rgba(121, 66, 220, 0.18);
  filter: blur(2px);
}

.panel-topline {
  position: relative;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  color: #bfb3d5;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skills-list {
  position: relative;
  padding: 12px 26px 4px;
}

.skill-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.skill-row:last-child {
  border-bottom: 0;
}

.skill-icon {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(50, 109, 255, 0.13);
  color: var(--blue);
  font-size: 23px;
  font-style: normal;
  font-weight: 800;
}

.skill-2 { background: rgba(18, 185, 198, 0.14); color: #0ca8b5; }
.skill-3 { background: rgba(214, 165, 62, 0.15); color: #d6a53e; }
.skill-4 { background: rgba(123, 76, 216, 0.15); color: #8b5ae8; }

.skill-row div > span {
  color: #8f7ba9;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.skill-row h2 {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 650;
}

.skill-row > i {
  color: #806ca0;
  font-style: normal;
  font-size: 20px;
}

.panel-footer {
  margin-top: 12px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.07);
}

.mini-score {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  color: #d8c9f2;
  font-size: 17px;
  font-weight: 800;
}

.panel-footer p {
  margin: 0;
  color: #bfb3d5;
  font-size: 14px;
}

.panel-footer strong {
  color: white;
  font-size: 16px;
}

.simple-footer {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: #7a879d;
  font-size: 13px;
  text-align: center;
}

.simple-footer span {
  padding: 0 8px;
  color: var(--blue);
}

.powered-footer {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding: 27px 0 31px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.powered-footer a {
  color: #7a8190;
  text-decoration: none;
  font-size: 15px;
  transition: color 160ms ease;
}

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

.powered-footer strong {
  color: var(--ink);
  font-weight: 800;
}

.powered-footer i {
  margin-left: 3px;
  font-style: normal;
}

/* Splash */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 38%, #6e32cc, #2b0e59 45%, #130728 76%);
  background-size: 48px 48px, 48px 48px, auto;
  animation: splashOut 400ms ease 1.3s both;
}

.splash-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(165, 106, 255, 0.21), inset 0 0 80px rgba(255,255,255,0.04);
  animation: splashPulse 1.4s ease-in-out infinite alternate;
}

.splash-logo-tile {
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border-radius: 23px;
  box-shadow: 0 18px 42px rgba(35, 3, 85, 0.34), 0 0 28px rgba(151, 73, 245, 0.18);
  font-size: 48px;
}

.splash-logo-tile::after {
  width: 64px;
  height: 64px;
  top: -24px;
  right: -18px;
}

.splash-brand {
  margin: 0;
  font-size: 43px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.splash-screen h1 {
  margin: 11px 0 42px;
  color: #c9b9e5;
  font-size: 16px;
  letter-spacing: 0.26em;
  font-weight: 650;
}

.splash-loader {
  width: 122px;
  height: 3px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
}

.splash-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transform-origin: left;
  animation: loader 1.25s ease-out both;
}

@keyframes loader { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashPulse { from { transform: scale(0.95); opacity: 0.6; } to { transform: scale(1.05); opacity: 1; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* Assessment */
.assessment-shell {
  background:
    radial-gradient(circle at 5% 45%, rgba(105, 48, 199, 0.08), transparent 21%),
    var(--paper);
}

.assessment-topbar {
  width: 100%;
  padding: 0 max(32px, calc((100% - 1400px) / 2));
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
}

.brand-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.header-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 390px;
}

.header-progress > span,
.header-progress strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.progress-track,
.skill-track {
  height: 8px;
  position: relative;
  overflow: hidden;
  flex: 1;
  border-radius: 999px;
  background: #e3e8f1;
}

.progress-track i,
.skill-track i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width 260ms ease;
}

.question-wrap {
  width: min(1180px, calc(100% - 64px));
  min-height: calc(100vh - 184px);
  margin: 0 auto;
  padding: 56px 0 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.question-meta {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-pill,
.complete-pill {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  background: #e7e3fb;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.category-pill b {
  font-size: 21px;
}

.question-number {
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.question-number i {
  color: #9ba6b8;
  font-size: 14px;
  font-style: normal;
}

.question-card {
  border: 1px solid #e2e6ef;
  border-radius: var(--card-radius);
  padding: clamp(30px, 4vw, 56px);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 60px rgba(37, 26, 65, 0.07);
}

.question-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.question-card h1 {
  max-width: 1000px;
  min-height: 102px;
  margin: 18px 0 42px;
  font-size: clamp(26px, 3.15vw, 43px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

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

.rating-option {
  min-height: 156px;
  position: relative;
  border: 2px solid #e1e6ef;
  border-radius: var(--card-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: white;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.rating-option:hover {
  transform: translateY(-3px);
  border-color: #b89ee9;
  box-shadow: 0 12px 28px rgba(60, 34, 112, 0.10);
}

.rating-option.selected {
  border-color: var(--purple);
  background: #f5f1ff;
  box-shadow: 0 10px 24px rgba(104, 48, 199, 0.12);
}

.rating-number {
  color: #b9c1ce;
  font-size: 38px;
  line-height: 1;
  font-weight: 850;
}

.selected .rating-number {
  color: var(--purple);
}

.rating-copy {
  display: flex;
  flex-direction: column;
}

.rating-copy strong {
  font-size: 16px;
  text-transform: uppercase;
}

.rating-copy small {
  color: #8b97aa;
  font-size: 12px;
}

.rating-check {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 13px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.selected .rating-check {
  opacity: 1;
  transform: scale(1);
}

.question-navigation {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.question-navigation button {
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.question-navigation button:disabled {
  color: #c8ced8;
}

.question-navigation span {
  color: #7e8ba0;
  font-size: 13px;
}

.compact-footer {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Results */
.results-page {
  background: #10172c;
  color: white;
}

.results-topbar {
  border-color: rgba(255,255,255,0.13);
}

.results-topbar .brand {
  color: white;
}

.results-topbar .nav-brand-copy small {
  color: #929db3;
}

.result-date {
  color: #929db3;
}

.results-hero,
.highlights-grid,
.breakdown-section,
.recommendations-section,
.coaching-section,
.consulting-cta,
.result-actions,
.results-page .powered-footer {
  width: min(1220px, calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

.results-hero {
  padding: 78px 0 46px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 340px);
  align-items: center;
  gap: 68px;
}

.complete-pill {
  min-height: 40px;
  color: #17c5d1;
  background: rgba(18,185,198,0.12);
}

.results-heading h1 {
  margin: 25px 0 20px;
  font-size: clamp(46px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.results-heading h1 em {
  color: #a67be9;
}

.results-heading > p {
  max-width: 760px;
  margin: 0;
  color: #9ba6bb;
  font-size: 18px;
  line-height: 1.75;
}

.global-score-card {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--card-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(120,64,212,0.22), rgba(255,255,255,0.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.global-score-label {
  margin-bottom: 20px;
  color: #9ba4b9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

.global-score-card > em {
  margin-top: 15px;
  color: #d4c2f1;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.score-ring {
  width: 176px;
  height: 176px;
  position: relative;
  flex: 0 0 176px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #a46bed var(--score), rgba(255,255,255,0.09) 0);
  filter: drop-shadow(0 18px 32px rgba(82, 39, 159, 0.24));
}

.score-ring::before {
  content: "";
  width: 142px;
  height: 142px;
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, #1f2443, #171b33);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.score-ring-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-center strong {
  font-size: 50px;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.score-ring-center small {
  margin-top: 6px;
  color: #9da8bd;
  font-size: 13px;
}

.highlights-grid {
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.highlight-card {
  min-height: 270px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--card-radius);
  padding: 30px;
  background: rgba(255,255,255,0.045);
}

.strength-card {
  border-left: 4px solid var(--gold);
  background: linear-gradient(145deg, rgba(214,165,62,0.075), rgba(255,255,255,0.035));
}

.focus-card {
  border-left: 4px solid var(--blue);
}

.card-label {
  color: #838ea5;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.highlight-title {
  margin: 28px 0 23px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.highlight-title > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(132,80,220,0.16);
  color: #a67be9;
  font-size: 22px;
}

.focus-card .highlight-title > span {
  background: rgba(50,109,255,0.14);
  color: #5d8cff;
}

.highlight-title h2 {
  margin: 0 0 3px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.highlight-title p,
.highlight-card > p {
  margin: 0;
  color: #99a4b9;
}

.highlight-card > p {
  line-height: 1.7;
}

.recognition-copy strong {
  color: #efc86d;
}

.breakdown-section {
  padding: 82px 0 92px;
  color: var(--ink);
}

.results-page .breakdown-section {
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100% - 1220px) / 2));
  padding-right: max(32px, calc((100% - 1220px) / 2));
  background: var(--paper);
}

.section-heading {
  margin-bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-number {
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.score-list {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 20px 50px rgba(35, 28, 60, 0.06);
}

.score-row {
  min-height: 104px;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: 50px 1fr 88px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

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

.score-content > div:first-child {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.score-content h3 {
  margin: 0;
  font-size: 17px;
}

.score-content span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.skill-track {
  height: 7px;
}

.score-row > strong {
  font-size: 28px;
  text-align: right;
}

.score-row > strong small {
  margin-left: 3px;
  color: #8c98aa;
  font-size: 12px;
}

.recommendations-section {
  padding: 85px 0 96px;
}

.light-heading h2 {
  color: white;
}

.light-heading > p {
  color: #9ca7bc;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.recommendations-grid article {
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--card-radius);
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
}

.recommendations-grid span {
  color: #8b5ae8;
  font-size: 13px;
  font-weight: 850;
}

.recommendations-grid p {
  margin: 45px 0 0;
  color: #d4d9e4;
  font-size: 17px;
  line-height: 1.65;
}

.coaching-section {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 90px 0;
}

.coaching-copy {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--card-radius);
  padding: 58px clamp(28px, 6vw, 78px);
  background:
    radial-gradient(circle at 50% 0%, rgba(139,90,232,0.17), transparent 48%),
    rgba(255,255,255,0.035);
  text-align: center;
}

.coaching-copy > p {
  margin: 18px 0;
  color: #8b5ae8;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.coaching-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 45px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.consulting-cta {
  margin-bottom: 48px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--card-radius);
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(circle at 100% 0%, rgba(50,109,255,0.18), transparent 44%),
    linear-gradient(145deg, rgba(119,52,212,0.13), rgba(255,255,255,0.035));
}

.consulting-cta > div > span {
  color: #9e70ed;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.consulting-cta h2 {
  max-width: 720px;
  margin: 13px 0 12px;
  color: white;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.consulting-cta p {
  max-width: 720px;
  margin: 0;
  color: #9ea9bd;
  font-size: 16px;
  line-height: 1.7;
}

.consulting-cta > a {
  min-height: 60px;
  border-radius: var(--control-radius);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #ffffff;
  color: #251344;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.consulting-cta > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.23);
}

.consulting-cta > a span {
  font-size: 20px;
  line-height: 1;
}

.result-actions {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 46px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 320px));
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.result-action-button {
  min-height: 58px;
  border-radius: var(--control-radius);
  padding: 0 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.05em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.download-result {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #7734d4, #5420aa);
  color: white;
  box-shadow: 0 12px 30px rgba(73, 29, 150, 0.25);
}

.repeat-result {
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
  color: #d8dce6;
}

.repeat-result:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
}

.results-page .powered-footer {
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255,255,255,0.13);
}

.results-page .powered-footer a {
  color: #a6adbc;
}

.results-page .powered-footer strong {
  color: #f1eef7;
}

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

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

  .skills-panel {
    max-width: 680px;
  }

  .rating-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rating-option {
    min-height: 130px;
  }

  .results-hero {
    grid-template-columns: 1fr 250px;
    gap: 34px;
  }

  .highlights-grid,
  .coaching-section {
    grid-template-columns: 1fr;
  }

  .recommendations-grid {
    grid-template-columns: 1fr;
  }

  .recommendations-grid article {
    min-height: auto;
  }

  .recommendations-grid p {
    margin-top: 22px;
  }

  .consulting-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .topbar,
  .intro-grid,
  .question-wrap,
  .results-hero,
  .highlights-grid,
  .recommendations-section,
  .coaching-section,
  .consulting-cta,
  .result-actions,
  .powered-footer {
    width: min(100% - 32px, 1220px);
  }

  .topbar {
    min-height: 78px;
  }

  .brand {
    font-size: 21px;
  }

  .nav-identity {
    gap: 9px;
  }

  .nav-logo-tile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 24px;
  }

  .nav-brand-copy strong {
    font-size: 17px;
  }

  .nav-brand-copy small {
    margin-top: 3px;
    font-size: 9px;
  }

  .brand-mark {
    width: 23px;
    height: 23px;
  }

  .header-tag,
  .result-date {
    display: none;
  }

  .intro-grid {
    min-height: auto;
    padding: 52px 0 38px;
  }

  .intro-copy h1 {
    font-size: 52px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.65;
  }

  .intro-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .primary-button {
    width: 100%;
  }

  .time-note {
    text-align: center;
  }

  .skills-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  .skill-row {
    grid-template-columns: 45px 1fr auto;
    gap: 11px;
  }

  .skill-row h2 {
    font-size: 16px;
  }

  .panel-topline,
  .panel-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .simple-footer {
    width: calc(100% - 32px);
  }

  .simple-footer span,
  .simple-footer span + * {
    display: none;
  }

  .assessment-topbar {
    width: 100%;
    padding: 0 16px;
    gap: 18px;
  }

  .header-progress {
    min-width: 0;
    flex: 1;
    gap: 8px;
  }

  .header-progress > span {
    display: none;
  }

  .header-progress strong {
    font-size: 12px;
  }

  .question-wrap {
    min-height: calc(100vh - 130px);
    padding: 32px 0;
    justify-content: flex-start;
  }

  .question-meta {
    align-items: flex-start;
  }

  .category-pill {
    min-height: 38px;
    max-width: calc(100% - 65px);
    padding: 0 12px;
    font-size: 11px;
  }

  .question-card {
    padding: 25px 18px;
  }

  .question-card h1 {
    min-height: 0;
    margin: 15px 0 28px;
    font-size: 26px;
  }

  .rating-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rating-option {
    min-height: 82px;
    padding: 14px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    border-radius: 16px;
  }

  .rating-number {
    width: 32px;
    font-size: 29px;
  }

  .rating-check {
    position: static;
    margin-left: auto;
    flex: 0 0 25px;
  }

  .question-navigation span {
    display: none;
  }

  .results-hero {
    padding-top: 52px;
    grid-template-columns: 1fr;
  }

  .results-heading h1 {
    font-size: 45px;
  }

  .results-heading > p {
    font-size: 16px;
  }

  .global-score-card {
    min-height: 330px;
  }

  .highlights-grid {
    padding-bottom: 62px;
    grid-template-columns: 1fr;
  }

  .highlight-card {
    padding: 24px 21px;
  }

  .highlight-title {
    align-items: flex-start;
  }

  .results-page .breakdown-section {
    padding: 64px 16px 70px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .score-row {
    min-height: 112px;
    padding: 18px;
    grid-template-columns: 42px 1fr 58px;
    gap: 10px;
  }

  .score-row .skill-icon {
    width: 38px;
    height: 38px;
  }

  .score-content > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .score-content h3 {
    font-size: 16px;
    line-height: 1.25;
  }

  .score-row > strong {
    font-size: 23px;
  }

  .score-row > strong small {
    display: block;
  }

  .recommendations-section {
    padding: 65px 0 72px;
  }

  .coaching-section {
    padding: 68px 0;
  }

  .coaching-copy h2 {
    font-size: 30px;
  }

  .consulting-cta {
    margin-bottom: 34px;
    padding: 28px 22px;
  }

  .consulting-cta h2 {
    font-size: 27px;
  }

  .consulting-cta > a {
    width: 100%;
    padding: 12px 18px;
  }

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

  .powered-footer {
    padding-bottom: 40px;
  }
}

@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;
  }
}
