/* ============================================================
   Meridian — page-level composition
   ============================================================ */

main { padding-top: var(--nav-h); }

/* ============ HERO (home) ============ */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex; align-items: center;
  padding-block: var(--space-8) var(--space-9);
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.85;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 22% 44%, color-mix(in srgb, var(--bg) 82%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }

/* In light mode the hero copy sits straight on the dodger-blue field,
   so it switches to deep-navy ink and the veil lightens instead of darkens. */
[data-theme='light'] .hero {
  --text: #06183a;
  --text-strong: #04101f;
  --text-muted: #0b2450;
  --text-dim: #143a74;
  /* the gradient headline needs deep ink here, not the white logo ramp */
  --logo-a: #0f2f9c;
  --logo-b: #0a5fc0;
  --logo-c: #8a5a00;
}
[data-theme='light'] .hero-veil {
  background:
    radial-gradient(900px 540px at 20% 46%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-block: var(--space-4) var(--space-5); }
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line > span {
  display: block;
  animation: rise-in 900ms var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes rise-in { from { transform: translateY(105%); opacity: 0; } }

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--text-muted);
  max-width: 34ch;
  line-height: 1.34;
}
.hero-tagline em { font-style: italic; color: var(--text-strong); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-6); }
.hero-search { margin-top: var(--space-6); max-width: 560px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--divider);
}

/* Live deadline rail on the right of the hero */
.deadline-rail {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3);
}
[data-theme='light'] .deadline-rail { background: #fff; }
.rail-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--space-4); margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--divider);
}
.rail-title { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 55%, transparent); }
  70% { box-shadow: 0 0 0 11px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.rail-item {
  display: flex; align-items: center; gap: var(--space-4);
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-base) var(--ease-out);
}
.rail-item + .rail-item { border-top: 1px solid var(--divider); }
.rail-item:hover { background: var(--brand-soft); }
.rail-date {
  flex: none; width: 54px; text-align: center;
  padding: 0.35rem 0; border-radius: var(--radius-sm);
  background: var(--surface-3); border: 1px solid var(--border);
}
.rail-date b { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1; color: var(--text-strong); }
.rail-date span { display: block; font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }
.rail-body { min-width: 0; }
.rail-body h5 { font-size: 0.93rem; font-weight: 600; color: var(--text-strong); margin-bottom: 2px; }
.rail-body p { font-size: 0.79rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-days { margin-inline-start: auto; flex: none; }

/* ============ Feature / value cards ============ */
.value-card { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.value-icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand-hover);
  border: 1px solid var(--border);
}
[data-theme='light'] .value-icon { color: var(--royal-700); }
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: var(--step-1); }
.value-card p { color: var(--text-muted); font-size: 0.94rem; }
.value-num {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-dim);
}

/* Journey / process steps joined by the "meridian line" */
.journey { position: relative; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.journey::before {
  content: ''; position: absolute; top: 34px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 12%, var(--border-strong) 88%, transparent);
}
@media (max-width: 760px) { .journey::before { display: none; } }
.journey-step { position: relative; text-align: center; }
.journey-dot {
  width: 68px; height: 68px; margin: 0 auto var(--space-4);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--brand-hover);
  box-shadow: var(--shadow-2);
  position: relative; z-index: 1;
  transition: transform var(--dur-base) var(--ease-spring), border-color var(--dur-base), color var(--dur-base);
}
.journey-step:hover .journey-dot { transform: translateY(-4px) scale(1.06); border-color: var(--brand); }
.journey-dot svg { width: 26px; height: 26px; }
.journey-step h4 { margin-bottom: 0.4rem; }
.journey-step p { font-size: 0.89rem; color: var(--text-muted); }

/* Program cards */
.program-card { display: flex; flex-direction: column; gap: var(--space-3); height: 100%; overflow: hidden; }
.program-card .pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.program-flag { font-size: 1.5rem; line-height: 1; }
.program-card h3 { font-size: 1.08rem; }
.program-card .pc-desc { font-size: 0.89rem; color: var(--text-muted); flex: 1; }
.program-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: 0.78rem; color: var(--text-dim); }
.program-meta span { display: inline-flex; align-items: center; gap: 0.32rem; }
.program-meta svg { width: 14px; height: 14px; }
.program-card .pc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding-top: var(--space-3); border-top: 1px solid var(--divider);
}

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.quote-card blockquote {
  font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.6; color: var(--text);
}
.quote-card blockquote::before { content: '\201C'; font-size: 2.6rem; line-height: 0; color: var(--brand); vertical-align: -0.38em; margin-right: 0.08em; }
.quote-who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--divider); }
.quote-who b { display: block; font-size: 0.92rem; color: var(--text-strong); }
.quote-who span { font-size: 0.79rem; color: var(--text-dim); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 300px at 18% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 70%),
    var(--surface);
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lede { margin: var(--space-4) auto 0; text-align: center; }
.cta-band .cluster { justify-content: center; margin-top: var(--space-6); }

/* ============ PROGRAMS / globe ============ */
.globe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  gap: var(--space-5);
  align-items: start;
}
@media (max-width: 1120px) { .globe-layout { grid-template-columns: 1fr; } }

.globe-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 74vh;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 60% at 50% 46%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 72%),
    var(--surface-glass);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
/* On a phone a vertical swipe must still scroll the page — only sideways
   drags rotate the globe. */
@media (max-width: 760px) {
  .globe-stage { touch-action: pan-y; }
}
.globe-stage.is-dragging { cursor: grabbing; }
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.globe-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--surface-solid); border: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-dim);
  pointer-events: none;
  transition: opacity var(--dur-slow);
}
.globe-hint svg { width: 14px; height: 14px; }
.globe-stage.is-touched .globe-hint { opacity: 0; }

.globe-tip {
  position: absolute; z-index: 5;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-3);
  font-size: 0.8rem; font-weight: 600; color: var(--text-strong);
  pointer-events: none;
  transform: translate(-50%, -140%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.globe-tip.is-on { opacity: 1; }
.globe-tip small { display: block; font-weight: 400; color: var(--text-dim); font-size: 0.72rem; }

.globe-zoom {
  position: absolute; right: 14px; bottom: 14px;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.globe-zoom button {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface-solid); color: var(--text-muted);
}
.globe-zoom button:hover { color: var(--text-strong); border-color: var(--brand); }
.globe-zoom svg { width: 16px; height: 16px; }

.globe-legend {
  position: absolute; left: 14px; top: 14px;
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--surface-solid); border: 1px solid var(--border);
  font-size: 0.75rem; color: var(--text-muted);
}
.legend-row { display: flex; align-items: center; gap: 0.5rem; }
.legend-swatch { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 9px 1px currentColor; }

