:root {
  --navy-950: #041226;
  --navy-900: #071b3a;
  --navy-800: #0b2447;
  --navy-700: #0f3d75;
  --blue: #2f80ed;
  --blue-bright: #55a4ff;
  --cyan: #5eead4;
  --sky: #eef6ff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #172033;
  --muted: #64748b;
  --line: #d9e6f5;
  --success: #23815e;
  --danger: #9d2f3d;
  --shadow-lg: 0 28px 70px rgba(1, 12, 31, 0.28);
  --shadow-md: 0 16px 38px rgba(7, 27, 58, 0.14);
  --shadow-sm: 0 8px 22px rgba(7, 27, 58, 0.09);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy-950);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(85, 164, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 164, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 42%, #0a2b55 100%);
  background-size: 40px 40px, 40px 40px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(94, 234, 212, 0.055) 58% 58.15%, transparent 58.15%),
    linear-gradient(115deg, transparent 0 73%, rgba(47, 128, 237, 0.08) 73% 73.1%, transparent 73.1%);
}

button,
a,
input {
  font: inherit;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  margin-bottom: 22px;
  color: #fff;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.topbar-brand:hover {
  opacity: 0.96;
}

.topbar-brand:focus-visible,
.topbar-home-button:focus-visible,
.return-to-site-link:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.72);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.topbar-home-button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 999px;
  background: rgba(4, 18, 38, 0.52);
  color: #f8fbff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.topbar-home-button:hover {
  background: rgba(11, 37, 71, 0.76);
  border-color: rgba(94, 234, 212, 0.34);
}

.topbar-home-button:active {
  transform: translateY(1px);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(94, 234, 212, 0.42);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(47, 128, 237, 0.9), rgba(15, 61, 117, 0.94));
  box-shadow: 0 0 0 5px rgba(47, 128, 237, 0.08), 0 12px 30px rgba(0, 0, 0, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}

.brand-mark::before {
  width: 24px;
  height: 6px;
  top: 20px;
  left: 11px;
}

.brand-mark::after {
  width: 6px;
  height: 24px;
  top: 11px;
  left: 20px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-title {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: 0;
}

/* Welcome/results navigation additions are kept visually secondary to the primary quiz actions. */
.return-to-site-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  margin-top: 8px;
  color: #7dd3fc;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.return-to-site-link:hover {
  color: #bff4ff;
}

.return-to-site-link-results {
  align-self: flex-start;
}

.app-frame {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 38px 30px 30px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(94, 234, 212, 0.08), transparent 28%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-right: 1px solid rgba(147, 197, 253, 0.16);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 22px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(transparent, rgba(94, 234, 212, 0.48), rgba(47, 128, 237, 0.34), transparent);
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: 74px;
  right: 16px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--navy-800);
  box-shadow:
    0 176px 0 -2px var(--navy-800),
    0 176px 0 0 rgba(85, 164, 255, 0.9),
    0 352px 0 -2px var(--navy-800),
    0 352px 0 0 rgba(94, 234, 212, 0.75);
}

.hero-copy,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero-copy h2 {
  max-width: 230px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 2rem;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 225px;
  margin: 0;
  color: #b9c9de;
  font-size: 0.94rem;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(147, 197, 253, 0.16);
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid rgba(147, 197, 253, 0.16);
}

.stat-label {
  color: #8fa6c3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-card strong {
  color: #fff;
  font-size: 0.92rem;
}

.content-panel {
  min-width: 0;
  padding: 30px;
  background:
    linear-gradient(rgba(15, 61, 117, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 61, 117, 0.025) 1px, transparent 1px),
    var(--sky);
  background-size: 32px 32px;
}

.view-root {
  min-height: 100%;
}

.view-card {
  min-height: 700px;
  padding: 34px;
  border: 1px solid rgba(217, 230, 245, 0.95);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  animation: viewEnter 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.welcome-card {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 128, 237, 0.06), transparent 45%),
    var(--surface);
}

.welcome-card::before,
.welcome-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.welcome-card::before {
  inset: 22px;
  border: 1px solid rgba(47, 128, 237, 0.08);
  border-radius: var(--radius-md);
}

.welcome-card::after {
  top: 0;
  right: 0;
  width: 44%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan));
}

.welcome-content-group {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, 680px);
  text-align: center;
}

.welcome-heading-group {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.welcome-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(47, 128, 237, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, #eaf4ff);
  box-shadow: 0 14px 30px rgba(47, 128, 237, 0.16);
}

.welcome-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: var(--radius-lg);
}

