:root {
  --ink: #07195a;
  --ink-2: #162958;
  --muted: #5f6b82;
  --line: rgba(7, 25, 90, 0.12);
  --soft: #f6f8fc;
  --soft-2: #eef2f8;
  --orange: #ff5a2a;
  --orange-2: #e84a22;
  --blue: #1f63d8;
  --purple: #6554ff;
  --white: #fff;
  --shadow: 0 22px 64px rgba(20, 34, 82, 0.06);
  --radius: 14px;
  --page: min(calc(100vw - 132px), 1404px);
  --font: Inter, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;

  /* Locked base components. Do not change these while adjusting page sections. */
  --header-height: 86px;
  --header-logo-width: 130px;
  --header-left-col: 178px;
  --header-right-col: 174px;
  --nav-gap: 44px;
  --nav-font-size: 14px;
  --nav-font-weight: 720;
  --nav-active-width: 30px;
  --nav-active-height: 3px;
  --nav-active-offset: -16px;
  --button-height: 50px;
  --button-x: 30px;
  --button-font-size: 14px;
  --button-font-weight: 680;
  --top-cta-height: 54px;
  --top-cta-x: 32px;
  --hero-button-height: 52px;
  --hero-button-min-width: 168px;
  --card-button-height: 50px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  background: #fff;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
body::before,
body::after {
  pointer-events: none;
  display: none;
}
body.debug-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: block;
  background:
    linear-gradient(to bottom, rgba(255, 90, 42, 0.18) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(to right, transparent 0 calc((var(--page) - 11 * 24px) / 12), rgba(31, 99, 216, 0.08) calc((var(--page) - 11 * 24px) / 12) calc((var(--page) - 11 * 24px) / 12 + 24px));
  background-size: 100% 88px, var(--page) 100%;
  background-position: 0 0, calc((100vw - var(--page)) / 2) 0;
}
body.debug-grid::after {
  content: "desktop check: header 0-86 | hero 86-300 | pricing cards visible before 760";
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(7, 25, 90, 0.82);
  font-size: 12px;
  letter-spacing: 0;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.site-header {
  width: var(--page);
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand img { width: var(--header-logo-width); }
.brand-placeholder { display: none; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: var(--nav-gap);
}
.main-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--nav-font-size);
  font-weight: var(--nav-font-weight);
  letter-spacing: 0;
}
.main-nav a:focus-visible,
.button:focus-visible,
.quiz-return-home:focus-visible {
  outline: 2px solid rgba(255, 90, 42, 0.68);
  outline-offset: 4px;
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: var(--nav-active-offset);
  width: var(--nav-active-width);
  height: var(--nav-active-height);
  border-radius: 999px;
  background: var(--orange);
  transform: translateX(-50%);
}

.button {
  min-height: var(--button-height);
  padding: 0 var(--button-x);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  letter-spacing: 0;
  white-space: nowrap;
}
.button::after { content: "→"; font-size: 17px; line-height: 1; }
.button-small { min-height: var(--top-cta-height); padding: 0 var(--top-cta-x); }
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff6738, var(--orange));
  box-shadow: 0 16px 34px rgba(255, 90, 42, 0.16);
}
.button-secondary,
.button-outline {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}
.button-outline { width: 100%; border-color: rgba(7, 25, 90, 0.28); }

.eyebrow {
  margin: 0;
  color: rgba(7, 25, 90, 0.76);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.28em;
  font-weight: 760;
}

.hero-section {
  width: var(--page);
  min-height: 190px;
  margin: 0 auto;
  display: block;
}
.hero-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  text-align: center;
  transform: none;
}
.hero-copy h1 {
  margin: 0;
  font-size: 82px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 830;
  white-space: nowrap;
}
.hero-copy h1 span { display: inline; margin-right: 0.16em; }
.hero-copy h1 strong { color: var(--orange); font-weight: inherit; }
.hero-copy h1 sup { font-size: 18px; margin-left: 8px; vertical-align: super; }
.hero-copy h2 {
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.22;
  font-weight: 760;
  letter-spacing: 0;
}
.hero-text {
  max-width: 820px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 560;
  letter-spacing: 0;
}
.hero-actions { margin-top: 16px; display: flex; justify-content: center; gap: 16px; }
.hero-actions .button { min-width: 142px; min-height: 46px; padding: 0 24px; }
.metric-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 34px;
}
.metric-row span {
  display: grid;
  grid-template-columns: 30px max-content;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}
.metric-row b { color: var(--ink); font-size: 18px; line-height: 1; font-weight: 820; }
.metric-row small { grid-column: 2; color: var(--muted); font-size: 12px; line-height: 1.2; font-weight: 620; }
.metric-icon {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  position: relative;
  display: block;
  color: var(--ink);
}
.metric-clock { border: 2px solid currentColor; border-radius: 50%; }
.metric-clock::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 5px;
  width: 2px;
  height: 10px;
  background: currentColor;
}
.metric-clock::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(28deg);
  transform-origin: left center;
}
.metric-cube::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 8px;
  transform: rotate(30deg);
}
.metric-people::before,
.metric-people::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}
.metric-people::before {
  left: 9px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.metric-people::after {
  left: 4px;
  bottom: 4px;
  width: 22px;
  height: 13px;
  border-radius: 14px 14px 4px 4px;
}
.metric-shield::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 18px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 12px 12px;
}
.hero-art { display: none; }

.pricing-section {
  padding: 44px max(66px, calc((100vw - 1324px) / 2)) 8px;
  border-top: 0;
  background: #fff;
}
.section-heading {
  max-width: 680px;
  margin: 0 auto 14px;
  text-align: center;
}
.section-heading.align-left { margin-left: 0; text-align: left; }
.section-heading h2 {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 720;
  letter-spacing: 0;
}
.pricing-heading {
  max-width: 720px;
  margin-bottom: 24px;
}
.pricing-heading h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 760;
}
.section-heading h2::before,
.section-heading h2::after {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}
.section-heading p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
}
.price-card {
  position: relative;
  height: auto;
  min-height: 310px;
  padding: 25px 28px 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 34, 82, 0.045);
}
.price-card.featured {
  border-color: rgba(255, 90, 42, 0.55);
  background: #fff;
}
.badge {
  position: absolute;
  left: 50%;
  top: -15px;
  transform: translateX(-50%);
  height: 30px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font-size: 13px;
  font-weight: 760;
}
.price-card-head {
  display: flex;
  gap: 18px;
  align-items: center;
}
.price-card-head > div {
  flex: 1 1 auto;
  min-width: 0;
}
.card-icon {
  align-self: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(31, 99, 216, 0.07);
}
.featured .card-icon { color: #fff; background: var(--orange); }
.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  border: 1.8px solid currentColor;
}
.card-icon-doc::before {
  width: 16px;
  height: 21px;
  border-radius: 3px;
}
.card-icon-doc::after {
  width: 8px;
  height: 1.8px;
  border: 0;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}
.card-icon-chart::before {
  width: 23px;
  height: 23px;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.card-icon-chart::after {
  width: 18px;
  height: 18px;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(2px, -2px) skew(-18deg);
}
.card-icon-user::before {
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.card-icon-user::after {
  bottom: 14px;
  width: 22px;
  height: 11px;
  border-radius: 12px 12px 3px 3px;
}
.card-kicker { margin: 0; font-size: 14px; font-weight: 760; letter-spacing: 0; }
.price-card h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
  font-weight: 830;
  letter-spacing: 0;
}
.featured h3 { color: var(--orange); }
.price-card p:not(.card-kicker) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.price-card ul, .clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-card ul {
  align-self: center;
}
.price-card li, .clean-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 6px;
  color: #2d3b60;
  font-size: 13px;
  line-height: 1.45;
}
.price-card .button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-top: 12px;
  padding-inline: 14px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}
.price-card .price-payment-note {
  align-self: end;
  margin: 4px 0 -4px;
  color: #b9380f;
  font-weight: 720;
  text-align: center;
}
.featured .button-outline,
.featured .button-primary { width: 100%; }

