:root {
  --navy-950: #07172c;
  --navy-900: #0b2545;
  --navy-800: #12345b;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-100: #ccfbf1;
  --gold-500: #f59e0b;
  --gold-100: #fef3c7;
  --ink: #172033;
  --muted: #5f6b7d;
  --line: #dbe3ee;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-blue: #eff6ff;
  --success: #0f766e;
  --error: #b91c1c;
  --shadow-sm: 0 8px 26px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 22px 58px rgba(11, 37, 69, 0.13);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 64px);
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-950);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.35), transparent 28%),
    radial-gradient(circle at 12% 85%, rgba(13, 148, 136, 0.25), transparent 28%),
    var(--navy-950);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue-700);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow {
  color: #7dd3fc;
}

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

h1,
h2,
h3 {
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 5.2vw, 4.85rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}

.section-dark .lead,
.section-dark .muted {
  color: #c9d7e8;
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-weight: 750;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.26);
}

.button-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.32);
}

.button-secondary {
  color: var(--navy-900);
  border-color: var(--line);
  background: #fff;
}

.button-secondary:hover {
  border-color: #9db6d1;
  box-shadow: var(--shadow-sm);
}

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

.button-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.button-full {
  width: 100%;
}

.top-note {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #e8f4ff;
  background: var(--navy-950);
  font-size: 0.88rem;
}

.top-note .container {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.top-note a {
  color: #7dd3fc;
  font-weight: 700;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 38px;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-accent {
  color: var(--blue-600);
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.25vw, 22px);
}

.nav-link {
  position: relative;
  padding: 28px 0 25px;
  color: #475569;
  font-size: 0.91rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-600);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy-950);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown {
  display: flex;
  align-self: stretch;
  align-items: stretch;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.nav-dropdown-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 80;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 24px 48px rgba(11, 37, 69, 0.14);
  backdrop-filter: blur(18px);
}

.nav-dropdown-panel:not([hidden]) {
  animation: nav-dropdown-enter 180ms ease both;
}

@keyframes nav-dropdown-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown-inner {
  display: grid;
  width: min(calc(100% - 40px), 680px);
  gap: 10px;
  margin-inline: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.nav-dropdown-item {
  display: grid;
  min-height: 70px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-dropdown-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.nav-dropdown-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.74rem;
  font-weight: 900;
}

.nav-dropdown-copy {
  display: grid;
  gap: 2px;
}

.nav-dropdown-copy strong {
  color: var(--navy-950);
  font-size: 1rem;
}

.nav-dropdown-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-dropdown-arrow {
  color: var(--blue-600);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
  transform: translateX(4px);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: flex;
  min-width: 58px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  color: var(--navy-900);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  font-size: 0.72rem;
  content: "▾";
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 160px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.language-options a {
  display: block;
  padding: 9px 11px;
  border-radius: 8px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 650;
}

.language-options a:hover,
.language-options a[aria-current="true"] {
  color: var(--blue-700);
  background: var(--surface-blue);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-900);
  background: #fff;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle-lines::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(-2px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  position: relative;
  min-height: calc(100svh - 116px);
  align-items: center;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: var(--navy-950);
}

.hero::before {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 116px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 74px;
  padding-bottom: 94px;
  pointer-events: none;
}

.hero-copy {
  flex: 1 1 650px;
  max-width: 790px;
  text-shadow: 0 2px 24px rgba(3, 12, 28, 0.55);
  pointer-events: auto;
}

.hero-copy h1 {
  max-width: 780px;
  color: #fff;
  text-wrap: balance;
}

.hero-copy .lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(3, 12, 28, 0.78);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 20, 42, 0.56);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-600);
  box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.12);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.89rem;
  font-weight: 650;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #042f2e;
  background: #99f6e4;
  font-size: 0.72rem;
  content: "✓";
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.university-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #17375e;
  box-shadow: none;
  isolation: isolate;
}

.university-carousel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 12, 28, 0.3) 0%, rgba(3, 12, 28, 0.04) 45%, rgba(3, 12, 28, 0.64) 100%),
    linear-gradient(90deg, rgba(3, 12, 28, 0.94) 0%, rgba(3, 12, 28, 0.84) 34%, rgba(3, 12, 28, 0.72) 48%, rgba(3, 12, 28, 0.32) 76%, rgba(3, 12, 28, 0.18) 100%);
  content: "";
}

.university-slides,
.university-slide {
  position: absolute;
  inset: 0;
}

.university-slide {
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.university-slide.is-active {
  opacity: 1;
}

.university-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
  transform: scale(1.035);
  transition: transform 5.5s ease-out;
}

.university-slide.is-active img {
  transform: scale(1);
}

.university-carousel-header {
  display: flex;
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 24px;
  z-index: 3;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.university-carousel-caption {
  display: grid;
  max-width: min(420px, calc(100vw - 150px));
  gap: 3px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  background: rgba(5, 20, 42, 0.76);
  box-shadow: 0 10px 30px rgba(5, 20, 42, 0.2);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.university-carousel-caption strong {
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.2;
}

.university-carousel-caption > span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
}

.university-carousel-caption small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.61rem;
  line-height: 1.35;
}

.university-carousel-caption a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 2px;
}

.university-carousel-caption a:hover {
  color: #fff;
}

.university-carousel-toggle {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  color: #fff;
  background: rgba(5, 20, 42, 0.76);
  box-shadow: 0 10px 24px rgba(5, 20, 42, 0.2);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.university-carousel-toggle:hover {
  background: rgba(5, 20, 42, 0.92);
}

.university-carousel-toggle:focus-visible,
.university-carousel-dot:focus-visible {
  outline: 3px solid #facc15;
  outline-offset: 3px;
}

.university-carousel-dots {
  display: flex;
  position: absolute;
  bottom: 25px;
  left: max(24px, calc((100vw - var(--container)) / 2));
  z-index: 3;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transform: none;
  background: rgba(5, 20, 42, 0.68);
  backdrop-filter: blur(10px);
}

.university-carousel-dot {
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.university-carousel-dot::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
  content: "";
}

.university-carousel-dot.is-active {
  width: 30px;
}

.university-carousel-dot.is-active::after {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

.university-carousel[data-reduced-motion="true"] .university-carousel-toggle {
  display: none;
}

.hero .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(5, 20, 42, 0.42);
  box-shadow: 0 10px 28px rgba(3, 12, 28, 0.2);
  backdrop-filter: blur(10px);
}

.hero .button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(5, 20, 42, 0.72);
}

.hero-roadmap {
  position: relative;
  flex: 0 0 min(38vw, 420px);
  min-height: 510px;
}

.hero-roadmap .roadmap-card {
  top: 64px;
  right: 0;
  left: 0;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 24px 70px rgba(3, 12, 28, 0.35);
}

.hero-roadmap .floating-scholarship {
  right: -18px;
  bottom: 10px;
}

.hero-roadmap .floating-profile {
  bottom: 0;
  left: -22px;
}

.visual-orbit {
  position: absolute;
  inset: 32px 18px 38px;
  z-index: 1;
  pointer-events: none;
  border: 1px dashed rgba(37, 99, 235, 0.28);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  content: "";
}