.welcome-icon-cross {
  position: relative;
  width: 26px;
  height: 26px;
}

.welcome-icon-cross::before,
.welcome-icon-cross::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--blue), var(--navy-700));
}

.welcome-icon-cross::before {
  width: 26px;
  height: 7px;
  top: 9px;
  left: 0;
}

.welcome-icon-cross::after {
  width: 7px;
  height: 26px;
  top: 0;
  left: 9px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(47, 128, 237, 0.18);
  border-radius: 999px;
  color: var(--navy-700);
  background: rgba(47, 128, 237, 0.07);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.17);
}

.welcome-heading,
.view-card h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 2.6rem;
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
}

.welcome-heading {
  max-width: 620px;
  text-wrap: balance;
}

.lead,
.welcome-copy,
.question-copy,
.section-copy,
.secondary-copy,
.cta-copy {
  color: var(--muted);
  line-height: 1.72;
}

.welcome-copy {
  display: grid;
  gap: 10px;
  width: min(100%, 590px);
  font-size: 1rem;
}

.welcome-copy p {
  margin: 0;
}

.welcome-copy strong {
  color: var(--navy-700);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #41516a;
  background: var(--surface-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.actions-row,
.nav-row,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions-row {
  justify-content: center;
}

.nav-row {
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button:focus-visible,
.button-link:focus-visible,
.answer-card:focus-visible,
.field-input:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.72);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy-700));
  box-shadow: 0 12px 28px rgba(47, 128, 237, 0.27);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(47, 128, 237, 0.34);
}

.button-secondary {
  color: var(--navy-700);
  background: #fff;
  border-color: #c8d9ed;
}

.button-secondary:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

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

.welcome-cta-button {
  min-width: 270px;
  min-height: 58px;
  padding: 0 34px;
}

.welcome-cta-button::after {
  content: "\2192";
  margin-left: 12px;
  font-size: 1.15rem;
}

.progress-wrap {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #53657c;
  font-size: 0.82rem;
  font-weight: 750;
}

.progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfeaf6;
}

.progress-bar {
  position: relative;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 16px rgba(47, 128, 237, 0.36);
  transition: width 300ms ease;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.22);
  transform: translate(1px, -50%);
}

.question-title {
  max-width: 780px;
  margin: 14px 0 10px !important;
  font-size: 2rem !important;
  line-height: 1.18 !important;
}

.question-copy {
  margin: 0;
  font-size: 0.95rem;
}

.answers-grid {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.ranking-status-panel {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.ranking-status-label {
  margin: 0;
  color: #53657c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-status-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #26344a;
}

.ranking-status-list li {
  line-height: 1.55;
}

.answer-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 4px 12px rgba(7, 27, 58, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.answer-card::after {
  content: "";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #c8d8ea;
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.answer-card:hover {
  z-index: 1;
  border-color: rgba(47, 128, 237, 0.55);
  box-shadow: 0 12px 28px rgba(7, 27, 58, 0.1);
  transform: translateY(-2px);
}

.answer-card.is-selected {
  border-color: var(--blue);
  background: linear-gradient(90deg, rgba(47, 128, 237, 0.1), rgba(94, 234, 212, 0.05));
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.11), 0 14px 32px rgba(47, 128, 237, 0.13);
}

.answer-card.is-selected::after {
  content: "\2713";
  border-color: var(--blue);
  background: var(--blue);
  transform: scale(1.06);
}

.answer-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cfdeef;
  border-radius: var(--radius-sm);
  color: var(--navy-700);
  background: var(--surface-soft);
  font-size: 0.84rem;
  font-weight: 850;
}

.answer-card.is-selected .answer-letter {
  color: #fff;
  border-color: var(--navy-700);
  background: var(--navy-700);
}

.ranking-answer-card {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.ranking-answer-card::after {
  display: none;
}

.ranking-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #cfdeef;
  border-radius: 999px;
  color: var(--navy-700);
  background: var(--surface-soft);
  font-size: 0.85rem;
  font-weight: 850;
}

.ranking-answer-card.is-ranked .ranking-rank {
  color: #fff;
  border-color: var(--navy-700);
  background: var(--navy-700);
}

.ranking-answer-card.is-inactive {
  opacity: 0.62;
  cursor: not-allowed;
}

.ranking-answer-card.is-inactive:hover {
  border-color: var(--line);
  box-shadow: 0 4px 12px rgba(7, 27, 58, 0.035);
  transform: none;
}

.answer-text {
  min-width: 0;
  color: #26344a;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.career-report {
  display: grid;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 16px;
}

.report-hero-copy,
.match-card,
.report-panel,
.secondary-card,
.cta-panel {
  border-radius: var(--radius-lg);
}

.report-hero-copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(94, 234, 212, 0.1), transparent 42%),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-md);
}