@media (min-width: 981px) and (max-width: 1120px) {
  .pricing-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .pricing-grid { gap: 16px; }
  .price-card { padding-inline: 18px; }
  .price-card-head { gap: 12px; }
  .price-card .card-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .price-card .button { font-size: 13px; }
}
.trust-row {
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}
.trust-row em {
  width: 1px;
  height: 24px;
  background: rgba(7, 25, 90, 0.24);
}
.avatar-stack {
  display: flex;
  width: 58px;
}
.avatar-stack i {
  width: 24px;
  height: 24px;
  margin-right: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb38f, #314d9a);
}
.avatar-stack i:nth-child(2) { background: linear-gradient(135deg, #223a86, #ff8a4e); }
.avatar-stack i:nth-child(3) { background: linear-gradient(135deg, #f3d1bf, #1f63d8); }
.trust-shield {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid rgba(7, 25, 90, 0.72);
  border-radius: 50%;
}
.trust-shield::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 8px;
  height: 5px;
  border-left: 2px solid rgba(7, 25, 90, 0.78);
  border-bottom: 2px solid rgba(7, 25, 90, 0.78);
  transform: rotate(-45deg);
}
.price-card li::before, .clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}
.featured li::before { color: var(--orange); }

.student-section, .quiz-section, .result-section, .lead-section {
  padding: 56px 0 72px;
  background: var(--soft);
}
.quiz-section {
  padding-top: 28px;
}
.student-section {
  background: #fff;
}
.result-section {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 90, 42, 0.035), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.lead-section {
  background: var(--soft);
}
.quiz-shell, .payment-shell, .report-shell {
  width: min(calc(100% - 80px), 1040px);
  max-width: calc(100% - 32px);
  margin: 0 auto;
}
.quiz-page-topbar {
  width: min(calc(100% - 80px), 1040px);
  max-width: calc(100% - 32px);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(22, 41, 88, 0.52);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.quiz-return-home {
  min-height: 38px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 90, 42, 0.18);
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(255, 90, 42, 0.08);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
}
.quiz-return-home span {
  font-size: 15px;
  line-height: 1;
}
.quiz-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.quiz-top > * { min-width: 0; }
.quiz-top h2 { margin: 10px 0 0; font-size: 28px; }
#quiz-progress-text { color: var(--ink-2); font-size: 18px; font-weight: 720; }
.progress-bar {
  height: 8px;
  margin: 18px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 90, 42, 0.08);
}
.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff6738, var(--orange));
  transition: width .2s ease;
}
.question-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.question-card h3 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.quiz-answer-hint {
  margin: 14px 2px 0;
  color: rgba(22, 41, 88, 0.46);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}
.quiz-submit-status {
  min-height: 0;
  margin: 8px 2px 0;
  color: #d92d20;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
.quiz-submit-status:empty {
  display: none;
}
.option-list { display: grid; gap: 14px; }
.option-button {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding: 18px 88px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  font-weight: 560;
}
.option-button.is-selected { border-color: var(--orange); background: #fff8f5; box-shadow: inset 4px 0 0 var(--orange); }
.option-rank {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  min-width: 44px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.quiz-actions { margin-top: 20px; display: flex; justify-content: space-between; gap: 16px; }

.report-shell { width: min(calc(100vw - 80px), 1120px); }
.report-hero, .report-card, .report-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.report-hero {
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}
.report-hero h2 { margin: 12px 0 16px; font-size: 48px; line-height: 1.08; }
.report-hero p { color: var(--muted); line-height: 1.8; }
.report-hero p strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 17px; }
.report-hero p span { display: block; }
.student-meta {
  margin-top: 14px;
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 700;
}
.report-summary {
  padding: 24px;
  align-self: stretch;
  border-radius: 12px;
  background: #f2f4fb;
}
.report-summary strong { font-size: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-row span {
  min-height: 32px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 90, 42, 0.08);
  font-size: 13px;
  font-weight: 650;
}
.report-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.report-card { padding: 28px; }
.report-card.wide { grid-column: 1 / -1; }
.report-card h3 { margin: 0 0 18px; font-size: 20px; }
.trait-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}
.trait-list li {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: #f4f6fb;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.trait-list strong { color: var(--orange); }
.radar-wrap { display: grid; place-items: center; min-height: 310px; }
#radar-chart { width: min(320px, 100%); height: auto; }
.report-cta {
  margin-top: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.report-cta h3 { margin: 0; font-size: 24px; }
.report-cta p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.report-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
#download-report-data::after { content: "↓"; }

.free-report-hero,
.free-report-card,
.unlock-section {
  margin-top: 18px;
  border: 1px solid rgba(7, 25, 90, 0.11);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(20, 34, 82, 0.07);
}
.free-report-hero {
  padding: 30px 32px 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.report-section-index {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
}
.report-section-index b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 16px;
}
.report-section-index span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}
.report-section-index small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.free-report-hero-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}
.profile-en {
  margin: 12px 0 14px;
  color: rgba(7, 25, 90, 0.56);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.report-student-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 25, 90, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.report-student-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.report-student-meta b {
  color: rgba(7, 25, 90, 0.48);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}
.report-student-meta em {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#result-summary {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
#result-summary span {
  display: block;
}
#result-summary span:not(.summary-subtitle) {
  max-width: 660px;
}
#result-summary strong {
  color: var(--ink);
  font-weight: 850;
}
#result-summary .summary-subtitle {
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.35;
}
#result-summary span + span {
  margin-top: 9px;
}
.profile-keywords,
.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profile-keywords { margin-top: 22px; }
.profile-keywords span,
.career-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 90, 42, 0.08);
  font-size: 13px;
  font-weight: 760;
}