.visual-orbit::before {
  top: 13%;
  right: 6%;
}

.visual-orbit::after {
  bottom: 9%;
  left: 11%;
  background: var(--teal-600);
}

.roadmap-card {
  position: absolute;
  top: 104px;
  right: 38px;
  left: 38px;
  z-index: 2;
  padding: 26px;
  border: 1px solid rgba(219, 227, 238, 0.86);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.roadmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.roadmap-title {
  color: var(--navy-950);
  font-size: 1.03rem;
  font-weight: 800;
}

.roadmap-badge {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--teal-700);
  background: var(--teal-100);
  font-size: 0.72rem;
  font-weight: 800;
}

.roadmap-step {
  position: relative;
  display: grid;
  align-items: start;
  gap: 13px;
  padding-bottom: 20px;
  grid-template-columns: 32px 1fr auto;
}

.roadmap-step:not(:last-child)::after {
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: #dce7f5;
  content: "";
}

.roadmap-number {
  display: grid;
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.78rem;
  font-weight: 850;
}

.roadmap-step strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.9rem;
}

.roadmap-step small {
  color: var(--muted);
}

.step-state {
  margin-top: 5px;
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 16px 18px;
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.floating-card strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.9rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-scholarship {
  right: -4px;
  bottom: 54px;
}

.floating-profile {
  bottom: 15px;
  left: -6px;
}

.floating-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 11px;
  color: var(--navy-900);
  background: var(--gold-100);
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(circle at 88% 20%, rgba(37, 99, 235, 0.16), transparent 25%),
    linear-gradient(180deg, #f8fbff, #fff);
}

.page-hero::after {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(37, 99, 235, 0.03), 0 0 0 100px rgba(13, 148, 136, 0.025);
  content: "";
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.page-hero-with-carousel {
  display: flex;
  min-height: clamp(520px, 66vh, 690px);
  align-items: center;
  padding: 96px 0 118px;
  color: #fff;
  background: #17375e;
}

.page-hero-with-carousel::after {
  display: none;
}

.page-hero-with-carousel .page-hero-content {
  max-width: 820px;
  text-shadow: 0 2px 24px rgba(3, 12, 28, 0.68);
}

.page-hero-with-carousel .eyebrow {
  color: #bae6fd;
}

.page-hero-with-carousel h1 {
  color: #fff;
  text-wrap: balance;
}

.page-hero-with-carousel .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.page-university-carousel::after {
  background:
    linear-gradient(180deg, rgba(3, 12, 28, 0.36) 0%, rgba(3, 12, 28, 0.12) 45%, rgba(3, 12, 28, 0.72) 100%),
    linear-gradient(90deg, rgba(3, 12, 28, 0.94) 0%, rgba(3, 12, 28, 0.84) 40%, rgba(3, 12, 28, 0.45) 74%, rgba(3, 12, 28, 0.2) 100%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.section-heading-copy {
  max-width: 730px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  border-color: #bdcde0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  color: var(--blue-700);
  background: var(--surface-blue);
  font-size: 1.02rem;
  font-weight: 900;
}

.card-icon.teal {
  color: var(--teal-700);
  background: var(--teal-100);
}

.card-icon.gold {
  color: #a16207;
  background: var(--gold-100);
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 16px;
}

.process-grid {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-grid::before {
  position: absolute;
  top: 29px;
  right: 9%;
  left: 9%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-600));
  content: "";
  opacity: 0.24;
}

.process-item {
  position: relative;
  padding: 0 12px;
  text-align: center;
}

.process-number {
  display: grid;
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  place-items: center;
  border: 7px solid var(--surface-soft);
  border-radius: 50%;
  color: #fff;
  background: var(--navy-900);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.16);
}

.process-item h3 {
  font-size: 1rem;
}

.process-item p {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.country-chip {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.country-chip:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.country-code {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--navy-900);
  background: var(--blue-100);
  font-size: 0.72rem;
  font-weight: 900;
}

.level-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background: var(--navy-900);
}

.level-card:nth-child(2) {
  background: #123d65;
}

.level-card:nth-child(3) {
  background: #0f5c59;
}

.level-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 44px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.level-card h3 {
  color: #fff;
  font-size: 1.8rem;
}

.level-card p {
  position: relative;
  z-index: 1;
  color: #d7e4f2;
}

.level-label {
  display: inline-flex;
  margin-bottom: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.level-card .text-link {
  position: absolute;
  bottom: 32px;
  left: 34px;
  z-index: 2;
  color: #fff;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  color: #1e3a5f;
  background: var(--surface-blue);
}

.notice strong {
  display: block;
  margin-bottom: 3px;
}

.notice-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-700);
  background: #fff;
  font-weight: 900;
}

.filters {
  display: grid;
  align-items: end;
  gap: 14px;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  grid-template-columns: 1fr 1fr auto;
}

.filter-field label,
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: 0.84rem;
  font-weight: 750;
}

.field label .required {
  color: var(--error);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-600);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.opportunity-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.opportunity-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 24px 18px;
  background: linear-gradient(145deg, #f7fbff, #eff6ff);
}

.university-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  color: var(--navy-900);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.opportunity-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.opportunity-body h3 {
  font-size: 1.18rem;
}

.opportunity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #36506d;
  background: #eef2f7;
  font-size: 0.73rem;
  font-weight: 750;
}

.tag-scholarship {
  color: #8a5800;
  background: var(--gold-100);
}

.opportunity-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.opportunity-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f5;
  color: var(--muted);
  font-size: 0.82rem;
}

.opportunity-facts strong {
  color: var(--navy-900);
  text-align: right;
}

.verified-date {
  margin-top: auto;
  padding-top: 10px;
  color: #6b7280;
  font-size: 0.72rem;
}

.opportunity-actions {
  display: flex;
  gap: 10px;
  margin-top: 13px;
}

[hidden] {
  display: none !important;
}

.empty-state {
  padding: 34px;
  border: 1px dashed #b9c7d8;
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface-soft);
  text-align: center;
}

.document-guides-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.07), transparent 25%),
    #fff;
}

.document-guides {
  display: grid;
  gap: 22px;
}

.document-guide {
  display: grid;
  scroll-margin-top: calc(var(--header-height) + 86px);
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f7faff 100%);
  box-shadow: 0 14px 38px rgba(11, 37, 69, 0.07);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.document-guide-heading {
  display: grid;
  align-items: start;
  gap: 16px;
  grid-template-columns: 48px minmax(0, 1fr);
}

.document-guide-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.document-guide .eyebrow {
  margin-bottom: 7px;
}

.document-guide h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.document-guide-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.document-guide ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-guide li {
  display: grid;
  align-items: start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  color: #43516a;
  background: rgba(255, 255, 255, 0.88);
  grid-template-columns: 24px minmax(0, 1fr);
}

.document-guide li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #065f46;
  background: #ccfbf1;
  font-size: 0.72rem;
  font-weight: 900;
}

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

.deadline-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.deadline-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.deadline-status,
.deadline-country {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
}

.deadline-status-open {
  color: #075985;
  background: #e0f2fe;
}

.deadline-status-closing-soon {
  color: #92400e;
  background: #fef3c7;
}