.report-hero-copy::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(47, 128, 237, 0.07), 0 0 0 56px rgba(47, 128, 237, 0.04);
}

.report-hero-copy .section-tag {
  color: var(--cyan);
  border-color: rgba(94, 234, 212, 0.26);
  background: rgba(94, 234, 212, 0.08);
}

.report-hero h2 {
  position: relative;
  z-index: 1;
  margin: 18px 0 14px;
  color: #fff;
  font-size: 2.7rem;
}

.report-hero .lead {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #c5d4e8;
}

.report-badges,
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-badges {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.report-badge,
.report-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
}

.report-badge {
  color: #eaf4ff;
  border: 1px solid rgba(147, 197, 253, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.report-chip {
  color: #33465f;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.match-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  color: var(--navy-900);
  border: 1px solid #cde1f7;
  background: linear-gradient(160deg, #fff, #eaf5ff);
  box-shadow: var(--shadow-md);
}

.match-label {
  width: fit-content;
  padding: 6px 9px;
  color: var(--navy-700);
  border: 1px solid rgba(47, 128, 237, 0.2);
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.08);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-card > strong {
  color: var(--navy-900);
  font-size: 4rem;
  line-height: 1;
}

.match-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #d7e5f4;
}

.match-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.match-summary {
  display: grid;
  gap: 8px;
}

.match-summary p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.match-summary span,
.match-note {
  color: var(--muted);
}

.match-summary span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.match-summary strong {
  color: var(--navy-900);
  font-size: 0.92rem;
}

.match-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

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

/* Primary results compatibility: keep the primary copy intact while presenting it in the approved sandbox report layout. */
.report-hero-single {
  grid-template-columns: 1fr;
}

.primary-report-grid .report-panel {
  display: grid;
  gap: 12px;
}

.primary-report-grid .report-panel h3,
.primary-report-grid .report-panel .section-copy,
.primary-report-grid .report-panel .list {
  margin: 0;
}

.career-video-panel {
  display: grid;
  gap: 18px;
}

.career-video-panel-dark {
  position: relative;
  overflow: hidden;
  border-color: rgba(96, 165, 250, 0.18);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.18), transparent 30%),
    linear-gradient(145deg, #071c3d, #0a2c63 58%, #0c3b7d);
  box-shadow: var(--shadow-md);
}

.career-video-panel-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
    radial-gradient(circle at bottom right, rgba(94, 234, 212, 0.1), transparent 28%);
  pointer-events: none;
}

.career-video-header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.career-video-header h3,
.career-video-header .section-copy {
  margin: 0;
}

.career-video-panel-dark .panel-heading {
  margin-bottom: 0;
}

.career-video-panel-dark .career-video-header h3 {
  color: #f8fbff;
}

.career-video-panel-dark .career-video-header .section-copy {
  max-width: 640px;
  color: #bfd0e4;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #071b3a;
  aspect-ratio: 16 / 9;
}

.career-video-panel-dark .video-frame-wrap {
  position: relative;
  z-index: 1;
  padding: 10px;
  border-color: rgba(191, 208, 228, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #041226;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 42px rgba(3, 10, 24, 0.34);
}

.career-video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: calc(var(--radius-md) - 4px);
}

.salary-line {
  margin: 2px 0 0;
  color: #334155;
  line-height: 1.65;
}

.report-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.report-panel-wide {
  grid-column: 1 / -1;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.panel-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: #fff;
  border-radius: var(--radius-sm);
  background: var(--navy-700);
  font-size: 0.7rem;
  font-weight: 850;
}

.panel-heading h3,
.education-panel h4 {
  margin: 0;
  color: var(--navy-900);
}

.panel-heading h3 {
  font-size: 1rem;
}

.education-panel h4 {
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.report-list,
.list {
  margin: 0;
  padding-left: 19px;
  color: #334155;
  line-height: 1.7;
}

.report-list li::marker,
.list li::marker {
  color: var(--blue);
}

.pay-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 14px;
}

.pay-context strong {
  color: var(--navy-900);
}

.pay-context span,
.wage-item span,
.wage-item small,
.source-note {
  color: var(--muted);
}

.wage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.wage-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #d4e4f5;
  border-radius: var(--radius-md);
  background: var(--sky);
}

.wage-item span {
  font-size: 0.7rem;
  font-weight: 750;
}

.wage-item strong {
  color: var(--navy-800);
  font-size: 0.98rem;
}