@media (max-width: 860px) {
  .report-student-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .report-student-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }
}
.free-report-card {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 26px;
}
.advice-section {
  grid-template-columns: 1fr;
  gap: 22px;
}
.match-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 280px;
  gap: 18px;
  align-items: start;
}
.score-panel,
.explain-card,
.advice-list article,
.ability-grid article,
.career-match-grid article {
  border: 1px solid rgba(7, 25, 90, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}
.score-panel { padding: 24px; }
.hero-score-panel {
  width: 100%;
  max-width: 900px;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 90, 42, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.96));
  border-radius: 18px;
}
.hero-score-panel .panel-head {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(7, 25, 90, 0.08);
  align-items: flex-start;
}
.hero-score-panel .panel-head p {
  max-width: none;
  padding-top: 4px;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
}
.panel-head {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.panel-head span,
.rank-title,
.advice-list article > div > span,
.ability-grid article span {
  color: rgba(255, 90, 42, 0.9);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel-head h3,
.explain-card h3,
.advice-list h3,
.career-match-grid h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 21px;
}
.hero-score-panel .panel-head h3 {
  font-size: 24px;
  line-height: 1.22;
  white-space: nowrap;
}
.panel-head p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.score-bars {
  padding-top: 2px;
  display: grid;
  gap: 14px;
}
.score-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}
.score-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.score-label b { color: var(--ink); font-size: 17px; }
.score-label span { white-space: nowrap; }
.score-track {
  position: relative;
  height: 11px;
  border-radius: 999px;
  background: #e9edf6;
}
.score-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d73df, #6aa4ff);
}
.score-row.is-hot .score-track i { background: linear-gradient(90deg, #ff5a2a, #ff9a6f); }
.score-row.is-low .score-track i { background: linear-gradient(90deg, #8fa1bc, #c5cfdd); }
.score-track em {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 18px;
  border-radius: 2px;
  background: rgba(7, 25, 90, 0.22);
}
.score-row strong {
  min-width: 50px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-match-rank {
  margin: 0 0 20px;
  padding-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(7, 25, 90, 0.08);
}
.hero-match-rank .rank-group {
  min-width: 0;
  min-height: 0;
  padding: 12px 14px;
  align-content: start;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(7, 25, 90, 0.06);
}
.hero-match-rank .rank-group:first-child {
  background: linear-gradient(145deg, rgba(255, 90, 42, 0.12), rgba(255, 255, 255, 0.96));
  border-color: rgba(255, 90, 42, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.hero-match-rank .rank-group:first-child strong,
.hero-match-rank .rank-group:first-child b {
  color: var(--orange);
}
.hero-match-rank .rank-group:nth-child(2) {
  background: linear-gradient(145deg, rgba(45, 115, 223, 0.11), rgba(255, 255, 255, 0.96));
  border-color: rgba(45, 115, 223, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.hero-match-rank .rank-group:nth-child(2) strong,
.hero-match-rank .rank-group:nth-child(2) b {
  color: var(--blue);
}
.hero-match-rank .rank-group:nth-child(3) {
  background: linear-gradient(145deg, rgba(143, 161, 188, 0.13), rgba(255, 255, 255, 0.96));
  border-color: rgba(143, 161, 188, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.hero-match-rank .rank-group:nth-child(3) strong,
.hero-match-rank .rank-group:nth-child(3) b {
  color: #5d759b;
}
.hero-match-rank .rank-group strong {
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 14px;
}
.hero-match-rank .rank-group p {
  margin: 0;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
}
.hero-match-rank .rank-group span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.explain-card { padding: 20px; }
.rank-group { display: grid; gap: 8px; }
.rank-group strong { color: var(--ink); font-size: 14px; }
.rank-group p {
  margin: 0;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.rank-group b { color: var(--orange); }
.rank-group em { font-style: normal; font-weight: 800; color: var(--ink); }
.explain-card { grid-column: 1 / -1; }
.explain-card p,
.advice-list p,
.career-match-grid p,
.dynamic-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.advice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.advice-list article {
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.advice-list article.is-primary {
  background: linear-gradient(145deg, rgba(45, 115, 223, 0.08), rgba(255, 255, 255, 0.94));
  border-color: rgba(45, 115, 223, 0.16);
}
.advice-list article.is-primary .career-tags span {
  color: #1f63d8;
  background: rgba(45, 115, 223, 0.1);
}
.job-role-list {
  display: grid;
  gap: 12px;
}
.job-role-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(7, 25, 90, 0.08);
  background: rgba(255, 255, 255, 0.82);
}
.job-role-card strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}
.job-role-card p {
  margin: 7px 0 0;
  color: rgba(40, 58, 98, 0.78);
  font-size: 13px;
  line-height: 1.65;
}
.job-role-card em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 90, 42, 0.92);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.55;
}
.advice-list article.is-primary .job-role-card {
  border-color: rgba(45, 115, 223, 0.13);
  background: rgba(255, 255, 255, 0.88);
}
.advice-list article.is-primary .job-role-card em {
  color: #1f63d8;
}
.advice-list strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
}
.major-preview-section {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 26px;
}
.major-preview-body {
  display: grid;
  gap: 18px;
}
.major-preview-intro {
  max-width: 720px;
}
.major-preview-intro > span,
.major-preview-card > span,
.major-preview-lock > div > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.06em;
}
.major-preview-intro h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.22;
}
.major-preview-intro p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.major-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.major-preview-card {
  padding: 22px;
  border: 1px solid rgba(7, 25, 90, 0.1);
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.82);
}
.major-preview-card.is-primary-preview {
  border-color: rgba(255, 90, 42, 0.2);
  background: linear-gradient(145deg, rgba(255, 90, 42, 0.08), rgba(255, 255, 255, 0.96));
}
.major-preview-card h4,
.major-preview-lock h4 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.32;
}
.major-price-line {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.major-price-line h4 {
  margin: 0;
}
.major-price-line em {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 90, 42, 0.1);
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
}
.major-preview-card p,
.major-preview-lock p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.major-preview-lock {
  padding: 24px;
  display: grid;
  gap: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 90, 42, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 90, 42, 0.08), rgba(45, 115, 223, 0.045)),
    #fff;
}
.major-locked-preview {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 42, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 239, 0.78)),
    rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.major-preview-lock ul {
  margin: 0;
  padding: 20px 22px 74px;
  display: grid;
  gap: 8px;
  list-style: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  filter: blur(2.2px);
  opacity: 0.52;
  user-select: none;
  pointer-events: none;
}
.major-preview-lock li {
  position: relative;
  padding-left: 18px;
}
.major-preview-lock li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.major-lock-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 24%, rgba(255, 255, 255, 0.7) 48%, rgba(255, 246, 242, 0.34) 100%);
}
.major-lock-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #ff5a2a, #ff7b4a);
  box-shadow: 0 16px 30px rgba(255, 90, 42, 0.24);
}
.major-lock-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.major-lock-overlay strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}
.major-preview-lock .unlock-pill {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  justify-self: stretch;
  min-width: 0;
  background: var(--orange);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(255, 90, 42, 0.24);
}
.major-preview-lock .unlock-pill:hover {
  transform: translateY(-1px);
  background: #ff4f22;
}
.major-internal-unlock {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px dashed rgba(7, 25, 90, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}
.major-internal-unlock span {
  color: rgba(95, 107, 130, 0.88);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.major-internal-unlock input {
  min-width: 0;
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(7, 25, 90, 0.12);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}
.major-internal-unlock button {
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(7, 25, 90, 0.14);
  border-radius: 999px;
  color: var(--ink-2);
  background: #fff;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}
.major-internal-unlock p {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.major-internal-unlock p[data-type="success"] { color: #16794c; }
.major-internal-unlock p[data-type="error"] { color: #d92d20; }
.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ability-grid article { padding: 20px; }
.ability-grid article strong {
  display: block;
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: 28px;
}
.ability-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.unlock-section {
  position: relative;
  overflow: hidden;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 90, 42, 0.18), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(45, 115, 223, 0.34), transparent 44%),
    linear-gradient(145deg, #061a5c 0%, #0a2b78 54%, #173c88 100%);
  color: #fff;
}
.unlock-section .report-section-index span,
.unlock-section .report-section-index small { color: rgba(255, 255, 255, 0.8); }
.unlock-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.64fr);
  gap: 28px;
  align-items: center;
}
.unlock-text > span {
  color: rgba(255, 120, 74, 0.96);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.08em;
}
.unlock-text h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.18;
}
.unlock-text p {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 520;
}
.unlock-locked-card {
  position: relative;
  min-height: 190px;
  padding: 28px 24px 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 28px 58px rgba(0, 0, 0, 0.16);
}
.unlock-preview-list {
  position: absolute;
  inset: 22px 22px 68px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 650;
  filter: blur(2.5px);
  opacity: 0.66;
}
.unlock-preview-list span {
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}
.unlock-lock {
  width: 42px;
  height: 42px;
  margin-bottom: 48px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}
.unlock-lock svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.unlock-pill {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  min-width: 178px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 780;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.unlock-pill[hidden] { display: none !important; }
.unlock-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%) translateY(-1px);
}

.lead-layout {
  width: min(calc(100vw - 80px), 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.lead-layout h2 { margin: 12px 0 16px; font-size: 34px; line-height: 1.25; }
.lead-layout p { max-width: 560px; color: var(--muted); line-height: 1.8; }
.assessment-note {
  max-width: 520px;
  margin-top: 66px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.assessment-note h3 {
  margin: 0 0 14px;
  color: #667085;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}
.assessment-note ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}
.assessment-note li {
  position: relative;
  padding-left: 14px;
  color: #667085;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 400;
}
.assessment-note li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  color: #667085;
  font-weight: 700;
}
.assessment-note strong {
  color: #667085;
  font-weight: 600;
}
.contact-copy > h2 + p { margin-top: 6px; }
.payment-note {
  margin-top: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 90, 42, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 90, 42, 0.075), rgba(255, 255, 255, 0.68));
}
.payment-note[hidden] {
  display: none !important;
}
.payment-note b {
  color: var(--orange);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 760;
}
.payment-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}
.payment-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.payment-actions .button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}
.internal-unlock {
  margin-top: 10px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(7, 25, 90, 0.08);
  color: rgba(95, 107, 130, 0.86);
  font-size: 12px;
}
.internal-unlock input {
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(7, 25, 90, 0.12);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
}
.internal-unlock button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(7, 25, 90, 0.14);
  border-radius: 999px;
  color: var(--ink-2);
  background: #fff;
  font-size: 12px;
  font-weight: 650;
}
.payment-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.payment-status[data-type="success"] { color: #16794c; }
.payment-status[data-type="error"] { color: #d92d20; }
.contact-copy {
  padding: 22px 28px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  column-gap: 24px;
  row-gap: 8px;
  align-items: start;
  border: 1px solid rgba(7, 25, 90, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(31, 99, 216, 0.025), rgba(255, 90, 42, 0.03));
  box-shadow: 0 24px 70px rgba(20, 34, 82, 0.065);
}
.contact-copy .eyebrow,
.contact-copy h2,
.contact-copy > p,
.payment-note,
.contact-steps {
  grid-column: 1;
}
#lead .contact-copy .eyebrow {
  margin-bottom: 2px;
}
#lead .contact-copy h2 {
  margin: 0 0 6px;
  line-height: 1.08;
  font-size: 30px;
}
#lead .contact-copy > p {
  margin: 0;
  line-height: 1.62;
  font-size: 15px;
}
.contact-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  padding: 13px 14px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #ff6738, var(--orange));
  box-shadow: 0 18px 40px rgba(255, 90, 42, 0.18);
}
.contact-panel::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -58px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.contact-panel > * {
  position: relative;
  z-index: 1;
}
.qr-card {
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
.qr-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: transparent;
  transform: scale(1.045);
}
.contact-notes {
  display: grid;
  gap: 4px;
  padding-right: 0;
  text-align: center;
}
.contact-notes strong {
  color: #fff;
  max-width: 150px;
  font-size: 13px;
  line-height: 1.24;
  font-weight: 800;
}
.contact-notes span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.45;
}
.contact-steps {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-steps span {
  min-height: 0;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(7, 25, 90, 0.08);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(248, 250, 255, 0.86);
  box-shadow: none;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.contact-steps em {
  font-style: normal;
}
.contact-steps b {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.contact-steps span.is-current {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #ff6738, var(--orange));
  box-shadow: 0 10px 22px rgba(255, 90, 42, 0.18);
}
.contact-steps span.is-current b {
  color: #fff;
}
.lead-form {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 12px;
  border: 1px solid rgba(7, 25, 90, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(31, 99, 216, 0.025), rgba(255, 90, 42, 0.03));
  box-shadow: 0 24px 70px rgba(20, 34, 82, 0.065);
}
.lead-form label { display: grid; gap: 6px; color: var(--ink); font-size: 13px; font-weight: 650; }
.lead-form label:nth-of-type(7),
.lead-form label:nth-of-type(8),
.lead-form .consent-line,
.lead-form .form-actions,
.lead-form .form-status {
  grid-column: 1 / -1;
}
.lead-form input, .lead-form select, .lead-form textarea {
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(7, 25, 90, 0.12);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.lead-form textarea {
  min-height: 72px;
  padding: 11px 14px;
  resize: vertical;
  line-height: 1.55;
  font-family: inherit;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none;
  border-color: rgba(255, 90, 42, 0.52);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 90, 42, 0.08);
}
.lead-form .consent-line {
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(7, 25, 90, 0.08);
  border-radius: 16px;
  color: rgba(22, 41, 88, 0.78);
  background: rgba(248, 250, 254, 0.72);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.6;
}
.lead-form .consent-line input {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  border: 2px solid rgba(7, 25, 90, 0.22);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 34, 82, 0.04);
  flex: 0 0 auto;
}
.lead-form .consent-line input:checked {
  border-color: var(--orange);
  background: linear-gradient(180deg, #ff6738, var(--orange));
}
.lead-form .consent-line input:checked::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
.lead-form .consent-line span {
  display: block;
}
.form-actions {
  margin-top: 2px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--orange) !important;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 980px) {
  :root { --page: calc(100vw - 32px); }
  .site-header {
    height: auto;
    padding: 30px 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .brand-placeholder { display: none; }
  .main-nav {
    width: 100%;
    justify-content: center;
    gap: clamp(18px, 4.2vw, 28px);
    overflow-x: visible;
    padding-bottom: 0;
  }
  .main-nav a {
    font-size: 16px;
    font-weight: 780;
    line-height: 1.2;
  }
  .main-nav a.is-active::after { bottom: -14px; }
  .site-header > .button { display: none; }
  .quiz-page-topbar {
    width: calc(100vw - 32px);
    margin-bottom: 18px;
    align-items: flex-start;
  }
  .quiz-page-topbar > span {
    display: none;
  }
  .hero-section {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0 0;
  }
  .hero-copy { padding-top: 8px; }
  .hero-copy h1 { font-size: clamp(46px, 12.4vw, 58px); white-space: normal; }
  .hero-copy h2 { font-size: 28px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { min-height: 250px; }
  .pricing-section { padding: 34px 16px 8px; background: #fff; }
  .pricing-grid, .report-grid, .lead-layout, .report-hero, .report-cta,
  .free-report-hero, .free-report-card, .unlock-section, .major-preview-section,
  .match-grid, .advice-list, .ability-grid, .career-match-grid,
  .major-preview-grid, .major-preview-lock {
    grid-template-columns: 1fr;
  }
  .major-preview-lock .unlock-pill {
    width: 100%;
  }
  .report-section-index {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .report-cta-actions { justify-content: flex-start; }
  .quiz-shell, .report-shell, .lead-layout { width: calc(100% - 32px); }
  .report-hero h2 { font-size: 38px; }
  .hero-score-panel {
    overflow: hidden;
  }
  .hero-score-panel .panel-head {
    align-items: flex-start;
  }
  .hero-score-panel .panel-head h3 {
    min-width: 0;
  }
  .hero-score-panel .panel-head p {
    text-align: right;
  }
  .hero-match-rank {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-match-rank .rank-group {
    min-height: 104px;
    padding: 12px;
  }
  .score-row {
    grid-template-columns: 104px minmax(0, 1fr) 52px;
    gap: 10px;
  }
  .score-label {
    min-width: 0;
    gap: 7px;
    font-size: 12px;
  }
  .score-label b {
    font-size: 16px;
  }
  .score-row strong {
    font-size: 12px;
  }
  .contact-copy {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .contact-copy .eyebrow,
  .contact-copy h2,
  .contact-copy > p,
  .payment-note,
  .contact-panel,
  .contact-steps {
    grid-column: 1;
  }
  .contact-panel {
    grid-row: auto;
  }
  .contact-steps,
  .lead-form {
    grid-template-columns: 1fr;
  }
  .lead-layout h2 { font-size: 31px; }
}

@media (max-width: 560px) {
  .site-header { padding: 28px 0 22px; }
  .main-nav { gap: clamp(15px, 3.4vw, 22px); }
  .main-nav a { font-size: clamp(14px, 3.8vw, 16px); }
  .hero-copy h1 {
    font-size: clamp(42px, 11.2vw, 48px);
    line-height: 1.08;
  }
  .hero-copy h1 span,
  .hero-copy h1 strong {
    display: block;
    margin-right: 0;
  }
  .hero-copy h1 sup {
    font-size: 13px;
    margin-left: 5px;
  }
  .hero-copy h2 {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .hero-text {
    max-width: 310px;
    overflow-wrap: anywhere;
  }
  .section-heading h2 {
    gap: 22px;
  }
  .price-card,
  .button {
    max-width: 100%;
  }
  .hero-actions { grid-template-columns: 1fr; }
  .question-card, .report-hero, .report-card, .report-cta, .lead-form,
  .free-report-hero, .free-report-card, .unlock-section, .major-preview-section { padding: 22px; }
  .major-preview-card, .major-preview-lock { padding: 18px; }
  .major-internal-unlock {
    grid-template-columns: 1fr;
  }
  .major-internal-unlock button {
    width: 100%;
  }
  .contact-copy { padding: 22px; }
  .lead-layout h2 { font-size: 30px; line-height: 1.18; }
  .assessment-note { margin-top: 54px; padding: 0; }
  .payment-actions { display: grid; grid-template-columns: 1fr; }
  .internal-unlock {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .internal-unlock button { width: 100%; }
  .contact-panel {
    margin-top: 14px;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 16px;
    justify-items: stretch;
  }
  .qr-card {
    width: 126px;
    height: 126px;
    border-radius: 0;
  }
  .qr-card img {
    width: 100%;
    height: 100%;
  }
  .contact-notes strong { font-size: 17px; }
  .contact-notes {
    text-align: left;
  }
  .contact-notes span { font-size: 13px; line-height: 1.55; }
  .question-card h3 { font-size: 22px; }
  .option-button {
    min-height: 58px;
    padding: 16px 64px 16px 16px;
    font-size: 15px;
  }
  .quiz-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .quiz-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: clamp(10px, 3.6vw, 18px);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .report-cta-actions, .report-cta-actions .button { width: 100%; }
  .hero-score-panel {
    padding: 18px;
  }
  .hero-score-panel .panel-head {
    margin-bottom: 14px;
    padding-bottom: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .hero-score-panel .panel-head h3 {
    font-size: 22px;
    white-space: nowrap;
  }
  .hero-score-panel .panel-head p {
    padding-top: 0;
    text-align: left;
    font-size: 11px;
    white-space: nowrap;
  }
  .hero-match-rank {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-match-rank .rank-group {
    min-height: 0;
    padding: 11px 12px;
  }
  .hero-match-rank .rank-group p {
    grid-template-columns: 18px minmax(0, 1fr) 42px;
  }
  .score-bars {
    gap: 12px;
  }
  .score-row { grid-template-columns: 84px minmax(0, 1fr) 48px; gap: 8px; }
  .score-label { gap: 6px; font-size: 12px; }
  .score-label b { font-size: 15px; }
  .score-track { height: 10px; }
  .score-track em { height: 16px; top: -3px; }
  .score-row strong { font-size: 12px; }
}

@media (max-width: 420px) {
  .hero-score-panel {
    padding: 16px;
  }
  .hero-score-panel .panel-head h3 {
    font-size: 20px;
  }
  .hero-score-panel .panel-head p {
    letter-spacing: 0;
    font-size: 10px;
  }
  .score-row {
    grid-template-columns: 66px minmax(0, 1fr) 46px;
    gap: 6px;
  }
  .score-label {
    gap: 5px;
    font-size: 11px;
  }
  .score-label b {
    font-size: 14px;
  }
  .score-row strong {
    font-size: 11px;
  }
}

/* Quiz color unification: keep the assessment area in the same navy + orange system. */
.quiz-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 90, 42, 0.045), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f7f8fb 100%);
}
.quiz-return-home {
  min-height: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  border: 0;
  color: rgba(7, 25, 90, 0.58);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 680;
  letter-spacing: 0;
}
.quiz-return-home:hover {
  color: var(--orange);
}
.quiz-return-home span {
  color: var(--orange);
  font-size: 15px;
  line-height: 1;
}
.quiz-status {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.quiz-top .eyebrow {
  color: rgba(7, 25, 90, 0.66);
}
.quiz-top h2,
.question-card h3,
.option-button,
#quiz-progress-text {
  color: var(--ink);
}
.progress-bar {
  background: rgba(255, 90, 42, 0.10);
}
.progress-bar span {
  background: linear-gradient(90deg, #ff6738 0%, var(--orange) 100%);
}
.question-card {
  border-color: rgba(7, 25, 90, 0.10);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(20, 34, 82, 0.055);
}
.option-button {
  border-color: rgba(7, 25, 90, 0.12);
  background: rgba(255, 255, 255, 0.94);
}
.option-button:hover {
  border-color: rgba(255, 90, 42, 0.38);
  background: #fffaf7;
}
.option-button.is-selected {
  border-color: rgba(255, 90, 42, 0.62);
  background: #fff7f2;
  box-shadow: inset 4px 0 0 var(--orange), 0 12px 26px rgba(255, 90, 42, 0.08);
}
.quiz-actions .button-primary {
  background: linear-gradient(180deg, #ff6738 0%, var(--orange) 100%);
  box-shadow: 0 16px 34px rgba(255, 90, 42, 0.18);
}
.quiz-actions .button-secondary {
  color: var(--ink);
  border-color: rgba(7, 25, 90, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

/* Free report page typography: keep all report blocks on one restrained scale. */
#sample:not([hidden]) {
  padding-top: 0 !important;
}
#sample:not([hidden]) .report-shell {
  width: min(calc(100vw - 140px), 840px) !important;
  margin-top: 0 !important;
  margin-inline: auto !important;
}
#sample .free-report-hero,
#sample .free-report-card,
#sample .major-preview-section {
  max-width: 840px;
  margin-inline: auto;
}
#sample .free-report-hero {
  padding: 24px 26px 28px;
}
#sample .report-section-index {
  align-items: center;
  gap: 14px;
}
#sample .report-section-index b {
  width: 50px;
  height: 50px;
  min-width: 50px;
  font-size: 17px;
  line-height: 1;
}
#sample .report-section-index span {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.2;
  white-space: nowrap;
}
#sample .free-report-hero-copy h2,
#sample #result-title {
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}
#sample .profile-en {
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.35;
}
#sample #result-summary {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.72;
}
#sample #result-summary .summary-subtitle {
  display: block;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.28;
  margin: 10px 0 14px;
  font-weight: 800;
}
#sample #profile-keywords span,
#sample .profile-keywords span {
  font-size: clamp(14px, 1vw, 16px);
}
#sample .score-panel h3,
#sample .advice-card h3,
#sample .major-preview-intro h3,
#sample .major-preview-lock h3 {
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.25;
}
#sample .free-report-card,
#sample .free-report-hero,
#sample .major-preview-section {
  font-size: clamp(14px, 1vw, 16px);
}
#sample .advice-card p,
#sample .job-role-card p,
#sample .major-preview-intro p,
#sample .major-preview-lock p {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.68;
}
#sample .job-role-card strong,
#sample .job-role-card h4 {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.35;
}
#sample .panel-head p {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.3;
  white-space: nowrap;
}
#sample .score-row,
#sample .score-row strong {
  font-size: clamp(15px, 1.1vw, 17px);
}
#sample .hero-match-rank .rank-group strong,
#sample .hero-match-rank .rank-group b,
#sample .hero-match-rank .rank-group span,
#sample .hero-match-rank .rank-group p {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.45;
}
#sample .major-preview-card h4,
#sample .major-preview-lock h4 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
}
#sample .major-preview-lock .unlock-pill,
#sample .major-internal-unlock input,
#sample .major-internal-unlock button {
  font-size: 16px;
}

