:root {
  --legacy-blue: #05c3f9;
  --cobalt: #050e3d;
  --coral: #ff557e;
  --onyx: #1d1d1d;
  --chalk: #ffffff;
  --slate: #615b56;
  --navy: var(--cobalt);
  --blue: var(--legacy-blue);
  --aqua: #00b7ad;
  --green: #1f9d71;
  --ink: var(--onyx);
  --muted: var(--slate);
  --line: #cbe5f3;
  --paper: #f2faff;
  --white: var(--chalk);
  --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 8% 0%, rgba(5, 195, 249, 0.2), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(255, 85, 126, 0.17), transparent 32rem),
    linear-gradient(150deg, #eefaff 0%, #fff5f8 52%, #f3fcff 100%);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
}

button,
input {
  font: inherit;
}

a {
  color: var(--cobalt);
  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(--cobalt);
  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; }
.fixed-plan-summary div:nth-child(3) strong { font-size: 1rem; }

.be-kind-badge {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}

.be-kind-badge img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 172px;
  width: 100%;
}

#recruiter-view,
#agent-view,
#why-real,
#real-academy,
#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(5, 195, 249, 0.22);
  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(5, 195, 249, 0.2);
  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(5, 195, 249, 0.2);
  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(5, 195, 249, 0.22);
  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(--cobalt);
  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-metric + .chart-metric {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

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

.transaction-fill {
  background: linear-gradient(90deg, color-mix(in srgb, var(--legacy-blue), var(--chalk) 42%), var(--legacy-blue));
}

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

.transaction-value {
  color: var(--cobalt);
}

.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(320px, 1fr) minmax(280px, 360px);
  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), var(--legacy-blue), 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 {
  max-width: 820px;
}

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

.goal-tool {
  display: contents;
}

.goal-field {
  align-self: center;
  grid-column: 2;
  grid-row: 1;
  max-width: 360px;
  width: 100%;
}

.goal-results {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: 1fr;
}

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

.goal-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  min-height: 0;
  padding: clamp(18px, 2.5vw, 26px);
}

.goal-plan-top {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(230px, 0.72fr) minmax(420px, 1.28fr);
}

.goal-plan-summary {
  align-content: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-left: 5px solid var(--legacy-blue);
  color: var(--white);
  display: grid;
  gap: 9px;
  padding: 18px 20px;
}

.goal-plan-summary .goal-label { color: var(--legacy-blue); }
.goal-plan-summary > strong { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1; }
.goal-plan-summary > p { color: #dbe7ff; font-weight: 750; margin: 0; }

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

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

.goal-label {
  color: var(--cobalt);
  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));
  height: 100%;
  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: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.goal-breakdown div {
  align-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--legacy-blue);
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 10px 12px;
}

.goal-breakdown div:nth-child(3n + 2) { border-left-color: var(--green); }
.goal-breakdown div:nth-child(3n + 3) { border-left-color: var(--coral); }

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

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

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

.goal-note {
  background: var(--blue-soft);
  border-left: 4px solid var(--legacy-blue);
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  padding: 12px 14px;
}

@media (min-width: 1400px) {
  .goal-breakdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.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,
.academy-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,
.academy-band,
.tech-band,
.video-band,
.blueprint-band {
  overflow: hidden;
  position: relative;
}

.insight-band::before,
.plan-band::before,
.academy-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(--cobalt); }
.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-fee {
  border-left: 4px solid var(--coral);
  display: grid;
  gap: 4px;
  padding: 12px;
}

