/* =========================================================
   Zentia Therapeutics — Design System & Styles
   ========================================================= */

:root {
  --clr-ink-900: #0b1b33;
  --clr-ink-800: #12274a;
  --clr-ink-700: #1c3a63;
  --clr-blue: #2b7cee;
  --clr-blue-dark: #1f62c4;
  --clr-violet: #6b4fe8;
  --clr-pink: #e8488e;
  --clr-green: #1fb98e;
  --clr-amber: #ffb25e;
  --clr-bg: #ffffff;
  --clr-bg-soft: #f4f8fe;
  --clr-bg-tint: #eaf2fc;
  --clr-line: #e4ebf5;
  --clr-line-dark: #24395f;
  --clr-text: #1b2a44;
  --clr-muted: #5a6b88;
  --clr-muted-light: #9aa9c4;

  --font-display: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 4px 14px rgba(11, 27, 51, .06);
  --shadow-md: 0 6px 20px rgba(11, 27, 51, .09), 0 2px 6px rgba(11, 27, 51, .06);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, .16);
  --shadow-blue: 0 10px 30px rgba(43, 124, 238, .28);

  --grad-primary: linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  --grad-text: linear-gradient(120deg, var(--clr-blue) 0%, var(--clr-violet) 100%);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s var(--ease);
  --t-med: .35s var(--ease);
  --t-slow: .6s var(--ease);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
abbr { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--clr-ink-900);
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: rgba(43, 124, 238, .22); }

:focus-visible {
  outline: 2px solid var(--clr-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) { outline: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section--soft {
  background: linear-gradient(180deg, var(--clr-bg-soft), #eef5fd);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-head__sub {
  color: var(--clr-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.section-head--row .section-head__sub { max-width: 440px; margin-top: 0; }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-top: .9rem;
  line-height: 1.08;
}

.h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-top: .9rem; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--clr-ink-700);
  margin-top: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-blue-dark);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-primary);
}

.eyebrow--light { color: #aec8f5; }
.eyebrow--light::before { background: #aec8f5; }

.text-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-med), background var(--t-med), border-color var(--t-med), color var(--t-med);
  will-change: transform;
}

.btn .btn__arrow { transition: transform var(--t-fast); }

.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(43, 124, 238, .4);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--clr-ink-800);
  border-color: var(--clr-line);
}

.btn--ghost:hover { border-color: var(--clr-ink-800); background: var(--clr-bg-soft); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--light {
  background: #fff;
  color: var(--clr-ink-900);
  box-shadow: 0 10px 30px rgba(4, 12, 28, .25);
}

.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(4, 12, 28, .32); }

.btn--sm { padding: .68rem 1.25rem; font-size: .875rem; }
.btn--full { width: 100%; }

.btn--text {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem 0;
  color: var(--clr-blue-dark);
  font-weight: 600;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.btn--text:hover { border-bottom-color: var(--clr-blue-dark); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: .75rem 1.25rem;
  background: var(--clr-ink-900);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: top var(--t-fast);
}

.skip-link:focus { top: 1rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height var(--t-med), box-shadow var(--t-med), background var(--t-med), border-color var(--t-med);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--clr-line);
  box-shadow: 0 4px 24px rgba(11, 27, 51, .08);
}

@media (min-width: 921px) {
  .site-header.is-scrolled { height: 64px; }
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.brand__mark { width: 42px; height: 42px; }

.brand__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--clr-ink-900);
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.brand__text span {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: .2rem;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .8rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--clr-ink-800);
  border-radius: 8px;
  position: relative;
  transition: color var(--t-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.nav__link:hover, .nav__link.is-active { color: var(--clr-blue-dark); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__toggle { background: none; border: 0; font-weight: 600; }

.nav__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-fast);
}

.has-dropdown.is-open .nav__chevron { transform: rotate(225deg) translateY(-1px); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  z-index: 50;
}

.has-dropdown.is-open .dropdown,
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block;
  padding: .6rem .85rem;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--clr-ink-800);
  transition: background var(--t-fast), color var(--t-fast);
}

.dropdown a:hover { background: var(--clr-bg-soft); color: var(--clr-blue-dark); }

.nav__cta { display: inline-flex; }