/* Side detail panel */
.globe-panel {
  position: sticky; top: calc(var(--nav-h) + 18px);
  max-height: calc(100dvh - var(--nav-h) - 36px);
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
[data-theme='light'] .globe-panel, [data-theme='light'] .globe-stage { background: rgba(255,255,255,.94); }
.panel-head { padding: var(--space-5); border-bottom: 1px solid var(--divider); }
.panel-scroll { overflow-y: auto; padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.panel-empty { padding: var(--space-8) var(--space-5); text-align: center; color: var(--text-muted); }
.panel-empty .orbit-ico { width: 56px; height: 56px; margin: 0 auto var(--space-4); color: var(--brand); opacity: 0.8; }

.pin-result {
  width: 100%; text-align: left;
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.pin-result:hover { border-color: var(--brand); transform: translateX(3px); }
.pin-result.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.pin-result .flag { font-size: 1.3rem; line-height: 1.1; }
.pin-result h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.pin-result p { font-size: 0.78rem; color: var(--text-dim); }

.detail-hero { display: flex; align-items: flex-start; gap: var(--space-4); }
.detail-hero .flag-lg { font-size: 2.4rem; line-height: 1; }
.detail-rows { display: grid; gap: 0.7rem; }
.detail-row {
  display: grid; grid-template-columns: 116px 1fr; gap: var(--space-3);
  padding-bottom: 0.7rem; border-bottom: 1px dashed var(--divider);
  font-size: 0.87rem;
}
.detail-row dt { color: var(--text-dim); font-size: 0.8rem; }
.detail-row dd { color: var(--text); margin: 0; }

.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  margin-bottom: var(--space-5);
}
[data-theme='light'] .filter-bar { background: rgba(255,255,255,.92); }
.filter-group { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.filter-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }

/* Deadline strip above the globe */
.deadline-strip { display: flex; gap: var(--space-3); overflow-x: auto; padding-bottom: var(--space-3); scrollbar-width: thin; }
.deadline-pill {
  flex: none; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface-2); white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.deadline-pill:hover { border-color: var(--brand); transform: translateY(-2px); }
.deadline-pill b { font-size: 0.87rem; color: var(--text-strong); }
.deadline-pill span { font-size: 0.76rem; color: var(--text-dim); }

/* ============ TEACHERS ============ */
.teachers-layout {
  display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: var(--space-6);
  align-items: start;
}
@media (max-width: 980px) { .teachers-layout { grid-template-columns: 1fr; } }

.filter-panel {
  position: sticky; top: calc(var(--nav-h) + 18px);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: var(--space-5);
  max-height: calc(100dvh - var(--nav-h) - 36px);
  overflow-y: auto;
}
[data-theme='light'] .filter-panel { background: #fff; }
@media (max-width: 980px) { .filter-panel { position: static; max-height: none; } }
.filter-section > h4 {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); font-family: var(--font-body); font-weight: 700;
  margin-bottom: var(--space-3);
}
.check-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 0; font-size: 0.89rem; color: var(--text-muted); cursor: pointer;
  min-height: 34px;
}
.check-row:hover { color: var(--text-strong); }
.check-row input { accent-color: var(--brand); width: 17px; height: 17px; flex: none; cursor: pointer; }
.check-row .count { margin-inline-start: auto; font-size: 0.76rem; color: var(--text-dim); }

.range-row { display: flex; align-items: center; gap: 0.7rem; }
input[type='range'] { flex: 1; accent-color: var(--brand); height: 24px; }
.range-value { font-family: var(--font-mono); font-size: 0.84rem; color: var(--text-strong); min-width: 66px; text-align: right; }

.teacher-card { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.tc-head { display: flex; gap: var(--space-4); align-items: flex-start; }
.tc-name { font-size: 1.06rem; margin-bottom: 0.15rem; }
.tc-role { font-size: 0.83rem; color: var(--brand-hover); font-weight: 600; }
[data-theme='light'] .tc-role { color: var(--royal-700); }
.tc-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.4rem; }
.tc-rating svg { width: 14px; height: 14px; color: var(--accent); }
.tc-bio { font-size: 0.89rem; color: var(--text-muted); flex: 1; }
.tc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding-top: var(--space-4); border-top: 1px solid var(--divider);
}
.tc-price b { font-family: var(--font-display); font-size: 1.14rem; color: var(--text-strong); }
.tc-price span { font-size: 0.78rem; color: var(--text-dim); }

.results-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-4); margin-bottom: var(--space-5);
}

/* Teacher profile */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 374px; gap: var(--space-6); align-items: start; }
@media (max-width: 1020px) { .profile-layout { grid-template-columns: 1fr; } }
.profile-hero { display: flex; gap: var(--space-5); flex-wrap: wrap; align-items: center; }
.profile-aside { position: sticky; top: calc(var(--nav-h) + 18px); display: flex; flex-direction: column; gap: var(--space-4); }
@media (max-width: 1020px) { .profile-aside { position: static; } }
.timeline { border-inline-start: 1px solid var(--border-strong); padding-inline-start: var(--space-5); display: grid; gap: var(--space-5); }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: calc(-1 * var(--space-5) - 5px); top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.timeline-item h4 { font-size: 0.99rem; }
.timeline-item .when { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.89rem; color: var(--text-muted); margin-top: 0.3rem; }

/* Booking calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.cal-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.cal-nav { display: flex; gap: 0.35rem; }
.cal-nav button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-muted); }
.cal-nav button:hover:not([disabled]) { color: var(--text-strong); border-color: var(--brand); }
.cal-nav button[disabled] { opacity: 0.35; cursor: not-allowed; }
.cal-nav svg { width: 15px; height: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); padding-bottom: 6px; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-muted);
  border: 1px solid transparent;
  position: relative;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.cal-day.is-empty { pointer-events: none; }
.cal-day.is-free { color: var(--text-strong); background: var(--surface-3); border-color: var(--border); cursor: pointer; }
.cal-day.is-free::after {
  content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--success);
}
.cal-day.is-free:hover { border-color: var(--brand); transform: scale(1.06); }
.cal-day.is-busy { color: var(--text-dim); opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-selected { background: var(--brand); color: var(--brand-ink); border-color: transparent; font-weight: 700; }
.cal-day.is-selected::after { background: #fff; }
.slot-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--space-4); }
.slot {
  padding: 0.45rem 0.8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface-2);
  font-size: 0.83rem; font-family: var(--font-mono); color: var(--text-muted);
  min-height: 38px;
}
.slot:hover { border-color: var(--brand); color: var(--text-strong); }
.slot.is-selected { background: var(--brand); color: var(--brand-ink); border-color: transparent; }

/* ============ ABOUT ============ */
.subnav {
  display: flex; gap: 0.35rem; flex-wrap: wrap;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  width: fit-content;
  max-width: 100%;
  margin-bottom: var(--space-7);
}
.subnav a {
  padding: 0.55rem 1.05rem; border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.subnav a:hover { color: var(--text-strong); background: var(--surface-3); }
.subnav a.is-active { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-1); }

.founder-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-5); align-items: start; }
@media (max-width: 560px) { .founder-card { grid-template-columns: 1fr; } }
.founder-card h3 { font-size: var(--step-2); }
.founder-role { font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-hover); font-weight: 700; margin-top: 0.3rem; }
[data-theme='light'] .founder-role { color: var(--royal-700); }
.founder-school { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: var(--text-muted); margin-top: var(--space-3); }
.founder-school svg { width: 16px; height: 16px; color: var(--accent); }

.pillar {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--divider);
}
.pillar:last-child { border-bottom: 0; }
.pillar-mark {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: var(--radius-md); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--brand-hover);
  font-family: var(--font-display); font-weight: 700;
}
.pillar-mark svg { width: 24px; height: 24px; }

/* ============ ENGAGE ============ */
.engage-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .engage-layout { grid-template-columns: 1fr; } }
.contact-line {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--divider);
}
.contact-line:last-child { border-bottom: 0; }
.contact-ico {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-hover);
}
[data-theme='light'] .contact-ico { color: var(--royal-700); }
.contact-ico svg { width: 19px; height: 19px; }
.contact-line b { display: block; font-size: 0.94rem; color: var(--text-strong); }
.contact-line span { font-size: 0.83rem; color: var(--text-dim); }

/* ============ AUTH ============ */
.auth-wrap { display: grid; place-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-8); }
.auth-card { width: min(100%, 468px); padding: var(--space-7) var(--space-6); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border); margin-bottom: var(--space-6); }
.auth-tabs button { padding: 0.62rem; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.auth-tabs button[aria-selected='true'] { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-1); }
.auth-form { display: flex; flex-direction: column; gap: var(--space-4); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 460px) { .auth-row { grid-template-columns: 1fr; } }
.auth-alt { text-align: center; font-size: 0.87rem; color: var(--text-muted); margin-top: var(--space-5); }

.code-inputs { display: flex; gap: 0.55rem; justify-content: center; }
.code-inputs input {
  width: 54px; height: 64px;
  text-align: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface-2); color: var(--text-strong);
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.code-inputs input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); transform: translateY(-2px); }
@media (max-width: 420px) { .code-inputs input { width: 44px; height: 54px; font-size: 1.2rem; } }
.dev-code-note {
  margin-top: var(--space-4); padding: 0.8rem 1rem;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface-2); font-size: 0.82rem; color: var(--text-muted);
}
.dev-code-note b { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent); letter-spacing: 0.18em; }

.pw-meter { display: flex; gap: 4px; margin-top: 0.4rem; }
.pw-meter i { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-3); transition: background-color var(--dur-base); }
.pw-meter i.on-1 { background: var(--danger); }
.pw-meter i.on-2 { background: var(--accent); }
.pw-meter i.on-3 { background: var(--success); }