@media (min-width: 700px) and (max-width: 1100px) {
  #sample:not([hidden]) .report-shell {
    width: min(calc(100vw - 140px), 820px) !important;
  }
  #sample .free-report-hero,
  #sample .free-report-card,
  #sample .major-preview-section {
    max-width: 820px;
  }
  #sample .free-report-hero {
    padding: 22px 24px 26px;
  }
  #sample .free-report-hero-copy h2,
  #sample #result-title {
    font-size: clamp(26px, 3vw, 32px);
  }
  #sample #result-summary {
    font-size: 14px;
  }
  #sample .report-section-index span {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  #sample:not([hidden]) .report-shell {
    width: calc(100vw - 32px) !important;
  }
  #sample .report-section-index {
    gap: 14px;
  }
  #sample .report-section-index b {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 18px;
  }
  #sample .report-section-index span {
    font-size: 17px;
    white-space: nowrap;
  }
  #sample .free-report-hero-copy h2,
  #sample #result-title {
    font-size: 30px;
  }
  #sample #result-summary .summary-subtitle {
    font-size: 22px;
  }
  #sample #result-summary,
  #sample .advice-card p,
  #sample .job-role-card p,
  #sample .major-preview-intro p,
  #sample .major-preview-lock p {
    font-size: 16px;
    line-height: 1.72;
  }
  #sample .score-panel h3,
  #sample .advice-card h3,
  #sample .major-preview-intro h3,
  #sample .major-preview-lock h3 {
    font-size: 24px;
  }
}