/* ---------- Hamburger ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 10px;
  align-items: center;
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-ink-900);
  transition: transform var(--t-med), opacity var(--t-fast);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 18% 12%, rgba(43, 124, 238, .10), transparent 60%),
    radial-gradient(44% 40% at 88% 16%, rgba(107, 79, 232, .10), transparent 60%),
    radial-gradient(46% 42% at 78% 88%, rgba(31, 185, 142, .08), transparent 60%),
    linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin-top: 1.4rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--clr-muted);
  max-width: 32rem;
  margin-top: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.1rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--clr-muted);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--clr-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero visual ---------- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__art { width: min(540px, 100%); height: auto; }

.hero__ring--b { transform-origin: 320px 320px; animation: spin 70s linear infinite; }
.hero__orb { transform-origin: center; animation: floaty 7s ease-in-out infinite; }
.hero__orb--2 { animation-delay: -2.2s; animation-duration: 8s; }
.hero__orb--3 { animation-delay: -4s; animation-duration: 6.4s; }
.hero__orb--4 { animation-delay: -1s; animation-duration: 7.6s; }

.hero__pulse { animation: pulse-dash 5s ease-in-out infinite; }

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.05rem;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  animation: floaty 6.5s ease-in-out infinite;
}

.hero__float--top { top: 12%; right: -2%; animation-delay: -.8s; }
.hero__float--bottom { bottom: 14%; left: -3%; animation-delay: -3s; }

.hero__float strong {
  display: block;
  font-size: .9rem;
  color: var(--clr-ink-900);
  line-height: 1.25;
}

.hero__float div span {
  display: block;
  font-size: .78rem;
  color: var(--clr-muted);
  line-height: 1.3;
}

.hero__float-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(43, 124, 238, .12);
  color: var(--clr-blue);
  flex-shrink: 0;
}

.hero__float-ic--violet { background: rgba(107, 79, 232, .12); color: var(--clr-violet); }

.hero__float-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero credentials bar ---------- */
.hero__cred {
  position: relative;
  border-top: 1px solid var(--clr-line);
  background: rgba(255, 255, 255, .6);
}

.hero__cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem 0;
}

.hero__cred-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.hero__cred-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.2rem;
}

.hero__cred-logos li {
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-ink-700);
  letter-spacing: .02em;
  opacity: .75;
}

/* =========================================================
   Stats
   ========================================================= */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat { padding: .5rem; }

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: .8rem;
  font-size: .92rem;
  color: var(--clr-muted);
  max-width: 16rem;
  margin-inline: auto;
}

/* =========================================================
   Split sections
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split--reverse { grid-template-columns: 1.08fr .92fr; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { order: 1; }

.split__body > p { color: var(--clr-muted); margin-top: 1.1rem; }

.split__body .lead { color: var(--clr-ink-700); }

/* ---------- Visual panel ---------- */
.panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
}

.panel--dark {
  background: linear-gradient(150deg, #0b1b33 0%, #1c3a63 70%, #2b7cee 140%);
}

.panel__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }

.panel__pattern--img {
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: brightness(.55) contrast(1.05) saturate(.92);
}

.panel__icon {
  position: absolute;
  top: 2.2rem;
  left: 2.2rem;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}

.panel__icon--light { background: rgba(255, 255, 255, .1); }

.panel__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.panel__card {
  position: relative;
  margin: 1.5rem;
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  max-width: 330px;
  animation: floaty 7s ease-in-out infinite;
}

.panel__card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-blue-dark);
  margin-bottom: .45rem;
}

.panel__card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--clr-ink-900);
  margin-bottom: .25rem;
}

.panel__card span:last-child { font-size: .88rem; color: var(--clr-muted); }

/* ---------- Check list ---------- */
.check-list { margin-top: 1.5rem; }

.check-list li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  color: var(--clr-ink-800);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="white" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 10.5l4 4 8-9"/></svg>') center / 12px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="white" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4 10.5l4 4 8-9"/></svg>') center / 12px no-repeat;
}

/* =========================================================
   Quote card & pillars
   ========================================================= */
.quote-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.quote-card__mark {
  position: absolute;
  top: -18px;
  left: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-blue);
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--clr-ink-900);
}

.quote-card cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: .9rem;
  color: var(--clr-muted);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar h3 { font-size: 1.18rem; margin-top: 1rem; }

.pillar p { color: var(--clr-muted); font-size: .95rem; margin-top: .6rem; }