.deadline-status-closed {
  color: #991b1b;
  background: #fee2e2;
}

.deadline-country {
  color: #475569;
  background: #f1f5f9;
}

.deadline-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.deadline-card > p {
  color: var(--muted);
}

.deadline-facts {
  margin: auto 0 22px;
  padding-top: 12px;
}

.deadline-facts > div {
  display: grid;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #e7edf4;
  grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1fr);
}

.deadline-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.deadline-facts dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 800;
}

.deadline-empty {
  display: grid;
  max-width: 820px;
  align-items: center;
  gap: 24px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 64px);
  border: 1px dashed #9fb5cf;
  border-radius: 26px;
  color: #43516a;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  grid-template-columns: 76px minmax(0, 1fr);
  box-shadow: var(--shadow-sm);
}

.deadline-empty-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  font-size: 2rem;
}

.deadline-empty h2 {
  margin-bottom: 8px;
}

.deadline-empty p {
  margin-bottom: 0;
}

.about-leadership-section,
.about-purpose-section {
  scroll-margin-top: calc(var(--header-height) + 76px);
}

.about-leadership-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(13, 148, 136, 0.06), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.executive-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.executive-section-heading h2 {
  margin-bottom: 14px;
}

.executive-list {
  display: grid;
  gap: 28px;
}

.executive-profile {
  display: grid;
  position: relative;
  min-height: 520px;
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(185, 199, 216, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(11, 37, 69, 0.1);
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
}

.executive-profile::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 44px rgba(37, 99, 235, 0.035);
}

.executive-profile-cfo {
  background: linear-gradient(135deg, #fff 0%, #f6faff 100%);
}

.executive-copy {
  position: relative;
  z-index: 1;
  max-width: 710px;
}

.executive-role-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #526176;
  font-size: 0.9rem;
  font-weight: 800;
}

.executive-role-code {
  display: inline-grid;
  min-width: 56px;
  height: 34px;
  place-items: center;
  padding: 0 11px;
  border-radius: 9px;
  color: #fff;
  background: var(--navy-900);
  letter-spacing: 0.08em;
}

.executive-profile-cfo .executive-role-code {
  background: var(--blue-600);
}

.executive-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.2vw, 3.75rem);
  text-wrap: balance;
}

.executive-intro {
  max-width: 680px;
  margin-bottom: 26px;
  color: #43516a;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  line-height: 1.8;
}

.executive-details {
  margin: 0 0 24px;
}

.executive-details > div {
  display: grid;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #e3e9f2;
  grid-template-columns: minmax(112px, 0.28fr) minmax(0, 1fr);
}

.executive-details > div:last-child {
  border-bottom: 1px solid #e3e9f2;
}

.executive-details dt {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.executive-details dd {
  min-width: 0;
  margin: 0;
  color: #43516a;
  line-height: 1.6;
}

.executive-details dd > strong {
  color: var(--navy-950);
  font-weight: 800;
}

.executive-details dd small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.university-official-link {
  color: var(--blue-700);
  border-bottom: 1px solid rgba(37, 99, 235, 0.38);
  font-size: 0.94em;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease;
}

.university-official-link:hover {
  color: var(--teal-700);
  border-color: currentColor;
}

.official-link-wrap {
  white-space: nowrap;
}

.ranking-badge {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 0 6px;
  padding: 3px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--surface-blue);
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.ranking-badge:hover {
  border-color: #60a5fa;
  background: #dbeafe;
}

.executive-award {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 0;
  padding: 16px 18px;
  border: 1px solid #fde68a;
  border-radius: 16px;
  color: #5f4310;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  line-height: 1.55;
}

.executive-award-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #78350f;
  background: #fbbf24;
}

.executive-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 4 / 5;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 24px;
  background: #dbeafe;
  box-shadow: 0 22px 50px rgba(11, 37, 69, 0.2);
}

.executive-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.executive-portrait-ceo img {
  object-position: 50% 22%;
  transform: scale(1.75);
  transform-origin: 50% 27%;
}

.executive-portrait-cfo {
  max-width: 330px;
}

.executive-portrait-cfo img {
  object-position: 50% 50%;
  transform: none;
}

.about-purpose-section {
  padding-top: 0;
  background: #f7f9fc;
}

.about-panel {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(185, 199, 216, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.about-panel-purpose {
  overflow: hidden;
  border-color: rgba(37, 99, 235, 0.22);
  color: #d7e4f2;
  background:
    radial-gradient(circle at 90% 8%, rgba(37, 99, 235, 0.42), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(13, 148, 136, 0.28), transparent 28%),
    var(--navy-950);
}

.purpose-layout {
  display: grid;
  min-height: 490px;
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
}

.about-panel-purpose .eyebrow {
  color: #7dd3fc;
}

.about-panel-purpose h2,
.about-panel-purpose h3 {
  color: #fff;
}

.purpose-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  text-wrap: balance;
}

.purpose-lead {
  margin-bottom: 28px;
  color: #d7e4f2;
  font-size: clamp(1.02rem, 1.7vw, 1.14rem);
  line-height: 1.85;
}

.purpose-points {
  display: grid;
  gap: 12px;
}

.purpose-point {
  display: grid;
  align-items: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(191, 219, 254, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.075);
  grid-template-columns: 38px minmax(0, 1fr);
  backdrop-filter: blur(8px);
}

.purpose-point > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #042f2e;
  background: #99f6e4;
  font-size: 0.75rem;
  font-weight: 900;
}

.purpose-point h3 {
  margin-bottom: 2px;
  font-size: 1.04rem;
}

.purpose-point p {
  margin-bottom: 0;
  color: #bfd0e1;
  font-size: 0.91rem;
  line-height: 1.55;
}

.about-split,
.contact-layout {
  display: grid;
  align-items: start;
  gap: 64px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.value-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.value-check {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--teal-700);
  background: var(--teal-100);
}

.principle-panel {
  position: relative;
  padding: 38px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--navy-900);
}

.principle-panel::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border: 55px solid rgba(56, 189, 248, 0.1);
  border-radius: 50%;
  content: "";
}

.principle-panel h2,
.principle-panel h3 {
  color: #fff;
}

.principle-panel p {
  position: relative;
  z-index: 1;
  color: #d5e2ef;
}

.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.article-cover {
  display: flex;
  position: relative;
  min-height: 174px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.5), transparent 25%),
    linear-gradient(140deg, var(--navy-900), #164f7c);
}

.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover.has-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.08), rgba(11, 37, 69, 0.82));
  content: "";
}

.article-card:nth-child(2n) .article-cover {
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.45), transparent 25%),
    linear-gradient(140deg, #0b3c3b, var(--teal-700));
}

.article-card:nth-child(3n) .article-cover {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.38), transparent 25%),
    linear-gradient(140deg, #322244, #6b3e66);
}

.article-category {
  position: relative;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
}

.article-number {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 2.5rem;
  font-weight: 900;
}

.article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.article-body .text-link {
  margin-top: auto;
  padding-top: 12px;
}