/* Hide the global nav on focused flows. */
html.is-report-mode .site-header,
body.is-quiz-mode .site-header,
body.is-report-mode .site-header,
body:has(#quiz:not([hidden])) .site-header,
body:has(#payment:not([hidden])) .site-header,
body:has(#student-info:not([hidden])) .site-header,
body:has(#sample:not([hidden])) .site-header {
  display: none !important;
}
#sample:not([hidden]) {
  padding-top: 0 !important;
}
#sample:not([hidden]) .report-shell {
  width: min(calc(100vw - 140px), 840px) !important;
  margin-top: 0 !important;
  margin-inline: auto !important;
}
@media (min-width: 700px) and (max-width: 1100px) {
  #sample:not([hidden]) .report-shell {
    width: min(calc(100vw - 140px), 820px) !important;
  }
}
@media (max-width: 560px) {
  #sample:not([hidden]) .report-shell {
    width: calc(100vw - 32px) !important;
  }
}

/* Report sample compact pass: narrower report column and quieter type scale. */
#sample:not([hidden]) {
  padding-top: 0 !important;
}

#sample:not([hidden]) .report-shell {
  width: min(calc(100vw - 180px), 760px) !important;
  max-width: 760px !important;
  margin-inline: auto !important;
}

#sample .free-report-hero,
#sample .free-report-card,
#sample .major-preview-section {
  max-width: 760px !important;
}

#sample .free-report-hero {
  padding: 22px 24px 26px !important;
}

#sample .free-report-hero-copy h2,
#sample #result-title {
  font-size: clamp(24px, 2.15vw, 30px) !important;
  line-height: 1.14 !important;
}

#sample .profile-en {
  font-size: clamp(11px, 0.85vw, 13px) !important;
}

#sample #result-summary {
  max-width: 620px !important;
  font-size: clamp(13px, 0.9vw, 15px) !important;
  line-height: 1.68 !important;
}

#sample #result-summary .summary-subtitle {
  font-size: clamp(16px, 1.25vw, 18px) !important;
  margin: 8px 0 12px !important;
}

#sample .report-section-index b {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  font-size: 16px !important;
}

#sample .report-section-index span {
  font-size: clamp(14px, 0.95vw, 16px) !important;
}

#sample .score-panel h3,
#sample .advice-card h3,
#sample .major-preview-intro h3,
#sample .major-preview-lock h3 {
  font-size: clamp(18px, 1.35vw, 22px) !important;
}

#sample .advice-card p,
#sample .job-role-card p,
#sample .major-preview-intro p,
#sample .major-preview-lock p {
  font-size: clamp(13px, 0.9vw, 15px) !important;
  line-height: 1.64 !important;
}

#sample .job-role-card strong,
#sample .job-role-card h4 {
  font-size: clamp(15px, 1.1vw, 17px) !important;
}

#sample .profile-keywords span,
#sample #profile-keywords span,
#sample .career-tags span {
  font-size: 14px !important;
  padding: 7px 12px !important;
}

@media (min-width: 700px) and (max-width: 1100px) {
  #sample:not([hidden]) .report-shell {
    width: min(calc(100vw - 180px), 720px) !important;
    max-width: 720px !important;
  }

  #sample .free-report-hero,
  #sample .free-report-card,
  #sample .major-preview-section {
    max-width: 720px !important;
  }
}

@media (max-width: 560px) {
  #sample:not([hidden]) .report-shell {
    width: calc(100vw - 32px) !important;
    max-width: none !important;
  }

  #sample .free-report-hero,
  #sample .free-report-card,
  #sample .major-preview-section {
    max-width: none !important;
  }

  #sample .free-report-hero-copy h2,
  #sample #result-title {
    font-size: 30px !important;
  }

  #sample #result-summary {
    font-size: 16px !important;
  }

  #sample #result-summary .summary-subtitle {
    font-size: 22px !important;
  }
}
body.is-quiz-mode .quiz-section,
body:has(#quiz:not([hidden])) .quiz-section {
  padding-top: 26px;
}