/* =========================================================
   Steps / process
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--clr-line);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.step::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px dashed rgba(43, 124, 238, .5);
}

.step__num {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--clr-bg-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--clr-blue-dark);
  border: 1px solid var(--clr-line);
  transition: background var(--t-med), color var(--t-med), transform var(--t-med);
}

.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step:hover .step__num { background: var(--grad-primary); color: #fff; transform: rotate(-6deg); }

.step h3 { font-size: 1.12rem; margin-top: 1.15rem; }
.step p { color: var(--clr-muted); font-size: .92rem; margin-top: .55rem; }

/* =========================================================
   Tabs / programs
   ========================================================= */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.tabs__btn {
  padding: .7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-line);
  background: #fff;
  color: var(--clr-muted);
  font-weight: 600;
  font-size: .92rem;
  transition: all var(--t-fast);
}

.tabs__btn:hover { border-color: var(--clr-blue); color: var(--clr-blue-dark); }

.tabs__btn.is-active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.tabs__panel {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: fade-in var(--t-med);
}

.program {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
}

.program__badge {
  display: inline-block;
  padding: .4rem .95rem;
  border-radius: var(--radius-pill);
  background: var(--clr-bg-tint);
  color: var(--clr-blue-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.program__meta h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1rem; }
.program__meta p { color: var(--clr-muted); margin-top: .9rem; max-width: 44ch; }
.program__meta .btn { margin-top: 1.5rem; }

.program__facts {
  display: grid;
  gap: 1px;
  background: var(--clr-line);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  overflow: hidden;
  align-content: start;
}

.program__facts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.2rem;
  background: #fff;
}

.program__facts span { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--clr-muted); }
.program__facts strong { font-size: .92rem; color: var(--clr-ink-900); text-align: right; }

/* =========================================================
   Cards (learn more)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card__icon--blue { background: linear-gradient(135deg, #2b7cee, #1f62c4); }
.card__icon--pink { background: linear-gradient(135deg, #f0609f, #e8488e); }
.card__icon--violet { background: linear-gradient(135deg, #8a6bff, #6b4fe8); }
.card__icon--green { background: linear-gradient(135deg, #2fc9a0, #1fb98e); }

.card h3 { font-size: 1.15rem; margin-top: 1.3rem; }
.card p { color: var(--clr-muted); font-size: .93rem; margin-top: .55rem; flex-grow: 1; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--clr-blue-dark);
  border-bottom: 2px solid transparent;
  padding-bottom: .1rem;
  transition: border-color var(--t-fast);
}

.card__link:hover { border-bottom-color: var(--clr-blue-dark); }

/* =========================================================
   News spotlight
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}

.news:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news:hover::before { transform: scaleX(1); }

.news__tag {
  display: inline-block;
  align-self: flex-start;
  padding: .32rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--clr-bg-tint);
  color: var(--clr-blue-dark);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-top: 1.2rem;
}

.news h3 a { transition: color var(--t-fast); }
.news h3 a:hover { color: var(--clr-blue-dark); }

.news p {
  color: var(--clr-muted);
  font-size: .92rem;
  margin-top: .65rem;
  flex-grow: 1;
}

.news__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--clr-blue-dark);
  border-bottom: 2px solid transparent;
  padding-bottom: .1rem;
  transition: border-color var(--t-fast);
}

.news__link:hover { border-bottom-color: var(--clr-blue-dark); }

/* =========================================================
   Testimonials
   ========================================================= */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tst {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.tst:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.tst__quote { width: 30px; height: 30px; color: var(--clr-blue); opacity: .85; }

.tst blockquote {
  margin-top: 1.1rem;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--clr-ink-800);
  flex-grow: 1;
}

.tst figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--clr-line);
}

.tst__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.tst__meta strong { display: block; font-size: .92rem; color: var(--clr-ink-900); }
.tst__meta span { font-size: .8rem; color: var(--clr-muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  margin-top: 1.75rem;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.faq__item + .faq__item { border-top: 1px solid var(--clr-line); }

.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-ink-900);
  transition: color var(--t-fast);
}

.faq__btn:hover { color: var(--clr-blue-dark); }

.faq__ic {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-line);
  flex-shrink: 0;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}

.faq__ic::before,
.faq__ic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--clr-ink-700);
  transform: translate(-50%, -50%);
  transition: background var(--t-med);
}

.faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item.is-open .faq__ic { background: var(--clr-blue); border-color: var(--clr-blue); transform: rotate(135deg); }
.faq__item.is-open .faq__ic::before, .faq__item.is-open .faq__ic::after { background: #fff; }

.faq__a { padding: 0 1.4rem 1.3rem; }

.faq__a p { color: var(--clr-muted); font-size: .94rem; max-width: 58ch; }

.faq__a[hidden] { display: none; }

/* =========================================================
   Contact card & form
   ========================================================= */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #0b1b33 0%, #1c3a63 60%, #2b7cee 130%);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
}

.contact-card__intro p { color: rgba(255, 255, 255, .78); margin-top: 1.1rem; }

.contact-card__points {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.contact-card__points li {
  padding-left: 1.3rem;
  border-left: 2px solid rgba(255, 255, 255, .25);
}

.contact-card__points strong {
  display: block;
  color: #fff;
  font-size: .95rem;
}

.contact-card__points span {
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
}

.h2--light { color: #fff; }

.form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.3rem);
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__field { margin-bottom: 1rem; }

.form__field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--clr-ink-800);
  margin-bottom: .4rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: .78rem .95rem;
  border: 1px solid var(--clr-line);
  border-radius: 10px;
  background: var(--clr-bg-soft);
  color: var(--clr-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  appearance: none;
}

.form__field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="%235A6B88" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6l5 5 5-5"/></svg>');
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 14px;
  padding-right: 2.6rem;
  cursor: pointer;
}

.form__field textarea { resize: vertical; min-height: 90px; }

.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--clr-muted-light); }

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--clr-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 124, 238, .15);
}

.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: #d9475e;
  background: #fff7f8;
}

.form__error {
  display: none;
  font-size: .8rem;
  color: #d9475e;
  margin-top: .35rem;
}

.form__field.is-invalid .form__error { display: block; }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .84rem;
  color: var(--clr-muted);
  margin: .4rem 0 1.2rem;
  cursor: pointer;
}

.form__check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--clr-blue);
  flex-shrink: 0;
}

.form__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

.form__success {
  color: var(--clr-green);
  font-weight: 600;
  font-size: .9rem;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--grad-primary);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 85% 20%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(30% 50% at 10% 85%, rgba(255, 178, 94, .25), transparent 60%);
  pointer-events: none;
}

.cta__inner { position: relative; }

.cta__content { max-width: 760px; }

.cta__content p { color: rgba(255, 255, 255, .85); margin-top: 1.2rem; max-width: 46ch; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--clr-ink-900);
  color: var(--clr-muted-light);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr 1.3fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__text span { color: var(--clr-muted-light); }

.footer__brand > p { margin-top: 1.2rem; font-size: .92rem; max-width: 30ch; }

.social {
  display: flex;
  gap: .7rem;
  margin-top: 1.5rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--clr-line-dark);
  color: var(--clr-muted-light);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.social a:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer__col h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer__col ul { display: grid; gap: .65rem; }

.footer__col a {
  font-size: .92rem;
  color: var(--clr-muted-light);
  transition: color var(--t-fast);
}

.footer__col a:hover { color: #fff; }

.footer__col--contact address {
  font-style: normal;
  font-size: .92rem;
  line-height: 1.7;
}

.footer__col--contact a { display: block; margin-top: .45rem; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--clr-line-dark);
  font-size: .84rem;
}

.footer__legal { display: flex; gap: 1.5rem; }