/* ============ ACCOUNT ============ */
.account-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.plan-card { border: 1px solid var(--brand); background: linear-gradient(160deg, var(--brand-soft), transparent 60%), var(--surface); }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin-block: var(--space-3); }
.plan-price b { font-family: var(--font-display); font-size: 2.3rem; letter-spacing: -0.03em; color: var(--text-strong); }
.plan-list { display: grid; gap: 0.6rem; margin-top: var(--space-4); }
.plan-list li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.plan-list svg { width: 17px; height: 17px; color: var(--success); flex: none; margin-top: 2px; }

/* ============ Page header block ============ */
.page-head {
  position: relative;
  padding-block: var(--space-8) var(--space-6);
  overflow: hidden;
}
.page-head .eyebrow { margin-bottom: var(--space-4); }

/* Page headers sit directly on the dodger-blue field in light mode. */
[data-theme='light'] .page-head {
  --text: #06183a;
  --text-strong: #04101f;
  --text-muted: #0b2450;
  --text-dim: #143a74;
}
[data-theme='light'] .page-head .eyebrow { color: #0b2450; }
.page-head .lede { margin-top: var(--space-4); }

/* ============ PROGRAMS — real Earth explorer ============ */
.earth-stage {
  aspect-ratio: auto;
  height: clamp(520px, 76vh, 860px);
  max-height: none;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(47, 107, 255, 0.16), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #0c1f4a, #040a1c 70%);
  cursor: grab;
}
[data-theme='light'] .earth-stage {
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(30, 144, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #0b2a66, #061536);
  --text: #eaf1ff; --text-dim: #a7bbe4; --text-muted: #c4d3f0;
}
.earth-stage:active { cursor: grabbing; }
.earth-host { position: absolute; inset: 0; }
.earth-host > div, .earth-host canvas { outline: none; }
.earth-stage .globe-legend,
.earth-stage .globe-hint,
.earth-stage .globe-zoom button,
.country-chip {
  background: rgba(6, 16, 38, 0.72);
  border-color: rgba(143, 178, 255, 0.22);
  color: #c9d7f2;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.earth-stage .globe-zoom button:hover { color: #fff; border-color: #4da3ff; }
.earth-host.earth-fallback {
  background: url(/assets/earth/earth-blue-marble.jpg) center / cover;
  border-radius: 50%;
  inset: 8%;
}

/* globe.gl's floating tooltip, restyled to match the site */
.float-tooltip-kap, .scene-tooltip {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.earth-tip {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(6, 16, 38, 0.9);
  border: 1px solid rgba(143, 178, 255, 0.3);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  font: 600 0.82rem/1.35 var(--font-body);
  color: #fff;
  white-space: nowrap;
}
.earth-tip small { display: block; font-weight: 400; font-size: 0.72rem; color: #a7bbe4; }

.country-chip {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  border: 1px solid; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
}
.country-chip button {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; color: inherit;
}
.country-chip button:hover { background: rgba(255, 255, 255, 0.12); }
.country-chip svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .earth-stage { height: 440px; } }

/* ============ Tutor profile additions ============ */
.profile-intro {
  margin-top: 0.9rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.12rem; line-height: 1.55;
  color: var(--text);
  max-width: 56ch;
}
.service-row { padding: 0.85rem 0; border-bottom: 1px solid var(--divider); }
.book-card .cal-day { min-height: 38px; }
.price-lines {
  display: grid; gap: 0.45rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}
.price-lines > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--text-muted); }
.price-lines > div > span:last-child { font-variant-numeric: tabular-nums; color: var(--text); }
.price-total { padding-top: 0.5rem; margin-top: 0.15rem; border-top: 1px dashed var(--border-strong); font-weight: 700; }
.price-total span { color: var(--text-strong) !important; font-size: 1rem; }
.info-dot {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; margin-left: 0.25rem;
  border-radius: 50%; border: 1px solid var(--border-strong);
  font-size: 0.65rem; font-weight: 700; color: var(--text-dim); cursor: help;
  vertical-align: 0.05em;
}
.booking-when {
  display: flex; align-items: center; gap: 0.45rem;
  margin-top: 0.8rem; font-size: 0.88rem; font-weight: 600; color: var(--text-strong);
}
.booking-when svg { width: 16px; height: 16px; color: var(--brand-hover); }
.slot[disabled] { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }

/* ============ CHECKOUT ============ */
.checkout-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: var(--space-6); align-items: start;
}
@media (max-width: 920px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-summary { order: -1; } }
.checkout-summary { position: sticky; top: calc(var(--nav-h) + 18px); }
.sum-title {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 1rem;
}
.sum-head { display: flex; align-items: center; gap: 0.9rem; }
.sum-head b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text-strong); }
.sum-head span { font-size: 0.84rem; color: var(--text-muted); }
.sum-plan-mark .brand-mark { height: 46px; }
.sum-detail { display: grid; gap: 0.55rem; margin-top: 1.1rem; font-size: 0.9rem; color: var(--text); }
.sum-detail > div { display: flex; align-items: center; gap: 0.6rem; }
.sum-detail svg { width: 16px; height: 16px; color: var(--brand-hover); flex: none; }
.hold-timer {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  margin-top: 1rem; padding: 0.55rem; border-radius: var(--radius-sm);
  background: var(--brand-soft); color: var(--text); font-size: 0.82rem; font-variant-numeric: tabular-nums;
}
.hold-timer svg { width: 15px; height: 15px; }
.hold-timer.is-low { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }
.trust-list { display: grid; gap: 0.5rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--divider); }
.trust-list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; color: var(--text-muted); }
.trust-list svg { width: 15px; height: 15px; color: var(--success); flex: none; }

.test-banner {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: var(--space-5); padding: 0.8rem 1rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--text); font-size: 0.86rem;
}
.test-banner svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.test-banner b { font-family: var(--font-mono); letter-spacing: 0.04em; }

.method-grid { display: grid; gap: 0.6rem; }
.method {
  display: flex; align-items: center; gap: 0.85rem;
  width: 100%; min-height: 58px; padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface-2); text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 200ms var(--ease-out);
}
.method:hover { border-color: var(--border-strong); }
.method.is-active { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.method-radio {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--border-strong); position: relative;
  transition: border-color 160ms ease;
}
.method-radio::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand);
  transform: scale(0.4); opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 160ms ease;
}
.method.is-active .method-radio { border-color: var(--brand); }
.method.is-active .method-radio::after { transform: none; opacity: 1; }
.method-name { flex: 1; font-weight: 600; font-size: 0.93rem; color: var(--text-strong); }