@media (max-width: 560px) {
  .quiz-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }
  .quiz-top h2 {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  .quiz-status {
    padding-top: 2px;
    gap: 12px;
    min-width: 62px;
  }
  .quiz-return-home {
    font-size: 12px;
  }
  .hero-match-rank {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  body.is-quiz-mode .quiz-section,
  body:has(#quiz:not([hidden])) .quiz-section {
    padding-top: 18px;
  }
  .quiz-shell {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }
  .quiz-top {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
  }
  .quiz-top h2 {
    font-size: 21px;
  }
  .question-card {
    padding: 18px;
  }
  .question-card h3 {
    font-size: 20px;
  }
  .option-button {
    padding-right: 56px;
  }
  .quiz-actions .button {
    padding-inline: 8px;
    font-size: 14px;
  }
}

/* Payment page: the paid action happens only after the free assessment result. */
.payment-section {
  min-height: calc(100vh - var(--header-height));
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 90, 42, 0.05), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f7f8fb 100%);
}
.payment-intake-shell {
  max-width: 860px;
  padding-top: 24px;
}
.payment-back {
  min-height: 0;
  margin-bottom: 18px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: rgba(7, 25, 90, 0.62);
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 680;
}
.payment-back span {
  color: var(--orange);
  font-size: 16px;
}
.payment-intake-card {
  padding: 40px;
  border: 1px solid rgba(7, 25, 90, 0.10);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(20, 34, 82, 0.075);
}
.payment-flow {
  margin: 0 0 30px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
  border: 1px solid rgba(7, 25, 90, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.92), rgba(255, 255, 255, 0.96));
}
.payment-flow li {
  position: relative;
  min-height: 42px;
  padding: 8px 18px 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(7, 25, 90, 0.72);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  text-align: center;
  border-radius: 12px;
}
.payment-flow li::after {
  content: "→";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 90, 42, 0.62);
  font-size: 13px;
  font-weight: 760;
}
.payment-flow li:last-child {
  color: var(--ink);
  background: rgba(255, 90, 42, 0.08);
}
.payment-flow li:last-child::after {
  content: "";
}
.payment-flow.payment-flow-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.payment-flow li.is-complete {
  color: #16794c;
  background: rgba(22, 121, 76, 0.07);
}
.payment-flow li.is-current {
  color: #b9380f;
  background: rgba(255, 90, 42, 0.09);
}
.payment-intake-head {
  display: block;
  max-width: 680px;
}
.payment-intake-head h2 {
  margin: 10px 0 14px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.18;
  font-weight: 720;
}
.payment-intake-head p {
  max-width: 610px;
  margin: 0;
  color: rgba(22, 41, 88, 0.68);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 460;
}
.payment-order-summary {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.payment-order-summary div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(7, 25, 90, 0.09);
  border-radius: 16px;
  background: #fbfcff;
}
.payment-order-summary span,
.payment-order-summary strong {
  display: block;
}
.payment-order-summary span {
  margin-bottom: 7px;
  color: rgba(22, 41, 88, 0.56);
  font-size: 12px;
  font-weight: 650;
}
.payment-order-summary strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 720;
}
.payment-demo-panel {
  margin-top: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 90, 42, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 247, 241, 0.98), rgba(255, 255, 255, 0.98));
}
.payment-demo-badge {
  min-width: 72px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  background: var(--orange);
  font-size: 13px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-align: center;
}
.payment-demo-panel strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}
.payment-demo-panel p {
  margin: 7px 0 0;
  color: rgba(22, 41, 88, 0.68);
  font-size: 14px;
  line-height: 1.65;
}
.payment-intake-fields {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.payment-intake-fields label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
}
.payment-intake-fields input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(7, 25, 90, 0.13);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 520;
  outline: none;
}
.payment-intake-fields input:focus {
  border-color: rgba(255, 90, 42, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 90, 42, 0.08);
}
.payment-qr-panel {
  margin-top: 22px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  justify-items: start;
  gap: 18px;
  align-items: center;
  text-align: left;
  border-radius: 20px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 90, 42, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff8f4 100%);
  border: 1px solid rgba(255, 90, 42, 0.18);
  box-shadow: 0 18px 42px rgba(255, 90, 42, 0.10);
}
.payment-qr-card {
  width: 104px;
  height: 104px;
  padding: 9px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(7, 25, 90, 0.10);
  box-shadow: 0 14px 34px rgba(20, 34, 82, 0.10);
}
.payment-qr-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.payment-qr-panel strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 760;
}
.payment-qr-panel p {
  max-width: 460px;
  margin: 8px 0 0;
  color: rgba(22, 41, 88, 0.66);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 500;
}
.payment-consent {
  margin-top: 22px;
  padding: 16px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(7, 25, 90, 0.08);
  border-radius: 16px;
  background: #fbfcff;
  color: rgba(22, 41, 88, 0.68);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 520;
}
.payment-consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--orange);
  flex: 0 0 auto;
}
.payment-intake-actions {
  margin-top: 22px;
}
.payment-intake-actions .button {
  width: 100%;
}
@media (max-width: 760px) {
  .payment-intake-shell {
    width: calc(100vw - 32px);
  }
  .payment-intake-card {
    padding: 24px;
  }
  .payment-flow {
    margin-bottom: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .payment-flow.payment-flow-three {
    grid-template-columns: 1fr;
  }
  .payment-flow.payment-flow-three li::after {
    content: "";
  }
  .payment-flow li {
    min-height: 38px;
    justify-content: flex-start;
    text-align: left;
    font-size: 12px;
  }
  .payment-flow li:nth-child(2n)::after,
  .payment-flow li:last-child::after {
    content: "";
  }
  .payment-intake-head h2 {
    font-size: 28px;
    line-height: 1.22;
  }
  .payment-intake-head p {
    font-size: 15px;
    line-height: 1.62;
  }
  .payment-order-summary {
    grid-template-columns: 1fr;
  }
  .payment-demo-panel {
    grid-template-columns: 1fr;
  }
  .payment-demo-badge {
    width: fit-content;
  }
  .payment-intake-fields {
    margin-top: 24px;
    gap: 14px;
  }
  .payment-intake-fields input {
    height: 48px;
  }
  .payment-intake-fields {
    grid-template-columns: 1fr;
  }
  .payment-qr-panel {
    padding: 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }
  .payment-qr-card {
    width: 92px;
    height: 92px;
  }
  .payment-qr-panel strong {
    font-size: 16px;
  }
  .payment-qr-panel p {
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Student info page: compact two-column intake layout. */
.student-section {
  min-height: calc(100vh - 86px);
  padding: 54px 0 48px;
  background: var(--soft);
}
#student-info.student-section > .lead-layout {
  width: min(calc(100vw - 120px), 1040px) !important;
  max-width: 1040px !important;
  margin-inline: auto !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px !important;
  gap: 64px;
  align-items: center;
}
.student-section .student-copy {
  width: 100%;
  max-width: 500px;
  padding-top: 0;
}
.student-section .student-copy .eyebrow {
  margin-bottom: 10px;
  color: rgba(22, 41, 88, 0.48);
}
.student-section .student-copy h2 {
  max-width: 460px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 760;
  letter-spacing: 0;
}
.student-section .student-copy > p {
  max-width: 430px;
  margin: 0;
  color: rgba(22, 41, 88, 0.62);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 520;
}
.student-section .student-copy > .student-payment-expectation {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 42, 0.2);
  border-radius: 14px;
  color: rgba(126, 47, 20, 0.86);
  background: rgba(255, 247, 241, 0.92);
  font-size: 13px;
  line-height: 1.6;
}
.student-payment-expectation strong {
  color: #b9380f;
}
.student-section .assessment-note {
  max-width: 430px;
  margin-top: 34px;
}
.student-section .assessment-note h3 {
  margin-bottom: 10px;
  color: rgba(22, 41, 88, 0.70);
  font-size: 16px;
  font-weight: 650;
}
.student-section .assessment-note ul {
  gap: 6px;
}
.student-section .assessment-note li {
  color: rgba(22, 41, 88, 0.56);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 450;
}
.student-section .assessment-note strong {
  color: rgba(22, 41, 88, 0.68);
  font-weight: 620;
}
.student-section #student-form {
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  padding: 14px 16px;
  grid-template-columns: 1fr !important;
  column-gap: 0;
  row-gap: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(7, 25, 90, 0.10);
  box-shadow: 0 20px 58px rgba(20, 34, 82, 0.07);
}
.student-form-head {
  grid-column: 1 / -1;
  margin: 0 0 2px;
}
.student-form-head p {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}
.student-form-head span {
  display: block;
  color: rgba(22, 41, 88, 0.56);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 460;
}
.student-section #student-form label {
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
}
.student-section #student-form input,
.student-section #student-form select {
  height: 40px;
  border-radius: 11px;
  padding-inline: 13px;
}
.student-section #student-form .form-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
}
.student-section #student-form .button {
  min-width: 128px;
  height: 38px;
}
.student-section #student-form .form-actions .button::after {
  content: none;
}

@media (max-width: 980px) {
  #student-info.student-section > .lead-layout {
    width: min(calc(100vw - 44px), 440px) !important;
    max-width: 440px !important;
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .student-section .student-copy > p {
    font-size: 13px;
    line-height: 1.34;
  }
}

@media (min-width: 981px) {
  .student-section {
    padding: 54px 0 48px;
  }
  #student-info.student-section > .lead-layout {
    width: min(calc(100vw - 120px), 1040px) !important;
    max-width: 1040px !important;
    grid-template-columns: minmax(0, 1fr) 440px !important;
    gap: 64px;
    align-items: center;
  }
  .student-section .student-copy h2 {
    max-width: 460px;
    font-size: clamp(34px, 4vw, 52px);
  }
  .student-section .student-copy > p {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.75;
  }
  .student-section .assessment-note {
    max-width: 430px;
    margin-top: 34px;
  }
  .student-section #student-form {
    grid-template-columns: 1fr !important;
    align-content: start;
    padding: 14px 16px;
  }
}

