:root {
  --navy: #050e3d;
  --blue: #263993;
  --aqua: #00b7ad;
  --green: #1f9d71;
  --coral: #ff557e;
  --ink: #111827;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #f7f8f6;
  --white: #ffffff;
  --warm: #fff5cf;
  --aqua-soft: #dff7f4;
  --blue-soft: #eaf1ff;
  --coral-soft: #ffe8ee;
  --radius-lg: 14px;
  --radius-md: 9px;
  --surface-shadow: 0 16px 38px rgba(5, 14, 61, 0.08);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 183, 173, 0.09), transparent 28rem),
    linear-gradient(180deg, #f6f8fc 0%, var(--paper) 36rem);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
}

button,
input {
  font: inherit;
}

a {
  color: var(--blue);
  font-weight: 700;
}

.app {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  background: var(--navy);
  border-bottom: 4px solid var(--aqua);
  color: var(--white);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 84px;
  padding: 18px clamp(18px, 4vw, 48px);
  position: sticky;
  box-shadow: 0 10px 30px rgba(5, 14, 61, 0.2);
  top: 0;
  z-index: 50;
}

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

.mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 5px;
  display: grid;
  flex: 0 0 46px;
  overflow: hidden;
  place-items: center;
  width: 46px;
}

.mark img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand p {
  color: #cfd7ef;
  margin-top: 4px;
}

.topnav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  margin-left: auto;
  padding: 0 12px;
}

.topnav a {
  color: #dbe7ff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 10px;
  text-decoration: none;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  outline: none;
}

.actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.header-real-wordmark {
  display: block;
  height: auto;
  margin-right: 6px;
  width: 78px;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  border-radius: 7px;
  transition: background 150ms ease, box-shadow 150ms ease, transform 120ms ease;
  width: 40px;
}

.icon-button span {
  display: inline-block;
  transition: transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.icon-button:active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.32);
  transform: translateY(1px) scale(0.96);
}

#resetButton:active span {
  animation: reset-spin 280ms ease-out;
}

@keyframes reset-spin {
  0% { transform: rotate(0deg); }
  70% { transform: rotate(-85deg); }
  100% { transform: rotate(0deg); }
}

.workspace {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(250px, 0.8fr) minmax(560px, 1.45fr) minmax(300px, 0.9fr);
  padding: 18px clamp(18px, 4vw, 48px) 28px;
}

[data-view-panel][hidden] {
  display: none !important;
}

.perspective-switcher {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 48px);
}

.perspective-switcher > div:first-child {
  display: grid;
  gap: 4px;
}

.perspective-switcher strong {
  color: var(--navy);
  font-size: 1rem;
}

.perspective-tabs {
  background: var(--blue-soft);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  padding: 4px;
}

.perspective-tab {
  background: transparent;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  font-weight: 850;
  min-height: 42px;
  padding: 0 16px;
}

.perspective-tab.active {
  background: var(--navy);
  color: var(--white);
}

.perspective-tab:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.fixed-plan-summary {
  display: grid;
  gap: 9px;
}

.fixed-plan-summary div {
  background: var(--blue-soft);
  border-left: 4px solid var(--aqua);
  display: grid;
  gap: 3px;
  padding: 11px 12px;
}

.fixed-plan-summary div:nth-child(2) { border-left-color: var(--blue); }
.fixed-plan-summary div:nth-child(3) { border-left-color: var(--green); }
.fixed-plan-summary span { color: var(--muted); font-size: 0.76rem; font-weight: 750; }
.fixed-plan-summary strong { color: var(--navy); font-size: 1.12rem; }

#recruiter-view,
#agent-view,
#why-real,
#real-tech,
#tech-video,
#real-luxury,
#why-blueprint,
#next-step {
  scroll-margin-top: 112px;
}

.panel,
.calculator {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--surface-shadow);
  min-width: 0;
  overflow: hidden;
  align-self: start;
}

.panel {
  padding: 20px;
}

