:root {
  --ink: #061a2b;
  --muted: #526173;
  --soft: #eef3f6;
  --paper: #ffffff;
  --warm: #f7f2e8;
  --navy: #061a2b;
  --navy-deep: #031321;
  --blue: #0575a9;
  --teal: #24a7b5;
  --gold: #caa352;
  --green: #6aa76e;
  --line: rgba(6, 26, 43, 0.13);
  --shadow: 0 22px 70px rgba(6, 26, 43, 0.12);
  --radius: 8px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(22px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 156px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 20px);
  margin-left: auto;
  flex: 1;
  min-width: 0;
  color: #3f4e5e;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: inherit;
}

.nav-content {
  min-width: 0;
}

.nav-login-pages {
  margin-left: auto;
  padding-left: clamp(12px, 1.4vw, 18px);
  border-left: 1px solid rgba(6, 26, 43, 0.12);
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
}

.header-cta,
.button-primary {
  color: #fff;
  background: var(--navy);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button-light {
  color: var(--navy);
  background: #fff;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-button span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--ink);
  border-radius: 999px;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  z-index: 49;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 12px 22px 24px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
  color: var(--ink);
  font-weight: 900;
}

.mobile-nav-tools-start {
  margin-top: 8px;
  border-top: 1px solid rgba(6, 26, 43, 0.16);
}

body.medical-page {
  color: #111d2b;
  background: #f6f8fb;
}

body.rewards-page {
  color: #111d2b;
  background: #f7f9fb;
}

.medical-page p {
  color: #5a6573;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
}

.rewards-page p {
  color: #5a6573;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
}

.medical-page h2 {
  font-size: clamp(34px, 4.1vw, 58px);
}

.medical-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(22px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
  box-shadow: 0 10px 36px rgba(6, 26, 43, 0.05);
  backdrop-filter: blur(22px);
}

.rewards-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(22px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
  box-shadow: 0 10px 36px rgba(6, 26, 43, 0.05);
  backdrop-filter: blur(22px);
}

.medical-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rewards-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.medical-brand img {
  width: 156px;
  flex: 0 0 auto;
}

.rewards-brand img {
  width: 156px;
  flex: 0 0 auto;
}

.medical-brand span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.rewards-brand span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(6, 26, 43, 0.05);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.back-link:hover {
  color: var(--blue);
  border-color: rgba(5, 117, 169, 0.34);
  transform: translateY(-1px);
}

.standalone-section {
  padding: clamp(68px, 7vw, 112px) clamp(22px, 5vw, 64px);
}

.standalone-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.medical-hero {
  min-height: calc(100svh - 110px);
  display: grid;
  align-items: center;
  padding-block: clamp(22px, 2.2vw, 34px);
  background:
    linear-gradient(180deg, #fff 0%, #f9fbfd 48%, #eef4f6 100%);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
}

.rewards-hero {
  min-height: calc(100svh - 110px);
  display: grid;
  align-items: center;
  padding-block: clamp(34px, 4vw, 56px);
  background:
    linear-gradient(180deg, #fff 0%, #f8fbfd 48%, #eef4f6 100%);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
}

.marketing-page .rewards-hero {
  min-height: auto;
  padding-block: clamp(42px, 5vw, 72px);
}

.medical-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.86fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.rewards-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.medical-page h1 {
  max-width: 900px;
  margin-bottom: 26px;
  color: #1c2d3d;
  font-size: clamp(66px, 8vw, 116px);
  line-height: 0.96;
}

.rewards-page h1 {
  max-width: 980px;
  margin-bottom: 26px;
  color: #1c2d3d;
  font-size: clamp(58px, 7.6vw, 108px);
  line-height: 0.98;
}

.medical-page h1 span {
  display: block;
  margin-top: 18px;
  color: #2f465a;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.12;
}

.rewards-page h1 span {
  display: block;
  margin-top: 18px;
  color: #2f465a;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.12;
}

.marketing-page h1 {
  max-width: none;
  font-size: clamp(52px, 6vw, 78px);
  white-space: nowrap;
}

.marketing-page h1 span {
  font-size: clamp(30px, 3.6vw, 44px);
}

.marketing-page h1 .headline-line {
  display: block;
  margin-top: 10px;
  color: #2f465a;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  white-space: nowrap;
}

.marketing-page h1 .headline-line-main {
  margin-top: 0;
  color: #1c2d3d;
  font-size: 1em;
  line-height: 0.98;
}

.medical-hero-lead {
  max-width: 820px;
  color: #526173;
  font-size: clamp(19px, 1.8vw, 24px);
}

.rewards-hero-lead {
  max-width: 760px;
  color: #526173;
  font-size: clamp(19px, 1.8vw, 24px);
}

.reward-visual {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #061a2b 0%, #0b3046 58%, #0d5863 100%);
  background-size: 68px 68px, 68px 68px, auto;
  box-shadow: 0 34px 96px rgba(6, 26, 43, 0.24);
}

.reward-visual div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.reward-visual span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}

.reward-visual strong {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.reward-visual p {
  grid-column: 2;
  margin: -6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.marketing-page .reward-visual {
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
}

.marketing-page .reward-visual div {
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px;
}

.marketing-page .reward-visual span {
  width: 38px;
  height: 38px;
}

.marketing-page .reward-visual strong {
  font-size: 20px;
}

.marketing-page .reward-visual p {
  font-size: 15px;
  line-height: 1.45;
}

.reward-directory {
  background: #fff;
}

.marketing-directory {
  padding-top: clamp(14px, 1.6vw, 16px);
}

.marketing-directory .wide-heading {
  margin-bottom: 10px;
}

.marketing-directory .wide-heading h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
}

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

.reward-card {
  min-height: 320px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: 0 18px 48px rgba(6, 26, 43, 0.06);
}

.reward-card span {
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.reward-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.reward-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

.reward-card .button {
  margin-top: auto;
}

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

.marketing-card-grid .reward-card {
  min-height: 330px;
}

.hero-dossier {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #061a2b 0%, #0b3046 56%, #0c5461 100%);
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 34px 96px rgba(6, 26, 43, 0.24);
}

.hero-dossier::before {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.dossier-topline,
.dossier-metrics,
.dossier-route article,
.dossier-note {
  position: relative;
  z-index: 1;
}

.dossier-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dossier-topline span {
  color: #8ed6e0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dossier-topline strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.dossier-route {
  display: grid;
  gap: 10px;
}

.dossier-route article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.dossier-route article > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #061a2b;
  background: #fff;
  font-size: 20px;
  font-weight: 900;
}

.dossier-route article:nth-child(2) > span {
  background: #8ed6e0;
}

.dossier-route article:nth-child(3) > span {
  background: #e0c06f;
}

.dossier-route strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.dossier-route p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.dossier-route article:nth-child(2) p,
.dossier-route article:nth-child(3) p {
  white-space: nowrap;
}

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

.dossier-metrics div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.dossier-metrics strong {
  display: block;
  color: #061a2b;
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.dossier-metrics span {
  display: block;
  margin-top: 8px;
  color: #526173;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.dossier-note {
  margin: 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(6, 26, 43, 0.34);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.misconception-band {
  background: #fff;
}

.wide-heading {
  max-width: 980px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.wide-heading h2 {
  max-width: 980px;
}

.wide-heading p {
  max-width: 920px;
}

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

.misconception-grid article,
.stage-deep,
.cancer-takeaway,
.source-item {
  border: 1px solid rgba(6, 26, 43, 0.11);
  border-radius: var(--radius);
  background: #fff;
}

.misconception-grid article {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 18px 48px rgba(6, 26, 43, 0.06);
}

.misconception-grid span,
.stage-label {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.misconception-grid p {
  margin: 0;
}

.misconception-grid article:nth-child(2) h3,
.misconception-grid article:nth-child(3) h3 {
  white-space: nowrap;
  font-size: clamp(27px, 2.7vw, 32px);
}

.misconception-grid strong {
  margin-top: 8px;
  color: #16283a;
  font-size: 17px;
  line-height: 1.55;
}

.stage-deep-list {
  display: grid;
  gap: 18px;
}

.stage-deep {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 254, 255, 0.98));
  box-shadow: 0 24px 70px rgba(6, 26, 43, 0.08);
}

.stage-number {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 30px;
  font-weight: 900;
}

.stage-deep:nth-child(2) .stage-number {
  background: var(--teal);
}

.stage-deep:nth-child(3) .stage-number {
  background: var(--gold);
}

.stage-deep h3 {
  max-width: 900px;
  font-size: clamp(28px, 3.6vw, 44px);
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(6, 26, 43, 0.1);
}

.detail-columns div {
  padding: 0 22px 0 0;
  background: transparent;
}

.detail-columns div + div {
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(6, 26, 43, 0.1);
}

.detail-columns h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.detail-columns ul,
.cancer-takeaway ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-columns li,
.cancer-takeaway li {
  position: relative;
  padding-left: 22px;
  color: #435264;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.62;
}

.detail-columns li::before,
.cancer-takeaway li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.evidence-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #061a2b 0%, #0a3149 58%, #0c5362 100%);
  background-size: 80px 80px, 80px 80px, auto;
}

.evidence-band .eyebrow,
.evidence-band h2,
.evidence-band h3,
.evidence-band p {
  color: #fff;
}

.evidence-band p {
  color: rgba(255, 255, 255, 0.78);
}

.evidence-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.evidence-stat-grid article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.evidence-stat-grid strong {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
}

.evidence-stat-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 900;
}

.cancer-takeaway {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  margin-top: 16px;
  padding: clamp(26px, 4vw, 42px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.cancer-takeaway h3 {
  margin-bottom: 12px;
}

.cancer-takeaway p {
  margin: 0;
}

.cancer-takeaway li {
  color: rgba(255, 255, 255, 0.84);
}

.budget-table {
  overflow: hidden;
  border: 1px solid rgba(6, 26, 43, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 58px rgba(6, 26, 43, 0.07);
}

.budget-table > div {
  display: grid;
  grid-template-columns: 150px minmax(260px, 0.96fr) minmax(280px, 1.04fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.budget-table > div:last-child {
  border-bottom: 0;
}

.budget-table > div:first-child {
  color: #fff;
  background: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.budget-table span,
.budget-table strong,
.budget-table p {
  min-width: 0;
  margin: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.budget-table > div:first-child span {
  color: #fff;
}

.budget-table strong {
  color: var(--blue);
  font-size: 20px;
}

.budget-table p {
  color: #465668;
  font-size: 16px;
}

.budget-table span:last-child,
.budget-table strong:last-child,
.budget-table p:last-child {
  border-right: 0;
}

.source-band {
  background: #fff;
}

.source-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.source-layout h2 {
  white-space: nowrap;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-item {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
}

.source-list span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.source-list strong {
  color: var(--ink);
  font-size: 18px;
}

.source-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  word-break: break-all;
}

.medical-footer {
  padding: 36px clamp(22px, 5vw, 64px);
  color: #fff;
  background: var(--navy);
}

.rewards-footer {
  padding: 36px clamp(22px, 5vw, 64px);
  color: #fff;
  background: var(--navy);
}

.medical-footer .standalone-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rewards-footer .standalone-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.medical-footer img {
  width: 140px;
  flex: 0 0 auto;
}

.rewards-footer img {
  width: 140px;
  flex: 0 0 auto;
}

.medical-footer p {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.rewards-footer p {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.medical-footer strong {
  color: #fff;
  font-size: 15px;
}

.rewards-footer strong {
  color: #fff;
  font-size: 15px;
}

body.investment-tool-page {
  background: #f7f9fb;
}

.investment-hero .reward-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #061a2b 0%, #07314a 54%, #07566a 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.investment-tool-page .investment-hero h1 {
  max-width: 560px;
  font-size: clamp(54px, 6vw, 76px);
  line-height: 1.04;
  word-break: keep-all;
}

.investment-tool-page .investment-hero .rewards-hero-lead {
  max-width: 680px;
}

.investment-tool-section {
  background:
    linear-gradient(90deg, rgba(6, 26, 43, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 26, 43, 0.035) 1px, transparent 1px),
    #f7f9fb;
  background-size: 72px 72px, 72px 72px, auto;
}

.investment-tool-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 90px rgba(6, 26, 43, 0.1);
}

.investment-tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.investment-tool-top h2 {
  margin: 4px 0 3px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.investment-tool-top p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
}

.investment-tool-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.tool-progress {
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.tool-progress span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.progress-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.progress-rail i {
  height: 5px;
  border-radius: 999px;
  background: rgba(6, 26, 43, 0.12);
}

.progress-rail i.on {
  background: var(--blue);
}

.investment-tool-page .advisor-layout {
  display: grid;
  grid-template-columns: minmax(320px, 360px) 1fr;
  min-height: 640px;
  background: #f7f9fb;
}

.investment-tool-page .question-pane {
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: clamp(22px, 2.6vw, 30px);
}

.investment-tool-page .result-pane {
  overflow-y: auto;
  padding: clamp(22px, 3vw, 34px);
}

.investment-tool-page .step-kicker,
.investment-tool-page .task-tag,
.investment-tool-page .fund-card .role,
.investment-tool-page .opt .tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investment-tool-page .step-q {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.16;
}

.investment-tool-page .step-sub,
.investment-tool-page .content-sub,
.investment-tool-page .note,
.investment-tool-page .fund-card .desc,
.investment-tool-page .opt .od,
.investment-tool-page .summary-tile .k,
.investment-tool-page .metric .mk,
.investment-tool-page .side-item .k {
  color: var(--muted);
}

.investment-tool-page .step-sub {
  margin: 0 0 20px;
  font-size: 16px;
}

.investment-tool-page .home-brief,
.investment-tool-page .option-stack,
.investment-tool-page .fund-list,
.investment-tool-page .side-summary {
  display: grid;
  gap: 12px;
}

.investment-tool-page .brief-line {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.investment-tool-page .brief-line b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--soft);
}

.investment-tool-page .choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.investment-tool-page .task-card,
.investment-tool-page .opt,
.investment-tool-page .chip,
.investment-tool-page .action-button,
.investment-tool-page .summary-tile,
.investment-tool-page .fund-card,
.investment-tool-page .metric,
.investment-tool-page .warn,
.investment-tool-page .quote,
.investment-tool-page .checklist,
.investment-tool-page .calc-box,
.investment-tool-page .placeholder-board,
.investment-tool-page .payment-list {
  border-radius: var(--radius);
}

.investment-tool-page .task-card {
  min-height: 280px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 18px 48px rgba(6, 26, 43, 0.06);
}

.investment-tool-page .task-card:hover {
  border-color: rgba(5, 117, 169, 0.42);
}

.investment-tool-page .task-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-size: 26px;
  font-weight: 900;
}

.investment-tool-page .task-card.alt .task-mark {
  color: var(--ink);
  background: var(--gold);
}

.investment-tool-page .task-card h2,
.investment-tool-page .content-title,
.investment-tool-page .placeholder-board h2 {
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
}

.investment-tool-page .task-card p,
.investment-tool-page .placeholder-board p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
}

.investment-tool-page .placeholder-board {
  display: grid;
  align-content: center;
  min-height: 320px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px dashed rgba(6, 26, 43, 0.18);
  background: #fff;
}

.investment-tool-page .field {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.investment-tool-page .input-row {
  position: relative;
}

.investment-tool-page input[type="number"],
.investment-tool-page input[type="text"],
.investment-tool-page select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 12px 58px 12px 14px;
  font-size: 20px;
  font-weight: 900;
}

.investment-tool-page input[type="number"]:focus,
.investment-tool-page input[type="text"]:focus,
.investment-tool-page select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(5, 117, 169, 0.12);
}

.investment-tool-page .suffix {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.investment-tool-page .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.investment-tool-page .chip {
  border: 1px solid var(--line);
  padding: 9px 13px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.investment-tool-page .chip.sel,
.investment-tool-page .opt.sel {
  border-color: rgba(5, 117, 169, 0.42);
  background: #eef7fb;
}

.investment-tool-page .chip.sel {
  color: #fff;
  background: var(--navy);
}

.investment-tool-page .opt {
  width: 100%;
  min-height: 78px;
  border: 1px solid var(--line);
  padding: 14px 15px;
  background: #fff;
  text-align: left;
}

.investment-tool-page .opt.sel {
  box-shadow: inset 4px 0 0 var(--blue);
}

.investment-tool-page .opt .tag {
  display: block;
  margin-bottom: 4px;
}

.investment-tool-page .opt .ot {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.investment-tool-page .opt .od {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.investment-tool-page .nav-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.investment-tool-page .action-button {
  flex: 1;
  min-height: 52px;
  border: 0;
  padding: 12px 16px;
  color: #fff;
  background: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.investment-tool-page .action-button.secondary {
  flex: 0 0 104px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.investment-tool-page .action-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.investment-tool-page .summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.investment-tool-page .summary-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.investment-tool-page .summary-tile,
.investment-tool-page .fund-card,
.investment-tool-page .metric,
.investment-tool-page .calc-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
}

.investment-tool-page .summary-tile .v,
.investment-tool-page .metric .mv,
.investment-tool-page .side-item .v,
.investment-tool-page .fund-card .name {
  color: var(--ink);
  font-weight: 900;
}

.investment-tool-page .summary-tile .v {
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.18;
}

.investment-tool-page .result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.95fr);
  gap: 16px;
}

.investment-tool-page .section-block {
  margin-bottom: 16px;
}

.investment-tool-page .section-label {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.investment-tool-page .alloc-bar {
  display: flex;
  min-height: 42px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
}

.investment-tool-page .alloc-seg {
  display: grid;
  place-items: center;
  padding: 8px;
  min-width: 0;
  text-align: center;
  line-height: 1.15;
  isolation: isolate;
}

.investment-tool-page .alloc-seg span,
.investment-tool-page .alloc-seg b {
  display: block;
  position: relative;
  z-index: 1;
  color: inherit;
}

.investment-tool-page .alloc-seg-dark {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(3, 19, 33, 0.4);
}

.investment-tool-page .alloc-seg-light {
  color: var(--navy-deep) !important;
  text-shadow: none;
}

.investment-tool-page .alloc-seg-taiwanTech {
  background: var(--navy-deep) !important;
  color: #fff !important;
}

.investment-tool-page .alloc-seg span {
  font-size: 12px;
}

.investment-tool-page .alloc-seg b {
  font-size: 16px;
}

.investment-tool-page .seg-core {
  background: var(--navy);
}

.investment-tool-page .seg-acc {
  color: var(--ink);
  background: var(--gold);
}

.investment-tool-page .fund-card.gold,
.investment-tool-page .metric.gold,
.investment-tool-page .payment-row.base {
  background: var(--warm);
}

.investment-tool-page .payment-list {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.investment-tool-page .payment-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.investment-tool-page .payment-row:last-child {
  border-bottom: 0;
}

.investment-tool-page .payment-row .label {
  color: var(--ink);
  font-weight: 900;
}

.investment-tool-page .payment-row .value {
  color: var(--muted);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.investment-tool-page .payment-row.base .value {
  color: var(--ink);
  font-size: 30px;
}

.investment-tool-page .answer-list .payment-row .value,
.investment-tool-page .answer-list .payment-row.base .value {
  color: var(--blue);
  font-size: 16px;
}

.investment-tool-page .warn {
  border: 1px solid rgba(202, 163, 82, 0.55);
  background: #fff8e9;
  padding: 14px 15px;
}

.investment-tool-page .warn .wt {
  color: var(--ink);
  font-weight: 900;
}

.investment-tool-page .warn .wd {
  margin-top: 4px;
  color: #384656;
  font-size: 14px;
}

.investment-tool-page .satellite-block {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.investment-tool-page .satellite-split {
  display: flex;
  min-height: 42px;
  overflow: hidden;
  border-radius: var(--radius);
  font-weight: 900;
}

.investment-tool-page .satellite-core,
.investment-tool-page .satellite-cap {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 8px;
  text-align: center;
  line-height: 1.12;
}

.investment-tool-page .satellite-core {
  color: #fff;
  background: var(--navy);
}

.investment-tool-page .satellite-cap {
  color: var(--navy-deep);
  background: var(--gold);
}

.investment-tool-page .satellite-core span,
.investment-tool-page .satellite-cap span {
  font-size: 12px;
}

.investment-tool-page .satellite-core b,
.investment-tool-page .satellite-cap b {
  font-size: 18px;
}

.investment-tool-page .satellite-note {
  margin: 10px 0 12px;
  color: #384656;
  font-size: 13px;
  line-height: 1.65;
}

.investment-tool-page .satellite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.investment-tool-page .satellite-card,
.investment-tool-page .single-market-card {
  border: 1px solid var(--line);
  background: #f8fbfd;
  padding: 12px;
}

.investment-tool-page .satellite-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.investment-tool-page .satellite-tag {
  margin-top: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.investment-tool-page .satellite-items,
.investment-tool-page .market-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.investment-tool-page .satellite-items span,
.investment-tool-page .market-items span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid rgba(10, 120, 180, 0.14);
  background: #fff;
  color: #384656;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.investment-tool-page .market-list {
  margin-top: 10px;
  border-top: 1px dashed var(--line);
}

.investment-tool-page .market-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.investment-tool-page .market-row:last-child {
  border-bottom: 0;
}

.investment-tool-page .market-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.investment-tool-page .market-row .market-items {
  margin-top: 0;
}

.investment-tool-page .quote {
  padding: 17px;
  color: #fff;
  background: var(--navy);
}

.investment-tool-page .quote p,
.investment-tool-page .quote b {
  color: #fff;
}

.investment-tool-page .quote .qk {
  margin-bottom: 6px;
  color: #8ed6e0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.investment-tool-page .talk-list,
.investment-tool-page .checklist {
  margin: 0;
  padding: 0;
}

.investment-tool-page .talk-list li,
.investment-tool-page .checklist li {
  position: relative;
  list-style: none;
  padding: 10px 0 10px 24px;
  border-bottom: 1px dashed var(--line);
  color: #384656;
  font-size: 14px;
}

.investment-tool-page .talk-list li::before,
.investment-tool-page .checklist li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.investment-tool-page .talk-list li:last-child,
.investment-tool-page .checklist li:last-child {
  border-bottom: 0;
}

.investment-tool-page .checklist {
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px 14px;
}

.investment-tool-page .advanced {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.investment-tool-page .advanced summary {
  color: var(--ink);
  font-weight: 900;
}

.investment-tool-page .advanced-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.investment-tool-page .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.investment-tool-page .metric .mv {
  margin-top: 5px;
  font-size: 30px;
  line-height: 1.05;
}

.investment-tool-page .metric .mv small {
  color: var(--blue);
  font-size: 15px;
}

.investment-tool-page .calc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.investment-tool-page .side-item {
  padding: 10px 12px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--soft);
}

.investment-tool-disclaimer {
  margin: 0;
  padding: 14px clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

.investment-tool-page .hide {
  display: none !important;
}

@media (max-width: 980px) {
  .investment-tool-top,
  .investment-tool-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .investment-tool-actions {
    width: 100%;
  }

  .tool-progress {
    min-width: 0;
  }

  .investment-tool-page .advisor-layout,
  .investment-tool-page .choice-grid,
  .investment-tool-page .result-grid,
  .investment-tool-page .satellite-grid,
  .investment-tool-page .summary-grid,
  .investment-tool-page .summary-grid.three,
  .investment-tool-page .metric-grid {
    grid-template-columns: 1fr;
  }

  .investment-tool-page .market-row {
    grid-template-columns: 1fr;
  }

  .investment-tool-page .advisor-layout {
    min-height: 0;
  }

  .investment-tool-page .question-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

body.license-page {
  color: #101d2a;
  background: #f7f9fb;
}

body.license-locked {
  overflow: hidden;
  background: #f7f9fb;
}

body.commission-locked {
  overflow: hidden;
  background: #f7f9fb;
}

body.license-locked .license-header,
body.license-locked main,
body.license-locked .license-footer {
  display: none;
}

body.commission-locked .rewards-header,
body.commission-locked main,
body.commission-locked .rewards-footer {
  display: none;
}

.license-gate,
.access-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(6, 26, 43, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 26, 43, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, #f7f9fb 54%, #eef4f6 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

body:not(.license-locked) .license-gate {
  display: none;
}

body:not(.commission-locked) .access-gate {
  display: none;
}

.license-gate-card,
.access-gate-card {
  width: min(620px, 100%);
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(6, 26, 43, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 32px 90px rgba(6, 26, 43, 0.12);
  backdrop-filter: blur(22px);
}

.license-gate-card > img,
.access-gate-card > img {
  width: 164px;
  margin-bottom: 42px;
}

.license-gate-card h1,
.access-gate-card h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 72px);
}

.license-login,
.access-login {
  display: grid;
  gap: 12px;
  margin: 28px 0 18px;
}

.license-login label,
.access-login label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.license-login div,
.access-login div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.license-login input,
.access-login input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(6, 26, 43, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.license-login button,
.access-login button {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.license-login span,
.access-login span {
  color: #697789;
  font-size: 14px;
  font-weight: 800;
}

.license-login span.is-error,
.access-login span.is-error {
  color: #a46319;
}

.license-page p {
  color: #526173;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
}

.license-page h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.license-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(22px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
  box-shadow: 0 10px 36px rgba(6, 26, 43, 0.05);
  backdrop-filter: blur(22px);
}

.license-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.license-brand img {
  width: 156px;
  flex: 0 0 auto;
}

.license-brand span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.license-section {
  padding: clamp(68px, 7vw, 112px) clamp(22px, 5vw, 64px);
}

.license-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.license-hero {
  min-height: calc(100svh - 110px);
  display: grid;
  align-items: center;
  padding-block: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(180deg, #fff 0%, #f8fbfd 48%, #eef4f6 100%);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
}

.license-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.78fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.license-page h1 {
  max-width: 900px;
  margin-bottom: 26px;
  color: #1c2d3d;
  font-size: clamp(66px, 8vw, 112px);
  line-height: 0.96;
}

.license-page h1 span {
  display: block;
  margin-top: 18px;
  color: #2f465a;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.12;
}

.license-page h1 .license-title-main {
  margin-top: 0;
  color: #1c2d3d;
  font-size: inherit;
  line-height: inherit;
}

.license-hero-lead {
  max-width: 820px;
  color: #526173;
  font-size: clamp(19px, 1.8vw, 24px);
}

.exam-dashboard {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: clamp(20px, 2.8vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #061a2b 0%, #0b3046 56%, #0d5663 100%);
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: 0 34px 96px rgba(6, 26, 43, 0.24);
}

.exam-dashboard::before {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.dashboard-topline,
.exam-subjects,
.pass-rule {
  position: relative;
  z-index: 1;
}

.dashboard-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dashboard-topline span {
  color: #8ed6e0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-topline strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.exam-subjects {
  display: grid;
  gap: 12px;
}

.exam-subjects article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.exam-subjects span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #061a2b;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.exam-subjects article:nth-child(2) span {
  background: #8ed6e0;
}

.exam-subjects strong {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.exam-subjects p {
  grid-column: 2;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.pass-rule {
  padding: 16px;
  border-radius: var(--radius);
  color: #061a2b;
  background: rgba(255, 255, 255, 0.92);
}

.pass-rule strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 900;
}

.pass-rule p {
  margin: 0;
  color: #526173;
  font-size: 15px;
}

.route-band,
.quiz-band {
  background: #fff;
}

.license-picker-section {
  padding-block: clamp(42px, 5vw, 76px);
  background:
    linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
  border-bottom: 1px solid rgba(6, 26, 43, 0.08);
}

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

.license-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(6, 26, 43, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 26, 43, 0.06);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.license-card:hover {
  border-color: rgba(5, 117, 169, 0.34);
  transform: translateY(-2px);
}

.license-card.is-active {
  border-color: rgba(5, 117, 169, 0.72);
  background: linear-gradient(180deg, #fff 0%, #f3f9fc 100%);
  box-shadow: 0 24px 70px rgba(5, 117, 169, 0.16);
}

.license-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.license-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.12;
}

.license-card p {
  margin: 0;
  color: #526173;
  font-size: 16px;
  line-height: 1.62;
}

.license-card em {
  color: var(--blue);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.study-route,
.curriculum-grid,
.focus-board {
  display: grid;
  gap: 16px;
}

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

.study-route article,
.curriculum-grid article,
.focus-board article,
.license-quiz {
  border: 1px solid rgba(6, 26, 43, 0.11);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 26, 43, 0.06);
}

.study-route article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 32px);
}

.study-route span,
.curriculum-grid span,
.focus-board span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.study-route h3,
.curriculum-grid h3 {
  margin-bottom: 12px;
}

.study-route p {
  margin: 0;
}

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

.curriculum-grid article {
  padding: clamp(28px, 4vw, 42px);
}

.curriculum-grid ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.curriculum-grid li,
.quiz-feedback li {
  position: relative;
  padding-left: 22px;
  color: #435264;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.62;
}

.curriculum-grid li::before,
.quiz-feedback li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.focus-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #061a2b 0%, #0a3149 58%, #0c5362 100%);
  background-size: 80px 80px, 80px 80px, auto;
}

.focus-band .eyebrow,
.focus-band h2 {
  color: #fff;
}

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

.focus-board article {
  min-height: 190px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.focus-board span {
  color: #8ed6e0;
}

.focus-board strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
}

.focus-board p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: start;
}

.license-quiz {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.quiz-config {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft);
}

.quiz-config label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.quiz-config select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(6, 26, 43, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.quiz-config button {
  align-self: end;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.quiz-bank-meta {
  color: #526173;
  font-size: 14px;
  font-weight: 900;
}

.quiz-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(6, 26, 43, 0.1);
}

.quiz-status span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.quiz-status strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.license-quiz h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options button {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid rgba(6, 26, 43, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quiz-options button:hover {
  border-color: rgba(5, 117, 169, 0.32);
  transform: translateY(-1px);
}

.quiz-options button.is-correct {
  border-color: rgba(106, 167, 110, 0.65);
  background: rgba(106, 167, 110, 0.12);
}

.quiz-options button.is-wrong {
  border-color: rgba(202, 163, 82, 0.8);
  background: rgba(202, 163, 82, 0.14);
}

.quiz-options button:disabled {
  cursor: default;
  transform: none;
}

.quiz-feedback {
  min-height: 76px;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: #435264;
  background: var(--soft);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.62;
}

.quiz-feedback.is-empty {
  color: #758394;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-actions button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(6, 26, 43, 0.12);
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.quiz-actions button[data-quiz-reset] {
  color: var(--ink);
  background: #fff;
}

.quiz-score {
  color: #526173;
  font-size: 15px;
  font-weight: 900;
}

.license-footer {
  padding: 36px clamp(22px, 5vw, 64px);
  color: #fff;
  background: var(--navy);
}

.license-footer .license-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.license-footer img {
  width: 140px;
  flex: 0 0 auto;
}

.license-footer p {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.license-footer strong {
  color: #fff;
  font-size: 15px;
}

.section-pad {
  padding: clamp(72px, 9vw, 124px) clamp(22px, 5vw, 64px);
  scroll-margin-top: var(--header-height);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.08;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(56px, 7vw, 92px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5.2vw, 64px);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

p {
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(238, 243, 246, 0.72), rgba(255, 255, 255, 0.92) 46%, #fff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(30px, 4.5vw, 56px);
  align-items: center;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: #5c6977;
  font-size: clamp(20px, 2.4vw, 26px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel,
.document-callout,
.source-callout,
.join-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(22px, 3vw, 28px);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-heading span {
  color: var(--blue);
  font-weight: 900;
}

.panel-heading strong {
  color: var(--muted);
  font-size: 14px;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.system-flow article,
.system-timeline article,
.framework-grid article,
.cycle-steps article,
.medical-grid article,
.runway article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.system-flow article {
  min-height: 158px;
  padding: 22px;
}

.system-flow span,
.framework-grid article > span,
.cycle-steps span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.system-flow article:nth-child(2) span,
.framework-grid article:nth-child(2) > span {
  background: var(--teal);
}

.system-flow article:nth-child(3) span,
.framework-grid article:nth-child(3) > span {
  background: var(--gold);
}

.system-flow article:nth-child(4) span {
  background: var(--green);
}

.system-flow h2 {
  margin-bottom: 6px;
  font-size: 26px;
}

.system-flow p {
  margin: 0;
  font-size: 17px;
}

.system-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.system-summary div,
.feature-strip article,
.priority-ladder div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--soft);
}

.system-summary span,
.feature-strip span,
.priority-ladder span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.system-summary strong,
.feature-strip strong,
.priority-ladder strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.light-band,
.framework-band {
  background: var(--soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(380px, 0.86fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

#about.section-pad {
  padding-block: clamp(52px, 5vw, 76px);
}

#about .split-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
  gap: clamp(36px, 4.5vw, 60px);
  align-items: center;
}

.about-copy p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.68;
}

.about-copy {
  padding: clamp(22px, 2.7vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(6, 26, 43, 0.06);
}

.position-list {
  display: grid;
  gap: 10px;
}

.position-list article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.position-list span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.position-list strong {
  color: var(--ink);
  font-size: clamp(21px, 2vw, 23px);
  font-weight: 900;
}

.center-heading {
  max-width: 980px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.center-heading p {
  margin-left: auto;
  margin-right: auto;
}

.system-timeline,
.framework-grid,
.cycle-steps,
.medical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.system-timeline article,
.framework-grid article,
.cycle-steps article,
.medical-grid article,
.runway article {
  padding: clamp(24px, 3vw, 34px);
}

.system-timeline span,
.medical-grid span,
.runway span,
.source-callout span,
.document-callout span,
.stage-panel span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.system-timeline p,
.framework-grid p,
.cycle-steps p,
.medical-grid p,
.runway p {
  margin: 0;
  font-size: 18px;
}

.framework-grid p {
  white-space: nowrap;
}

.framework-grid h3 span {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.feature-strip article {
  grid-template-columns: 90px 1fr;
  background: #f6f8f9;
}

.framework-layout {
  display: grid;
  gap: 34px;
}

.framework-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.document-callout,
.source-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
}

.document-callout strong,
.source-callout strong {
  color: var(--ink);
  font-size: 22px;
}

.document-callout a,
.source-actions a {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.source-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.inline-link {
  color: #fff;
  border-bottom: 2px solid var(--gold);
  font-weight: 900;
}

.cycle-layout {
  display: grid;
  gap: 32px;
}

.cycle-figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.cycle-figure img {
  width: 100%;
  border-radius: 6px;
}

.cycle-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
}

.cycle-steps span {
  grid-row: span 2;
  margin: 0;
}

.cycle-steps h3 {
  margin-bottom: 4px;
  font-size: 24px;
}

.medical-band {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(36, 167, 181, 0.28), transparent 26%),
    linear-gradient(135deg, #061a2b 0%, #09314d 55%, #0d4f64 100%);
}

.medical-band h2,
.medical-band h3,
.medical-band p,
.medical-band .eyebrow {
  color: #fff;
}

.medical-band p {
  color: rgba(255, 255, 255, 0.74);
}

.medical-layout {
  display: grid;
  gap: 32px;
}

.medical-stage-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.stage-tabs {
  display: grid;
  gap: 10px;
}

.stage-tab {
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

.stage-tab.is-active {
  color: var(--navy);
  background: #fff;
}

.stage-panels {
  position: relative;
  min-height: 376px;
}

.stage-panel {
  display: none;
  min-height: 376px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: rgba(3, 13, 22, 0.48);
}

.stage-panel.is-active {
  display: block;
}

.stage-panel h3 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.stage-panel p {
  max-width: 900px;
  font-size: clamp(18px, 2vw, 22px);
}

.stage-panel ul,
.fit-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.stage-panel li,
.fit-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 800;
}

.stage-panel li::before,
.fit-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.medical-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.medical-grid article:first-child {
  grid-column: span 2;
}

.medical-grid span {
  color: var(--gold);
}

.cancer-evidence {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.evidence-intro {
  max-width: 980px;
}

.evidence-intro span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.evidence-intro h3 {
  max-width: 920px;
  font-size: clamp(28px, 4vw, 46px);
}

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

.evidence-grid article {
  min-height: 144px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(3, 13, 22, 0.38);
}

.evidence-grid strong {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.evidence-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 900;
}

.evidence-note {
  max-width: 980px;
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
}

.priority-ladder {
  display: grid;
  gap: 12px;
}

.priority-ladder div {
  grid-template-columns: 150px 1fr;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.priority-ladder span {
  color: var(--gold);
}

.priority-ladder strong {
  color: #fff;
}

.source-callout {
  background: rgba(255, 255, 255, 0.92);
}

.source-callout span {
  color: var(--blue);
}

.source-callout p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.fit-band {
  background: #fff;
}

.fit-toggle {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 auto 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.fit-tab {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.fit-tab.is-active {
  color: #fff;
  background: var(--navy);
}

.fit-panels {
  width: min(820px, 100%);
  margin: 0 auto;
}

.fit-panel {
  display: none;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--navy);
}

.fit-panel.is-active {
  display: block;
}

.vision-layout {
  display: grid;
  gap: 34px;
}

.runway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.runway article {
  min-height: 210px;
}

.runway span {
  color: var(--gold);
}

.runway strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.join-band {
  background: var(--navy);
}

.join-panel {
  padding: clamp(34px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    var(--navy);
  border-color: rgba(255, 255, 255, 0.16);
}

.join-panel h2,
.join-panel p {
  max-width: 920px;
  color: #fff;
}

.join-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 36px clamp(22px, 5vw, 64px);
  color: #fff;
  background: #04111d;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-inner img {
  width: 150px;
}

.footer-inner p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.footer-inner strong {
  color: #fff;
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }

  .header-cta {
    display: none;
  }

}

@media (max-width: 980px) {
  :root {
    --header-height: 78px;
  }

  .site-header {
    padding-inline: 22px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
    margin-left: auto;
  }

  .hero-inner,
  .split-layout,
  .medical-stage-shell,
  .medical-hero-grid,
  .rewards-hero-grid,
  .source-layout,
  .cancer-takeaway,
  .license-hero-grid,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  #about .split-layout {
    grid-template-columns: 1fr;
  }

  .system-timeline,
  .framework-grid,
  .cycle-steps,
  .medical-grid,
  .misconception-grid,
  .evidence-grid,
  .evidence-stat-grid,
  .feature-strip,
  .license-picker,
  .reward-card-grid,
  .runway,
  .detail-columns,
  .study-route,
  .curriculum-grid,
  .focus-board {
    grid-template-columns: 1fr;
  }

  .medical-hero,
  .rewards-hero,
  .license-hero {
    min-height: auto;
  }

  .medical-grid article:first-child {
    grid-column: auto;
  }

  .stage-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .stage-tab {
    min-height: 58px;
  }

  .detail-columns div,
  .detail-columns div + div {
    padding: 0;
    border-left: 0;
  }

  .source-layout h2 {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 140px;
  }

  .medical-header,
  .rewards-header,
  .license-header {
    min-height: 72px;
    gap: 12px;
  }

  .medical-brand img,
  .rewards-brand img,
  .license-brand img {
    width: 132px;
  }

  .medical-brand span,
  .rewards-brand span,
  .license-brand span {
    display: none;
  }

  .back-link {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .section-pad {
    padding-block: 64px;
  }

  .standalone-section {
    padding-block: 58px;
  }

  .license-section {
    padding-block: 58px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-lead br {
    display: none;
  }

  .medical-page h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .medical-page h1 span {
    font-size: clamp(30px, 9vw, 42px);
  }

  .rewards-page h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .rewards-page h1 span {
    font-size: clamp(28px, 8.5vw, 40px);
  }

  .marketing-page h1 {
    font-size: clamp(40px, 11.2vw, 46px);
  }

  .marketing-page h1 .headline-line {
    font-size: clamp(27px, 7.6vw, 32px);
  }

  .marketing-page h1 .headline-line-main {
    font-size: 1em;
  }

  .license-page h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .license-page h1 span {
    font-size: clamp(30px, 9vw, 42px);
  }

  .dossier-route article,
  .stage-deep,
  .exam-subjects article,
  .license-picker,
  .quiz-config,
  .license-login div {
    grid-template-columns: 1fr;
  }

  .dossier-route article:nth-child(2) p,
  .dossier-route article:nth-child(3) p {
    white-space: normal;
  }

  .dossier-metrics {
    grid-template-columns: 1fr;
  }

  .exam-subjects p {
    grid-column: auto;
  }

  .stage-number {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .budget-table > div:first-child {
    display: none;
  }

  .budget-table > div {
    grid-template-columns: 1fr;
  }

  .budget-table span,
  .budget-table strong,
  .budget-table p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .budget-table p:last-child {
    border-bottom: 0;
  }

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

  .system-flow article {
    min-height: 142px;
    padding: 18px;
  }

  .system-summary div,
  .feature-strip article,
  .position-list article,
  .priority-ladder div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .document-callout,
  .source-callout,
  .footer-inner,
  .medical-footer .standalone-inner,
  .rewards-footer .standalone-inner,
  .license-footer .license-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-actions {
    justify-content: flex-start;
  }

  .fit-toggle {
    grid-template-columns: 1fr;
  }

  .cycle-steps article {
    grid-template-columns: 1fr;
  }

  .cycle-steps span {
    margin-bottom: 14px;
  }
}