@media (max-width: 560px) {
  .student-section {
    padding: 14px 0 18px;
  }
  #student-info.student-section > .lead-layout {
    width: calc(100vw - 32px) !important;
    max-width: 440px !important;
    gap: 8px;
  }
  .student-section .student-copy h2 {
    font-size: 25px;
  }
  .student-section .assessment-note {
    margin-top: 8px;
  }
  .student-section #student-form {
    padding: 14px;
  }
  .student-section #student-form .form-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .student-section #student-form .button {
    width: 100%;
  }
}

/* Blocking states shared by assessment progress, report generation and PDF readiness. */
.generation-loading-modal,
.report-pdf-ready-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(7, 20, 57, 0.52);
  backdrop-filter: blur(5px);
}

.generation-loading-modal[hidden],
.report-pdf-ready-modal[hidden] {
  display: none;
}

.generation-loading-card {
  width: min(calc(100vw - 40px), 320px);
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  box-sizing: border-box;
  padding: 34px 28px;
  border: 1px solid rgba(255, 90, 42, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(7, 25, 90, 0.28);
  text-align: center;
}

.generation-loading-spinner {
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  border: 5px solid rgba(255, 90, 42, 0.18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: generation-loading-spin 0.82s linear infinite;
}

.generation-loading-card p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 720;
}

.report-pdf-ready-card {
  width: min(calc(100vw - 40px), 360px);
  display: grid;
  justify-items: center;
  gap: 14px;
  box-sizing: border-box;
  padding: 32px 26px 24px;
  border: 1px solid rgba(255, 90, 42, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(7, 25, 90, 0.28);
  text-align: center;
}

.report-pdf-ready-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 26px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(255, 90, 42, 0.24);
}

.report-pdf-ready-card h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.report-pdf-ready-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.report-pdf-ready-link {
  width: 100%;
  margin-top: 4px;
}

.report-pdf-ready-later {
  padding: 4px 10px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

body.has-generation-loading {
  overflow: hidden;
}

@keyframes generation-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .generation-loading-spinner {
    animation-duration: 1.6s;
  }
}

/* Report sample width lock: every report card uses the same visual measure. */
#sample:not([hidden]) {
  --report-card-width: 760px;
  --report-card-gutter: 180px;
}

#sample:not([hidden]) .report-shell {
  width: min(calc(100vw - var(--report-card-gutter)), var(--report-card-width)) !important;
  max-width: var(--report-card-width) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

#sample .free-report-hero,
#sample .free-report-card,
#sample .major-preview-section {
  width: 100% !important;
  max-width: var(--report-card-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

#sample .score-panel,
#sample .hero-score-panel,
#sample .advice-list,
#sample .advice-card,
#sample .major-preview-body,
#sample .major-preview-lock,
#sample .major-locked-preview,
#sample .major-internal-unlock {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 700px) and (max-width: 1100px) {
  #sample:not([hidden]) {
    --report-card-width: 720px;
    --report-card-gutter: 180px;
  }
}

@media (max-width: 560px) {
  #sample:not([hidden]) {
    --report-card-gutter: 32px;
  }

  #sample:not([hidden]) .report-shell {
    width: calc(100vw - var(--report-card-gutter)) !important;
    max-width: none !important;
  }

  #sample .free-report-hero,
  #sample .free-report-card,
  #sample .major-preview-section {
    max-width: none !important;
  }
}

/* Report page recovery pass: keep the free result readable without turning it into a long PDF page. */
#sample:not([hidden]) {
  --report-card-width: 980px;
  --report-card-gutter: 128px;
}

#sample .free-report-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) !important;
  gap: 24px 28px !important;
  align-items: start !important;
}

#sample .free-report-hero .report-section-index {
  grid-column: 1 / -1;
}

#sample #result-summary {
  max-width: 100% !important;
}

#sample .hero-score-panel {
  align-self: stretch;
}

#sample .advice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start;
}

#sample .advice-list > article {
  padding: 20px !important;
  gap: 16px !important;
}

#sample .job-role-list {
  gap: 10px !important;
}

#sample .job-role-card {
  padding: 12px 14px !important;
}

#sample .job-role-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#sample .job-role-card em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#sample .major-preview-section {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

#sample .major-preview-body {
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 700px) and (max-width: 1100px) {
  #sample:not([hidden]) {
    --report-card-width: 900px;
    --report-card-gutter: 96px;
  }
}

@media (max-width: 860px) {
  #sample .free-report-hero,
  #sample .advice-list {
    grid-template-columns: 1fr !important;
  }

  #sample .major-preview-body {
    max-width: none;
  }
}

@media (max-width: 560px) {
  #sample:not([hidden]) {
    --report-card-gutter: 32px;
  }

  #sample .job-role-card p,
  #sample .job-role-card em {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

/* ADC result page polish */
#sample .free-report-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr) !important;
  gap: 28px !important;
}

#sample .free-report-hero-copy,
#sample .free-report-hero-copy #result-summary {
  width: 100% !important;
  max-width: none !important;
}

#sample #result-summary,
#sample #result-summary span,
#sample #result-summary span:not(.summary-subtitle) {
  max-width: none !important;
}

#sample .hero-match-rank.adc-generated {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 14px !important;
}

#sample .hero-match-rank.adc-generated .rank-group {
  min-height: 0 !important;
  padding: 14px 14px 12px !important;
  border: 1px solid rgba(8, 38, 96, 0.1) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(7, 25, 90, 0.06) !important;
}

#sample .hero-match-rank.adc-generated .rank-group.rank-high {
  border-color: rgba(255, 90, 42, 0.22) !important;
  background: linear-gradient(180deg, #fff, #fff8f5) !important;
}

#sample .hero-match-rank.adc-generated .rank-title {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  display: block !important;
  margin: 0 0 10px !important;
  color: #ff5a2a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

#sample .hero-match-rank.adc-generated .rank-item {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 0 !important;
}

#sample .hero-match-rank.adc-generated .rank-items {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  min-width: 0 !important;
}

#sample .hero-match-rank.adc-generated .rank-item .code {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 8px !important;
  background: rgba(255, 90, 42, 0.1) !important;
  color: #ff5a2a !important;
  font-weight: 900 !important;
}

#sample .hero-match-rank.adc-generated .rank-item .score {
  color: #082660 !important;
  font-weight: 900 !important;
}

#sample .hero-match-rank.adc-generated .rank-item .delta {
  color: #64728b !important;
  font-size: 12px !important;
}

#sample .advice-list {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

#sample .career-tags {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

#sample .job-role-card {
  padding: 18px 20px !important;
  border: 1px solid rgba(8, 38, 96, 0.12) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #fff, #fbfcff) !important;
  box-shadow: 0 14px 30px rgba(7, 25, 90, 0.05) !important;
}

#sample .job-role-card strong {
  display: block !important;
  margin-bottom: 10px !important;
  color: #082660 !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
}

#sample .job-role-card p {
  display: block !important;
  overflow: visible !important;
  color: #52627d !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

#sample .job-role-card em {
  display: none !important;
}

#sample .role-example-list {
  display: grid !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sample .role-example-list li {
  padding: 9px 12px !important;
  border: 1px solid rgba(8, 38, 96, 0.1) !important;
  border-radius: 12px !important;
  background: #f7f9ff !important;
  color: #204174 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

#sample .major-preview-body {
  max-width: none !important;
  margin: 0 !important;
}

#sample .major-preview-intro,
#sample .major-preview-grid {
  display: none !important;
}

#sample .major-preview-lock {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) !important;
  align-items: end !important;
  gap: 22px !important;
  padding: 28px !important;
  border-radius: 22px !important;
}

#sample .major-preview-lock h4 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

#sample .major-preview-lock p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}

@media (max-width: 860px) {
  #sample .free-report-hero,
  #sample .hero-match-rank.adc-generated,
  #sample .major-preview-lock {
    grid-template-columns: 1fr !important;
  }
}

/* Comment fix: stack profile copy and seven-dimension score panel vertically. */
#sample .report-shell > .free-report-hero,
#sample .free-report-hero {
  grid-template-columns: 1fr !important;
}

#sample .report-shell > .free-report-hero > .report-section-index,
#sample .report-shell > .free-report-hero > .free-report-hero-copy,
#sample .report-shell > .free-report-hero > .hero-score-panel {
  grid-column: 1 / -1 !important;
}

#sample .report-shell > .free-report-hero > .hero-score-panel {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
}

/* Comment fix: simplify the section 03 lock area and remove duplicated title. */
#sample .major-preview-section {
  border-color: rgba(255, 90, 42, 0.28) !important;
  background:
    radial-gradient(circle at 86% 28%, rgba(255, 90, 42, 0.16), transparent 34%),
    linear-gradient(135deg, #fff7f2 0%, #fffdfb 54%, #fff3ed 100%) !important;
  box-shadow: 0 26px 72px rgba(255, 90, 42, 0.12), 0 18px 54px rgba(20, 34, 82, 0.045) !important;
}