.panel-heading,
.scenario-bar {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.panel-heading strong,
.scenario-bar h2 {
  color: var(--navy);
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 3px;
}

.eyebrow {
  color: var(--muted);
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assumptions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.field-note {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.field-note.is-warning {
  background: var(--coral-soft);
  border-left: 3px solid var(--coral);
  color: var(--navy);
  padding: 7px 9px;
}

.money-input,
.percent-input {
  align-items: center;
  background: var(--warm);
  border: 1px solid #d6b64c;
  border-radius: var(--radius-md);
  display: flex;
  min-height: 42px;
  padding: 0 10px;
}

.money-input span,
.percent-input span {
  color: #7c6312;
  font-weight: 800;
}

.money-input input,
.percent-input input {
  background: transparent;
  border: 0;
  min-width: 0;
  outline: none;
  text-align: right;
  width: 100%;
}

.plan-select {
  appearance: none;
  background: var(--warm);
  border: 1px solid #d6b64c;
  border-radius: var(--radius-md);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  min-height: 42px;
  padding: 0 34px 0 10px;
  width: 100%;
  background-image:
    linear-gradient(45deg, transparent 50%, #7c6312 50%),
    linear-gradient(135deg, #7c6312 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 17px,
    calc(100% - 11px) 17px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.mini-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 2px;
}

.mini-stats div {
  background: var(--aqua-soft);
  border-left: 4px solid var(--aqua);
  padding: 10px 12px;
}

.mini-stats span,
.kpi span,
.chart-title span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 750;
}

.mini-stats strong {
  color: var(--navy);
  display: block;
  font-size: 1.12rem;
  margin-top: 3px;
}

.canada-fees {
  background:
    linear-gradient(135deg, rgba(234, 241, 255, 0.96), rgba(223, 247, 244, 0.72));
  border: 1px solid rgba(38, 57, 147, 0.18);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 14px;
}

.canada-fees dl {
  display: grid;
  gap: 7px;
  margin: 10px 0;
}

.canada-fees dl div {
  align-items: baseline;
  border-bottom: 1px solid rgba(38, 57, 147, 0.14);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 5px;
}

.canada-fees dt {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.canada-fees dd {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
  margin: 0;
}

.canada-fees p {
  color: var(--navy);
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0 0 8px;
}

.canada-fees a {
  font-size: 0.76rem;
  font-weight: 800;
}

.calculator-reference {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(180px, 0.78fr) minmax(260px, 1.22fr);
  margin-top: 16px;
  min-height: 280px;
}

.reference-summary,
.reference-details {
  min-width: 0;
}

.reference-summary {
  border-right: 1px solid rgba(38, 57, 147, 0.16);
  padding-right: 16px;
}

.reference-summary dl {
  margin-bottom: 0;
}

.reference-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}

.reference-links a {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(38, 57, 147, 0.18);
  border-radius: 6px;
  padding: 7px 9px;
  text-decoration: none;
}

.reference-links a:hover,
.reference-links a:focus-visible {
  background: var(--white);
  border-color: var(--blue);
  outline: none;
}

.fine-print {
  background: var(--coral-soft);
  color: var(--navy);
  font-size: 0.83rem;
  line-height: 1.45;
  margin-top: auto;
  padding: 12px;
}

.calculator {
  padding: 20px;
}

.scenario-bar {
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding-bottom: 16px;
}

.tabs {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  width: 100%;
}

.tab {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 760;
  min-height: 38px;
  padding: 0 8px;
}

.tab.active,
.tab:hover,
.tab:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  outline: none;
}

.level-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 16px;
  overflow-x: auto;
}

.table-head > *,
.level-row > * {
  min-width: 0;
}

.table-head span {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.table-head,
.level-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 44px 50px minmax(82px, 0.7fr) minmax(82px, 0.7fr) minmax(98px, 0.8fr);
  min-width: 0;
}

.table-head {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 10px;
}

.level-row {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  transition: background 150ms ease;
}

.level-row:hover {
  background: #fbfcff;
}

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

.level-id {
  align-items: center;
  background: var(--blue-soft);
  color: var(--navy);
  display: inline-flex;
  font-weight: 850;
  height: 32px;
  justify-content: center;
  width: 38px;
}

.rate {
  color: var(--blue);
  font-weight: 820;
}

.control-pair {
  display: grid;
  gap: 7px;
}

.control-pair,
.number-stepper {
  min-width: 0;
}

.control-pair input[type="range"] {
  accent-color: var(--aqua);
  width: 100%;
}

.number-stepper {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 24px minmax(24px, 1fr) 24px;
  height: 32px;
  min-width: 0;
}

.number-stepper button {
  background: var(--paper);
  border: 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  height: 100%;
  touch-action: none;
  user-select: none;
}

.number-stepper input {
  border: 0;
  min-width: 0;
  outline: none;
  text-align: center;
  width: 100%;
}

.number-stepper input {
  appearance: textfield;
  font-size: 0.95rem;
}

.number-stepper input::-webkit-outer-spin-button,
.number-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.level-total {
  color: var(--navy);
  display: grid;
  font-size: 1.02rem;
  font-weight: 850;
  gap: 2px;
  text-align: right;
}

.level-total b {
  font: inherit;
}

.level-total small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.12;
}

.level-total.is-capped small {
  color: var(--coral);
}

.output {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-number {
  background: linear-gradient(135deg, var(--navy), #101f70 62%, #075f78);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 20px;
  box-shadow: 0 12px 26px rgba(5, 14, 61, 0.16);
}

.hero-number span {
  display: block;
  font-size: clamp(2.15rem, 3vw, 3.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.hero-number small {
  color: #cfd7ef;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 8px;
}

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

.income-mix > div {
  background: var(--paper);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
}

.income-mix > div:nth-child(2) {
  border-top-color: var(--green);
}

.income-mix .income-mix-total {
  background: var(--blue-soft);
  border-top-color: var(--coral);
  grid-column: 1 / -1;
}

.income-mix span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.income-mix strong {
  color: var(--navy);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.income-mix small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

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

.kpi {
  background: var(--paper);
  border-top: 4px solid var(--aqua);
  border-radius: 8px;
  min-height: 78px;
  padding: 10px;
}

.kpi strong {
  color: var(--navy);
  display: block;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  white-space: nowrap;
}

.chart-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
}

.chart-title {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chart-title strong {
  color: var(--green);
  font-size: 0.86rem;
}

.bar-chart {
  display: grid;
  gap: 9px;
}

.bar-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 54px 1fr 78px;
}

.bar-label {
  color: var(--navy);
  font-weight: 800;
}

.bar-track {
  background: var(--paper);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
}

.bar-fill {
  background: linear-gradient(90deg, var(--aqua), var(--green));
  border-radius: inherit;
  height: 100%;
  min-width: 2px;
}

.bar-value {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: right;
}

.talk-track {
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  padding: 14px;
}

.talk-track ul {
  display: grid;
  gap: 8px;
  margin: 9px 0 0;
  padding-left: 18px;
}

.talk-track li {
  line-height: 1.35;
}

.goal-planner {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 0.64fr) minmax(520px, 1.36fr);
  margin: 0 clamp(18px, 4vw, 48px) 18px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  position: relative;
}

.goal-planner::before {
  background: linear-gradient(90deg, var(--coral), #8fd3ff, var(--aqua));
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.goal-copy h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.goal-copy p,
.goal-note,
.goal-card p,
.goal-card small {
  color: var(--muted);
  line-height: 1.5;
}

.goal-tool {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.goal-field {
  max-width: 360px;
}

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

.goal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid #8fd3ff;
  border-radius: var(--radius-md);
  display: grid;
  gap: 9px;
  min-height: 210px;
  padding: 16px;
}

.goal-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(210px, 0.72fr) minmax(320px, 1.28fr);
  min-height: 0;
}

.goal-card-wide > .goal-label,
.goal-card-wide > strong,
.goal-card-wide > p,
.goal-card-wide > small {
  grid-column: 1;
}

.goal-card-wide > .goal-card-stats,
.goal-card-wide > .goal-breakdown {
  grid-column: 2;
}

.goal-card:nth-child(2) {
  border-top-color: var(--aqua);
}

.goal-card:nth-child(3) {
  border-top-color: var(--green);
}

.goal-label {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.goal-card p {
  font-weight: 750;
  margin: 0;
}

.goal-card-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
  padding-top: 10px;
}

.goal-card-stats span {
  color: var(--muted);
  display: grid;
  font-size: 0.82rem;
  gap: 2px;
}

.goal-card-stats b {
  color: var(--navy);
  font-size: 1rem;
}

.goal-net-grid {
  align-content: start;
  border-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.goal-net-grid span {
  background: var(--white);
  border-top: 3px solid var(--aqua);
  padding: 10px;
}

.goal-net-grid span:nth-child(2) {
  border-top-color: var(--green);
}

.goal-net-grid span:nth-child(3) {
  border-top-color: var(--coral);
}

.goal-net-grid span:nth-child(4) {
  border-top-color: var(--blue);
}

.goal-breakdown {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
}

.goal-breakdown div {
  align-items: baseline;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 8px 10px;
}

.goal-breakdown div + div {
  border-top: 1px solid var(--line);
}

.goal-breakdown span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.goal-breakdown b {
  color: var(--navy);
  font-size: 0.86rem;
  white-space: nowrap;
}

.goal-card small,
.goal-note,
.goal-empty {
  font-size: 0.84rem;
}

.goal-note {
  background: var(--blue-soft);
  border-left: 4px solid #8fd3ff;
  margin: 0;
  padding: 12px 14px;
}

.goal-empty {
  background: var(--paper);
  color: var(--muted);
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
}

.recruit-pages {
  display: grid;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 48px) 42px;
}

.insight-band,
.plan-band,
.tech-band,
.video-band,
.luxury-band,
.blueprint-band,
.cta-band {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

.insight-band,
.plan-band,
.tech-band,
.video-band,
.blueprint-band {
  overflow: hidden;
  position: relative;
}

.insight-band::before,
.plan-band::before,
.tech-band::before,
.video-band::before,
.blueprint-band::before {
  animation: gradient-drift 8s ease-in-out infinite;
  background: linear-gradient(90deg, var(--aqua), var(--green), var(--blue), var(--aqua));
  background-size: 240% 100%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.plan-band {
  display: grid;
  gap: 24px;
}

.plan-intro {
  align-items: end;
  display: grid;
  gap: 10px 24px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.plan-intro .section-kicker,
.plan-intro h2 {
  grid-column: 1;
}

.plan-intro h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1;
}

.plan-intro > p {
  color: var(--muted);
  grid-column: 1;
  line-height: 1.65;
}

.plan-cap-note {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-left: 6px solid var(--aqua);
  color: var(--white);
  display: grid;
  gap: 7px;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: 22px;
}

.plan-cap-note > span,
.plan-step,
.plan-fees article > span {
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-cap-note > span { color: #b7ecff; }
.plan-cap-note strong { font-size: 1.55rem; }
.plan-cap-note small { color: #dbe7ff; line-height: 1.45; }

.plan-journey {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 1fr) 78px minmax(280px, 1fr);
}

.plan-stage {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--coral);
  display: grid;
  gap: 12px;
  padding: 20px;
}

.plan-stage-after { border-top-color: var(--green); }
.plan-step { color: var(--blue); }
.split-number { color: var(--navy); font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 900; line-height: 0.9; }
.plan-stage p { color: var(--muted); line-height: 1.45; }
.plan-stage dl { display: grid; gap: 0; margin: 0; }
.plan-stage dl div { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; padding: 9px 0; }
.plan-stage dl div + div { border-top: 1px solid var(--line); }
.plan-stage dt { color: var(--muted); font-size: 0.82rem; font-weight: 750; }
.plan-stage dd { color: var(--navy); font-size: 0.9rem; font-weight: 900; margin: 0; text-align: right; }
.plan-stage small { background: var(--blue-soft); color: var(--navy); line-height: 1.45; padding: 10px; }

.plan-transition {
  align-items: center;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.plan-transition i { color: var(--aqua); font-size: 2rem; font-style: normal; }

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

.plan-fees article {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--aqua);
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 16px;
}

.plan-fees article:nth-child(4n + 2) { border-top-color: var(--green); }
.plan-fees article:nth-child(4n + 3) { border-top-color: var(--blue); }
.plan-fees article:nth-child(4n + 4) { border-top-color: var(--coral); }
.plan-fees article > span { color: var(--blue); }
.plan-fees strong { color: var(--navy); font-size: 1.05rem; }
.plan-fees p { color: var(--muted); font-size: 0.84rem; line-height: 1.5; }

.plan-footer {
  align-items: center;
  background: var(--blue-soft);
  border-left: 5px solid var(--blue);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(300px, 1fr) auto;
  padding: 16px 18px;
}

.plan-footer p { color: var(--navy); font-size: 0.88rem; line-height: 1.55; }

@keyframes gradient-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-kicker {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.75fr) minmax(260px, 1fr);
  margin-bottom: 22px;
}

.section-heading h2,
.video-band h2,
.blueprint-band h2,
.cta-band h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.section-heading p,
.tech-lead p,
.video-band p,
.blueprint-band p,
.cta-band p,
.value-card p,
.tech-card p,
.fee-note span,
.video-highlights span,
.blueprint-list span {
  color: var(--muted);
  line-height: 1.55;
}

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

.value-card {
  background: var(--paper);
  border-top: 4px solid var(--aqua);
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.value-card:nth-child(2) { border-top-color: var(--green); }
.value-card:nth-child(3) { border-top-color: var(--blue); }
.value-card:nth-child(4) { border-top-color: var(--coral); }

.value-card:hover {
  box-shadow: 0 14px 28px rgba(5, 14, 61, 0.09);
  transform: translateY(-3px);
}

.value-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.value-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}

.value-card p {
  font-size: 0.93rem;
  margin: 0;
}

.tech-band {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
}

.tech-lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.tech-lead h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.fee-note {
  background: linear-gradient(90deg, var(--aqua-soft), var(--blue-soft));
  border-left: 5px solid var(--aqua);
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.fee-note::after {
  animation: fee-sheen 7.2s ease-in-out 2.4s infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  content: "";
  inset: 0 auto 0 -40%;
  position: absolute;
  width: 40%;
}

@keyframes fee-sheen {
  0%, 58% { transform: translateX(0); }
  84%, 100% { transform: translateX(360%); }
}

.fee-note strong {
  color: var(--navy);
  font-size: 1.12rem;
}

.fee-note span {
  font-size: 0.9rem;
}

.tech-stage {
  display: grid;
  gap: 12px;
}

.tech-motion {
  background: linear-gradient(135deg, var(--navy), #07185a 62%, var(--blue));
  color: var(--white);
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.tech-motion::before {
  background: linear-gradient(90deg, var(--aqua), var(--green), var(--blue), var(--aqua));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.motion-title {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.motion-title span {
  color: #cfd7ef;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-title strong {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 72px minmax(110px, 1fr) minmax(116px, auto);
}

.motion-row span,
.motion-row strong {
  font-size: 0.82rem;
  font-weight: 850;
}

.motion-row span {
  color: #dbe7ff;
}

.motion-row strong {
  color: var(--white);
  opacity: 0;
  text-align: right;
  transform: translateX(6px);
}

.motion-row i {
  background: rgba(255, 255, 255, 0.16);
  display: block;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.motion-row i::after {
  background: linear-gradient(90deg, #8fd3ff, #b7ecff);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
}

.tech-motion.flow-played .motion-row i::after {
  animation: flow-scan 980ms ease-in-out 1 forwards;
}

.tech-motion.flow-played .motion-row strong {
  animation: clarity-reveal 260ms ease forwards;
}

.tech-motion.flow-played .motion-row:nth-child(3) i::after { animation-delay: 180ms; }
.tech-motion.flow-played .motion-row:nth-child(4) i::after { animation-delay: 360ms; }
.tech-motion.flow-played .motion-row:nth-child(5) i::after { animation-delay: 540ms; }

.tech-motion.flow-played .motion-row:nth-child(2) strong { animation-delay: 820ms; }
.tech-motion.flow-played .motion-row:nth-child(3) strong { animation-delay: 1000ms; }
.tech-motion.flow-played .motion-row:nth-child(4) strong { animation-delay: 1180ms; }
.tech-motion.flow-played .motion-row:nth-child(5) strong { animation-delay: 1360ms; }

@keyframes flow-scan {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

@keyframes clarity-reveal {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.tech-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  display: grid;
  gap: 9px;
  min-height: 184px;
  padding: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tech-card:nth-child(2) { border-top-color: var(--aqua); }
.tech-card:nth-child(3) { border-top-color: var(--green); }
.tech-card:nth-child(4) { border-top-color: var(--coral); }
.tech-card:nth-child(5) {
  border-top-color: var(--aqua);
  grid-column: 1 / -1;
  min-height: 0;
}

.tech-card:hover {
  box-shadow: 0 14px 28px rgba(5, 14, 61, 0.09);
  transform: translateY(-3px);
}

.tech-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-card h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0;
}

.tech-card p {
  font-size: 0.92rem;
  margin: 0;
}

.wallet-note {
  background: linear-gradient(90deg, var(--aqua-soft), var(--blue-soft));
  border-left: 5px solid var(--aqua);
  display: grid;
  gap: 6px;
  padding: 15px 16px;
}

.wallet-note strong {
  color: var(--navy);
}

.wallet-note span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.wallet-note a {
  font-size: 0.86rem;
  margin-top: 2px;
  width: fit-content;
}

.video-band {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
}

.video-copy {
  min-width: 0;
}

.video-copy h2 {
  margin-bottom: 12px;
}

.video-highlights {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.video-highlights div {
  background: var(--blue-soft);
  border-left: 4px solid var(--aqua);
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.video-highlights div:nth-child(2) {
  border-left-color: var(--green);
}

.video-highlights div:nth-child(3) {
  border-left-color: var(--blue);
}

.video-highlights div:hover {
  box-shadow: 0 12px 24px rgba(5, 14, 61, 0.08);
  transform: translateX(3px);
}

.video-highlights strong {
  color: var(--navy);
}

.video-frame {
  background: var(--navy);
  border: 1px solid #1d2a6c;
  box-shadow: 0 18px 34px rgba(5, 14, 61, 0.16);
  display: grid;
  gap: 0;
  min-width: 0;
  overflow: hidden;
}

.video-poster {
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.video-poster img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
  width: 100%;
}

.video-poster::after {
  background: linear-gradient(180deg, transparent 45%, rgba(5, 14, 61, 0.62));
  content: "";
  inset: 0;
  position: absolute;
}

.video-play {
  align-items: center;
  background: #ff0033;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  color: var(--white);
  display: flex;
  font-size: 1.35rem;
  height: 66px;
  justify-content: center;
  left: 50%;
  padding-left: 4px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
  width: 66px;
  z-index: 1;
}

.video-poster:hover img,
.video-poster:focus-visible img {
  filter: brightness(0.82);
  transform: scale(1.025);
}

.video-poster:hover .video-play,
.video-poster:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-poster:focus-visible {
  outline: 4px solid var(--aqua);
  outline-offset: -4px;
}

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

.video-frame .video-link,
.video-frame .video-channel-link {
  align-items: center;
  color: var(--navy);
  display: flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: space-between;
  padding: 13px 16px;
  text-decoration: none;
}

.video-frame .video-link {
  background: linear-gradient(90deg, var(--aqua), var(--green));
}

.video-frame .video-channel-link {
  background: var(--blue-soft);
  border-left: 1px solid rgba(5, 14, 61, 0.16);
}

.video-frame .video-link::after {
  content: "→";
}

.video-frame .video-channel-link::after {
  content: "↗";
}

.video-frame .video-link:hover,
.video-frame .video-link:focus-visible,
.video-frame .video-channel-link:hover,
.video-frame .video-channel-link:focus-visible {
  background: var(--aqua);
  outline: none;
}

.luxury-band {
  background:
    linear-gradient(135deg, rgba(234, 241, 255, 0.82), transparent 40%),
    var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(320px, 1.04fr) minmax(280px, 0.74fr);
  overflow: hidden;
  position: relative;
}

.luxury-band::before {
  background: linear-gradient(90deg, var(--navy), var(--blue), #8fd3ff, #d9c27c);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.luxury-band::after {
  content: none;
}

.luxury-hero,
.luxury-panel,
.luxury-grid {
  position: relative;
  z-index: 1;
}

.luxury-kicker {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.luxury-logo {
  display: block;
  height: auto;
  margin: 2px 0 20px;
  max-width: 310px;
  width: min(72%, 310px);
}

.luxury-hero h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.03;
  margin: 0 0 16px;
}

.luxury-hero p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
}

.luxury-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.luxury-actions a {
  border: 1px solid rgba(38, 57, 147, 0.38);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 11px 14px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.luxury-actions a:first-child {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.luxury-actions a:hover,
.luxury-actions a:focus-visible {
  background: var(--blue-soft);
  color: var(--navy);
  outline: none;
  transform: translateY(-2px);
}

.luxury-panel {
  align-self: start;
  background: linear-gradient(135deg, var(--navy), #10206c 58%, var(--blue));
  border: 1px solid rgba(143, 211, 255, 0.28);
  box-shadow: 0 18px 34px rgba(5, 14, 61, 0.14);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.luxury-stat {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.luxury-stat + .luxury-stat {
  border-top: 1px solid rgba(143, 211, 255, 0.22);
}

.luxury-stat span {
  color: #b7ecff;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.luxury-stat strong {
  color: var(--white);
  font-size: 1.15rem;
}

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

.luxury-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.luxury-grid article:hover {
  border-top-color: var(--aqua);
  box-shadow: 0 14px 28px rgba(5, 14, 61, 0.09);
  transform: translateY(-3px);
}

.luxury-grid span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.luxury-grid h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0;
}

.luxury-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.blueprint-band {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.blueprint-band h2 {
  margin-bottom: 14px;
}

.partnership-logo {
  display: block;
  height: 58px;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: left center;
  width: 132px;
}

.footer-logo {
  display: block;
  height: 42px;
  object-fit: cover;
  width: 96px;
}

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

.blueprint-list div {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.blueprint-list div:hover {
  box-shadow: 0 12px 24px rgba(5, 14, 61, 0.08);
  transform: translateX(3px);
}

.blueprint-list strong {
  color: var(--navy);
}

.cta-band {
  align-items: center;
  animation: cta-breathe 9s ease-in-out infinite;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, #008b84 100%);
  background-size: 140% 140%;
  border: 0;
  border-top: 5px solid var(--aqua);
  color: var(--white);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 1fr) auto;
}

@keyframes cta-breathe {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  color: #dbe7ff;
  margin-top: 10px;
  max-width: 760px;
}

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

.primary-cta,
.secondary-cta {
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  min-height: 44px;
  padding: 0 18px;
  transition: box-shadow 150ms ease, transform 120ms ease;
}

.primary-cta {
  background: var(--aqua);
  color: var(--navy);
}

.secondary-cta {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.primary-cta:hover,
.secondary-cta:hover,
.primary-cta:focus-visible,
.secondary-cta:focus-visible {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.primary-cta:active,
.secondary-cta:active {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(1px) scale(0.98);
}


.print-report {
  display: none;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 320px 1fr;
  }

  .output {
    grid-column: 1 / -1;
  }

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

@media (max-width: 820px) {
  .scenario-bar,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    align-items: center;
    display: grid;
    gap: 10px 12px;
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding: 12px 18px;
  }

  .perspective-switcher {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    gap: 10px;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .mark {
    flex-basis: 38px;
    width: 38px;
  }

  .header-real-wordmark {
    margin-right: 2px;
    width: 54px;
  }

  h1 {
    font-size: 1.16rem;
  }

  .brand p {
    font-size: 0.84rem;
  }

  .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    margin-left: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 0 0;
    width: 100%;
  }

  .topnav a {
    flex: 0 0 auto;
  }

  .actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  #recruiter-view,
  #agent-view,
  #blueprint-plan,
  #why-real,
  #real-tech,
  #tech-video,
  #real-luxury,
  #why-blueprint,
  #next-step {
    scroll-margin-top: 142px;
  }

  .workspace {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .hero-number span {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .kpi strong {
    font-size: 1.35rem;
  }

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

  .kpi-grid,
  .income-mix,
  .value-grid,
  .section-heading,
  .tech-band,
  .tech-grid,
  .goal-planner,
  .goal-results,
  .video-band,
  .luxury-band,
  .luxury-grid,
  .plan-intro,
  .plan-journey,
  .plan-footer,
  .blueprint-band,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .plan-intro .section-kicker,
  .plan-intro h2,
  .plan-intro > p,
  .plan-cap-note {
    grid-column: 1;
    grid-row: auto;
  }

  .plan-transition {
    flex-direction: row;
  }

  .plan-transition i {
    transform: rotate(90deg);
  }

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

  .income-mix .income-mix-total {
    grid-column: auto;
  }

  .calculator-reference {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .reference-summary {
    border-bottom: 1px solid rgba(38, 57, 147, 0.16);
    border-right: 0;
    padding-bottom: 8px;
    padding-right: 0;
  }

  .goal-card-wide {
    grid-template-columns: 1fr;
  }

  .goal-card-wide > .goal-label,
  .goal-card-wide > strong,
  .goal-card-wide > p,
  .goal-card-wide > small,
  .goal-card-wide > .goal-card-stats,
  .goal-card-wide > .goal-breakdown {
    grid-column: 1;
  }

  .goal-net-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: stretch;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .plan-fees {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  @page {
    margin: 0.45in;
  }

  body {
    background: var(--white);
  }

  .app {
    display: none;
  }

  .print-report {
    color: var(--navy);
    display: block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .print-report-header {
    align-items: center;
    background: var(--navy);
    border-bottom: 8px solid var(--aqua);
    color: var(--white);
    display: grid;
    gap: 16px;
    grid-template-columns: 58px 1fr auto;
    padding: 22px 26px;
  }

  .print-mark {
    align-items: center;
    border: 3px solid var(--white);
    display: flex;
    font-size: 1.35rem;
    font-weight: 900;
    height: 52px;
    justify-content: center;
    width: 52px;
  }

  .print-report-header p {
    color: #dbe7ff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 3px;
    text-transform: uppercase;
  }

  .print-report-header h2 {
    color: var(--white);
    font-size: 2rem;
    line-height: 1.05;
    margin: 0;
    padding: 0;
  }

  .print-report-header > strong {
    background: var(--aqua);
    color: var(--navy);
    font-size: 1rem;
    padding: 10px 14px;
  }

  .print-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, #008b84 100%);
    color: var(--white);
    display: grid;
    gap: 18px;
    grid-template-columns: 1.5fr 0.7fr;
    margin-top: 18px;
    padding: 28px;
  }

  .print-hero span,
  .print-kpis span,
  .print-assumption-box span {
    display: block;
    font-size: 0.85rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .print-hero strong {
    display: block;
    font-size: 3.8rem;
    line-height: 0.95;
    margin-top: 8px;
  }

  .print-hero small {
    color: #dbe7ff;
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 10px;
  }

  .print-assumption-box {
    align-self: stretch;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
  }

  .print-assumption-box strong {
    color: var(--white);
    font-size: 1.8rem;
  }

  .print-assumption-box small {
    color: #dbe7ff;
    display: block;
    font-size: 1rem;
    font-weight: 800;
    margin-top: 8px;
  }

  .print-kpis {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 16px;
  }

  .print-kpis div {
    background: var(--paper);
    border-top: 8px solid var(--aqua);
    padding: 16px;
  }

  .print-kpis div:nth-child(2) {
    border-top-color: var(--green);
  }

  .print-kpis div:nth-child(3) {
    border-top-color: var(--coral);
  }

  .print-kpis div:nth-child(4) {
    border-top-color: var(--blue);
  }

  .print-kpis strong {
    color: var(--navy);
    display: block;
    font-size: 1.65rem;
    margin-top: 6px;
  }

  .print-levels,
  .print-notes {
    border: 2px solid #cfd7ef;
    margin-top: 16px;
    padding: 18px;
  }

  .print-levels h3,
  .print-notes h3 {
    color: var(--blue);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
    padding: 0;
    text-transform: uppercase;
  }

  .print-level-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px 190px 1fr 90px;
    margin-top: 10px;
  }

  .print-level-row strong {
    color: var(--blue);
    font-size: 1rem;
  }

  .print-level-row span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
  }

  .print-level-row b {
    color: var(--navy);
    font-size: 0.95rem;
    text-align: right;
  }

  .print-level-track {
    background: var(--paper);
    height: 18px;
    overflow: hidden;
  }

  .print-level-track i {
    background: linear-gradient(90deg, var(--aqua), var(--green));
    display: block;
    height: 100%;
  }

  .print-level-row:nth-child(2) .print-level-track i {
    background: linear-gradient(90deg, var(--blue), var(--aqua));
  }

  .print-level-row:nth-child(3) .print-level-track i {
    background: linear-gradient(90deg, var(--green), #74c69d);
  }

  .print-level-row:nth-child(4) .print-level-track i {
    background: linear-gradient(90deg, var(--coral), #c1121f);
  }

  .print-level-row:nth-child(5) .print-level-track i {
    background: linear-gradient(90deg, var(--navy), var(--blue));
  }

  .print-notes {
    background: var(--blue-soft);
    border-left: 8px solid var(--blue);
  }

  .print-notes ul {
    margin: 0;
    padding-left: 20px;
  }

  .print-notes li {
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.35;
    margin-top: 8px;
  }

  .print-notes li::marker {
    color: var(--coral);
  }

  .print-disclaimer {
    border-top: 3px solid var(--coral);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    margin-top: 18px;
    padding-top: 12px;
  }
}

.seo-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  gap: 6px;
  line-height: 1.5;
  padding: 20px clamp(20px, 4vw, 54px) 30px;
}

.seo-footer strong {
  color: var(--navy);
  font-size: 0.84rem;
}