.footer__legal a:hover { color: #fff; }

/* =========================================================
   Modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 31, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in var(--t-med);
}

.modal__box {
  position: relative;
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  animation: modal-in var(--t-slow);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--clr-muted);
  transition: background var(--t-fast), color var(--t-fast);
}

.modal__close:hover { background: var(--clr-bg-soft); color: var(--clr-ink-900); }

.modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.modal__sub { color: var(--clr-muted); font-size: .92rem; margin-top: .6rem; }

.modal__box .form { box-shadow: none; padding: 0; margin-top: 1.3rem; }

/* =========================================================
   Back to top
   ========================================================= */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.to-top:hover { transform: translateY(-3px); }

.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-dash {
  0%, 100% { opacity: .85; }
  50% { opacity: .35; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-left: 1px solid var(--clr-line);
    padding: 1.25rem 1.25rem 2rem;
    overflow-x: hidden;
    overflow-y: visible;
    height:100vh;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t-slow), visibility 0s var(--t-slow);
    z-index: 990;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: var(--shadow-lg);
    transition: transform var(--t-slow), visibility 0s;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; }

  .nav__link { padding: .6rem .5rem; font-size: 0.95rem; border-radius: 10px; justify-content: space-between; }
  .nav__link::after { display: none; }

  .nav__chevron { transform: rotate(45deg) translateY(-2px); }
  .has-dropdown.is-open .nav__chevron { transform: rotate(225deg) translateY(-1px); }

  .dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: .25rem 0 .5rem .9rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { padding: .7rem .6rem; }

  .nav__cta { margin-top: 1.25rem; display: flex; }

  .nav-toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
  .hero__float--top { right: 0; }
  .hero__float--bottom { left: 0; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 1; }
  .split--reverse .split__body { order: 2; }
  .panel { min-height: 380px; }

  .program { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .section-head--row .section-head__sub { max-width: 560px; }
}

@media (max-width: 620px) {
  :root { --header-h: 68px; }

  .pillar-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__trust { gap: .9rem; }
  .hero__cred-logos { gap: .9rem 1.4rem; }
  .hero__cred-row { justify-content: center; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: auto; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; white-space: normal; }
  .panel__card { max-width: none; }
  .cta__actions .btn { flex: 1 1 auto; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Sub-page components
   ========================================================= */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, #f4f8fe 0%, #ffffff 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 60% at 88% 10%, rgba(43, 124, 238, .10), transparent 60%),
    radial-gradient(40% 55% at 8% 90%, rgba(107, 79, 232, .08), transparent 60%);
  pointer-events: none;
}

.page-hero__inner { position: relative; max-width: 860px; }
.page-hero--split .page-hero__inner { max-width: none; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero--split .page-hero__body { max-width: 620px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--clr-muted);
  margin-bottom: 1.4rem;
}

.breadcrumbs a { color: var(--clr-muted); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--clr-blue-dark); }
.breadcrumbs__sep { opacity: .45; }
.breadcrumbs span[aria-current="page"] { color: var(--clr-ink-900); }

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-top: 1.1rem;
}

.page-hero__lead {
  color: var(--clr-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-top: 1.25rem;
  max-width: 58ch;
}

.page-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.page-hero__side { display: flex; justify-content: center; }
.page-hero__side .panel { width: min(480px, 100%); min-height: 360px; }

.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-head__sub { margin-inline: auto; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 780px; margin-inline: auto; }

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--clr-blue), var(--clr-violet));
  opacity: .22;
  border-radius: 2px;
}

.timeline__item { position: relative; padding: 0 0 2.4rem 3.4rem; }

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--clr-blue);
  box-shadow: 0 0 0 4px rgba(43, 124, 238, .15);
}

.timeline__year {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-blue-dark);
  background: var(--clr-bg-tint);
  padding: .28rem .8rem;
  border-radius: var(--radius-pill);
}

.timeline__item h3 { font-size: 1.25rem; margin-top: .8rem; }
.timeline__item p { color: var(--clr-muted); margin-top: .45rem; max-width: 56ch; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.team-card {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.team-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(120deg, var(--clr-bg-soft), #fff);
  border-bottom: 1px solid var(--clr-line);
}

.team-card__avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}

.team-card__name { font-size: 1.1rem; line-height: 1.2; }
.team-card__title { font-size: .82rem; font-weight: 600; color: var(--clr-blue-dark); margin-top: .2rem; }

.team-card__body { padding: 1.25rem 1.5rem 1.5rem; }

.team-card__body p { color: var(--clr-muted); font-size: .92rem; }

.team-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-line);
}

.team-card__meta span {
  font-size: .76rem;
  font-weight: 600;
  color: var(--clr-muted);
  background: var(--clr-bg-soft);
  border: 1px solid var(--clr-line);
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
}

.board-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.board-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.board-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.board-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  background: linear-gradient(135deg, #2b7cee, #1f62c4);
}

.board-card:nth-child(even) .board-card__avatar { background: linear-gradient(135deg, #8a6bff, #6b4fe8); }
.board-card:nth-child(3n) .board-card__avatar { background: linear-gradient(135deg, #2fc9a0, #1fb98e); }

.board-card strong { display: block; font-size: 1rem; }
.board-card span { font-size: .84rem; color: var(--clr-muted); }

/* ---------- Careers / roles ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.role-list { display: grid; gap: 1rem; }

.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.role-card h3 { font-size: 1.15rem; }
.role-card p { color: var(--clr-muted); font-size: .92rem; margin-top: .3rem; }

.role-card__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }

.role-card__tags span {
  font-size: .76rem;
  font-weight: 600;
  color: var(--clr-blue-dark);
  background: var(--clr-bg-tint);
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
}

.role-card__cta { flex-shrink: 0; }

/* ---------- Publications ---------- */
.pub-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  background: var(--clr-ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  position: relative;
  overflow: hidden;
}

.pub-featured::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 124, 238, .4), transparent 70%);
}

.pub-featured__tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9fc4ff;
  margin-bottom: 1rem;
}