#sample .major-preview-section .report-section-index b {
  background: linear-gradient(180deg, #ff7042, #ff512b) !important;
  box-shadow: 0 14px 28px rgba(255, 90, 42, 0.22) !important;
}

#sample .major-preview-section .report-section-index span {
  color: #082660 !important;
  font-size: 15px !important;
}

#sample .major-preview-lock {
  align-items: center !important;
  padding: 4px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sample .major-preview-lock h4 {
  display: none !important;
}

#sample .major-preview-lock > div > span {
  display: inline-flex !important;
  margin: 0 0 10px !important;
  color: #ff512b !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

#sample .major-preview-lock p {
  max-width: 540px !important;
  margin: 0 !important;
  color: #3f4f6f !important;
  font-size: 15px !important;
  line-height: 1.78 !important;
}

#sample .major-preview-lock ul {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 8px !important;
  list-style: none !important;
  filter: blur(2px) !important;
  opacity: 0.5 !important;
}

#sample .major-preview-lock li {
  padding-left: 16px !important;
  color: #8f432c !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

#sample .major-preview-lock .unlock-pill {
  grid-column: 1 / 2 !important;
  width: min(100%, 360px) !important;
  margin-top: 20px !important;
  justify-self: start !important;
  background: linear-gradient(180deg, #ff6a3a, #ff512b) !important;
  box-shadow: 0 18px 36px rgba(255, 90, 42, 0.26) !important;
}

@media (max-width: 860px) {
  #sample .major-preview-lock .unlock-pill {
    grid-column: 1 !important;
    width: 100% !important;
  }
}

/* Resume an unfinished assessment saved on this device. */
.resume-assessment-dialog {
  width: min(calc(100vw - 32px), 520px);
  max-width: 520px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 34px 90px rgba(7, 25, 90, 0.28);
}

.resume-assessment-dialog::backdrop {
  background: rgba(7, 20, 57, 0.52);
  backdrop-filter: blur(5px);
}

.resume-assessment-card {
  position: relative;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 42, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 90, 42, 0.14), transparent 34%),
    #fff;
}

.resume-assessment-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #ff7042, var(--orange));
  box-shadow: 0 14px 28px rgba(255, 90, 42, 0.24);
  font-size: 28px;
  font-weight: 800;
}

.resume-assessment-card .eyebrow {
  margin: 0 0 8px;
}

.resume-assessment-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.22;
}

.resume-assessment-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.resume-assessment-card > strong {
  margin-top: 20px;
  padding: 10px 14px;
  display: inline-flex;
  border-radius: 999px;
  color: var(--orange);
  background: #fff4ef;
  font-size: 14px;
}

.resume-assessment-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}

.resume-assessment-actions .button {
  width: 100%;
  justify-content: center;
}

.resume-assessment-card small {
  margin-top: 14px;
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 560px) {
  .resume-assessment-card {
    padding: 28px 22px 24px;
  }

  .resume-assessment-card h2 {
    font-size: 26px;
  }

  .resume-assessment-actions {
    grid-template-columns: 1fr;
  }

  .resume-assessment-actions .button-primary {
    grid-row: 1;
  }
}

/* Separate, explicit actions for viewing, downloading and sharing a prepared report. */
#sample .major-preview-lock .report-pdf-actions {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 760px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#sample .major-preview-lock .report-pdf-actions[hidden] {
  display: none !important;
}

#sample .major-preview-lock .report-pdf-actions .unlock-pill {
  grid-column: auto !important;
  width: 100% !important;
  margin-top: 0 !important;
  justify-self: stretch !important;
}

#sample .major-preview-lock .report-pdf-actions .report-pdf-download-link,
#sample .major-preview-lock .report-pdf-actions .report-pdf-share {
  border: 1px solid rgba(7, 25, 90, 0.18) !important;
  color: var(--ink) !important;
  background: #fff !important;
  box-shadow: none !important;
}

#sample .major-preview-lock .report-pdf-actions .report-pdf-share {
  font: inherit;
  cursor: pointer;
}

.report-pdf-ready-card {
  width: min(calc(100vw - 40px), 440px);
}

.report-pdf-ready-actions {
  width: 100%;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.report-pdf-ready-actions .button {
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-content: center;
}

.report-pdf-ready-actions .report-pdf-ready-share {
  grid-column: 1 / -1;
  border-color: rgba(7, 25, 90, 0.18);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.report-pdf-ready-download-link {
  border: 1px solid rgba(7, 25, 90, 0.18);
  color: var(--ink);
  background: #fff;
}

.report-pdf-ready-status[data-type="success"] {
  color: #167647;
}

.report-pdf-ready-status[data-type="error"] {
  color: #b42318;
}

@media (max-width: 680px) {
  #sample .major-preview-lock .report-pdf-actions,
  .report-pdf-ready-actions {
    grid-template-columns: 1fr;
  }

  .report-pdf-ready-actions .report-pdf-ready-share {
    grid-column: 1;
  }
}

/* Public assessment sharing: generic entry link only; personal results stay private. */
.assessment-share-trigger::after,
.assessment-share-action::after {
  content: none;
}

.assessment-share-trigger {
  border-color: rgba(7, 25, 90, 0.18);
}

.assessment-share-entry {
  width: 100%;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(7, 25, 90, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(20, 34, 82, 0.055);
}

.assessment-share-entry-result {
  max-width: var(--report-card-width, 980px);
  margin: 18px auto 0;
}

.assessment-share-entry-payment {
  margin-top: 26px;
  padding: 20px;
  border-color: rgba(7, 25, 90, 0.08);
  background: #fbfcff;
  box-shadow: none;
}

.assessment-share-entry-copy {
  min-width: 0;
}

.assessment-share-entry-copy span,
.assessment-share-entry-copy strong,
.assessment-share-entry-copy small {
  display: block;
}

.assessment-share-entry-copy span {
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.assessment-share-entry-copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 760;
}

.assessment-share-entry-copy small {
  max-width: 600px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.assessment-share-entry .button {
  min-width: 176px;
}

.assessment-share-modal,
.wechat-share-guide {
  position: fixed;
  inset: 0;
  z-index: 10020;
}

.assessment-share-modal[hidden],
.wechat-share-guide[hidden] {
  display: none !important;
}

.assessment-share-modal {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: max(20px, env(safe-area-inset-top));
}

.assessment-share-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(7, 25, 90, 0.54);
  backdrop-filter: blur(4px);
}

.assessment-share-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: 92vh;
  max-height: min(92dvh, 820px);
  padding: 26px 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 -28px 90px rgba(7, 25, 90, 0.24);
}

.assessment-share-sheet:focus {
  outline: none;
}

.assessment-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.assessment-share-head > div {
  min-width: 0;
}

.assessment-share-head h2 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.assessment-share-close {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(7, 25, 90, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
}

.assessment-share-close:focus-visible,
.assessment-share-action:focus-visible,
.assessment-share-backdrop:focus-visible {
  outline: 2px solid rgba(255, 90, 42, 0.68);
  outline-offset: 3px;
}

#assessment-share-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.assessment-share-preview {
  margin: 20px 0 0;
}

.assessment-share-preview img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border: 1px solid rgba(7, 25, 90, 0.1);
  border-radius: 16px;
  background: var(--soft);
  box-shadow: 0 14px 36px rgba(7, 25, 90, 0.08);
  -webkit-touch-callout: default;
}

.assessment-share-preview figcaption {
  margin-top: 10px;
  color: rgba(7, 25, 90, 0.5);
  font-size: 12px;
  line-height: 1.5;
}

.assessment-share-actions {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.assessment-share-actions .button {
  width: 100%;
  min-width: 0;
  padding-inline: 18px;
}

.assessment-share-actions .button:first-child {
  grid-column: 1 / -1;
}

.assessment-share-status {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.assessment-share-status[data-type="success"] { color: #167647; }
.assessment-share-status[data-type="error"] { color: #b42318; }
.assessment-share-status[data-type="info"] { color: var(--muted); }

body.has-assessment-share {
  overflow: hidden;
}

.wechat-share-guide {
  padding: max(72px, calc(env(safe-area-inset-top) + 54px)) 18px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background: rgba(7, 25, 90, 0.72);
}

.wechat-share-guide-card {
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.wechat-share-guide-card h2 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.wechat-share-guide-card > p:not(.eyebrow) {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.wechat-share-guide-card .button {
  width: 100%;
}

@media (min-width: 700px) {
  .assessment-share-modal {
    align-items: center;
    padding: 32px;
  }
  .assessment-share-sheet {
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .assessment-share-entry {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .assessment-share-entry .button {
    width: 100%;
    min-width: 0;
  }
  .assessment-share-sheet {
    padding-inline: 18px;
  }
  .assessment-share-head h2 {
    font-size: 22px;
  }
  .assessment-share-actions {
    grid-template-columns: 1fr;
  }
  .assessment-share-actions .button:first-child {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-share-modal,
  .wechat-share-guide {
    scroll-behavior: auto;
  }
}