.wage-item small {
  font-size: 0.76rem;
}

.pay-placeholder {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed #a9c7e8;
  border-radius: var(--radius-md);
  background: var(--sky);
}

.pay-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pay-snapshot-shell {
  display: grid;
  gap: 18px;
}

.pay-toggle {
  display: inline-flex;
  width: fit-content;
  padding: 5px;
  border: 1px solid #c8dbef;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5faff, #eaf3ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.pay-toggle-button {
  padding: 10px 16px;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.pay-toggle-button:hover,
.pay-toggle-button:focus-visible {
  color: var(--navy-900);
  outline: none;
}

.pay-toggle-button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--blue));
  box-shadow: 0 10px 18px rgba(11, 29, 59, 0.16);
}

.pay-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(47, 128, 237, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbff 48%, #eef5ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 32px rgba(15, 23, 42, 0.06);
}

.pay-panel::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.18), transparent);
  pointer-events: none;
}

.pay-snapshot-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid #cfe0f3;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(180deg, #ffffff, #f4f9ff 56%, #e8f2ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 32px rgba(17, 24, 39, 0.07);
}

.pay-snapshot-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.85fr);
  gap: 14px;
}

.pay-snapshot-feature,
.pay-stat-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d2e1f1;
  border-radius: calc(var(--radius-md) - 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 248, 255, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 18px rgba(17, 24, 39, 0.04);
}

.pay-snapshot-feature {
  align-content: space-between;
  min-height: 100%;
}

.pay-snapshot-top {
  display: grid;
  gap: 8px;
}

.pay-snapshot-side-grid {
  display: grid;
  gap: 14px;
}

.pay-snapshot-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pay-snapshot-card strong {
  color: var(--navy-900);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.pay-snapshot-accent {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 29, 59, 0.08);
  box-shadow: inset 0 1px 2px rgba(11, 29, 59, 0.06);
}

.pay-snapshot-accent span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy-700), var(--blue), var(--cyan));
}

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