.plan-stage-fee strong {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-stage-fee span { font-size: 0.87rem; font-weight: 750; line-height: 1.45; }
.plan-stage-fee-before { background: #fff1f5; color: #8f2145; }
.plan-stage-fee-after { background: var(--aqua-soft); border-left-color: var(--green); color: var(--navy); }

.plan-stage-cap {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  color: var(--navy);
  display: grid;
  gap: 4px;
  padding: 12px;
}

.plan-stage-cap strong { font-size: 0.9rem; }
.plan-stage-cap span { font-size: 0.84rem; line-height: 1.45; }
.split-cap-label {
  background: var(--blue-soft);
  color: var(--cobalt);
  font-size: 0.74rem;
  font-weight: 850;
  margin-top: -8px;
  padding: 7px 9px;
  width: fit-content;
}

.plan-transition {
  align-items: center;
  color: var(--cobalt);
  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(--cobalt); }
.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;
  text-decoration: none;
  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,
.value-card:focus-visible {
  box-shadow: 0 14px 28px rgba(5, 14, 61, 0.09);
  outline: none;
  transform: translateY(-3px);
}

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

.academy-band {
  background:
    radial-gradient(circle at 12% 12%, rgba(143, 211, 255, 0.2), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(255, 77, 120, 0.14), transparent 30%),
    linear-gradient(135deg, #07113f 0%, #0b1d64 52%, #111e52 100%);
  border: 0;
  color: var(--white);
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  grid-template-columns: minmax(300px, 0.88fr) minmax(480px, 1.12fr);
  padding: clamp(30px, 5vw, 54px);
}

.academy-band::before {
  background: linear-gradient(90deg, var(--legacy-blue) 0 68%, var(--coral) 68% 100%);
  background-size: 100% 100%;
  height: 6px;
}

.academy-hero {
  align-content: center;
  display: grid;
  gap: 12px;
  padding-right: clamp(0px, 2vw, 20px);
}

.academy-wordmark {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}

.academy-real-crop {
  aspect-ratio: 1240 / 440;
  display: block;
  flex: 0 0 124px;
  overflow: hidden;
  position: relative;
}

.academy-real-crop img {
  filter: invert(1) contrast(1.08);
  height: auto;
  left: -32.3%;
  max-width: none;
  mix-blend-mode: screen;
  position: absolute;
  top: -56.8%;
  width: 165.2%;
}

.academy-wordmark > span:last-child {
  border-left: 2px solid var(--legacy-blue);
  color: var(--legacy-blue);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding-left: 14px;
  text-transform: uppercase;
}

.academy-hero h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.25vw, 2.7rem);
  line-height: 1.04;
  max-width: 680px;
}

.academy-hero > p,
.academy-benefits p {
  color: #d7e5ff;
  line-height: 1.55;
}

.academy-hero > p {
  font-size: 1rem;
  max-width: 620px;
}

.academy-hero .section-kicker {
  color: #ff668c;
}

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

.academy-benefits article {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(190, 218, 255, 0.22);
  border-top: 4px solid var(--aqua);
  display: grid;
  gap: 8px;
  min-height: 174px;
  padding: 22px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.academy-benefits article:nth-child(2),
.academy-benefits article:nth-child(4) { border-top-color: var(--coral); }
.academy-benefits article:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(143, 211, 255, 0.48);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}
.academy-benefits span {
  color: var(--legacy-blue);
  font-size: 0.72rem;
  font-weight: 900;
}
.academy-benefits h3 { color: var(--white); font-size: 1.08rem; line-height: 1.2; }
.academy-benefits p { color: #c8d4ee; font-size: 0.86rem; margin: 0; }
.academy-link {
  background: var(--legacy-blue);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  justify-self: start;
  margin-top: 4px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.academy-link:hover {
  background: var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

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

.value-card b {
  align-self: end;
  color: var(--cobalt);
  font-size: 0.8rem;
  margin-top: 8px;
}

.value-card b i { color: var(--coral); font-style: normal; }

.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-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(--cobalt);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-card-logo {
  display: block;
  height: 34px;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.tech-card-logo-rezen {
  height: 42px;
  max-width: 168px;
}

.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:
    radial-gradient(circle at 16% 8%, rgba(143, 211, 255, 0.14), transparent 24rem),
    linear-gradient(135deg, #2a2c31 0%, #202227 55%, #17191d 100%);
  border: 1px solid #3d4047;
  color: var(--white);
  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, #d29a54 0%, #f0c783 42%, var(--legacy-blue) 72%, #d29a54 100%);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.luxury-band::after {
  background: radial-gradient(circle, rgba(240, 199, 131, 0.09), transparent 68%);
  content: "";
  height: 460px;
  pointer-events: none;
  position: absolute;
  right: -160px;
  top: -180px;
  width: 460px;
}

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

.luxury-kicker {
  color: var(--legacy-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: 0 0 22px;
  max-width: 360px;
  object-fit: contain;
  width: min(78%, 360px);
}

.luxury-hero h2 {
  color: var(--white);
  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: #ced1d8;
  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(240, 199, 131, 0.62);
  color: #f6dfb6;
  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(--legacy-blue);
  border-color: var(--legacy-blue);
  color: #202227;
}

.luxury-actions a:hover,
.luxury-actions a:focus-visible {
  background: #f0c783;
  border-color: #f0c783;
  color: #202227;
  outline: none;
  transform: translateY(-2px);
}

.luxury-panel {
  align-self: start;
  background: linear-gradient(145deg, rgba(52, 55, 62, 0.98), rgba(24, 26, 31, 0.98));
  border: 1px solid rgba(240, 199, 131, 0.45);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0;
  overflow: hidden;
}

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

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

.luxury-stat span {
  color: #a9e1ff;
  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: rgba(48, 51, 58, 0.96);
  border: 1px solid #484c55;
  border-top: 4px solid var(--legacy-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-color: rgba(240, 199, 131, 0.72);
  border-top-color: #f0c783;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.luxury-grid span {
  color: #a9e1ff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

.luxury-grid p {
  color: #c7cbd3;
  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-academy,
  #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,
  .academy-band,
  .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(5, 195, 249, 0.2);
    border-right: 0;
    padding-bottom: 8px;
    padding-right: 0;
  }

  .goal-field {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
  }

  .goal-results {
    grid-column: 1;
    grid-row: 3;
  }

  .goal-note {
    grid-column: 1;
    grid-row: 4;
  }

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

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

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

@media (max-width: 560px) {
  .goal-net-grid,
  .goal-breakdown {
    grid-template-columns: 1fr;
  }

  .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(--cobalt);
    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(--cobalt);
    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;
  }
}

/* Human-first welcome experience */
.simple-journey {
  align-items: end;
  background: #fff4f7;
  display: grid;
  gap: clamp(26px, 5vw, 68px);
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  margin: 0 clamp(18px, 4vw, 48px) 18px;
  padding: clamp(28px, 5vw, 58px);
}

.simple-journey-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 8px;
}

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

.simple-journey-grid article {
  background: var(--white);
  border-top: 4px solid var(--coral);
  min-height: 220px;
  padding: 22px 18px;
}

.simple-journey-grid article:nth-child(2) { border-top-color: var(--aqua); }
.simple-journey-grid article:nth-child(3) { border-top-color: var(--blue); }
.journey-icon { color: var(--coral); font-size: 0.78rem; font-weight: 900; }
.simple-journey-grid article:nth-child(2) .journey-icon { color: var(--aqua); }
.simple-journey-grid article:nth-child(3) .journey-icon { color: var(--cobalt); }
.simple-journey-grid h3 { color: var(--navy); font-size: 1.2rem; margin: 48px 0 10px; }
.simple-journey-grid p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.deep-dive {
  border: 1px solid var(--line);
  background: var(--white);
  scroll-margin-top: 112px;
}

.deep-dive > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 22px clamp(20px, 4vw, 34px);
}

.deep-dive > summary::-webkit-details-marker { display: none; }
.deep-dive > summary span { display: grid; gap: 4px; }
.deep-dive > summary small { color: var(--coral); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.deep-dive > summary strong { color: var(--navy); font-size: clamp(1rem, 2vw, 1.3rem); }
.deep-dive > summary i { align-items: center; background: var(--coral); border: 1px solid var(--coral); color: var(--white); display: inline-flex; flex: 0 0 38px; font-size: 1.4rem; font-style: normal; height: 38px; justify-content: center; transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease; }
.deep-dive > summary:hover i,
.deep-dive > summary:focus-visible i { background: var(--legacy-blue); border-color: var(--legacy-blue); box-shadow: 0 12px 24px rgba(5, 14, 61, 0.2); color: var(--cobalt); }
.deep-dive[open] > summary i { font-size: 0; }
.deep-dive[open] > summary i::after { content: "−"; font-size: 1.7rem; }
.deep-dive-content { display: grid; gap: 18px; padding: 0 18px 18px; }
.deep-dive-content > section { margin: 0; }

.goal-breakdown-details {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 4px;
}

.goal-breakdown-details > summary {
  color: var(--cobalt);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 12px 2px;
}

.goal-breakdown-details .goal-breakdown { padding-top: 4px; }
.cta-link-button { background: transparent; border-color: rgba(255, 255, 255, 0.38); }

.welcome-hero {
  background: linear-gradient(135deg, #f6fbff 0%, #fff4f7 58%, #fff 100%);
  display: grid;
  gap: clamp(30px, 6vw, 84px);
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.72fr);
  min-height: calc(100vh - 84px);
  overflow: hidden;
  padding: clamp(44px, 7vw, 100px) clamp(18px, 7vw, 94px);
  position: relative;
}

.welcome-hero::before {
  background: var(--coral);
  border-radius: 999px;
  content: "";
  height: 280px;
  opacity: 0.1;
  position: absolute;
  right: -100px;
  top: -100px;
  width: 280px;
}

.welcome-copy {
  align-self: center;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.welcome-kicker {
  color: var(--coral);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.welcome-copy h2 {
  color: var(--navy);
  font-size: clamp(2.7rem, 5.7vw, 5.8rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: 760px;
}

.welcome-copy > p {
  color: #43506f;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.65;
  margin-top: 26px;
  max-width: 650px;
}

.welcome-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.welcome-primary,
.welcome-secondary {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
}

.welcome-primary {
  background: var(--navy);
  color: var(--white);
}

.welcome-secondary {
  border: 2px solid var(--coral);
  color: var(--navy);
}

.welcome-proof {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 22px;
  margin-top: 28px;
}

.welcome-proof span::before {
  color: var(--aqua);
  content: "\2713";
  margin-right: 7px;
}

.welcome-photo {
  align-self: center;
  background: var(--navy);
  box-shadow: 26px 28px 0 rgba(255, 85, 126, 0.18);
  margin: 0;
  max-width: 560px;
  position: relative;
  transform: rotate(1.4deg);
}

.welcome-photo img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: 52% 31%;
  width: 100%;
}

.welcome-photo figcaption {
  background: rgba(5, 14, 61, 0.94);
  bottom: 18px;
  color: var(--white);
  display: grid;
  gap: 3px;
  left: -22px;
  max-width: 84%;
  padding: 16px 18px;
  position: absolute;
}

.welcome-photo figcaption strong { font-size: 1rem; }
.welcome-photo figcaption span { color: #d8e2f8; font-size: 0.78rem; line-height: 1.4; }

.coffee-band {
  align-items: stretch;
  background: var(--navy);
  color: var(--white);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  margin: 0 clamp(18px, 4vw, 48px) 28px;
  overflow: hidden;
}

.coffee-portrait { min-height: 660px; position: relative; }
.coffee-portrait img { height: 100%; object-fit: cover; object-position: 50% 30%; position: absolute; width: 100%; }
.coffee-caption { background: var(--coral); bottom: 24px; display: grid; left: 24px; padding: 15px 18px; position: absolute; }
.coffee-caption span { font-size: 0.75rem; font-weight: 850; text-transform: uppercase; }
.coffee-caption strong { font-size: 1.15rem; }

.coffee-copy { align-self: center; padding: clamp(38px, 6vw, 84px); }
.coffee-copy .section-kicker { color: #6de3db; }
.coffee-copy h2 { font-size: clamp(2.1rem, 4vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; max-width: 760px; }
.coffee-copy > p { color: #d8e2f8; font-size: 1.08rem; line-height: 1.7; margin-top: 22px; max-width: 680px; }
.coffee-steps { border-top: 1px solid rgba(255,255,255,0.18); display: grid; gap: 0; margin-top: 30px; }
.coffee-steps > div { align-items: start; border-bottom: 1px solid rgba(255,255,255,0.18); display: grid; gap: 14px; grid-template-columns: 36px 1fr; padding: 17px 0; }
.coffee-steps > div > span { color: var(--coral); font-size: 0.78rem; font-weight: 900; }
.coffee-steps p { color: #cbd6ee; display: grid; font-size: 0.84rem; gap: 3px; line-height: 1.45; }
.coffee-steps strong { color: var(--white); font-size: 0.98rem; }
.coffee-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.coffee-button { background: var(--coral); border: 0; color: var(--white); cursor: pointer; font-weight: 900; min-height: 52px; padding: 0 22px; }
.coffee-booking-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}
.coffee-booking-link:hover,
.coffee-booking-link:focus-visible {
  background: var(--legacy-blue);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  color: var(--navy);
  outline: none;
  transform: translateY(-4px);
}
.coffee-button:disabled,
.secondary-cta:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.coffee-actions p { color: #aebddb; font-size: 0.75rem; max-width: 300px; }
.coffee-actions p a { color: var(--white); font-weight: 850; }

@media (max-width: 900px) {
  .welcome-hero { grid-template-columns: 1fr; min-height: 0; }
  .welcome-photo { justify-self: center; max-width: 500px; transform: none; width: calc(100% - 18px); }
  .coffee-band { grid-template-columns: 1fr; }
  .coffee-portrait { min-height: 520px; }
  .simple-journey { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .welcome-hero { padding-bottom: 64px; padding-top: 50px; }
  .welcome-copy h2 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .welcome-actions { align-items: stretch; flex-direction: column; }
  .welcome-primary, .welcome-secondary { width: 100%; }
  .welcome-proof { display: grid; gap: 8px; }
  .welcome-photo figcaption { bottom: 12px; left: -9px; }
  .coffee-band { margin-left: 0; margin-right: 0; }
  .coffee-portrait { min-height: 430px; }
  .coffee-copy { padding: 42px 22px 48px; }
  .coffee-actions { align-items: stretch; flex-direction: column; }
  .coffee-button { width: 100%; }
  .simple-journey { margin-left: 0; margin-right: 0; padding: 38px 20px; }
  .simple-journey-grid { grid-template-columns: 1fr; }
  .simple-journey-grid article { min-height: 0; }
  .simple-journey-grid h3 { margin-top: 28px; }
  .deep-dive-content { padding-left: 0; padding-right: 0; }
  .goal-breakdown { grid-template-columns: 1fr; }
}

/* Video-led opening and linked learning ecosystem */
.intro-film {
  background: var(--navy);
  min-height: min(78vh, 800px);
  overflow: hidden;
  position: relative;
}

.intro-film-poster {
  height: min(78vh, 800px);
  min-height: 560px;
  position: relative;
}

.intro-film-photo,
.intro-film-video {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 32%;
  position: absolute;
  width: 100%;
}

.intro-film-photo {
  z-index: 0;
}

.intro-film-video {
  opacity: 1;
  transition: opacity 320ms ease;
  z-index: 1;
}

.intro-film-video.is-unavailable {
  opacity: 0;
}

.intro-film-copy {
  align-items: center;
  bottom: clamp(38px, 8vw, 94px);
  color: var(--white);
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  left: clamp(20px, 7vw, 96px);
  position: absolute;
  right: 24px;
  z-index: 3;
}

.intro-film-copy h2 {
  flex: 0 1 auto;
  font-size: clamp(1.25rem, 2.2vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  opacity: 0;
  text-shadow: 0 4px 22px rgba(5, 14, 61, 0.48);
  transform: translateY(18px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.intro-film-copy.is-welcome-visible h2 {
  opacity: 1;
  transform: translateY(0);
}

.intro-film-control {
  align-items: center;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(5, 14, 61, 0.18);
  color: var(--white);
  cursor: pointer;
  display: flex;
  gap: 13px;
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 19px 7px 7px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.intro-film-control:hover,
.intro-film-control:focus-visible {
  background: var(--legacy-blue);
  border-color: var(--legacy-blue);
  box-shadow: 0 16px 30px rgba(5, 14, 61, 0.3);
  color: var(--cobalt);
  outline: none;
  transform: translateY(-4px);
}

.intro-film-control:active {
  background: var(--legacy-blue);
  border-color: var(--legacy-blue);
  box-shadow: inset 0 3px 8px rgba(5, 14, 61, 0.3), 0 6px 14px rgba(5, 14, 61, 0.2);
  color: var(--cobalt);
  transform: translateY(1px) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .intro-film-video { transition: none; }
  .intro-film-copy h2 { transition: none; }
  .intro-film-control { transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease; }
}

.intro-film-control-icon {
  align-items: center;
  background: rgba(5, 14, 61, 0.18);
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.9rem;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.intro-film-icon-play { padding-left: 3px; }
.intro-film-icon-pause { display: none; font-size: 1.2rem; font-weight: 900; letter-spacing: -0.26em; padding-right: 3px; }
.intro-film-control[data-paused="false"]:is(:hover, :focus-visible) .intro-film-icon-play { display: none; }
.intro-film-control[data-paused="false"]:is(:hover, :focus-visible) .intro-film-icon-pause { display: inline; }
.intro-film-control strong { font-size: 0.82rem; letter-spacing: 0.04em; }

.welcome-hero {
  min-height: 0;
  padding-bottom: clamp(56px, 7vw, 88px);
  padding-top: clamp(56px, 7vw, 88px);
}

.welcome-copy { max-width: 720px; }
.welcome-copy h2 { max-width: 920px; }

.academy-benefits > a {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(190, 218, 255, 0.22);
  border-top: 4px solid var(--aqua);
  display: grid;
  gap: 8px;
  min-height: 196px;
  padding: 22px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.academy-benefits > a:nth-child(2),
.academy-benefits > a:nth-child(4) { border-top-color: var(--coral); }

.academy-benefits > a:hover,
.academy-benefits > a:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(143, 211, 255, 0.58);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  outline: none;
  transform: translateY(-3px);
}

.academy-benefits > a > span { color: var(--legacy-blue); font-size: 0.72rem; font-weight: 900; }
.academy-benefits > a h3 { color: var(--white); font-size: 1.08rem; line-height: 1.2; margin: 0; }
.academy-benefits > a p { color: #c8d4ee; font-size: 0.86rem; line-height: 1.55; margin: 0; }
.academy-benefits > a b { align-self: end; color: var(--legacy-blue); font-size: 0.8rem; margin-top: 8px; }
.academy-benefits > a b i { color: var(--coral); font-style: normal; }

.tech-band {
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 211, 255, 0.24), transparent 32rem),
    linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(270px, 0.7fr) minmax(520px, 1.3fr);
  padding: clamp(30px, 5vw, 58px);
  scroll-margin-top: 112px;
}

.tech-lead { justify-content: center; }
.tech-lead h2 { font-size: clamp(2.2rem, 4vw, 4.4rem); letter-spacing: -0.05em; line-height: 0.97; }
.tech-lead > p { font-size: 1.02rem; }

.tech-card {
  color: inherit;
  min-height: 218px;
  position: relative;
  text-decoration: none;
}

.tech-card:nth-child(5) { grid-column: auto; min-height: 218px; }
.tech-card:nth-child(6) { border-top-color: var(--green); }
.tech-card:hover,
.tech-card:focus-visible { border-color: var(--legacy-blue); box-shadow: 0 18px 36px rgba(5, 14, 61, 0.13); outline: none; transform: translateY(-4px); }
.tech-card b { align-self: end; color: var(--cobalt); font-size: 0.8rem; margin-top: 8px; }
.tech-card b i { color: var(--coral); font-style: normal; }

@media (max-width: 980px) {
  .tech-band { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .intro-film,
  .intro-film-poster { height: 72vh; min-height: 540px; }
  .intro-film-video { object-position: 57% 30%; }
  .intro-film-copy { bottom: 34px; gap: 9px; left: 14px; right: 14px; }
  .intro-film-copy h2 { font-size: clamp(0.62rem, 2.6vw, 0.84rem); }
  .intro-film-control { gap: 7px; padding: 5px 10px 5px 5px; }
  .intro-film-control-icon { height: 38px; width: 38px; }
  .intro-film-control strong { font-size: 0.65rem; }
  .academy-benefits > a { min-height: 0; }
}

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

/* Focused search-entry pages keep the same Blue Sky visual language while
   letting each visitor arrive directly at the question they are researching. */
.landing-page {
  min-height: 100vh;
}

.landing-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(22px, 5vw, 64px) clamp(18px, 4vw, 42px) 72px;
}

.landing-brand {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.landing-brand img {
  border-radius: 9px;
  height: 34px;
  width: 34px;
}

.landing-hero {
  background: linear-gradient(135deg, rgba(5, 195, 249, 0.22), rgba(255, 85, 126, 0.14) 58%, rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(5, 195, 249, 0.24);
  border-radius: var(--radius-lg);
  margin-top: clamp(30px, 7vw, 78px);
  padding: clamp(28px, 6vw, 72px);
}

.landing-hero h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 12px 0 20px;
  max-width: 850px;
}

.landing-lead {
  color: var(--ink);
  font-size: clamp(1.03rem, 1.8vw, 1.28rem);
  line-height: 1.65;
  margin: 0;
  max-width: 700px;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.landing-grid article,
.landing-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.landing-grid span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.landing-grid h2,
.landing-note h2 {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.14;
  margin: 10px 0;
}

.landing-grid p,
.landing-note p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.landing-note {
  border-left: 5px solid var(--legacy-blue);
  margin-top: 16px;
}

.landing-note a {
  color: var(--navy);
  display: inline-block;
  font-weight: 900;
  margin-top: 16px;
}

@media (max-width: 720px) {
  .landing-grid { grid-template-columns: 1fr; }
  .landing-actions > a { flex: 1 1 220px; justify-content: center; text-align: center; }
}

.footer-contact { color: var(--cobalt); font-weight: 850; width: fit-content; }

.message-launcher {
  align-items: center;
  background: transparent;
  border: 0;
  bottom: 22px;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  height: 104px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 22px;
  width: 104px;
  z-index: 50;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.message-launcher-avatar {
  animation: blue-sky-float 3.8s ease-in-out infinite;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(5, 14, 61, 0.3), 0 0 0 5px rgba(5, 195, 249, 0.14);
  display: block;
  height: 94px;
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease;
  width: 94px;
}

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

.message-launcher-label {
  background: var(--cobalt);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px rgba(5, 14, 61, 0.2);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  padding: 8px 11px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 8px);
  transform: translateX(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

@keyframes blue-sky-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

@keyframes blue-sky-hello {
  0% { transform: translateY(0) rotate(0) scale(1); }
  30% { transform: translateY(-8px) rotate(-4deg) scale(1.055); }
  62% { transform: translateY(-3px) rotate(3deg) scale(1.035); }
  100% { transform: translateY(-6px) rotate(-1deg) scale(1.05); }
}

.message-panel {
  background: #fbfdff;
  border: 4px solid var(--legacy-blue);
  border-radius: 34px 34px 34px 15px;
  bottom: 134px;
  box-shadow: 0 24px 60px rgba(5, 14, 61, 0.26), inset 0 0 0 4px rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 112px);
  overflow: hidden;
  padding: 18px 20px 20px;
  position: fixed;
  right: 22px;
  transition: max-height 240ms ease, width 240ms ease;
  width: min(430px, calc(100vw - 32px));
  z-index: 51;
}

.message-panel[hidden] { display: none; }

.message-panel::after {
  background: #fbfdff;
  border-bottom: 4px solid var(--legacy-blue);
  border-right: 4px solid var(--legacy-blue);
  bottom: -14px;
  content: "";
  height: 24px;
  position: absolute;
  right: 46px;
  transform: rotate(45deg);
  width: 24px;
}

.message-panel-header {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.message-panel h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 0;
}

.message-panel > p {
  color: var(--muted);
  flex: 0 0 auto;
  line-height: 1.5;
  margin: 12px 0 18px;
}

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

.message-panel-brand img {
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(5, 14, 61, 0.2);
  display: block;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.message-panel-brand p {
  color: var(--cobalt);
  font-size: 0.76rem;
  font-weight: 800;
  margin: 3px 0 0;
}

.assistant-disclosure {
  background: #f4f7fd;
  border-left: 3px solid var(--aqua);
  font-size: 0.76rem;
  padding: 10px 12px;
}
.assistant-disclosure a { color: var(--cobalt); font-weight: 850; }

.assistant-log {
  display: grid;
  flex: 0 1 auto;
  gap: 12px;
  max-height: min(360px, 38vh);
  min-height: 0;
  overflow-y: auto;
  padding: 3px 3px 12px;
}

.assistant-message {
  display: grid;
  gap: 4px;
  max-width: 90%;
  position: relative;
  padding: 12px 14px;
  border-radius: 22px;
}

.assistant-message span {
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-message p { font-size: 0.88rem; line-height: 1.5; margin: 0; }
.assistant-message-ai { background: var(--legacy-blue); border-bottom-left-radius: 6px; color: var(--white); }
.assistant-message-ai span { color: rgba(255, 255, 255, 0.84); }
.assistant-message-user { background: #34c759; border-bottom-right-radius: 6px; color: var(--white); justify-self: end; }
.assistant-message-user span { color: rgba(255, 255, 255, 0.82); }
.assistant-message-ai::after,
.assistant-message-user::after { bottom: 0; content: ""; height: 0; position: absolute; width: 0; }
.assistant-message-ai::after { border-bottom: 0 solid transparent; border-right: 10px solid var(--legacy-blue); border-top: 12px solid transparent; left: -7px; }
.assistant-message-user::after { border-bottom: 0 solid transparent; border-left: 10px solid #34c759; border-top: 12px solid transparent; right: -7px; }

.assistant-prompts { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 14px; }
.assistant-prompts[hidden] { display: none; }
.assistant-prompts button {
  background: var(--white);
  border: 1px solid #bac7dd;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px 10px;
}

.assistant-handoff {
  background: #fff3f6;
  border-top: 4px solid var(--coral);
  display: grid;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 14px;
}
.assistant-handoff[hidden] { display: none; }
.assistant-handoff > span { color: var(--coral); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.assistant-handoff p { color: var(--navy); font-size: 0.82rem; line-height: 1.45; margin: 0; }
.assistant-handoff a { background: var(--coral); color: var(--white); font-size: 0.8rem; font-weight: 900; padding: 11px 12px; text-align: center; text-decoration: none; }
.assistant-handoff small { color: var(--muted); line-height: 1.4; }

.assistant-booking-profile {
  background: var(--white);
  border: 1px solid rgba(5, 14, 61, 0.12);
  display: grid;
  gap: 11px;
  padding: 14px;
}

.assistant-booking-profile[hidden],
.assistant-calendly[hidden],
.assistant-booking-confirmed[hidden] { display: none; }

.assistant-booking-profile > strong { color: var(--navy); font-size: 0.94rem; }
.assistant-booking-profile > p { color: var(--muted); font-size: 0.76rem; line-height: 1.45; margin: -4px 0 2px; }
.assistant-booking-profile label { gap: 5px; }
.assistant-booking-profile label > span { color: var(--navy); font-size: 0.74rem; font-weight: 850; }
.assistant-booking-profile button {
  background: var(--coral);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  padding: 0 14px;
}

.assistant-back-to-chat {
  align-items: center;
  align-self: start;
  background: transparent;
  border: 0;
  color: var(--cobalt);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 3px 0;
}

.assistant-back-to-chat:hover,
.assistant-back-to-chat:focus-visible { color: var(--coral); outline: none; text-decoration: underline; }

.assistant-booking-consent {
  align-items: start;
  display: grid !important;
  gap: 9px !important;
  grid-template-columns: auto 1fr;
}

.assistant-booking-consent input { margin-top: 3px; }
.assistant-booking-consent span { color: var(--muted) !important; font-size: 0.7rem !important; font-weight: 650 !important; line-height: 1.4; }

.assistant-calendly {
  background: var(--white);
  height: min(680px, 72vh);
  min-height: 560px;
  overflow: hidden;
}

.assistant-booking-confirmed {
  background: #edf9f5;
  border-left: 4px solid var(--green);
  color: var(--navy);
  padding: 14px;
}

.assistant-booking-confirmed strong { font-size: 0.92rem; }
.assistant-booking-confirmed p { font-size: 0.78rem; line-height: 1.45; margin: 5px 0 0; }
.message-panel.is-scheduling { width: min(760px, calc(100vw - 32px)); }

.assistant-form { border-top: 1px solid var(--line); flex: 0 0 auto; padding-top: 13px; }
.assistant-form[hidden] { display: none; }
.assistant-form > label { color: var(--navy); font-size: 0.75rem; font-weight: 850; margin-bottom: 6px; }
.assistant-form > div { align-items: stretch; display: grid; grid-template-columns: 1fr auto; }
.assistant-form textarea { min-height: 58px; }
.assistant-form .message-submit { min-width: 72px; }

.message-close {
  align-items: center;
  background: var(--cobalt);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(5, 14, 61, 0.22);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.6rem;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: relative;
  z-index: 2;
  width: 38px;
}

.message-close:hover,
.message-close:focus-visible { background: var(--legacy-blue); color: var(--cobalt); outline: none; transform: translateY(-2px); }
.message-close:active { box-shadow: inset 0 2px 6px rgba(5, 14, 61, 0.3); transform: translateY(1px) scale(0.96); }

.message-panel form,
.message-panel label {
  display: grid;
  gap: 7px;
}

.message-panel form {
  gap: 14px;
}

.message-panel label > span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
}

.message-panel input[type="text"],
.message-panel input[type="email"],
.message-panel select,
.message-panel textarea {
  background: var(--white);
  border: 1px solid #cbd4e5;
  border-radius: 0;
  color: var(--navy);
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.message-panel textarea {
  min-height: 104px;
  resize: vertical;
}

.message-panel input:focus,
.message-panel select:focus,
.message-panel textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5, 195, 249, 0.2);
  outline: 0;
}

.message-consent {
  align-items: start;
  grid-template-columns: auto 1fr;
}

.message-consent input {
  margin-top: 3px;
}

.message-consent span {
  color: var(--muted) !important;
  font-size: 0.74rem !important;
  font-weight: 650 !important;
  line-height: 1.4;
}

.message-trap {
  left: -9999px;
  position: absolute;
}

.message-submit {
  background: var(--navy);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 48px;
  padding: 0 16px;
}

.message-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.message-status {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.4;
  margin: 0;
  min-height: 1.2em;
}

.message-status.is-success { color: #087765; }
.message-status.is-error { color: #b4233b; }

/* Shared call-to-action motion: buttons and button-style links feel consistent,
   while informational cards retain their own hover treatment. */
:is(button, .welcome-primary, .welcome-secondary, .coffee-booking-link) {
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

:is(button:not(:disabled), .welcome-primary, .welcome-secondary, .coffee-booking-link):hover,
:is(button:not(:disabled), .welcome-primary, .welcome-secondary, .coffee-booking-link):focus-visible {
  background: var(--legacy-blue);
  border-color: var(--legacy-blue);
  box-shadow: 0 16px 30px rgba(5, 14, 61, 0.2);
  color: var(--navy);
  outline: none;
  transform: translateY(-4px);
}

button.message-launcher:hover,
button.message-launcher:focus-visible,
button.message-launcher:active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.message-launcher:focus-visible .message-launcher-avatar {
  animation: blue-sky-hello 900ms ease-in-out infinite alternate;
  box-shadow: 0 22px 42px rgba(5, 14, 61, 0.34), 0 0 0 7px rgba(255, 85, 126, 0.2);
}

.message-launcher:active .message-launcher-avatar {
  animation: none;
  box-shadow: 0 8px 18px rgba(5, 14, 61, 0.28), 0 0 0 4px rgba(5, 195, 249, 0.2);
  transform: translateY(5px) scale(0.93);
  transition-duration: 80ms;
}

button.message-launcher:focus-visible {
  outline: none;
}

@media (hover: hover) {
  .message-launcher:hover .message-launcher-avatar {
    animation: blue-sky-hello 900ms ease-in-out infinite alternate;
    box-shadow: 0 22px 42px rgba(5, 14, 61, 0.34), 0 0 0 7px rgba(255, 85, 126, 0.2);
  }

  .message-launcher:hover .message-launcher-label {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  .academy-benefits article {
    min-height: 0;
  }

  .message-launcher {
    bottom: 12px;
    height: 84px;
    right: 12px;
    width: 84px;
  }

  .message-launcher-avatar {
    height: 76px;
    width: 76px;
  }

  .message-launcher-label { display: none; }

  .message-panel {
    bottom: 106px;
    border-radius: 28px 28px 28px 13px;
    max-height: calc(100vh - 88px);
    padding: 18px;
    right: 12px;
    width: calc(100vw - 24px);
  }

  .message-panel-brand img { height: 52px; width: 52px; }
  .message-panel::after { right: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .message-launcher-avatar,
  .message-launcher:hover .message-launcher-avatar,
  .message-launcher:focus-visible .message-launcher-avatar {
    animation: none;
  }
}

@media print {
  .message-launcher,
  .message-panel {
    display: none !important;
  }
}