/* neutral payment marks */
.pm-cards { display: inline-flex; gap: 0.3rem; }
.pm-cards i, .pm-word, .pm-tile {
  display: inline-grid; place-items: center;
  height: 24px; min-width: 38px; padding: 0 0.4rem;
  border-radius: 5px; font-style: normal;
  font: 800 0.62rem/1 var(--font-body); letter-spacing: 0.04em;
}
.pm-visa { background: #fff; color: #1a1f71; font-style: italic !important; font-size: 0.7rem !important; }
.pm-mc { background: #fff; position: relative; }
.pm-mc b { position: absolute; top: 5px; width: 14px; height: 14px; border-radius: 50%; }
.pm-mc b:first-child { left: 8px; background: #eb001b; }
.pm-mc b:last-child { left: 16px; background: #f79e1b; mix-blend-mode: multiply; }
.pm-amex { background: #2e77bc; color: #fff; }
.pm-word { background: #000; color: #fff; font-size: 0.72rem !important; min-width: 54px; }
.pm-google { background: #fff; color: #3c4043; border: 1px solid #dadce0; }
.pm-google b { color: #4285f4; margin-right: 2px; }
.pm-tile { color: #fff; font-size: 0.66rem !important; }
.pm-bog { background: #ff6a13; }
.pm-tbc { background: #00a3e0; }

.method-panel { margin-top: var(--space-5); }
.redirect-panel {
  display: grid; justify-items: center; gap: 0.8rem; text-align: center;
  padding: var(--space-5); border-radius: var(--radius-md);
  background: var(--surface-2); border: 1px solid var(--border);
}
.redirect-panel p { color: var(--text-muted); font-size: 0.9rem; max-width: 42ch; }
.redirect-mark .pm-word, .redirect-mark .pm-tile { height: 34px; min-width: 72px; font-size: 0.9rem !important; border-radius: 8px; }
.pay-button { margin-top: var(--space-5); }
.pay-button.is-loading { pointer-events: none; }
.pay-button.is-loading svg { animation: pay-pulse 900ms ease-in-out infinite; }
@keyframes pay-pulse { 50% { opacity: 0.35; } }

/* the card preview — turns over while you type the security code */
.card-preview {
  position: relative; width: min(100%, 340px); aspect-ratio: 1.586;
  margin: 0 auto var(--space-5);
  perspective: 1000px;
}
.cp-face {
  position: absolute; inset: 0;
  border-radius: 16px; padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  background: linear-gradient(135deg, #0b3bb0 0%, #2f6bff 55%, #29a9e0 100%);
  box-shadow: 0 22px 40px -22px rgba(6, 18, 41, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform 520ms var(--ease-out);
}
.card-preview[data-brand='visa'] .cp-face { background: linear-gradient(135deg, #1a1f71 0%, #2a4bd7 60%, #4f7cff 100%); }
.card-preview[data-brand='mastercard'] .cp-face { background: linear-gradient(135deg, #1b1b1f 0%, #3a2a2a 55%, #b5482a 100%); }
.card-preview[data-brand='amex'] .cp-face { background: linear-gradient(135deg, #0d5f99 0%, #2e77bc 60%, #6fb1e6 100%); }
.cp-back { transform: rotateY(180deg); padding: 22px 0; justify-content: flex-start; gap: 18px; }
.card-preview.is-flipped .cp-front { transform: rotateY(-180deg); }
.card-preview.is-flipped .cp-back { transform: rotateY(0deg); }
.cp-top { display: flex; justify-content: space-between; align-items: center; }
.cp-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f5d27a, #c9a24a); }
.cp-brand { font: 800 0.95rem var(--font-body); font-style: italic; letter-spacing: 0.06em; }
.cp-number { font: 600 clamp(1rem, 4.2vw, 1.3rem) var(--font-mono); letter-spacing: 0.12em; }
.cp-bottom { display: flex; justify-content: space-between; font: 600 0.78rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; }
.cp-stripe { height: 40px; background: #0a0f1f; }
.cp-cvc { margin: 0 20px; padding: 8px 12px; background: #fff; color: #061229; border-radius: 6px; text-align: right; font: 700 0.9rem var(--font-mono); }
.pay-fields { display: grid; gap: var(--space-4); }

/* success — the one celebratory moment in the flow */
.success-card { max-width: 560px; margin: 0 auto; text-align: center; }
.success-card h2 { font-size: var(--step-2); margin: 1.1rem 0 0.5rem; }
.success-check { width: 76px; height: 76px; margin: 0 auto; }
.success-check circle {
  fill: none; stroke: var(--success); stroke-width: 2.5;
  stroke-dasharray: 152; stroke-dashoffset: 152;
  animation: draw 640ms var(--ease-out) 80ms forwards;
}
.success-check path {
  fill: none; stroke: var(--success); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: draw 420ms var(--ease-out) 520ms forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cp-face { transition: none; }
  .success-check circle, .success-check path { stroke-dashoffset: 0; animation: none; }
}

/* ============ PRICING ============ */
.cycle-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  margin-top: var(--space-6); padding: 4px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface-2);
}
.cycle-toggle button {
  position: relative; z-index: 1;
  min-height: 42px; padding: 0 1.2rem;
  border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  transition: color 200ms ease;
}
.cycle-toggle button[aria-checked='true'] { color: var(--brand-ink); }
.cycle-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--brand); box-shadow: var(--shadow-1);
  transition: transform 260ms var(--ease-out);
}
.cycle-toggle[data-active='yearly'] .cycle-thumb { transform: translateX(100%); }
.save-pill {
  padding: 2px 7px; border-radius: 999px; font-size: 0.68rem; font-weight: 700;
  background: color-mix(in srgb, var(--success) 22%, transparent); color: var(--success);
}
.cycle-toggle button[aria-checked='true'] .save-pill { background: rgba(255,255,255,.22); color: #fff; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); align-items: stretch; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: var(--space-6);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.plan h3 { font-size: var(--step-2); }
.plan-for { margin-top: 0.4rem; color: var(--text-muted); font-size: 0.92rem; min-height: 2.8em; }
.plan-amount { display: flex; align-items: baseline; gap: 0.25rem; margin-top: var(--space-5); }
.plan-amount b { font-family: var(--font-display); font-size: 3rem; letter-spacing: -0.04em; color: var(--text-strong); line-height: 1; }
.plan-amount .gel { font-size: 1.6rem; font-weight: 700; color: var(--text-strong); }
.plan-per { margin-left: 0.3rem; color: var(--text-dim); font-size: 0.92rem; }
.plan-note { min-height: 1.4em; margin: 0.4rem 0 var(--space-5); font-size: 0.8rem; color: var(--text-dim); }
.plan .plan-list { margin-top: var(--space-5); }
.plan-popular {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), transparent 45%), var(--surface);
  box-shadow: var(--shadow-3), 0 0 0 1px var(--brand);
}
@media (min-width: 981px) { .plan-popular { transform: translateY(-10px); } }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 0.85rem; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
}
.plan-premium {
  background: linear-gradient(160deg, #0b1b3f 0%, #061229 70%);
  border-color: color-mix(in srgb, var(--gold-400) 40%, transparent);
  --text-strong: #fff; --text: #eaf1ff; --text-muted: #c3d1ef; --text-dim: #93a6cf;
}
.plan-premium h3 { color: var(--gold-400); }
.plan-premium .plan-list svg { color: var(--gold-400); }
.btn-accent { --btn-bg: var(--gold-400); --btn-fg: #2a1c00; }

.fee-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
@media (max-width: 860px) { .fee-explainer { grid-template-columns: 1fr; } }
.fee-visual {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4);
  padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px solid var(--border);
}
.fee-step { display: grid; justify-items: center; gap: 0.3rem; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-solid); border: 1px solid var(--border); }
.fee-step-total { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.fee-num { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--text-strong); }
.fee-cap { font-size: 0.78rem; color: var(--text-dim); }
.fee-plus { font-weight: 700; color: var(--accent); }
.fee-split { grid-column: 1 / -1; }
.fee-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-3); }
.fee-bar span:first-child { background: var(--brand); }
.fee-bar span:last-child { background: var(--gold-400); }
.fee-legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.6rem; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.fee-legend > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.fee-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-a { background: var(--brand); } .dot-b { background: var(--gold-400); }

.compare-wrap { padding: 0; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.compare th, .compare td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--divider); text-align: center; }
.compare thead th { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-strong); background: var(--surface-2); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--success); display: inline-flex; }
.compare .yes svg { width: 18px; height: 18px; }
.compare .no { color: var(--text-dim); }

/* ============ TUTOR APPLICATION & FORMS ============ */
.apply-form { display: grid; gap: var(--space-5); }
.form-block { display: grid; gap: var(--space-4); padding-bottom: var(--space-6); border-bottom: 1px solid var(--divider); }
.form-block h3 { display: flex; align-items: center; gap: 0.7rem; font-size: var(--step-1); }
.step-no {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand-hover);
  font: 700 0.82rem var(--font-body);
}
.form-help { color: var(--text-muted); font-size: 0.9rem; margin-top: -0.4rem; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.char-count { font-weight: 500; font-size: 0.74rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.chip-picker { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.photo-drop {
  display: flex; align-items: center; gap: var(--space-5);
  padding: var(--space-5); cursor: pointer;
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg);
  background: var(--surface-2);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.photo-drop:hover, .photo-drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
.photo-preview {
  width: 112px; height: 112px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--surface-3); color: var(--text-dim);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border-strong);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview svg { width: 30px; height: 30px; }
.photo-copy { display: grid; gap: 0.25rem; }
.photo-copy b { color: var(--text-strong); }
.photo-copy span { font-size: 0.82rem; color: var(--text-dim); }
.mono-ish { font-family: var(--font-mono); font-size: 0.85rem; }
.price-builder { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
@media (max-width: 600px) { .price-builder { grid-template-columns: 1fr; } }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 2.4rem; font-size: 1.1rem; font-weight: 600; }
.input-suffix .gel { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.price-mirror { display: grid; gap: 0.5rem; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--border); }
.price-mirror > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.88rem; color: var(--text-muted); }
.price-mirror b { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-strong); }
.agree-row { align-items: flex-start; font-size: 0.86rem; }
.apply-values .value-card h3 { font-size: 1.04rem; }

/* ============ TUTOR DASHBOARD ============ */
.tutor-head { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.tutor-photo { position: relative; cursor: pointer; flex: none; }
.tutor-photo-edit {
  position: absolute; right: 2px; bottom: 2px;
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 3px var(--bg);
}
.tutor-photo-edit svg { width: 16px; height: 16px; }
.tutor-stats { margin-top: var(--space-6); }
.tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: var(--space-5);
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2);
}
.tabs button {
  min-height: 40px; padding: 0 1.1rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  transition: background-color 180ms ease, color 180ms ease;
}
.tabs button[aria-selected='true'] { background: var(--brand); color: var(--brand-ink); }
.wk-label { min-width: 140px; text-align: center; font-weight: 600; font-size: 0.88rem; align-self: center; }
.wk-legend { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 0.9rem; font-size: 0.8rem; color: var(--text-muted); }
.wk-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.wk-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-open { background: var(--brand); }
.lg-booked { background: var(--gold-400); }
.lg-closed { background: var(--surface-3); border: 1px solid var(--border-strong); }
.wk-saving { margin-left: auto; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.wk-scroll { overflow-x: auto; max-height: 620px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.wk-grid {
  display: grid; grid-template-columns: 58px repeat(7, minmax(84px, 1fr));
  min-width: 660px; user-select: none; -webkit-user-select: none; touch-action: none;
}
.wk-corner, .wk-day { position: sticky; top: 0; z-index: 2; background: var(--surface-solid); border-bottom: 1px solid var(--border); }
.wk-day { display: grid; justify-items: center; padding: 0.55rem 0; }
.wk-day span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.wk-day b { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-strong); }
.wk-day.is-today b { color: var(--brand-hover); }
.wk-time { font-size: 0.7rem; color: var(--text-dim); text-align: right; padding: 0 8px; transform: translateY(-0.5em); font-variant-numeric: tabular-nums; }
.wk-cell {
  height: 26px; margin: 1px;
  border-radius: 5px;
  font-size: 0.68rem; font-weight: 700; color: #2a1c00;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: background-color 120ms ease;
}
.wk-cell.on-hour { margin-top: 3px; }
.wk-cell.is-closed { background: var(--surface-2); }
.wk-cell.is-closed:hover:not([disabled]) { background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.wk-cell.is-open { background: var(--brand); }
.wk-cell.is-open:hover { filter: brightness(1.1); }
.wk-cell.is-booked { background: var(--gold-400); cursor: default; }
.wk-cell.is-held { background: repeating-linear-gradient(45deg, var(--gold-400) 0 4px, transparent 4px 8px); }
.wk-cell.is-past { opacity: 0.35; cursor: not-allowed; }
.wk-cell:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }

.lesson-row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: var(--space-4); align-items: start;
  padding: var(--space-4) 0; border-bottom: 1px solid var(--divider);
}
.lesson-row:last-child { border-bottom: 0; }
@media (max-width: 640px) { .lesson-row { grid-template-columns: 58px 1fr; } .lesson-side { grid-column: 2; align-items: flex-start !important; } }
.lesson-date { text-align: center; padding: 0.4rem 0; border-radius: var(--radius-sm); background: var(--surface-3); border: 1px solid var(--border); }
.lesson-date b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-strong); }
.lesson-date span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.lesson-main h4 { font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.lesson-main p { font-size: 0.86rem; color: var(--text-muted); margin-top: 0.2rem; }
.lesson-note { font-family: var(--font-serif); font-style: italic; color: var(--text) !important; }
.lesson-contact { display: flex; align-items: center; gap: 0.35rem; }
.lesson-contact svg { width: 14px; height: 14px; }
.lesson-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.lesson-pay { font-size: 0.8rem; color: var(--text-dim); }
.lesson-pay b { color: var(--text-strong); }

/* ============ AUTH additions ============ */
.auth-card { width: min(100%, 520px); }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: var(--space-5); }
.auth-brand .brand-mark { height: 40px; }
.auth-brand .brand-word { height: 16px; }
.auth-h { font-size: var(--step-2); }
.auth-lede { margin-top: 0.5rem; font-size: 0.93rem; }
.forgot-link { font-size: 0.8rem; padding: 0; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 3rem; }
.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 8px; color: var(--text-dim);
}
.pw-eye:hover { color: var(--text-strong); background: var(--surface-3); }
.pw-eye svg { width: 18px; height: 18px; }
#registerExtra .chip { min-height: 34px; padding: 0.3rem 0.8rem; font-size: 0.8rem; }
#registerExtra { display: grid; }
#registerExtra[hidden] { display: none; }

/* ============ ACCOUNT additions ============ */
.side-link { display: flex; align-items: center; gap: 0.9rem; padding: var(--space-4) var(--space-5); color: var(--text); }
.side-link > svg { width: 20px; height: 20px; color: var(--brand-hover); flex: none; }
.side-link b { display: block; color: var(--text-strong); font-size: 0.95rem; }
.side-link span span { font-size: 0.8rem; color: var(--text-muted); }
.receipt-list { display: grid; }
.receipt-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 0.9rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--divider);
}
.receipt-row:last-child { border-bottom: 0; }
.receipt-row > svg { width: 18px; height: 18px; color: var(--text-dim); }
.receipt-main b { display: block; font-size: 0.92rem; color: var(--text-strong); }
.receipt-main span { font-size: 0.78rem; color: var(--text-dim); }
.receipt-amount { font-family: var(--font-display); color: var(--text-strong); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .receipt-row { grid-template-columns: auto 1fr auto; } .receipt-row .badge { display: none; } }
.plan-lead { margin-top: var(--space-5); font-size: 0.82rem; font-weight: 600; color: var(--text-dim); }
.plan-lead + .plan-list { margin-top: 0.7rem !important; }
.auth-lede + .auth-form { margin-top: 1.6rem; }
.pm-word { display: inline-flex !important; align-items: center; justify-content: center; gap: 2px; white-space: nowrap; min-width: 58px; }

/* ============ Earth pins (HTML, crisp at any zoom) ============ */
.earth-pin {
  --pin: #4da3ff;
  position: relative; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  padding: 0; border: 0; background: none; cursor: pointer;
  transition: opacity 200ms ease;
}
.earth-pin.is-urgent { --pin: #ffd76e; }
.earth-pin.is-locked { --pin: #a9bbdc; }
.ep-dot {
  position: absolute; inset: 6px; border-radius: 50%;
  background: var(--pin);
  box-shadow: 0 0 0 2px rgba(6, 18, 41, 0.85), 0 0 14px 2px color-mix(in srgb, var(--pin) 70%, transparent);
  transition: transform 220ms var(--ease-out);
}
.ep-halo {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--pin); opacity: 0;
}
.earth-pin.is-urgent .ep-halo, .earth-pin.is-highlight .ep-halo, .earth-pin.is-selected .ep-halo {
  animation: pin-pulse 2.2s var(--ease-out) infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.earth-pin:hover .ep-dot, .earth-pin.is-selected .ep-dot { transform: scale(1.45); }
.earth-pin.is-selected { --pin: #ffffff; z-index: 3; }
.ep-label {
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translate(-50%, 4px); opacity: 0; pointer-events: none;
  padding: 0.4rem 0.65rem; border-radius: 9px;
  background: rgba(6, 16, 38, 0.92); border: 1px solid rgba(143, 178, 255, 0.3);
  white-space: nowrap; text-align: left;
  transition: opacity 160ms ease, transform 200ms var(--ease-out);
}
.ep-label b { display: block; font: 600 0.78rem/1.3 var(--font-body); color: #fff; }
.ep-label small { display: block; font: 400 0.68rem/1.3 var(--font-body); color: #a7bbe4; }
@media (hover: hover) and (pointer: fine) { .earth-pin:hover .ep-label { opacity: 1; transform: translate(-50%, 0); } }
.earth-pin.is-selected .ep-label { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ep-halo { animation: none !important; } }

.earth-tip em { display: block; font-style: normal; font-weight: 500; font-size: 0.72rem; color: #ffd76e; margin-top: 1px; }

/* UN name banner when a country is selected */
.country-chip { flex-direction: row; max-width: calc(100% - 28px); }
.country-chip .cc-text { display: grid; line-height: 1.25; text-align: left; }
.country-chip .cc-text b { font-size: 0.86rem; color: #fff; }
.country-chip .cc-text small { font-size: 0.7rem; font-weight: 500; color: #ffd76e; letter-spacing: 0.01em; }
.country-chip .cc-text i { font-style: normal; font-size: 0.66rem; color: #a7bbe4; font-weight: 400; }
.country-chip .cc-flag { font-size: 1.3rem; }

/* ============ PROGRAMS — highlights + explore bar ============ */
.highlights { margin-bottom: var(--space-6); }
.hl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-4); }
.hl-head h2 { font-size: var(--step-2); margin-top: 0.6rem; }
.hl-head p { font-size: 0.88rem; margin-top: 0.35rem; max-width: 60ch; }
.hl-nav { display: flex; gap: 0.4rem; flex: none; }
.hl-nav button {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-muted);
  transition: color 160ms ease, border-color 160ms ease;
}
.hl-nav button:hover { color: var(--text-strong); border-color: var(--brand); }
.hl-nav svg { width: 17px; height: 17px; }
.hl-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px var(--space-3); scrollbar-width: none;
}
.hl-track::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) { .hl-track { grid-auto-columns: calc((100% - 4 * var(--space-4)) / 5); } }
.hl-card {
  position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 0.55rem; text-align: left;
  min-height: 188px; padding: var(--space-4) var(--space-4) var(--space-4);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2); overflow: hidden;
  transition: border-color 200ms ease, transform 220ms var(--ease-out), box-shadow 220ms ease;
}
@media (hover: hover) and (pointer: fine) { .hl-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-3); } }
.hl-rank {
  position: absolute; right: 14px; top: 8px;
  font: 700 2.4rem/1 var(--font-display); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px var(--border-strong); opacity: 0.9;
}
.hl-top { display: flex; align-items: center; gap: 0.5rem; }
.hl-flag { font-size: 1.4rem; line-height: 1; }
.hl-name { font-family: var(--font-display); font-size: 1rem; line-height: 1.25; color: var(--text-strong); padding-right: 2.4rem; }
.hl-org { font-size: 0.78rem; color: var(--text-dim); }
.hl-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.hl-cost { font-size: 0.74rem; color: var(--success); font-weight: 600; }

.explore-bar {
  display: grid; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
[data-theme='light'] .explore-bar { background: rgba(255, 255, 255, 0.94); }
.explore-cats { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.explore-cats::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 42px; padding: 0 0.95rem 0 0.8rem;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface-2); color: var(--text-muted);
  font-size: 0.86rem; font-weight: 600; white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.cat-chip svg { width: 16px; height: 16px; opacity: 0.85; }
.cat-chip:hover { color: var(--text-strong); border-color: var(--border-strong); }
.cat-count {
  min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center;
  border-radius: 999px; background: var(--surface-3); font-size: 0.72rem; color: var(--text-dim);
}
.cat-chip[aria-pressed='true'] { background: var(--brand); border-color: transparent; color: var(--brand-ink); box-shadow: var(--glow); }
.cat-chip[aria-pressed='true'] .cat-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.explore-controls {
  display: flex; align-items: flex-end; gap: var(--space-4); flex-wrap: wrap;
  padding-top: var(--space-4); border-top: 1px solid var(--divider);
}
.ctl { display: grid; gap: 0.35rem; min-width: 180px; }
.ctl > span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.ctl .select { min-height: 42px; }
.ctl-count { margin-left: auto; align-self: center; color: var(--text-dim); font-size: 0.82rem; }
.filter-bar { display: none; }

/* Compass — its own colour: a royal-blue card with white ink, distinct from
   the white Explorer card and the navy-and-gold Navigator card */
.plan-popular,
[data-theme='light'] main .plan.plan-popular.plan-popular {
  background: linear-gradient(160deg, #2b50d8 0%, #1e3fb8 55%, #13308f 100%);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 60px -30px rgba(19, 48, 143, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  --text-strong: #ffffff; --text: #eef3ff; --text-muted: #d4def8; --text-dim: #b5c6ee;
}
.plan-popular .plan-list svg { color: #9fe6c8; }
.plan-popular .plan-flag { background: var(--gold-400); color: #2a1c00; }
.plan-popular .btn-primary { --btn-bg: #ffffff; --btn-fg: #1a37a8; }
.plan-popular .btn-primary:hover { --btn-bg: #eef3ff; }
.plan-popular .gel { color: #fff; }

/* Teach on Meridian — up front on the tutors page */
.teach-banner {
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
  margin-top: var(--space-6); padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--gold-400) 45%, transparent);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(255, 215, 110, 0.16), transparent 60%),
    linear-gradient(120deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2);
}
.teach-banner .value-icon { background: rgba(255, 215, 110, 0.14); color: var(--gold-400); border-color: transparent; }
.teach-banner h2 { font-size: var(--step-1); }
.teach-banner p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }
.teach-banner .tb-copy { flex: 1; min-width: 240px; }
.teach-banner .tb-points { display: flex; gap: var(--space-4); flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); }
.teach-banner .tb-points span { display: inline-flex; align-items: center; gap: 0.35rem; }
.teach-banner .tb-points svg { width: 15px; height: 15px; color: var(--success); }
[data-theme='light'] main .teach-banner { background: #fff; --text: #0d2148; --text-strong: #061229; --text-muted: #46608f; }
.sample-badge { background: color-mix(in srgb, var(--text-dim) 18%, transparent); color: var(--text-muted); border-color: transparent; }

/* Programme evidence: deadline note + sources */
.evidence { border-left: 2px solid var(--brand, #2f6bff); padding: .2rem 0 .2rem .85rem; display: grid; gap: .4rem; font-size: .84rem; color: var(--text-muted); }
.evidence b { color: var(--text); font-weight: 600; }
.evidence-src { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; color: var(--text-dim); font-size: .78rem; }
.evidence-src svg { color: var(--success); }
.evidence-src a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* Programme evidence: deadline note + sources */
.evidence { border-left: 2px solid var(--brand, #2f6bff); padding: .2rem 0 .2rem .85rem; display: grid; gap: .4rem; font-size: .84rem; color: var(--text-muted); }
.evidence b { color: var(--text); font-weight: 600; }
.evidence-src { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; color: var(--text-dim); font-size: .78rem; }
.evidence-src svg { color: var(--success); }
.evidence-src a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- research facts (home + /about/research) */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.fact {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: var(--space-5); border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-2);
}
.fact-region { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-hover); }
[data-theme='light'] .fact-region { color: var(--royal-700); }
.fact-value { font: 700 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--text-strong); }
.fact-label { font-weight: 600; color: var(--text); font-size: 0.97rem; line-height: 1.35; }
.fact-claim { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.fact-conf { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border-radius: 999px; border: 1px solid var(--border); font-size: .68rem; color: var(--text-dim); }
.fact-source { font-size: 0.74rem; color: var(--text-dim); border-top: 1px solid var(--divider); padding-top: 0.6rem; }
.fact-source a { text-decoration: underline; text-underline-offset: 2px; }
.fact-more { margin-top: var(--space-5); }

/* ---------- /about/research */
.rs-live { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4);
  padding: var(--space-5) var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.rs-live > div { display: flex; flex-direction: column; gap: .3rem; }
@media (max-width: 720px) { .rs-live { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--space-5); } }

.rs-head { display: flex; gap: var(--space-5); align-items: flex-start; margin-bottom: var(--space-6); max-width: 60rem; }
.rs-head h2 { font-size: var(--step-3); margin-bottom: .5rem; }
.rs-num { font: 700 .8rem/1 var(--font-display); letter-spacing: .12em; color: var(--brand-hover);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: .55rem .7rem; flex: none; margin-top: .4rem; }
[data-theme='light'] .rs-num { color: var(--royal-700); }

.rs-tabs { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); margin-bottom: var(--space-5); flex-wrap: wrap; }
.rs-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 0;
  background: transparent; color: var(--text-muted); font: 600 .88rem var(--font-body); cursor: pointer;
  transition: background-color .2s cubic-bezier(0.23, 1, 0.32, 1), color .2s cubic-bezier(0.23, 1, 0.32, 1); }
.rs-tab span { font-size: .72rem; padding: .05rem .45rem; border-radius: 999px; background: var(--surface-2); }
.rs-tab.is-active { background: var(--brand); color: #fff; }
.rs-tab.is-active span { background: rgba(255,255,255,.2); }
@media (hover: hover) { .rs-tab:not(.is-active):hover { color: var(--text); background: var(--surface-2); } }

.fit-list { display: grid; gap: var(--space-3); }
.fit-row { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: var(--space-4); align-items: start;
  padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.fit-n { font: 700 .8rem var(--font-display); color: var(--text-dim); padding-top: .2rem; }
.fit-tag { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .4rem; }
.fit-answer .fit-tag { color: var(--success); }
.fit-row p { font-size: .92rem; color: var(--text-muted); }
.fit-answer p { color: var(--text); }
.fit-arrow { color: var(--brand-hover); padding-top: 1.4rem; }
.fit-chips { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .6rem; }
.fit-chip { font: 700 .75rem var(--font-display); padding: .15rem .5rem; border-radius: 999px; background: var(--surface-2); color: var(--text); }
@media (max-width: 800px) {
  .fit-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .fit-arrow { transform: rotate(90deg); padding: 0; justify-self: start; }
}

.rs-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.rs-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 720px; }
.rs-table th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
  padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
.rs-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--divider); color: var(--text-muted); vertical-align: top; }
.rs-table td b { color: var(--text); }
.rs-table a { text-decoration: none; }
@media (hover: hover) { .rs-table a:hover b { text-decoration: underline; } }
.rs-price { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text) !important; font-weight: 600; }
.rs-us td { background: color-mix(in srgb, var(--brand) 12%, transparent); border-bottom: 0; color: var(--text); }

.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-5); }
.model-card { padding: var(--space-5); display: flex; flex-direction: column; gap: .5rem; }
.model-price { font: 700 1.25rem/1.1 var(--font-display); color: var(--brand-hover); letter-spacing: -.01em; }
[data-theme='light'] .model-price { color: var(--royal-700); }
.model-card h3 { font-size: 1rem; }
.model-card p { font-size: .88rem; color: var(--text-muted); }
.pay-card h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.pay-steps { display: grid; gap: .7rem; padding-left: 1.2rem; color: var(--text-muted); font-size: .93rem; }
.pay-steps li::marker { color: var(--brand-hover); font-weight: 700; }

.fund-list { display: grid; gap: var(--space-2); }
.fund-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: start;
  padding: var(--space-4) var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.fund-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-hover); }