.pub-featured h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.35; }
.pub-featured p { color: rgba(255, 255, 255, .75); margin-top: .9rem; }
.pub-featured__meta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.pub-featured__side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; border-left: 1px solid rgba(255,255,255,.14); padding-left: 2rem; }

.pub-list { display: grid; gap: 1rem; }

.pub-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.pub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pub-card__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pub-card h3 { font-size: 1.02rem; line-height: 1.35; }
.pub-card p { color: var(--clr-muted); font-size: .86rem; margin-top: .3rem; }
.pub-card__journal { text-align: right; font-size: .8rem; font-weight: 600; color: var(--clr-muted); max-width: 180px; }

/* ---------- Trials ---------- */
.trial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.trial-card {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.trial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.trial-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.trial-card h3 { font-size: 1.2rem; margin-top: 1rem; }
.trial-card > p { color: var(--clr-muted); font-size: .94rem; margin-top: .6rem; flex-grow: 1; }

.trial-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--clr-line); border: 1px solid var(--clr-line); border-radius: var(--radius); overflow: hidden; margin-top: 1.4rem; }

.trial-card__facts li { background: #fff; padding: .7rem .95rem; }
.trial-card__facts span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--clr-muted); }
.trial-card__facts strong { font-size: .9rem; color: var(--clr-ink-900); }

.status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--clr-green);
  background: rgba(31, 185, 142, .1);
  padding: .32rem .85rem;
  border-radius: var(--radius-pill);
}

.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.status--amber { color: #b07a16; background: rgba(255, 178, 94, .16); }

/* ---------- Stock / investors ---------- */
.stock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.stock-card {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.stock-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stock-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-muted); }

.stock-card__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--clr-ink-900);
  margin-top: .6rem;
}

.stock-card__delta { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .9rem; margin-top: .4rem; }
.stock-card__delta--up { color: var(--clr-green); }
.stock-card__delta--down { color: #d9475e; }

.resource-list { display: grid; gap: .9rem; }

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.resource-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: transparent; }

.resource-item strong { display: block; font-size: .98rem; color: var(--clr-ink-900); }
.resource-item span { font-size: .82rem; color: var(--clr-muted); }

.resource-item .btn__arrow { color: var(--clr-blue-dark); font-weight: 700; }

/* ---------- Data table ---------- */
.table-wrap {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  overflow: auto;
  box-shadow: var(--shadow-sm);
}

.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }

.data-table th {
  text-align: left;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 1rem 1.4rem;
  background: var(--clr-bg-soft);
  border-bottom: 1px solid var(--clr-line);
}

.data-table td { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--clr-line); font-size: .94rem; vertical-align: middle; }

.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background var(--t-fast); }
.data-table tbody tr:hover { background: var(--clr-bg-soft); }

.data-table td strong { color: var(--clr-ink-900); }
.data-table .data-table__tag { display: inline-block; font-size: .76rem; font-weight: 700; color: var(--clr-blue-dark); background: var(--clr-bg-tint); padding: .25rem .7rem; border-radius: var(--radius-pill); }

/* ---------- News ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-featured__visual {
  background: var(--grad-primary);
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.news-featured__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26"><circle cx="3" cy="3" r="1.6" fill="white" fill-opacity=".16"/></svg>');
  background-size: 26px 26px;
}

.news-featured__visual strong {
  position: relative;
  color: #fff;
  font-size: 1.05rem;
  max-width: 30ch;
  line-height: 1.4;
}

.news-featured__body { padding: clamp(1.6rem, 3.5vw, 2.4rem); display: flex; flex-direction: column; }

.news-featured__body h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.3; }
.news-featured__body p { color: var(--clr-muted); margin-top: .8rem; flex-grow: 1; }

.news-featured__date { font-size: .82rem; font-weight: 600; color: var(--clr-muted); margin-bottom: .6rem; }

.article-list { display: grid; gap: 1.1rem; }

.article-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }

.article-card__date { font-size: .82rem; color: var(--clr-muted); font-weight: 600; }
.article-card__date strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--clr-ink-900); line-height: 1.1; }

.article-card h3 { font-size: 1.05rem; line-height: 1.35; }
.article-card h3 a:hover { color: var(--clr-blue-dark); }
.article-card p { color: var(--clr-muted); font-size: .88rem; margin-top: .3rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }

.chip {
  padding: .55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-line);
  background: #fff;
  color: var(--clr-muted);
  font-weight: 600;
  font-size: .86rem;
  transition: all var(--t-fast);
}

.chip:hover { border-color: var(--clr-blue); color: var(--clr-blue-dark); }
.chip.is-active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: var(--shadow-blue); }

/* ---------- Legal / prose ---------- */
.legal__toc {
  display: grid;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem;
}

