/* Mentoring page — system-theme following via prefers-color-scheme */

/* Base (light) colors — matched by OS light mode or default */
:root {
  --paper: #fbfaf7;
  --surface: #fff;
  --tint: #f3f1ec;
  --ink: #16181d;
  --ink-2: #4a4f59;
  --ink-3: #626875;
  --line: #e4e1da;
  --pega: #1f4fd1;
  --pega-hover: #173da6;
  --soft-blue: #e8eefc;
  --focus: #1f4fd1;
  --shadow: 0 18px 54px -40px rgba(20, 29, 55, .32);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; min-width: 360px; padding-top: 57px; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1:focus { outline: none; }
.container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.back-link:hover, .text-link:hover { color: var(--pega); }
.back-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.page { min-height: calc(100vh - 57px); padding-top: clamp(24px, 3vw, 40px); padding-bottom: 56px; }
.intro { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--pega); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font: 400 clamp(34px, 4.4vw, 56px)/1.08 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
h2 { font: 400 clamp(27px, 2.4vw, 32px)/1.2 var(--serif); letter-spacing: -.02em; }
.intro-copy { max-width: 650px; margin: 0 auto; color: var(--ink-2); font-size: clamp(17px, 1.7vw, 20px); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-card, .plan-card, .card, .state-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.home-card, .plan-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.2vw, 26px); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-card:hover, .plan-card:hover { transform: translateY(-3px); border-color: var(--pega); box-shadow: 0 24px 55px -34px rgba(31, 79, 209, .26); }
.check-list { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pega); font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; text-align: center; font-weight: 650; line-height: 1.3; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: #1f4fd1; }
.button-primary:hover { background: #173da6; }
.button-secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button-secondary:hover { border-color: var(--pega); }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; text-align: center; }
.trust-strip span + span::before { content: "·"; margin-right: 32px; color: var(--pega); }
.training-intro { margin-bottom: 28px; }
.audience-switch { display: inline-flex; padding: 5px; gap: 4px; margin: 20px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint); }
.audience-switch button { min-width: 144px; min-height: 44px; padding: 8px 18px; background: transparent; border: 0; border-radius: 999px; color: var(--ink-2); font: 650 15px var(--sans); cursor:pointer; }
.audience-switch button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .09); }
.audience-copy { max-width: 680px; margin: 0 auto; color: var(--ink-2); font-size: 14px; }
.course-duration { padding: 0 0 14px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.view-nav { min-height: 0; }
.view-nav .view-back { margin: 14px 0 -14px -10px; color: var(--ink-2); }
.home-intro { max-width: 880px; margin-bottom: 24px; }
.home-intro h1 { margin-bottom: 8px; font-size: clamp(34px, 4vw, 52px); }
.home-intro .audience-switch { margin: 16px 0 0; }
.home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-grid[data-audience="business"] { grid-template-columns: minmax(0, 760px); justify-content: center; }
.home-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "icon title" "copy copy" "link link"; align-items: center; column-gap: 12px; text-decoration: none; color: var(--ink); min-height: 176px; padding: 20px; border-radius: 20px; }
.home-card-featured { border: 2px solid var(--pega); }
.home-card-icon { grid-area: icon; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--soft-blue); color: var(--pega); }
.home-card-icon svg { width: 22px; height: 22px; }
.home-card h2 { grid-area: title; margin: 0; font-size: 22px; line-height: 1.2; }
.home-card-copy { grid-area: copy; align-self: start; margin: 12px 0 8px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.home-card-price { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.home-card-price strong { color: var(--ink); font-weight: 650; }
.home-card-link { grid-area: link; align-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; color: var(--pega); font-weight: 650; }
.home-card-corporate { display: flex; flex-direction: column; padding: 24px clamp(20px, 4vw, 40px); align-items: center; text-align: center; min-height: 0; }
.home-card-corporate .home-card-icon { margin-bottom: 10px; }
.home-card-corporate h2 { margin-bottom: 6px; font-size: 26px; }
.home-card-corporate .home-card-copy { max-width: 560px; margin: 0 0 10px; font-size: 16px; }
.home-card-corporate .home-card-price { margin: 0 0 16px; font-size: 16px; }
.home-card-button { align-self: center; padding-inline: 28px; }
.pill { display: inline-flex; align-items: center; align-self: flex-start; min-height: 26px; margin-bottom: 12px; padding: 2px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.pill-accent { position: absolute; top: -12px; right: 16px; min-height: 24px; margin: 0; border-color: transparent; background: var(--soft-blue); color: var(--pega); }
.plan-card-link { color: var(--ink); text-decoration: none; cursor: pointer; }
.plan-card-link:focus-visible, .home-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.plan-card-link .price-block { flex-wrap: nowrap; gap: 6px; }
.plan-card-link .price-block strong { font-size: clamp(25px, 2.4vw, 34px); white-space: nowrap; }
.plan-card-link .price-block .price-talk { font-size: clamp(22px, 2.1vw, 30px); }
.plan-card-link .price-unit, .plan-card-link .launch-offer-was { font-size: 12px; white-space: nowrap; }
.plan-card h2 { margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 28px); overflow-wrap: anywhere; }
.plan-tagline { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.course-duration { margin: auto 0 0; }
.price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-block strong { font: 400 34px/1.1 var(--serif); letter-spacing: -.025em; }
.price-block .price-talk { font-size: 30px; }
.price-unit { color: var(--ink-2); font-size: 14px; }
.launch-offer-was { color: var(--ink-3); font-size: 14px; font-weight: 400; white-space: normal; }
.launch-offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; }
.launch-offer-label { display: inline-block; width: fit-content; padding: 3px 9px; border-radius: 999px; background: var(--soft-blue); color: var(--pega); font-size: 12px; font-weight: 700; line-height: 1.4; }
.launch-offer-end { color: var(--ink-2); font-size: 12px; }
.reserve-lines dd { display: flex; flex: none; align-items: baseline; justify-content: flex-end; gap: 8px; }
.reserve-lines dd .launch-offer-was { display: inline; font-size: 12px; font-weight: 400; color: var(--ink-3); text-align: right; white-space: nowrap; }
.reserve-total .launch-offer-meta { flex-basis: 100%; margin-top: 2px; }
.reserve-submit-price .launch-offer-meta { margin-top: 4px; }
.course-bar-price .launch-offer-label { align-self: flex-start; margin-top: 3px; }
.price-hint { min-height: 0; margin: 6px 0 16px; color: var(--ink-3); font-size: 13px; }
.plan-action { align-self: stretch; }
.is-fading { animation: mentoring-fade .28s ease both; }
@keyframes mentoring-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pricing-note { max-width: 760px; margin: 20px auto 0; color: var(--ink-3); font-size: 13px; text-align: center; }
.state-card { max-width: 670px; margin: 6vh auto; padding: clamp(28px, 5vw, 58px); text-align: center; }
.state-card h1 { font-size: clamp(35px, 4vw, 50px); }
.state-card p:not(.eyebrow) { color: var(--ink-2); }
.state-card .button { margin: 12px 8px 0; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; margin: 10px; color: var(--pega); font-weight: 600; }
.confirmation-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 50%; background: #d9f5e6; color: #116837; font-size: 32px; }
.loading { text-align: center; color: var(--ink-3); }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 20; width: min(90vw, 440px); padding: 14px 22px; border-radius: 14px; background: var(--ink); color: var(--paper); text-align: center; transform: translateX(-50%); box-shadow: var(--shadow); }
@media (max-width: 1020px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1179px) { .home-grid:not([data-audience="business"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .container { width: min(100% - 36px, 1200px); }
  .back-link { padding-inline: 5px; }
  .page { padding-top: 24px; padding-bottom: 40px; }
  .intro { margin-bottom: 24px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .plan-card { padding: 20px; }
  .price-hint { min-height: 0; }
  .view-nav .view-back { margin-left: -5px; }
  .trust-strip { gap: 8px 14px; }
}
@media (max-width: 390px) {
  .audience-switch { display: flex; width: 100%; }
  .audience-switch button { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Dark mode — activated by OS dark mode (prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15171c;
    --surface: #202329;
    --tint: #292d35;
    --ink: #f5f4f0;
    --ink-2: #c4c7cf;
    --ink-3: #aab0bb;
    --line: #3a3e47;
    --pega: #91b1ff;
    --pega-hover: #b2c8ff;
    --soft-blue: #273c68;
    --focus: #b2c8ff;
    --shadow: 0 18px 54px -40px rgba(0, 0, 0, .9);
  }
  .trust-strip { border-color: var(--line); color: var(--ink-3); }
  .home-card, .plan-card, .card, .state-card { border-color: var(--line); box-shadow: var(--shadow); }
  .home-card:hover, .plan-card:hover { border-color: var(--pega); box-shadow: 0 24px 55px -34px rgba(31, 79, 209, .26); }
  .check-list li::before { color: var(--pega); }
  .button-primary { background: #91b1ff; color: #15171c; }
  .button-primary:hover { background: #b2c8ff; }
  .button-secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
  .button-secondary:hover { border-color: var(--pega); }
  .text-link { color: var(--pega); }
  .confirmation-icon { background: #273c68; color: #6cc6a9; }
  .toast { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
  .audience-switch { border-color: var(--line); background: var(--tint); }
  .audience-switch button { color: var(--ink-2); }
  .audience-switch button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .09); }
  .pill { border-color: var(--line); background: var(--tint); color: var(--ink-2); }
  .pill-accent { background: var(--soft-blue); color: var(--pega); }
  .home-card { border-color: var(--line); background: var(--surface); color: var(--ink); }
  .home-card-featured { border-color: var(--pega); }
  .home-card-icon { background: var(--soft-blue); color: var(--pega); }
  .home-card-copy { color: var(--ink-2); }
  .home-card-price { color: var(--ink-2); }
  .home-card-link { color: var(--pega); }
  .home-card-corporate { background: var(--surface); color: var(--ink); }
  .home-card-corporate .home-card-copy { max-width: 470px; font-size: 17px; }
  .home-card-corporate .home-card-price { color: var(--ink-2); font-size: 17px; }
  .plan-grid, .home-grid { background: var(--surface); }
}

.stage-tracker { max-width: 100%; margin: 0 auto; padding: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stage-tracker ol { display: flex; width: 100%; min-width: 440px; margin: 0; padding: 0; list-style: none; }
.stage-tracker .stage { position: relative; flex: 1 0 88px; min-width: 0; }
.stage-tracker .stage:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 15px); width: calc(100% - 30px); height: 2px; background: var(--line); }
.stage-tracker .stage-completed::after { background: var(--pega); }
.stage-tracker .stage-content { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0 3px; border: 0; background: none; color: inherit; text-align: center; font: inherit; }
.stage-tracker button.stage-content:hover .stage-text { text-decoration: underline; text-underline-offset: 3px; }
.stage-tracker .stage-check { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-3); font-size: 12px; font-weight: 700; line-height: 1; }
.stage-tracker .stage-text { color: var(--ink-3); font-size: 12px; font-weight: 600; line-height: 1.4; }
.stage-tracker .stage-completed .stage-check { border-color: var(--pega); background: var(--pega); color: #fff; font-size: 16px; }
.stage-tracker .stage-completed .stage-text { color: var(--ink-2); }
.stage-tracker .stage-current .stage-check { border-color: var(--pega); color: var(--pega); }
.stage-tracker .stage-current .stage-text { color: var(--pega); font-weight: 700; }
.stage-tracker .stage-done .stage-check { border-color: #116837; background: #116837; color: #fff; font-size: 16px; }
.stage-tracker .stage-done .stage-text { color: #116837; font-weight: 700; }
.stage-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 390px) {
  .stage-tracker { padding: 12px 0; }
  .stage-tracker ol { min-width: 360px; }
  .stage-tracker .stage { flex-basis: 72px; }
  .stage-tracker .stage-text { font-size: 11px; }
}
@media (prefers-color-scheme: dark) {
  .stage-tracker .stage-completed .stage-check { color: #15171c; }
  .stage-tracker .stage-done .stage-check { border-color: #6cc6a9; background: #6cc6a9; color: #15171c; }
  .stage-tracker .stage-done .stage-text { color: #6cc6a9; }
}
/* Soft colour wash behind the page top (light theme only) */
:root[data-theme="light"] body { background: radial-gradient(900px 420px at 14% 0, rgba(110,140,255,.20), transparent 70%), radial-gradient(800px 420px at 90% 4%, rgba(236,72,153,.13), transparent 70%), var(--paper); background-repeat: no-repeat; background-attachment: scroll; }

/* Site footer */
.site-foot { border-top: 1px solid var(--line); padding: 12px 0 16px; color: var(--ink-3); font-size: 14px; }
.site-foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
@media (max-width: 960px) {
  body:has(.course-bar) .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Mentoring home: same blue to purple gradient as the Mentoring section on the main page (all themes) */
html:root body:has(.home-intro) { background: radial-gradient(900px 520px at 10% 6%, rgba(110,140,255,.55), transparent 62%), radial-gradient(820px 560px at 94% 22%, rgba(236,72,153,.36), transparent 62%), radial-gradient(700px 480px at 50% 112%, rgba(56,189,248,.28), transparent 60%), linear-gradient(135deg, #17205f 0%, #352a8c 48%, #6d2b8c 100%); background-attachment: fixed; background-repeat: no-repeat; }
body:has(.home-intro) .home-intro h1 { color: #fff; }
body:has(.home-intro) .home-intro .intro-copy { color: rgba(255,255,255,.88); }
body:has(.home-intro) .audience-switch { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); }
body:has(.home-intro) .audience-switch button { color: rgba(255,255,255,.9); }
body:has(.home-intro) .audience-switch button[aria-checked="true"] { background: #fff; color: #15171c; }
body:has(.home-intro) .trust-strip { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.85); }
body:has(.home-intro) .trust-strip span + span::before { color: #a9c0ff; }
body:has(.home-intro) .site-foot { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.75); }
body:has(.home-intro) .site-foot a:hover { color: #fff; }
body:has(.home-intro) :focus-visible { outline-color: #fff; }
body:has(.home-intro) :is(.home-card, .home-card *):focus-visible { outline-color: var(--focus); }

/* Mentoring home: compact tiles and a layout that fits one screen */
body:has(.home-intro) .page { min-height: 0; padding-top: clamp(16px, 3vh, 32px); padding-bottom: 12px; }
body:has(.home-intro) .trust-strip { margin-top: 20px; padding-top: 14px; }
body:has(.home-intro) nav[aria-label="Browse Mentoring pages"] { padding: 6px 0 !important; line-height: 1.7 !important; }
.home-grid { background: transparent; }
@media (max-width: 699px) {
  .home-grid:not([data-audience="business"]) { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-grid[data-audience="business"] { gap: 10px; }
  .home-card { min-height: 0; padding: 14px 16px; column-gap: 10px; border-radius: 16px; }
  .home-card-icon { width: 36px; height: 36px; border-radius: 10px; }
  .home-card-icon svg { width: 20px; height: 20px; }
  .home-card h2 { font-size: 20px; }
  .home-card-copy { margin: 6px 0 4px; font-size: 14px; }
  .home-card-link { min-height: 24px; }
  .home-card .pill-accent { top: -11px; right: 14px; }
  .home-card-corporate { padding: 18px 16px 20px; }
  body:has(.home-intro) .trust-strip { margin-top: 14px; gap: 4px 12px; }
}

/* Course page: compact price panel and tighter sections (selectors are stronger than course.css, which loads later) */
.course-page .course-hero { margin-bottom: 24px; }
.course-page .course-tagline { margin-bottom: 20px; }
.course-page .course-section { padding: 26px 0; }
.course-page .course-reserve { margin-top: 8px; padding-top: 28px; }
.course-aside .reserve-card { top: 80px; gap: 10px; max-height: calc(100vh - 96px); padding: 16px 18px; border-radius: 20px; }
.course-aside .reserve-card [data-card-body] { gap: 10px; }
.course-aside .reserve-card-text { font-size: 13px; line-height: 1.4; }
.course-aside .reserve-lines { gap: 4px; }
.course-aside .reserve-lines > div { align-items: baseline; font-size: 14px; line-height: 1.35; }
.course-aside .reserve-lines dt { min-width: 0; }
.course-aside .reserve-total { gap: 0 10px; padding: 8px 14px; border-radius: 14px; }
.course-aside .reserve-total strong { font-size: 28px; }
.course-aside .reserve-total .reserve-total-talk { font-size: 22px; }
.course-aside .reserve-total .launch-offer-meta { margin-top: 0; }
.course-aside .reserve-trainer { gap: 10px; padding: 8px 12px; border-radius: 14px; }
.course-aside .reserve-trainer-photo { width: 40px; height: 40px; }
.course-aside .reserve-trainer-change { min-height: 40px; }
.course-aside .reserve-card-button { min-height: 44px; padding-block: 8px; }
.course-aside .reserve-card-note { margin: -2px 0 0; font-size: 12px; line-height: 1.35; }
.course-aside .ladder li { padding: 4px; }
.course-aside .reserve-row { gap: 8px; }
@media (max-width: 960px) {
  .course-aside .reserve-card { top: auto; max-height: none; }
  .course-page .course-reserve { padding-top: 24px; }
}

/* Other screens: less padding and smaller gaps (selectors are stronger than the per-view stylesheets) */
.page .mock-intro, .page .join-intro { margin-bottom: 24px; }
.page .mock-card { padding: clamp(18px, 2.6vw, 28px); }
.page .mock-step-lead { margin-bottom: 16px; }
.page .mock-panel { margin-top: 16px; padding: 14px 16px; }
.page .mock-total { margin-top: 16px; padding: 12px 18px; }
.page .mock-actions { margin-top: 20px; }
.page .mock-cancel { margin-top: 20px; }
.page .join-form { padding: clamp(18px, 2.6vw, 28px); }
.page .join-step { padding: 8px 0 4px; }
.page .join-step h2 { margin-bottom: 14px; }
.page .join-sub { margin: 22px 0 12px; padding-top: 16px; }
.page .join-field textarea { min-height: 110px; }
.page .join-consent { padding: 16px 0 4px; }
.page .trainer-grid { gap: 16px; }
.page .trainer-tile { gap: 8px; padding: 18px 18px 20px; border-radius: 20px; }
.page .trainer-photo-wrapper { width: 96px; height: 96px; margin-bottom: 4px; }
.page .trainer-filters { margin-bottom: 16px; }
@media (max-width: 680px) {
  .page .mock-card, .page .join-form { padding: 16px 14px; }
  .page .trainer-photo-wrapper { width: 72px; height: 72px; }
}
body:has(.home-intro) nav.container, body:has(.home-intro) nav.container a { color: rgba(255,255,255,.82); }
body:has(.home-intro) nav.container a:hover { color: #fff; }

/* Mentoring home: use the screen height (not squeezed to the top). Content is centred between header and footer and scales with the viewport. */
@media (min-width: 1020px) {
  body:has(.home-intro) { display: flex; flex-direction: column; min-height: 100vh; }
  body:has(.home-intro) main.page { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; min-height: 0; padding-top: clamp(20px, 3.5vh, 72px); padding-bottom: clamp(20px, 3vh, 64px); }
  body:has(.home-intro) .home-intro { margin-bottom: clamp(20px, 3.5vh, 56px); }
  body:has(.home-intro) .home-intro h1 { font-size: clamp(40px, 4.4vw, 64px); margin-bottom: clamp(10px, 1.6vh, 18px); }
  body:has(.home-intro) .home-intro .intro-copy { font-size: clamp(18px, 1.5vw, 22px); }
  body:has(.home-intro) .home-intro .audience-switch { margin-top: clamp(20px, 3.2vh, 36px); }
  body:has(.home-intro) .home-card { min-height: clamp(160px, 22vh, 260px); padding: clamp(18px, 2.6vh, 32px); }
  body:has(.home-intro) .home-card h2 { font-size: clamp(22px, 1.7vw, 26px); }
  body:has(.home-intro) .home-card-copy { font-size: clamp(15px, 1.15vw, 17px); }
  body:has(.home-intro) .trust-strip { margin-top: clamp(20px, 3.5vh, 56px); }
}

/* Mentoring home: tidier typography. Tiles stack icon, title, text and link so titles never wrap awkwardly. */
@media (min-width: 700px) {
  body:has(.home-intro) .home-grid:not([data-audience="business"]) .home-card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; grid-template-areas: "icon" "title" "copy" "link"; align-items: start; row-gap: 0; text-align: left; }
  body:has(.home-intro) .home-grid:not([data-audience="business"]) .home-card h2 { margin-top: 16px; font-size: clamp(21px, 1.5vw, 25px); letter-spacing: -.01em; }
  body:has(.home-intro) .home-grid:not([data-audience="business"]) .home-card-copy { margin: 8px 0 18px; line-height: 1.5; }
}
body:has(.home-intro) .home-card-corporate { padding: clamp(18px, 3vh, 40px) clamp(24px, 4vw, 48px); }
body:has(.home-intro) .home-card-corporate h2 { font-size: clamp(24px, 2vw, 32px); margin: 10px 0 8px; }
body:has(.home-intro) .home-card-corporate .home-card-copy { max-width: 560px; margin: 0 auto 18px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; }
body:has(.home-intro) .home-card-corporate .home-card-price { margin: 0 0 14px; color: var(--ink-3); font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
body:has(.home-intro) nav.container { padding-top: 22px; padding-bottom: 6px; text-align: center; font-size: 13px; line-height: 1.8; }
body:has(.home-intro) nav.container a { text-decoration: none; padding: 0 3px; border-bottom: 1px solid rgba(255,255,255,.28); }
body:has(.home-intro) nav.container a:hover { border-bottom-color: #fff; }
body:has(.home-intro) .trust-strip { font-size: 14px; letter-spacing: .01em; }

/* Stage tracker: all three steps fit inside the panel, no clipped step and no stray line or sideways scroll. */
.stage-tracker { overflow: visible; width: 100%; }
.stage-tracker ol { min-width: 0; }
.stage-tracker .stage { flex: 1 1 0; }
@media (max-width: 600px) { .stage-tracker ol { min-width: 0; } .stage-tracker .stage { flex-basis: 0; } }

/* Learning path link */
.learning-path-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pega); }