.pay-range-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #d2e1f1;
  border-radius: calc(var(--radius-md) - 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 255, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.pay-stat-card span,
.pay-range-item span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pay-stat-card strong {
  color: var(--navy-900);
  font-size: 1.3rem;
  line-height: 1.15;
}

.pay-range-item strong {
  color: var(--navy-800);
  font-size: 1.14rem;
  line-height: 1.2;
}

.outlook-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: var(--success);
  border: 1px solid rgba(35, 129, 94, 0.2);
  border-radius: 999px;
  background: rgba(35, 129, 94, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
}

.source-note {
  margin: 13px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.secondary-card,
.cta-panel {
  padding: 26px;
}

.secondary-card {
  border: 1px solid #bdd7f3;
  background: linear-gradient(120deg, #f4f9ff, #e8f4ff);
  box-shadow: var(--shadow-sm);
}

.secondary-card h3,
.cta-panel h3,
.info-block h3 {
  margin: 12px 0 9px;
  font-size: 1.08rem;
}

.secondary-copy,
.cta-copy {
  margin: 0;
}

.cta-panel {
  color: #fff;
  background:
    linear-gradient(125deg, rgba(94, 234, 212, 0.09), transparent 35%),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-md);
}

.cta-panel h3 {
  color: #fff;
  font-size: 1.3rem;
}

.cta-panel .cta-copy {
  color: #bfd0e4;
}

.result-actions-stacked {
  align-items: stretch;
}

.result-actions-stacked .button,
.result-actions-stacked .button-link {
  width: 100%;
}

.cta-panel .button-primary {
  color: var(--navy-900);
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(94, 234, 212, 0.17);
}

.cta-panel .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.result-header {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.result-header h2 {
  margin-top: 2px;
}

.info-block {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.contact-form {
  display: grid;
  gap: 22px;
}

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

.field-group {
  display: grid;
  gap: 8px;
}

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

.field-label {
  color: #35455b;
  font-size: 0.83rem;
  font-weight: 750;
}

.field-input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid #cbdced;
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
}

.contact-summary {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--sky);
}

.contact-summary-label {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-summary strong {
  color: var(--navy-900);
}

.form-message {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  line-height: 1.55;
}

.form-message-error {
  color: #7d2230;
  border-color: rgba(157, 47, 61, 0.2);
  background: rgba(157, 47, 61, 0.08);
}

.thank-you-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thank-you-contact {
  display: grid;
  gap: 10px;
}

.thank-you-contact .section-copy,
.contact-lines p {
  margin: 0;
}

.contact-lines {
  display: grid;
  gap: 8px;
}

.contact-lines p {
  line-height: 1.65;
}

.inline-link {
  color: var(--navy-700);
  font-weight: 700;
  text-underline-offset: 3px;
}

.thank-you-panel {
  margin-top: 24px;
}

@keyframes viewEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .page-shell {
    width: min(100% - 28px, 100%);
  }

  .app-frame {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .hero-panel {
    padding-inline: 24px;
  }

  .hero-copy h2 {
    font-size: 1.7rem;
  }

  .content-panel {
    padding: 22px;
  }

  .view-card {
    padding: 28px;
  }

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

  .match-card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .match-card > strong {
    justify-self: end;
  }

  .match-meter,
  .match-summary,
  .match-note {
    grid-column: 1 / -1;
  }

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

  .pay-snapshot-overview {
    grid-template-columns: 1fr;
  }

  .pay-toggle {
    width: 100%;
  }

  .pay-toggle-button {
    flex: 1 1 0;
    text-align: center;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 15px;
  }

  .topbar {
    min-height: 52px;
    margin-bottom: 14px;
    gap: 14px;
  }

  .topbar-brand {
    gap: 13px;
  }

  .topbar-home-button {
    padding: 9px 14px;
    font-size: 0.88rem;
  }

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

  .brand-mark::before {
    width: 22px;
    height: 6px;
    top: 17px;
    left: 9px;
  }

  .brand-mark::after {
    width: 6px;
    height: 22px;
    top: 9px;
    left: 17px;
  }

  .eyebrow {
    font-size: 0.63rem;
  }

  .app-title {
    font-size: 1.08rem;
  }

  .app-frame {
    display: block;
    min-height: 0;
  }

  .hero-panel {
    display: none;
  }

  .content-panel {
    padding: 12px;
  }

  .view-card {
    min-height: 0;
    padding: 22px;
  }

  .welcome-card {
    min-height: 610px;
  }

  .welcome-card::before {
    inset: 10px;
  }

  .welcome-heading,
  .view-card h2 {
    font-size: 2.05rem;
  }

  .question-title {
    font-size: 1.65rem !important;
  }

  .report-hero h2 {
    font-size: 2.15rem;
  }

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

  .report-panel-wide,
  .field-group-full {
    grid-column: auto;
  }

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

  .pay-snapshot-card {
    padding: 18px;
  }

  .pay-range-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: 100%;
    padding: 0;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 13px 14px;
    margin: 0;
    background: rgba(4, 18, 38, 0.82);
    border-bottom: 1px solid rgba(147, 197, 253, 0.14);
  }

  .topbar-brand {
    flex: 1 1 100%;
    gap: 12px;
  }

  .topbar-home-button {
    margin-left: 54px;
  }

  .eyebrow {
    display: none;
  }

  .app-title {
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .app-frame,
  .content-panel,
  .view-card {
    border-radius: 0;
  }

  .app-frame {
    border: 0;
  }

  .content-panel {
    padding: 0;
  }

  .view-card {
    padding: 24px 18px 28px;
    border-inline: 0;
    box-shadow: none;
  }

  .welcome-card {
    min-height: calc(100vh - 68px);
  }

  .welcome-content-group {
    gap: 18px;
  }

  .welcome-icon {
    width: 56px;
    height: 56px;
  }

  .welcome-heading,
  .view-card h2 {
    font-size: 1.8rem;
  }

  .welcome-copy {
    font-size: 0.94rem;
  }

  .meta-row {
    width: 100%;
  }

  .pill {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    font-size: 0.76rem;
  }

  .welcome-cta-button {
    width: 100%;
    min-width: 0;
  }

  .progress-wrap {
    margin-bottom: 22px;
    padding: 14px;
  }

  .progress-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .answer-card {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 11px;
    min-height: 72px;
    padding: 12px;
  }

  .answer-letter {
    width: 38px;
    height: 38px;
  }

  .answer-text {
    font-size: 0.9rem;
  }

  .nav-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .nav-row .button,
  .result-actions .button,
  .result-actions .button-link {
    width: 100%;
  }

  .report-hero-copy,
  .match-card,
  .report-panel,
  .secondary-card,
  .cta-panel {
    padding: 20px;
    border-radius: var(--radius-md);
  }

  .match-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .match-card > strong {
    justify-self: start;
    font-size: 3.5rem;
  }

  .match-meter,
  .match-summary,
  .match-note {
    grid-column: auto;
  }

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

  .pay-toggle {
    width: 100%;
  }

  .panel-heading {
    align-items: flex-start;
  }
}

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