.fund-top { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; }
.fund-top a { color: var(--text); text-decoration: none; }
@media (hover: hover) { .fund-top a:hover { text-decoration: underline; } }
.fund-where { font-size: .78rem; color: var(--text-dim); }
.fund-main p { font-size: .88rem; color: var(--text-muted); margin-top: .3rem; }
.fund-when { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; font-size: .8rem !important; color: var(--text) !important; }
@media (max-width: 640px) { .fund-row { grid-template-columns: 1fr; } .fund-ico { display: none; } }

.gaps-card h3 { font-size: var(--step-1); margin-bottom: .8rem; }
.gaps-card ul { display: grid; gap: .55rem; padding-left: 1.1rem; color: var(--text-muted); font-size: .92rem; list-style: disc; }

/* About pillars carry the finding they answer */
.pillar { grid-template-columns: 54px minmax(0, 1fr) auto; }
.pillar-stat { font: 700 clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem)/1 var(--font-display); letter-spacing: -0.03em;
  color: var(--text-strong); align-self: center; padding-left: var(--space-4); white-space: nowrap; order: 3; }
@media (max-width: 640px) {
  .pillar { grid-template-columns: 54px minmax(0, 1fr); }
  .pillar-stat { grid-column: 2; padding: 0; font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .rs-head { flex-direction: column; gap: var(--space-3); }
  .rs-num { margin-top: 0; }
  .rs-head h2 { font-size: var(--step-2); }
}

/* ---------- Programmes: Projects / Scholarships / Universities */
.section-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-6); }
.sec-tab { position: relative; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); font: 600 1.02rem var(--font-display); text-decoration: none; overflow: hidden;
  transition: border-color .25s cubic-bezier(0.23, 1, 0.32, 1), color .25s cubic-bezier(0.23, 1, 0.32, 1), transform .2s cubic-bezier(0.23, 1, 0.32, 1); }