.legal__toc a { color: var(--clr-blue-dark); font-weight: 600; }

.legal-section { max-width: 780px; }

.legal-section + .legal-section { margin-top: 2.5rem; }

.legal-section h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.legal-section h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal-section p, .legal-section li { color: var(--clr-muted); margin-top: .7rem; }
.legal-section ul { list-style: disc; padding-left: 1.4rem; margin-top: .7rem; }
.legal-section .legal-section__updated { font-size: .82rem; font-weight: 600; color: var(--clr-muted); margin-top: .4rem; }

@media (max-width: 920px) {
  .team-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .trial-grid { grid-template-columns: 1fr; }
  .pub-featured { grid-template-columns: 1fr; }
  .pub-featured__side { border-left: 0; padding-left: 0; }
  .news-featured { grid-template-columns: 1fr; }
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__side { order: -1; }
  .pub-card { grid-template-columns: 70px 1fr; }
  .pub-card__journal { grid-column: 1 / -1; text-align: left; }
  .article-card { grid-template-columns: 90px 1fr; }
  .article-card .btn__arrow { display: none; }
}

@media (max-width: 620px) {
  .team-grid, .benefit-grid, .board-list, .stock-grid { grid-template-columns: 1fr; }
  .role-card { flex-direction: column; align-items: flex-start; }
  .role-card__cta { width: 100%; }
  .role-card__cta .btn { width: 100%; }
  .page-hero__actions .btn { flex: 1 1 auto; min-width: 0; white-space: normal; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-card[hidden],
.tabs__panel[hidden],
.pub-card[hidden] {
  display: none;
}

/* =========================================================
   Leadership profile cards
   ========================================================= */
.team-card--photo {
  position: relative;
  cursor: pointer;
}

.team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--t-slow);
}

.team-card--photo:hover .team-card__photo { transform: scale(1.05); }

.team-card--photo .team-card__body {
  position: relative;
  padding: 1.25rem 1.5rem 1.35rem;
  border-top: 1px solid var(--clr-line);
}

.team-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .8rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-blue);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-med), transform var(--t-med), color var(--t-med);
}

.team-card__cta-arrow { transition: transform var(--t-fast); }

.team-card--photo:hover .team-card__cta,
.team-card__link:focus-visible ~ .team-card__body .team-card__cta {
  opacity: 1;
  transform: none;
}

.team-card--photo:hover .team-card__cta .team-card__cta-arrow,
.team-card__link:focus-visible ~ .team-card__body .team-card__cta .team-card__cta-arrow {
  transform: translateX(3px);
}

.team-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.team-card__link:focus-visible {
  outline: 3px solid var(--clr-blue);
  outline-offset: -3px;
}

/* =========================================================
   Leadership profile modal
   ========================================================= */
.leader-modal .modal__box {
  width: min(780px, 100%);
  max-height: 90vh;
  padding: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  animation: modal-in var(--t-slow) cubic-bezier(.22, 1, .36, 1);
}

.leader-modal.is-closing .modal__backdrop { animation: fade-out var(--t-med) forwards; }
.leader-modal.is-closing .modal__box { animation: modal-out var(--t-med) forwards; }

.leader-modal__photo {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
}

.leader-modal__content {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.leader-modal__name { margin-top: .6rem; }

.leader-modal__role {
  display: block;
  margin-top: .4rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-blue-dark);
}

.leader-modal__bio {
  margin-top: 1.2rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

@keyframes fade-out { to { opacity: 0; } }

@keyframes modal-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(16px) scale(.97); }
}

@media (max-width: 620px) {
  .leader-modal .modal__box { grid-template-columns: 1fr; }
  .leader-modal__photo { min-height: 0; max-height: 320px; }
}