.article-date {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.article-hero {
  padding-bottom: 78px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-feature {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.article-feature img {
  width: 100%;
  max-height: 620px;
  border: 1px solid var(--line);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.article-layout {
  display: grid;
  align-items: start;
  gap: clamp(38px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) 280px;
}

.article-content {
  max-width: 780px;
  color: #20364f;
  font-size: 1.04rem;
  line-height: 1.82;
}

.article-content h2,
.article-content h3 {
  margin-top: 2em;
  margin-bottom: 0.65em;
}

.article-content h2:first-child,
.article-content h3:first-child {
  margin-top: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin: 0 0 1.25em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}

.article-content a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--teal-600);
  border-radius: 0 14px 14px 0;
  background: var(--surface-soft);
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.article-aside {
  display: grid;
  position: sticky;
  top: 145px;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.article-aside .text-link {
  margin-bottom: 8px;
}

.newsletter {
  display: grid;
  align-items: center;
  gap: 40px;
  padding: 38px;
  border-radius: 24px;
  color: #fff;
  background: var(--navy-900);
  grid-template-columns: 1fr minmax(320px, 0.72fr);
}

.newsletter h2 {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.newsletter p {
  color: #d7e4f2;
}

.newsletter-form {
  display: flex;
  position: relative;
  gap: 9px;
  padding-bottom: 28px;
}

.newsletter-form input {
  border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-status {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover {
  border-color: #aac0d8;
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.contact-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-700);
  background: var(--surface-blue);
  font-size: 0.77rem;
  font-weight: 900;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.form-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.field-full {
  grid-column: 1 / -1;
}

.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.checkbox-field {
  display: grid;
  align-items: start;
  gap: 10px;
  grid-template-columns: 19px 1fr;
}

.checkbox-field input {
  width: 19px;
  min-height: 19px;
  margin-top: 3px;
}

.checkbox-field label {
  color: var(--muted);
  font-size: 0.82rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.booking-box {
  display: grid;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 26px;
  border-radius: 20px;
  color: #fff;
  background: var(--navy-900);
  grid-template-columns: 1fr auto;
}

.booking-box h3 {
  color: #fff;
}

.booking-box p {
  margin-bottom: 0;
  color: #d7e4f2;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-button::after {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--blue-700);
  background: var(--surface-blue);
  content: "+";
  font-size: 1.25rem;
}

.faq-button[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  padding: 0 52px 22px 0;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  display: grid;
  align-items: center;
  gap: 38px;
  padding: 46px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.36), transparent 28%),
    linear-gradient(135deg, var(--navy-950), #123f69);
  grid-template-columns: 1fr auto;
}

.cta-panel::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 45px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 10px;
  color: #fff;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 0;
  color: #d7e4f2;
}

.cta-panel .button-row {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.site-footer {
  padding: 72px 0 24px;
  color: #c5d3e2;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  gap: 44px;
  padding-bottom: 50px;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
}

.footer-brand .brand {
  margin-bottom: 18px;
  color: #fff;
}

.footer-brand p {
  max-width: 360px;
  color: #9fb1c4;
}

.footer-title {
  margin-bottom: 17px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #aebfd0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 11px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d5e2ef;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8195a9;
  font-size: 0.79rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a:hover {
  color: #fff;
}

.mobile-cta {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

.legal-page {
  max-width: 820px;
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 1.55rem;
}

.legal-page ul {
  padding-left: 22px;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 70px 20px;
  text-align: center;
}

.error-code {
  color: var(--blue-600);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

@media (max-width: 1220px) {
  .desktop-nav,
  .header-actions > .button {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    top: calc(38px + var(--header-height));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    padding: 20px;
    overflow-y: auto;
    background: rgba(247, 249, 252, 0.98);
    backdrop-filter: blur(18px);
  }

  .mobile-nav[data-open="true"] {
    display: block;
  }

  .mobile-nav-inner {
    display: grid;
    gap: 8px;
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .mobile-nav .nav-link {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }

  .mobile-nav .nav-dropdown {
    display: grid;
    width: 100%;
  }

  .mobile-nav .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-nav .nav-dropdown-panel {
    position: static;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-nav .nav-dropdown-inner {
    width: 100%;
    margin: 0;
    gap: 6px;
    padding: 7px 0 2px 14px;
    grid-template-columns: 1fr;
  }

  .mobile-nav .nav-dropdown-item {
    min-height: 70px;
    gap: 11px;
    padding: 11px 13px;
    border-radius: 12px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .mobile-nav .nav-dropdown-number {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 0.68rem;
  }

  .mobile-nav .nav-link::after {
    display: none;
  }

  .mobile-nav .button {
    margin-top: 8px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-roadmap {
    flex-basis: min(38vw, 380px);
  }

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

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

@media (max-width: 1100px) {
  .hero-copy {
    max-width: 790px;
  }

  .hero-roadmap {
    display: none;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 76px 0;
  }

  .page-hero-with-carousel {
    min-height: 560px;
    padding: 84px 0 132px;
  }

  .document-guide {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero {
    min-height: calc(100svh - 116px);
    padding: 0;
  }

  .hero-grid {
    min-height: calc(100svh - 116px);
    padding-top: 64px;
    padding-bottom: 108px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-roadmap {
    display: none;
  }

  .hero-visual {
    inset: 0;
    width: auto;
    min-height: 0;
    margin: 0;
  }

  .university-carousel {
    inset: 0;
    border-radius: 0;
  }

  .university-carousel::after {
    background:
      linear-gradient(180deg, rgba(3, 12, 28, 0.48) 0%, rgba(3, 12, 28, 0.22) 44%, rgba(3, 12, 28, 0.72) 100%),
      linear-gradient(90deg, rgba(3, 12, 28, 0.9) 0%, rgba(3, 12, 28, 0.76) 58%, rgba(3, 12, 28, 0.5) 100%);
  }

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

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

  .process-grid::before {
    display: none;
  }

  .about-split,
  .contact-layout {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .newsletter,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .article-aside {
    position: static;
    max-width: 520px;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .article-hero {
    padding-bottom: 58px;
  }

  .article-feature {
    margin-top: -28px;
  }

  .article-feature img {
    border-radius: 16px;
  }

  .top-note .container {
    min-height: 44px;
    gap: 7px;
    font-size: 0.78rem;
  }

  .top-note .container > span {
    display: none;
  }

  .site-header {
    top: 44px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: 7px;
  }

  .language-menu summary {
    min-width: 52px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-nav {
    top: calc(44px + var(--header-height));
  }

  .page-hero {
    padding: 54px 0 58px;
  }

  .page-hero-with-carousel {
    min-height: 620px;
    padding: 170px 0 82px;
  }

  .page-hero-with-carousel h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  .page-hero-with-carousel .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .document-guide {
    gap: 26px;
    padding: 22px;
    border-radius: 19px;
  }

  .document-guide-heading {
    gap: 13px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .document-guide-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .deadline-facts > div {
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
  }

  .deadline-empty {
    justify-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .deadline-empty-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .hero {
    min-height: calc(100svh - 112px);
    padding: 0;
  }

  .hero-grid {
    min-height: calc(100svh - 112px);
    padding-top: 150px;
    padding-bottom: 104px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 11vw, 3.1rem);
    line-height: 1.06;
  }

  .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.5rem);
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-note {
    display: grid;
    align-items: start;
    gap: 8px 12px;
    margin-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 0.78rem;
  }

  .hero-visual {
    inset: 0;
    width: auto;
    min-height: 0;
    margin: 0;
  }

  .roadmap-card {
    top: 118px;
    right: 8px;
    left: 8px;
    padding: 21px;
  }

  .university-carousel {
    border-radius: 0;
  }

  .university-carousel::after {
    background:
      linear-gradient(180deg, rgba(3, 12, 28, 0.74) 0%, rgba(3, 12, 28, 0.58) 46%, rgba(3, 12, 28, 0.82) 100%),
      linear-gradient(90deg, rgba(3, 12, 28, 0.84), rgba(3, 12, 28, 0.56));
  }

  .university-carousel-header {
    top: 14px;
    right: 14px;
    bottom: auto;
    left: auto;
  }

  .university-carousel-caption {
    max-width: calc(100vw - 76px);
    padding: 9px 10px;
  }

  .university-carousel-caption strong {
    font-size: 0.78rem;
  }

  .university-carousel-caption small > span:last-child {
    display: none;
  }

  .university-carousel-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .university-carousel-dots {
    top: 112px;
    bottom: auto;
    left: 14px;
    transform: none;
  }

  .floating-scholarship {
    right: 0;
    bottom: 25px;
  }

  .floating-profile {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .country-grid,
  .process-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 23px;
  }

  .country-grid {
    gap: 9px;
  }

  .country-chip {
    min-height: 64px;
  }

  .level-card {
    min-height: 330px;
    padding: 28px;
  }

  .level-card .text-link {
    bottom: 28px;
    left: 28px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters .button {
    width: 100%;
  }

  .opportunity-actions {
    flex-direction: column;
  }

  .opportunity-actions .button {
    width: 100%;
  }

  .newsletter,
  .cta-panel,
  .principle-panel,
  .form-panel {
    padding: 26px 22px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .booking-box {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .faq-panel {
    padding-right: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 32px rgba(11, 37, 69, 0.1);
    backdrop-filter: blur(16px);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  body.nav-open .mobile-cta {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-cta .button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .purpose-layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .executive-profile {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .executive-portrait {
    width: min(100%, 340px);
    margin-inline: auto;
    justify-self: center;
    order: -1;
  }
}

@media (max-width: 640px) {
  .about-leadership-section {
    padding-top: 48px;
  }

  .about-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .purpose-layout {
    gap: 34px;
  }

  .executive-section-heading {
    margin-bottom: 30px;
  }

  .executive-profile {
    gap: 30px;
    padding: 22px;
    border-radius: 20px;
  }

  .executive-portrait {
    max-width: 300px;
    border-width: 6px;
    border-radius: 18px;
  }

  .executive-copy h3,
  .purpose-heading h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .executive-intro,
  .purpose-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .executive-role-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .executive-details > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .ranking-badge {
    margin-left: 0;
  }

  .executive-award {
    align-items: flex-start;
    padding: 14px;
  }

  .purpose-point {
    padding: 14px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .top-note,
  .site-header,
  .site-footer,
  .mobile-cta,
  .button-row,
  .filters {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero {
    padding: 30px 0;
  }
}

/* Match page markup integration */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

fieldset.match-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend.match-step-header {
  display: grid;
  width: 100%;
  gap: 7px;
  padding: 0;
}

legend.match-step-header > strong {
  color: var(--navy-950);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

legend.match-step-header > small {
  display: block;
  max-width: 650px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
}

.match-progress-copy {
  color: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.match-form-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 750;
}

.match-advisory {
  margin: 20px 0 0;
  padding: 13px 15px;
  border: 1px solid #fde68a;
  border-radius: 13px;
  color: #74410d;
  background: #fffbeb;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
}

.match-warnings:not(:empty) {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  color: #74410d;
  background: #fffbeb;
  font-size: 0.82rem;
}

.match-results-section {
  max-width: none;
  background: var(--surface-soft);
}

.match-noscript {
  max-width: 1120px;
  margin: 22px auto 0;
}

/* AI university match */
.match-page {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 6% 10%, rgba(13, 148, 136, 0.07), transparent 22rem),
    radial-gradient(circle at 96% 28%, rgba(37, 99, 235, 0.08), transparent 26rem),
    var(--surface-soft);
}

.match-page::before {
  position: absolute;
  top: 140px;
  left: 50%;
  width: min(1120px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.18), transparent);
  content: "";
  transform: translateX(-50%);
}

.match-section {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
}

.match-intro {
  display: grid;
  max-width: 840px;
  gap: 16px;
  margin: 0 auto clamp(32px, 5vw, 58px);
  text-align: center;
}

.match-intro .eyebrow {
  justify-self: center;
}

.match-intro h1,
.match-intro h2 {
  margin-bottom: 0;
  text-wrap: balance;
}

.match-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.match-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.match-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #d7e4f2;
  border-radius: 999px;
  color: #3f536d;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 750;
}

.match-trust-list li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
  content: "";
}

.match-app {
  display: grid;
  max-width: 1120px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(185, 199, 216, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 72px rgba(11, 37, 69, 0.13);
  grid-template-columns: minmax(230px, 0.3fr) minmax(0, 0.7fr);
}

.match-progress {
  position: relative;
  padding: clamp(28px, 4vw, 46px) clamp(22px, 3vw, 34px);
  color: #d9e7f6;
  background:
    radial-gradient(circle at 105% -5%, rgba(56, 189, 248, 0.27), transparent 34%),
    radial-gradient(circle at -10% 105%, rgba(13, 148, 136, 0.25), transparent 34%),
    var(--navy-950);
}

.match-progress::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 42px rgba(125, 211, 252, 0.035);
}

.match-progress-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.match-progress-heading strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.06rem;
}

.match-progress-heading span {
  color: #9fb4c9;
  font-size: 0.79rem;
}

.match-progress-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-progress-item {
  position: relative;
}

.match-progress-item:not(:last-child)::after {
  position: absolute;
  top: 45px;
  left: 19px;
  width: 1px;
  height: 22px;
  background: rgba(159, 180, 201, 0.28);
  content: "";
}

.match-progress-button {
  display: grid;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #9fb4c9;
  background: transparent;
  cursor: default;
  grid-template-columns: 38px minmax(0, 1fr);
  text-align: left;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

button.match-progress-button:not(:disabled) {
  cursor: pointer;
}

.match-progress-item.is-active .match-progress-button,
.match-progress-item[aria-current="step"] .match-progress-button {
  border-color: rgba(125, 211, 252, 0.19);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.match-progress-item.is-complete .match-progress-button {
  color: #bfe8e2;
}

.match-progress-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(159, 180, 201, 0.35);
  border-radius: 12px;
  color: #c7d8e9;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.76rem;
  font-weight: 900;
}

.match-progress-item.is-active .match-progress-index,
.match-progress-item[aria-current="step"] .match-progress-index {
  border-color: #7dd3fc;
  color: var(--navy-950);
  background: #7dd3fc;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25);
}

.match-progress-item.is-complete .match-progress-index {
  border-color: #5eead4;
  color: #042f2e;
  background: #99f6e4;
}

.match-progress-item.is-complete .match-progress-index::before {
  content: "✓";
}

.match-progress-item.is-complete .match-progress-index > span {
  display: none;
}

.match-progress-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.match-progress-copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-progress-copy small {
  overflow: hidden;
  color: #849bb2;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-progress-item.is-active .match-progress-copy small,
.match-progress-item[aria-current="step"] .match-progress-copy small {
  color: #bbd0e4;
}

.match-panel {
  min-width: 0;
  padding: clamp(28px, 5vw, 56px);
}

.match-form {
  display: grid;
  min-height: 610px;
  grid-template-rows: 1fr auto;
}

.match-step {
  animation: match-step-enter 260ms ease both;
}

.match-step[hidden] {
  display: none !important;
}

@keyframes match-step-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.match-step-header {
  max-width: 650px;
  margin-bottom: 30px;
}

.match-step-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-step-header h2,
.match-step-header h3 {
  margin-bottom: 9px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.match-step-header p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.match-form-grid {
  display: grid;
  align-items: start;
  gap: 22px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.match-field-full,
.match-span-full {
  grid-column: 1 / -1;
}

.match-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.match-required {
  color: var(--error);
}

.match-optional {
  color: #758398;
  font-size: 0.7rem;
  font-weight: 700;
}

.match-hint {
  margin: -1px 0 0;
  color: #6b7789;
  font-size: 0.75rem;
  line-height: 1.45;
}

.match-field input:not([type="radio"]):not([type="checkbox"]),
.match-field select,
.match-field textarea,
.match-input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #cbd6e4;
  border-radius: 12px;
  color: var(--navy-950);
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 37, 69, 0.02);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.match-field select {
  padding-right: 38px;
  cursor: pointer;
}

.match-field textarea {
  min-height: 126px;
  resize: vertical;
}

.match-field input:not([type="radio"]):not([type="checkbox"]):hover,
.match-field select:hover,
.match-field textarea:hover,
.match-input:hover {
  border-color: #9fb2ca;
}

.match-field input:not([type="radio"]):not([type="checkbox"]):focus,
.match-field select:focus,
.match-field textarea:focus,
.match-input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.match-field input[aria-invalid="true"],
.match-field select[aria-invalid="true"],
.match-field textarea[aria-invalid="true"],
.match-field.is-invalid .match-input {
  border-color: #dc2626;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.match-field-error {
  margin: 0;
  color: var(--error);
  font-size: 0.75rem;
  font-weight: 700;
}

.match-input-wrap {
  display: flex;
  position: relative;
  min-width: 0;
  align-items: stretch;
}

.match-input-wrap input,
.match-input-wrap select {
  min-width: 0;
}

.match-input-wrap.has-suffix input {
  padding-right: 72px;
}

.match-input-suffix {
  display: grid;
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  min-width: 54px;
  place-items: center;
  padding: 0 11px;
  border-left: 1px solid #d9e2ed;
  border-radius: 0 11px 11px 0;
  color: #5a6b80;
  background: #f6f8fb;
  font-size: 0.76rem;
  font-weight: 800;
  pointer-events: none;
}

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

.match-segment,
.match-choice-card,
.match-chip {
  position: relative;
  cursor: pointer;
}

.match-segment > input,
.match-choice-card > input,
.match-chip > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.match-segment-card,
.match-segment > span,
.match-choice-card-inner {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #cbd6e4;
  border-radius: 14px;
  color: #495a70;
  background: #fff;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.match-choice-card-inner {
  min-height: 116px;
  align-content: start;
  gap: 6px;
  padding: 17px;
  text-align: left;
}

.match-segment:hover .match-segment-card,
.match-segment:hover > span,
.match-choice-card:hover .match-choice-card-inner {
  border-color: #93b4db;
  transform: translateY(-1px);
}

.match-segment > input:focus-visible + .match-segment-card,
.match-segment > input:focus-visible + span,
.match-choice-card > input:focus-visible + .match-choice-card-inner,
.match-chip > input:focus-visible + span {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.match-segment > input:checked + .match-segment-card,
.match-segment > input:checked + span,
.match-choice-card > input:checked + .match-choice-card-inner {
  border-color: var(--blue-600);
  color: var(--navy-950);
  background: var(--surface-blue);
  box-shadow: inset 0 0 0 1px var(--blue-600), 0 8px 20px rgba(37, 99, 235, 0.1);
}

.match-segment-title,
.match-choice-title {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.3;
}

.match-segment-meta,
.match-choice-meta {
  color: #718096;
  font-size: 0.72rem;
  line-height: 1.4;
}

.match-choice-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.84rem;
  font-weight: 900;
}

.match-choice-card > input:checked + .match-choice-card-inner .match-choice-icon {
  color: #fff;
  background: var(--blue-600);
}

.match-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.match-chip > span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #cbd6e4;
  border-radius: 999px;
  color: #526176;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.match-chip > span::before {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #a8b7ca;
  border-radius: 50%;
  color: transparent;
  content: "✓";
  font-size: 0.62rem;
}

.match-chip:hover > span {
  border-color: #93b4db;
  color: var(--navy-900);
}

.match-chip > input:checked + span {
  border-color: #5cb7ad;
  color: #075f59;
  background: #ecfdf9;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.match-chip > input:checked + span::before {
  border-color: var(--teal-600);
  color: #fff;
  background: var(--teal-600);
}

.match-dynamic-panel {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid #d8e3ef;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #f1f7ff);
  animation: match-step-enter 220ms ease both;
}

.match-dynamic-panel[hidden] {
  display: none !important;
}

.match-dynamic-panel-title {
  margin-bottom: 13px;
  color: var(--navy-900);
  font-size: 0.86rem;
  font-weight: 850;
}

.match-range-row {
  display: grid;
  align-items: center;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 68px;
}

.match-range-row input[type="range"] {
  width: 100%;
  accent-color: var(--blue-600);
}

.match-range-value {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid #cbd6e4;
  border-radius: 11px;
  color: var(--navy-900);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 850;
}

.match-divider {
  height: 1px;
  margin: 27px 0;
  border: 0;
  background: #e3eaf2;
}

.match-notice,
.match-privacy,
.match-consent {
  display: grid;
  align-items: start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid #bfd9ef;
  border-radius: 15px;
  color: #38536f;
  background: #f0f9ff;
  grid-template-columns: 30px minmax(0, 1fr);
  font-size: 0.82rem;
  line-height: 1.55;
}

.match-notice-icon,
.match-privacy-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #075985;
  background: #bae6fd;
  font-size: 0.78rem;
  font-weight: 900;
}

.match-notice strong,
.match-privacy strong,
.match-consent strong {
  color: var(--navy-900);
}

.match-notice p,
.match-privacy p,
.match-consent p {
  margin-bottom: 0;
}

.match-privacy {
  border-color: #b9e5dc;
  color: #315b58;
  background: #f0fdfa;
}

.match-privacy-icon {
  color: #115e59;
  background: #99f6e4;
}

.match-consent {
  position: relative;
  grid-template-columns: 22px minmax(0, 1fr);
}

.match-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal-600);
}

.match-consent a {
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.match-review-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.match-review-item {
  display: grid;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e0e7ef;
  border-radius: 14px;
  background: #fff;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr) auto;
}

.match-review-item dt {
  color: #68778b;
  font-size: 0.76rem;
  font-weight: 750;
}

.match-review-item dd {
  margin: 0;
  color: var(--navy-950);
  font-size: 0.86rem;
  font-weight: 800;
}

.match-review-edit {
  padding: 0;
  border: 0;
  color: var(--blue-700);
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 850;
}

.match-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #e3eaf2;
}

.match-actions-end {
  justify-content: flex-end;
}

.match-actions .button {
  min-width: 128px;
}

.match-submit {
  position: relative;
  min-width: 205px !important;
  overflow: hidden;
}

.match-submit::after {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -45%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: left 420ms ease;
}

.match-submit:hover::after {
  left: 115%;
}

.match-alert {
  display: grid;
  align-items: start;
  gap: 11px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  color: #344f6d;
  background: #eff6ff;
  grid-template-columns: 24px minmax(0, 1fr);
  font-size: 0.82rem;
}

.match-alert::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-600);
  content: "i";
  font-size: 0.72rem;
  font-weight: 900;
}

.match-alert p {
  margin-bottom: 0;
}

.match-alert-error {
  border-color: #fecaca;
  color: #7f1d1d;
  background: #fef2f2;
}

.match-alert-error::before {
  background: #dc2626;
  content: "!";
}

.match-alert-warning {
  border-color: #fde68a;
  color: #74410d;
  background: #fffbeb;
}

.match-alert-warning::before {
  color: #4b2b06;
  background: #fbbf24;
  content: "!";
}

.match-alert-success {
  border-color: #a7f3d0;
  color: #065f46;
  background: #ecfdf5;
}

.match-alert-success::before {
  background: var(--teal-600);
  content: "✓";
}

.match-loading {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 48px 24px;
  text-align: center;
}

.match-loading-inner {
  display: grid;
  max-width: 520px;
  justify-items: center;
  gap: 14px;
}

.match-loading-orbit {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 8px;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 31%, #eff6ff 32% 100%);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.14);
}

.match-loading-orbit::before,
.match-loading-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.match-loading-orbit::before {
  inset: 7px;
  border: 2px solid transparent;
  border-top-color: var(--blue-600);
  border-right-color: var(--teal-600);
  animation: match-spin 1.25s linear infinite;
}

.match-loading-orbit::after {
  top: 3px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #38bdf8;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.14);
  transform: translateX(-50%);
}

@keyframes match-spin {
  to {
    transform: rotate(360deg);
  }
}

.match-loading h2,
.match-loading h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.match-loading p {
  margin-bottom: 0;
  color: var(--muted);
}

.match-loading-status {
  min-height: 24px;
  color: var(--blue-700) !important;
  font-size: 0.84rem;
  font-weight: 800;
}

.match-loading-dots::after {
  display: inline-block;
  width: 1.4em;
  overflow: hidden;
  vertical-align: bottom;
  animation: match-dots 1.2s steps(4, end) infinite;
  content: "…";
}

@keyframes match-dots {
  0% {
    width: 0;
  }

  100% {
    width: 1.4em;
  }
}

.match-results {
  max-width: 1180px;
  margin-inline: auto;
  animation: match-step-enter 320ms ease both;
}

.match-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.match-results-heading {
  max-width: 720px;
}

.match-results-heading h2 {
  margin-bottom: 9px;
}

.match-results-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.match-results-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 9px;
}

.match-results-summary {
  display: grid;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 22px;
  color: #dce9f6;
  background:
    radial-gradient(circle at 92% -20%, rgba(37, 99, 235, 0.46), transparent 38%),
    var(--navy-950);
  box-shadow: 0 18px 42px rgba(11, 37, 69, 0.14);
  grid-template-columns: minmax(0, 1fr) auto;
}

.match-results-summary h3 {
  margin-bottom: 7px;
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.match-results-summary p {
  max-width: 780px;
  margin-bottom: 0;
  color: #bdd0e2;
  font-size: 0.9rem;
}

.match-checked-at {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(153, 246, 228, 0.24);
  border-radius: 999px;
  color: #b8f4e9;
  background: rgba(13, 148, 136, 0.15);
  font-size: 0.71rem;
  font-weight: 800;
  white-space: nowrap;
}

.match-checked-at::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eead4;
  content: "";
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

.match-result-list {
  display: grid;
  gap: 20px;
}

.match-result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d6e0eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(11, 37, 69, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.match-result-card:hover {
  border-color: #a9bfd8;
  box-shadow: 0 21px 50px rgba(11, 37, 69, 0.12);
  transform: translateY(-2px);
}

.match-result-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--blue-600);
  content: "";
}

.match-result-card[data-band="ambitious"]::before,
.match-result-card.match-result-ambitious::before {
  background: var(--gold-500);
}

.match-result-card[data-band="match"]::before,
.match-result-card.match-result-fit::before {
  background: var(--teal-600);
}

.match-result-card[data-band="safer"]::before,
.match-result-card.match-result-safer::before {
  background: var(--blue-600);
}

.match-result-main {
  display: grid;
  align-items: start;
  gap: 26px;
  padding: clamp(22px, 3vw, 32px);
  grid-template-columns: minmax(0, 1fr) 106px;
}

.match-result-rank {
  margin: 0 0 7px;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.match-result-card h3 {
  margin-bottom: 5px;
  font-size: clamp(1.38rem, 2.5vw, 1.95rem);
}

.match-result-program {
  margin-bottom: 10px;
  color: #334b68;
  font-size: 0.93rem;
  font-weight: 800;
}

.match-result-location {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  color: #69778a;
  font-size: 0.8rem;
}

.match-result-location span:not(:last-child)::after {
  margin-left: 8px;
  color: #b5c0ce;
  content: "•";
}

.match-score-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.match-score-ring {
  display: grid;
  position: relative;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal-600) calc(var(--match-score, 0) * 1%), #e6edf5 0);
}

.match-score-ring::before {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.match-score-value {
  position: relative;
  z-index: 1;
  color: var(--navy-950);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.match-score-value small {
  color: #718096;
  font-size: 0.63rem;
  letter-spacing: 0;
}

.match-score-caption {
  color: #718096;
  font-size: 0.66rem;
  font-weight: 800;
  text-align: center;
}

.match-score-help {
  margin: 0;
  padding: 10px clamp(22px, 3vw, 32px);
  border-top: 1px solid #e3eaf2;
  color: #5b6b80;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.match-band {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.match-band::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.match-band-ambitious,
.match-band[data-band="ambitious"] {
  color: #92400e;
  background: #fef3c7;
}

.match-band-fit,
.match-band[data-band="match"] {
  color: #0f766e;
  background: #ccfbf1;
}

.match-band-safer,
.match-band[data-band="safer"] {
  color: #1d4ed8;
  background: #dbeafe;
}

.match-reasons {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-reasons li {
  display: grid;
  align-items: start;
  gap: 9px;
  color: #46576d;
  font-size: 0.84rem;
  grid-template-columns: 20px minmax(0, 1fr);
}

.match-reasons li::before {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #065f46;
  background: #d1fae5;
  content: "✓";
  font-size: 0.61rem;
  font-weight: 900;
}

.match-result-details {
  display: grid;
  gap: 1px;
  border-top: 1px solid #e3eaf2;
  background: #e3eaf2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.match-fact {
  min-width: 0;
  padding: 16px 18px;
  background: #fafcff;
}

.match-fact dt,
.match-fact-label {
  margin-bottom: 4px;
  color: #718096;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.match-fact dd,
.match-fact-value {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: 0.81rem;
  font-weight: 800;
  line-height: 1.45;
}

.match-result-body {
  display: grid;
  gap: 22px;
  padding: 23px clamp(22px, 3vw, 32px) clamp(24px, 3vw, 32px);
  border-top: 1px solid #e3eaf2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-result-block {
  min-width: 0;
}

.match-result-block-full {
  grid-column: 1 / -1;
}

.match-result-verified {
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  grid-column: 1 / -1;
}

.match-result-verified::before {
  margin-right: 7px;
  color: var(--teal-600);
  content: "✓";
}

.match-result-block h4 {
  margin: 0 0 9px;
  color: var(--navy-900);
  font-size: 0.84rem;
  font-weight: 900;
}

.match-result-block p {
  margin-bottom: 0;
  color: #536277;
  font-size: 0.82rem;
  line-height: 1.6;
}

.match-gap-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-gap-list li {
  display: grid;
  align-items: start;
  gap: 8px;
  color: #69552e;
  font-size: 0.81rem;
  grid-template-columns: 18px minmax(0, 1fr);
}

.match-gap-list li::before {
  color: #d97706;
  content: "△";
  font-weight: 900;
}

.match-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.match-source-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #c9d9eb;
  border-radius: 999px;
  color: #24548a;
  background: #f6faff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  transition: border-color 180ms ease, background 180ms ease;
}

.match-source-chip::before {
  color: var(--teal-700);
  content: "↗";
  font-size: 0.88rem;
}

.match-source-chip:hover {
  border-color: #7da8d8;
  background: #eaf4ff;
}

.match-source-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-unconfirmed {
  color: #7a6846 !important;
  font-style: italic;
  font-weight: 700 !important;
}

.match-disclaimer {
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  color: #647286;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  line-height: 1.55;
}

.match-disclaimer strong {
  color: #3d4f66;
}

.match-empty {
  display: grid;
  max-width: 760px;
  min-height: 330px;
  place-items: center;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 62px);
  border: 1px dashed #aabbd0;
  border-radius: 24px;
  color: var(--muted);
  background: linear-gradient(135deg, #fff, #f2f7fd);
  text-align: center;
}

.match-empty-inner {
  max-width: 520px;
}

.match-empty-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  box-shadow: 0 13px 30px rgba(37, 99, 235, 0.2);
  font-size: 1.45rem;
}

.match-empty h2,
.match-empty h3 {
  margin-bottom: 9px;
}

.match-empty p {
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .match-app {
    border-radius: 24px;
    grid-template-columns: 1fr;
  }

  .match-progress {
    padding: 20px;
  }

  .match-progress::after,
  .match-progress-heading {
    display: none;
  }

  .match-progress-list {
    gap: 7px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .match-progress-item:not(:last-child)::after {
    top: 19px;
    right: -8px;
    left: auto;
    width: 16px;
    height: 1px;
  }

  .match-progress-button {
    min-height: 48px;
    justify-items: center;
    padding: 5px;
    grid-template-columns: 1fr;
  }

  .match-progress-index {
    width: 36px;
    height: 36px;
  }

  .match-progress-copy {
    display: none;
  }

  .match-form {
    min-height: 560px;
  }

  .match-results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-results-summary {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .match-checked-at {
    justify-self: start;
  }

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

@media (max-width: 640px) {
  .match-section {
    padding: 52px 0 70px;
  }

  .match-intro {
    margin-bottom: 30px;
    text-align: left;
  }

  .match-intro .eyebrow {
    justify-self: start;
  }

  .match-intro p {
    margin-left: 0;
  }

  .match-trust-list {
    justify-content: flex-start;
  }

  .match-app {
    margin-inline: -4px;
    border-radius: 20px;
  }

  .match-progress {
    padding: 14px 12px;
  }

  .match-progress-item:not(:last-child)::after {
    right: -6px;
    width: 12px;
  }

  .match-progress-index {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.69rem;
  }

  .match-panel {
    padding: 25px 18px 21px;
  }

  .match-form {
    min-height: 0;
  }

  .match-step-header {
    margin-bottom: 24px;
  }

  .match-form-grid,
  .match-segment-grid,
  .match-choice-grid,
  .match-result-body {
    grid-template-columns: 1fr;
  }

  .match-field-full,
  .match-span-full,
  .match-result-block-full {
    grid-column: auto;
  }

  .match-choice-card-inner {
    min-height: 92px;
    align-content: center;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .match-choice-icon {
    margin: 0;
    grid-row: 1 / span 2;
  }

  .match-notice,
  .match-privacy {
    padding: 14px;
  }

  .match-review-item {
    gap: 5px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .match-review-item dt,
  .match-review-item dd {
    grid-column: 1;
  }

  .match-review-edit {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .match-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .match-actions .button,
  .match-submit {
    width: 100%;
  }

  .match-results-header {
    gap: 20px;
  }

  .match-results-actions,
  .match-results-actions .button {
    width: 100%;
  }

  .match-result-main {
    gap: 20px;
    padding: 23px 20px;
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  .match-score-ring {
    width: 70px;
    height: 70px;
  }

  .match-score-value {
    font-size: 1.08rem;
  }

  .match-score-caption {
    display: none;
  }

  .match-result-details {
    grid-template-columns: 1fr;
  }

  .match-fact {
    display: grid;
    align-items: start;
    gap: 10px;
    grid-template-columns: minmax(92px, 0.35fr) minmax(0, 0.65fr);
  }

  .match-fact dt,
  .match-fact-label {
    margin-bottom: 0;
  }

  .match-result-body {
    padding: 20px;
  }

  .match-source-chip {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-step,
  .match-dynamic-panel,
  .match-results,
  .match-loading-orbit::before,
  .match-loading-dots::after {
    animation: none !important;
  }

  .match-result-card:hover,
  .match-segment:hover .match-segment-card,
  .match-segment:hover > span,
  .match-choice-card:hover .match-choice-card-inner {
    transform: none;
  }
}

@media print {
  .match-intro,
  .match-app,
  .match-results-actions,
  .match-loading,
  .match-empty .button,
  .match-disclaimer .button {
    display: none !important;
  }

  .match-page,
  .match-section {
    padding: 0;
    background: #fff;
  }

  .match-results-summary {
    color: #000;
    border-color: #999;
    background: #fff;
    box-shadow: none;
  }

  .match-results-summary h3,
  .match-results-summary p,
  .match-checked-at {
    color: #000;
  }

  .match-result-card {
    break-inside: avoid;
    border-color: #aaa;
    box-shadow: none;
  }

  .match-source-chip {
    color: #000;
    border-color: #aaa;
    background: #fff;
  }

  .match-source-chip::after {
    content: " (" attr(href) ")";
    font-weight: 400;
  }
}