.sec-tab svg { width: 22px; height: 22px; flex: none; color: var(--brand-hover); }
.sec-tab .sec-count { margin-inline-start: auto; font: 600 .78rem var(--font-body); padding: .15rem .55rem;
  border-radius: 999px; background: var(--surface-2); color: var(--text-muted); }
.sec-tab.is-active { color: var(--text-strong); border-color: color-mix(in srgb, var(--brand) 70%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--surface)), var(--surface)); }
.sec-tab.is-active::after { content: ''; position: absolute; inset-inline: 1.2rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--brand), #ffd76e); }
.sec-tab:active { transform: scale(0.98); }
@media (hover: hover) { .sec-tab:not(.is-active):hover { color: var(--text); border-color: var(--border-strong); } }
@media (max-width: 640px) {
  .section-tabs { gap: .4rem; }
  .sec-tab { flex-direction: column; align-items: flex-start; gap: .35rem; padding: .75rem; font-size: .88rem; }
  .sec-tab .sec-count { margin: 0; }
}
.cat-chip-special { border-color: color-mix(in srgb, #ffd76e 55%, var(--border)) !important; }
.cat-chip-special svg { color: #e9b949; }

/* ============ OPPORTUNITY & UNIVERSITY PAGES ============ */
.op-head { position: relative; padding: calc(var(--nav-h, 76px) + var(--space-6)) 0 var(--space-6); overflow: hidden; }
.crumbs { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; font-size: .84rem; color: var(--text-dim); margin-bottom: var(--space-5); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
[dir='rtl'] .crumbs svg { transform: scaleX(-1); }
@media (hover: hover) { .crumbs a:hover { color: var(--text); } }
.op-title { display: flex; gap: var(--space-5); align-items: flex-start; }
.op-flag { font-size: 3.4rem; line-height: 1; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.op-title h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.op-org { color: var(--text-muted); margin-top: .5rem; font-size: 1.02rem; }
.op-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin-top: var(--space-6);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--border); }
.op-facts > div { background: var(--surface); padding: 1rem 1.1rem; }
.op-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .35rem; }
.op-facts dd { font-weight: 600; color: var(--text-strong); font-size: .95rem; }
.op-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-7); align-items: start; }
@media (max-width: 960px) { .op-layout { grid-template-columns: 1fr; } .op-side { order: -1; } }
.op-main { display: grid; gap: var(--space-6); }
.op-block { padding-bottom: var(--space-5); border-bottom: 1px solid var(--divider); }
.op-block:last-of-type { border-bottom: 0; }
.op-h2 { font-size: var(--step-1); margin-bottom: .9rem; }
.op-prose p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.op-prose p + p { margin-top: .9rem; }
.op-list { display: grid; gap: .65rem; }
.op-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-muted); }
.op-list svg { width: 17px; height: 17px; flex: none; color: var(--success); margin-top: .2rem; }
.op-list-check svg { color: var(--brand-hover); }
.op-steps { counter-reset: step; display: grid; gap: .8rem; }
.op-steps li { counter-increment: step; position: relative; padding-inline-start: 2.6rem; color: var(--text-muted); line-height: 1.6; }
.op-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: -.1rem; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; display: grid; place-items: center; font: 700 .82rem var(--font-display); color: var(--text-strong);
  background: color-mix(in srgb, var(--brand) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 50%, transparent); }
.op-side { position: sticky; top: calc(var(--nav-h, 76px) + 1rem); }
.op-card { padding: var(--space-5); display: grid; gap: .8rem; }
.op-count { display: grid; gap: .2rem; padding: 1rem; border-radius: var(--radius-md); background: var(--surface-2); text-align: center; }
.op-count b { font: 700 2.6rem/1 var(--font-display); color: var(--text-strong); letter-spacing: -0.03em; }
.op-count span { font-size: .82rem; color: var(--text-muted); }
.op-count.is-soon b { color: #e9b949; }
.op-count.is-urgent { background: color-mix(in srgb, #ff6b6b 14%, var(--surface-2)); }
.op-count.is-urgent b { color: #ff7a7a; }
.op-side-note { font-size: .78rem; color: var(--text-dim); text-align: center; }
.op-official { font-size: .86rem; }
.op-track { display: grid; gap: .7rem; padding: .9rem; border-radius: var(--radius-md); border: 1px solid var(--border); }
.stage-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .3rem; }
.stage-step { display: grid; gap: .35rem; justify-items: center; background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .68rem; color: var(--text-dim); font-family: var(--font-body); }
.stage-step i { display: block; width: 100%; height: 5px; border-radius: 3px; background: var(--surface-2); transition: background .25s cubic-bezier(0.23, 1, 0.32, 1); }
.stage-step.is-on i { background: var(--brand); }
.stage-step.is-current span { color: var(--text-strong); font-weight: 600; }
.mini-check { display: grid; gap: .45rem; }
.mini-check label { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; color: var(--text-muted); cursor: pointer; }
.mini-check input { margin-top: .2rem; accent-color: var(--brand); }
.progress-line { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.progress-line i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), #ffd76e);
  transition: width .5s cubic-bezier(0.23, 1, 0.32, 1); }
.op-similar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.op-mini { padding: var(--space-5); display: grid; gap: .4rem; text-decoration: none; color: inherit; }
.op-mini-top { display: flex; justify-content: space-between; align-items: center; font-size: 1.5rem; }
.op-mini b { color: var(--text-strong); line-height: 1.3; }
.op-mini .muted { font-size: .84rem; }

/* ============ UNIVERSITIES ============ */
.uni-map-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius-xl, 24px); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), var(--surface);
  margin-bottom: var(--space-5); }
.uni-map { width: 100%; aspect-ratio: 2.35 / 1; display: block; }
.uni-map-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); pointer-events: none; padding: .55rem .8rem;
  border-radius: 12px; background: var(--surface-raised, var(--surface)); border: 1px solid var(--border-strong); box-shadow: var(--shadow-2);
  display: grid; gap: .15rem; font-size: .82rem; white-space: nowrap; z-index: 2; }
.uni-map-tip span { color: var(--text-muted); font-size: .76rem; }
.uni-map-legend { position: absolute; inset-inline-start: 1rem; bottom: .9rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .74rem; color: var(--text-muted); }
.uni-map-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.uni-map-legend .lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-top { background: #ffd76e; box-shadow: 0 0 0 3px rgba(255,215,110,.25); }
.lg-200 { background: #5aa8ff; }
.lg-other { background: rgba(190,210,255,.75); }
[data-theme='light'] .lg-200 { background: #0b2a6b; }
[data-theme='light'] .lg-other { background: rgba(11,42,107,.55); }
.uni-filters { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: end; padding: 1rem 1.1rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--surface); margin-bottom: var(--space-5); }
.uni-filters .ctl { display: grid; gap: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.uni-filters .ctl-check { display: flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--text-muted); padding-bottom: .6rem; }
.uni-filters .ctl-check input { accent-color: var(--brand); width: 1rem; height: 1rem; }
.uni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-4); }
.uni-card { display: grid; gap: .5rem; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); text-decoration: none; color: inherit;
  transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1), border-color .25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .25s cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) { .uni-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-2); } }
.uni-card-top { display: flex; justify-content: space-between; align-items: center; }
.uni-flag { font-size: 1.8rem; line-height: 1; }
.uni-rank { font: 700 .74rem var(--font-display); padding: .25rem .6rem; border-radius: 999px; color: #1a1300; background: #ffd76e; }
.uni-rank.is-muted { background: var(--surface-2); color: var(--text-muted); font-weight: 600; }
.uni-card h3 { font-size: 1.1rem; line-height: 1.25; color: var(--text-strong); }
.uni-loc { font-size: .85rem; color: var(--text-muted); }
.uni-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; margin-top: .4rem; padding-top: .8rem; border-top: 1px solid var(--divider); }
.uni-stats dt { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.uni-stats dd { font-size: .84rem; color: var(--text); font-weight: 600; }
.uni-stats em { font-style: normal; color: #e9b949; }
.uni-directory { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.dir-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .35rem 1rem; }
.dir-row { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .65rem; padding: .6rem .7rem;
  border-radius: 10px; text-decoration: none; color: inherit; }
.dir-flag { grid-row: span 2; font-size: 1.3rem; }
.dir-name { font-size: .9rem; font-weight: 600; color: var(--text); }
.dir-meta { font-size: .76rem; color: var(--text-dim); }
@media (hover: hover) { .dir-row:hover { background: var(--surface-2); } }

/* ============ APPLICATION TRACKER (account) ============ */
.app-group + .app-group { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--divider); }
.app-group h3 { font-size: 1.02rem; }
.app-list { display: grid; gap: var(--space-4); }
.app-card { display: grid; gap: .85rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-2); }
.app-head { display: flex; align-items: center; gap: .7rem; }
.app-flag { font-size: 1.5rem; line-height: 1; }
.app-title { flex: 1; min-width: 0; font-weight: 700; color: var(--text-strong); text-decoration: none; }
@media (hover: hover) { .app-title:hover { text-decoration: underline; } }
.app-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .82rem; color: var(--text-muted); }
.app-remove { font-size: .8rem; color: var(--text-dim); justify-self: start; }
.app-note { display: flex; gap: .5rem; align-items: center; font-size: .86rem; color: var(--text-muted); }
.app-note svg { width: 16px; height: 16px; color: var(--brand-hover); }
.req-list { display: grid; gap: .4rem; }
.req-row { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .65rem .75rem;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.req-row.is-done { border-color: color-mix(in srgb, var(--success) 45%, var(--border)); }
.req-state svg { width: 18px; height: 18px; color: var(--text-dim); }
.req-row.is-done .req-state svg { color: var(--success); }
.req-main { display: grid; gap: .15rem; min-width: 0; }
.req-main b { font-size: .9rem; color: var(--text); }
.req-files { display: flex; flex-wrap: wrap; gap: .3rem .7rem; font-size: .78rem; }
.req-files a { color: var(--brand-hover); text-decoration: none; overflow: hidden; text-overflow: ellipsis; max-width: 18ch; white-space: nowrap; }
.req-x { background: none; border: 0; color: var(--text-dim); cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 .2rem; }
.req-actions { display: flex; align-items: center; gap: .5rem; }
.req-actions .btn { cursor: pointer; }
.req-toggle { display: inline-flex; gap: .35rem; align-items: center; font-size: .78rem; color: var(--text-muted); cursor: pointer; }
.req-toggle input { accent-color: var(--brand); }
@media (max-width: 600px) { .req-row { grid-template-columns: auto 1fr; } .req-actions { grid-column: 2; } }

/* Pricing — for schools */
.schools-card { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-6); align-items: center;
  padding: var(--space-7); border-radius: var(--radius-xl, 24px); border: 1px solid var(--border);
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, #ffd76e 16%, transparent), transparent 60%), var(--surface); }
.schools-card h2 { font-size: var(--step-3); margin: .8rem 0 .6rem; }
.schools-steps { display: grid; gap: .6rem; margin-top: 1.2rem; }
.schools-steps li { display: flex; gap: .7rem; align-items: center; color: var(--text-muted); }
.schools-steps b { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 .82rem var(--font-display); background: var(--surface-2); color: var(--text-strong); }
.schools-cta { display: grid; gap: .6rem; justify-items: center; text-align: center; }
@media (max-width: 760px) { .schools-card { grid-template-columns: 1fr; padding: var(--space-5); } }
