/* =========================================================
   Summarnos — shared styles
   Layout base: Figma frame 1512px, side padding 60px
   ========================================================= */

/* =========================================================
   Fonts (self-hosted, variable, Latin subset)
   Headings: Zalando Sans SemiExpanded · Text: Inter
   ========================================================= */
@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("../assets/fonts/ZalandoSansSemiExpanded-Variable.woff") format("woff");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("../assets/fonts/ZalandoSansSemiExpanded-Italic-Variable.woff") format("woff");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.woff") format("woff");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Italic-Variable.woff") format("woff");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  /* Brand colors */
  --c-purple: #371D75;
  --c-green: #6BB5A7;
  --c-teal: #167F7C;          /* card titles / eyebrows */
  --c-teal-dark: #2B7069;     /* timeline pill border */
  --c-text: #25272B;
  --c-muted: #626B75;
  --c-border: #CDD5DC;
  --c-bg-blue: #EEF3F6;
  --c-bg-grey: #EDF1F1;
  --c-white: #FFFFFF;

  /* Type */
  --f-display: "Zalando Sans SemiExpanded", "Arial", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1512px;
  --gutter: clamp(20px, 4vw, 60px);
  --section-pad: clamp(64px, 10.5vw, 160px);
  --header-h: 100px;
  --radius: 8px;

  /* Button shadow (white button) — adjust to Figma values if needed */
  --btn-shadow: 0 28px 48px -6px rgba(24, 58, 67, 0.16);
  --ease: 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.22;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--c-purple); color: #fff; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.display,
.hero__title, .h2, .card__title, .tl-pill, .tl-title, .cta-banner__title {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--c-purple);
}
.h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.22;
}
.card__title {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.23;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 313px;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
  isolation: isolate;
}
/* White: corner gradient stroke + shadow */
.btn--outline {
  background: var(--c-white);
  color: var(--c-purple);
  box-shadow: var(--btn-shadow);
}
.btn--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 55% 140% at 0 0, var(--c-purple) 35%, transparent 75%),
    radial-gradient(ellipse 55% 140% at 100% 100%, var(--c-purple) 35%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  transition: opacity var(--ease);
}
/* Green */
.btn--green {
  background: var(--c-green);
  color: var(--c-white);
}
/* Hover — both styles go purple */
.btn:hover,
.btn:focus-visible {
  background: var(--c-purple);
  color: var(--c-white);
}
.btn--outline:hover::before,
.btn--outline:focus-visible::before { opacity: 0; }

.btn--block { width: 100%; min-width: 0; }
.btn--wide { min-width: 406px; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  --header-blur: 10px;   /* background blur of content under the header */
}
/* Header background (as in Figma "Menu"):
   white 100% at the top → 0% at the bottom + background blur.
   The blur fades out with the same gradient so there is no hard edge.
   Done on a pseudo-element: backdrop-filter on the header itself
   would break the fixed mobile menu inside it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-backdrop-filter: blur(var(--header-blur));
          backdrop-filter: blur(var(--header-blur));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}
.site-header__inner { position: relative; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header__logo img { width: 206px; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.3vw, 65px);
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(17px, 1.45vw, 22px);
  color: #000;
  transition: color var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link[aria-current="page"] { color: var(--c-purple); }
.site-nav__chevron { width: 12px; transition: transform var(--ease); }

/* Dropdown */
.site-nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 240px;
  padding: 10px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -10px rgba(24, 58, 67, 0.22), 0 0 0 1px rgba(55, 29, 117, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.site-nav__sub a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 17px;
  white-space: nowrap;
  transition: background-color var(--ease), color var(--ease);
}
.site-nav__sub a:hover,
.site-nav__sub a:focus-visible { background: var(--c-bg-blue); color: var(--c-purple); }

@media (hover: hover) and (min-width: 1101px) {
  .site-nav__item--has-sub:hover .site-nav__sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .site-nav__item--has-sub:hover .site-nav__chevron { transform: rotate(180deg); }
}
.site-nav__item--has-sub.is-open .site-nav__sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.site-nav__item--has-sub.is-open .site-nav__chevron { transform: rotate(180deg); }

/* Burger */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--c-purple);
  border-radius: 2px;
  transition: transform var(--ease), background-color var(--ease);
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; left: 0; }
.nav-toggle__bar::before { transform: translateY(-7px); }
.nav-toggle__bar::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .site-header__logo img { width: 170px; }
  .nav-toggle { display: block; }
  .site-header.is-menu-open { background: var(--c-white); }
  .site-header.is-menu-open::before { display: none; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 12px var(--gutter) 40px;
    background: var(--c-white);
    border-top: 1px solid var(--c-bg-grey);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--c-bg-grey); }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 20px; }

  .site-nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 12px 14px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .site-nav__item--has-sub.is-open .site-nav__sub { display: block; transform: none; }
  .site-nav__sub a { padding: 10px 0; }
  .site-nav__sub a:hover { background: none; }

  body.nav-locked { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  min-height: 783px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F4F8FA url("../assets/img/hero-bg.webp") center / cover no-repeat;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: 60px 90px;
}
.hero__content { position: relative; z-index: 1; max-width: 900px; }
.hero__title {
  font-size: clamp(30px, 3.3vw, 50px);
  line-height: 1.22;
  margin-bottom: 34px;
}
.hero__lead {
  max-width: 640px;
  margin-bottom: 84px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.35;
  color: #000;
}
.hero__media {
  position: absolute;
  right: calc(var(--gutter) - 32px);
  top: 50%;
  width: min(46.5vw, 700px);
  transform: translateY(-53%);
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section--tint-blue { background: var(--c-bg-blue); padding-top: clamp(56px, 4vw, 62px); }
.section--tint-grey { background: var(--c-bg-grey); }

.section__head {
  max-width: 770px;
  margin-bottom: 38px;
}
.section__head .h2 { margin-bottom: 18px; }
.section__head--wide { max-width: 1340px; }
.section--tint-blue .section__head .h2 { margin-bottom: 48px; max-width: 770px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}
.card {
  min-height: 250px;
  padding: 26px 25px 30px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.card__title { margin-bottom: 18px; }
.card__title--teal { color: var(--c-teal); }

/* ---------- Platform split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 677px);
  align-items: center;
  gap: 56px;
}
.split__text .h2 { margin-bottom: 48px; }
.split__text p { max-width: 660px; margin-bottom: 38px; }

/* PK chart */
.pk-chart {
  padding: 24px 23px 56px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.pk-chart__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}
.pk-chart__range { color: var(--c-muted); font-size: 12px; }
.pk-chart__plot {
  border: 1px solid var(--c-border);
  padding: 6px 4px 0;
}
.pk-chart__svg { width: 100%; font-family: var(--f-body); }
.pk-chart__axis line { stroke: #25272B; stroke-width: 0.8; }
.pk-chart__axis text { font-size: 10px; fill: #25272B; }
.pk-chart__axis .pk-chart__label { font-size: 11px; fill: #626B75; }
.pk-chart__marker { stroke: var(--c-green); stroke-width: 1.2; }
.pk-chart__er,
.pk-chart__ir { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pk-chart__er { stroke: var(--c-purple); stroke-width: 3; }
.pk-chart__ir { stroke: #BDBDBD; stroke-width: 3.5; }

.pk-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 18px;
  font-size: 12px;
}
.pk-chart__key { display: inline-flex; align-items: center; gap: 4px; }
.pk-chart__key::before { content: ""; width: 12px; height: 1.5px; background: currentColor; }
.pk-chart__key--er { color: var(--c-purple); }
.pk-chart__key--ir { color: var(--c-teal); }
.pk-chart__note { margin-top: 24px; font-size: 12px; color: var(--c-muted); }

/* ---------- Programs ---------- */
.program {
  display: flex;
  flex-direction: column;
  padding: 32px 31px 31px;
  background: var(--c-white);
  border: 1px solid #DDE3E8;
  border-radius: var(--radius);
}
.program--lead { border: 2px solid var(--c-purple); padding: 31px 30px 30px; }
.program__eyebrow {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--c-teal);
}
.program .card__title { margin-bottom: 14px; }
.program__rule {
  width: 100%;
  margin: 20px 0 18px;
  border: 0;
  border-top: 1px solid var(--c-border);
}
.program--lead .program__rule { max-width: 320px; }
.program__status { margin-bottom: 50px; }
.program__status--strong { font-weight: 700; color: var(--c-purple); }
.program .btn { margin-top: auto; min-height: 56px; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin-top: 70px;
  padding-left: 45px;
}
/* vertical line + arrow */
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -20px;
  bottom: 4px;
  width: 2px;
  background: var(--c-green);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-green);
  border-bottom: 2px solid var(--c-green);
  transform: rotate(45deg);
  transform-origin: center;
}

.tl-row {
  position: relative;
  display: grid;
  margin-bottom: 52px;
}
.tl-row:last-child { margin-bottom: 0; }
/* horizontal connector */
.tl-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 2px;
  background: var(--c-green);
}
.tl-row--1 { grid-template-columns: 27.5% 1fr; }
.tl-row--1 .tl-item:last-child { max-width: 380px; }
.tl-row--2 { grid-template-columns: 20.4% 40.8% 1fr; }
.tl-row--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-row--4 { grid-template-columns: 1fr; }

.tl-item {
  position: relative;
  padding-right: 25px;
}
.tl-row .tl-item:last-child { padding-right: 0; }
.tl-item p {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.32;
}
.tl-item p + p { margin-top: 12px; }

.tl-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 50px;
  padding: 0 16px;
  margin-bottom: 20px;
  background: var(--c-white);
  border: 2px solid var(--c-teal-dark);
  border-radius: 999px;
  font-size: clamp(18px, 1.5vw, 22px);
  white-space: nowrap;
}
.tl-pill--md { min-width: 230px; }
.tl-pill--wide { display: flex; width: 100%; }

.tl-title {
  margin-bottom: 18px;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.3;
}
.tl-sub {
  display: block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-teal);
}
.tl-row--4 .tl-title { margin: 20px 0 0; }

/* CTA banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 60px;
  padding: 30px;
  background: var(--c-bg-grey);
  border-radius: 24px;
}
.cta-banner__title { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; }

/* ---------- Science ---------- */
.section--science { padding-block: clamp(64px, 8.3vw, 126px); margin-bottom: 30px; }
.science {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px 60px;
}
.science__text { max-width: 720px; }
.science__text .h2 { margin-bottom: 26px; }
.science__actions {
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-purple);
  color: var(--c-white);
  padding-block: 60px 100px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 386px 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.site-footer__logo img {
  width: 230px;
  filter: brightness(0) invert(1);
}
.site-footer__nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer__nav a,
.site-footer__group { font-size: 18px; }
.site-footer__nav a { transition: color var(--ease), opacity var(--ease); }
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible { color: var(--c-green); }
.site-footer__sub { margin-top: 14px; display: grid; gap: 8px; }
.site-footer__sub a { font-size: 16px; }
.site-footer__group { display: block; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 60px;
}
.site-footer__disclaimer { max-width: 880px; font-size: 16px; line-height: 1.2; }
.site-footer__disclaimer-title { margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.site-footer__contact { text-align: right; font-size: 18px; }
.site-footer__email { display: inline-block; margin-bottom: 10px; font-weight: 700; }
.site-footer__email:hover { color: var(--c-green); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1280px) {
  .tl-row--2 { grid-template-columns: 22% 40% 1fr; }
}

@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero__inner { padding-block: 48px 72px; }
  .hero__media { width: min(52vw, 560px); right: -40px; opacity: 0.55; }
  .hero__lead { margin-bottom: 48px; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split__text .h2 { margin-bottom: 28px; }

  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__nav > ul { justify-content: flex-start; gap: 20px 40px; }
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .program__status { margin-bottom: 32px; }

  /* Timeline -> vertical list */
  .timeline { margin-top: 48px; padding-left: 36px; }
  .timeline::before { top: 0; }
  .tl-row { display: block; margin-bottom: 0; }
  .tl-row::before { display: none; }
  .tl-item { padding: 0 0 36px; }
  .tl-row--1 .tl-item:last-child { max-width: none; }
  .tl-row:last-child .tl-item:last-child { padding-bottom: 0; }
  .tl-pill,
  .tl-pill--md,
  .tl-pill--wide { display: inline-flex; width: auto; min-width: 0; margin-bottom: 14px; }
  /* small connector from vertical line to each pill */
  .tl-pill::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 31px;
    height: 2px;
    margin-right: 2px;
    background: var(--c-green);
  }
  .tl-title { margin-bottom: 10px; }
  .hide-sm { display: none; }

  .cta-banner { flex-direction: column; align-items: flex-start; }
  .science { flex-direction: column; align-items: flex-start; }
  .science__actions { gap: 20px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero__inner { display: flex; flex-direction: column-reverse; padding-block: 8px 56px; }
  .hero__media {
    position: relative;
    right: auto; top: auto;
    width: 82%;
    max-width: 420px;
    margin: 0 auto 8px;
    transform: none;
    opacity: 1;
  }
  .hero__title br { display: none; }

  .btn,
  .btn--wide { width: 100%; min-width: 0; }
  .btn-group { gap: 16px; }
  .science__actions { width: 100%; }
  .split__text .btn { width: 100%; }

  .card, .program { padding: 24px 20px; }
  .program--lead { padding: 23px 19px; }
  .pk-chart { padding: 18px 14px 28px; }

  .site-footer { padding-block: 48px 56px; }
  .site-footer__top { margin-bottom: 44px; }
  .site-footer__nav > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer__contact { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Header — active page
   ========================================================= */
.site-nav__link[aria-current="page"] { font-weight: 800; color: var(--c-purple); }

/* =========================================================
   Inner page hero
   ========================================================= */
.page-hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(48px, 5.8vw, 86px)) 0 clamp(40px, 3.6vw, 54px);
  background: #F4F8FA url("../assets/img/hero-bg.webp") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
          mask-image: linear-gradient(#000 82%, transparent);
}
.page-hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 3.75vw, 56px);
  line-height: 1.15;
  color: var(--c-purple);
  margin-bottom: 24px;
}
.page-hero__lead {
  max-width: 830px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.35;
  color: #000;
}

/* =========================================================
   Library — sticky toolbar
   ========================================================= */
.lib-sentinel { height: 1px; margin-top: -1px; }
.lib-toolbar {
  --toolbar-h: 50px;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  /* no backdrop: the bar floats over the cards, like in the mockup */
  margin-top: clamp(16px, 2.5vw, 38px);
  padding-block: 12px;
}

.lib-toolbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 875fr) minmax(0, 437fr);
  gap: 16px 80px;
  align-items: center;
}

/* Category */
.lib-cat { display: flex; align-items: stretch; gap: 10px; min-width: 0; }
.lib-cat__label {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: var(--toolbar-h);
  padding: 0 17px;
  border-radius: var(--radius);
  background: var(--c-green);
  color: var(--c-white);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  user-select: none;
}
.lib-select { position: relative; flex: 1; min-width: 0; }
.lib-select__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: var(--toolbar-h);
  padding: 0 18px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--c-text);
  text-align: left;
  transition: border-color var(--ease);
}
.lib-select__btn:hover,
.lib-select__btn[aria-expanded="true"] { border-color: var(--c-purple); }
.lib-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-select__chevron { flex-shrink: 0; width: 12px; color: var(--c-purple); transition: transform var(--ease); }
.lib-select__btn[aria-expanded="true"] .lib-select__chevron { transform: rotate(180deg); }

.lib-select__list {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 16px 13px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(24, 58, 67, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  outline: none;
}
.lib-select.is-open .lib-select__list { opacity: 1; visibility: visible; transform: none; }
.lib-select__option {
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--c-text);
  cursor: pointer;
}
.lib-select__option:hover,
.lib-select__option.is-active { background: var(--c-bg-grey); }
.lib-select__option[aria-selected="true"] { font-weight: 700; color: var(--c-purple); }

/* Search */
.lib-search { display: flex; gap: 10px; min-width: 0; }
.lib-search__field { position: relative; flex: 1; min-width: 0; }
.lib-search__input {
  width: 100%;
  height: var(--toolbar-h);
  padding: 0 16px 0 46px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  color: var(--c-text);
  transition: border-color var(--ease);
  -webkit-appearance: none;
          appearance: none;
}
.lib-search__input::placeholder { color: #626B75; }
.lib-search__input::-webkit-search-cancel-button { display: none; }
.lib-search__input:hover,
.lib-search__input:focus { border-color: var(--c-purple); outline: none; }
.lib-search__icon,
.lib-search__clear {
  position: absolute;
  left: 8px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  color: var(--c-text);
}
.lib-search__icon { pointer-events: none; }
.lib-search__icon svg,
.lib-search__clear svg { width: 18px; height: 18px; }
.lib-search__clear { border-radius: 6px; color: var(--c-purple); transition: background-color var(--ease); }
.lib-search__clear:hover { background: var(--c-bg-grey); }
.lib-search__clear[hidden], .lib-search__icon[hidden] { display: none; }
.lib-search__submit { min-width: 135px; min-height: var(--toolbar-h); padding-inline: 24px; }

/* =========================================================
   Library — results
   ========================================================= */
.lib-results { padding-top: clamp(28px, 3vw, 46px); padding-bottom: clamp(64px, 6.6vw, 100px); }
.lib-status { margin-bottom: 28px; font-size: 16px; color: var(--c-muted); }
.lib-status strong { color: var(--c-purple); }
.lib-status button {
  margin-left: 8px;
  color: var(--c-purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lib-group { margin-bottom: 60px; }
.lib-group[hidden] { display: none; }
.lib-group__title {
  margin-bottom: 30px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.2;
  color: var(--c-purple);
  text-transform: capitalize;
}

.lib-card {
  padding: 25px 25px 26px;
  margin-bottom: 30px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  scroll-margin-top: var(--sticky-offset, 220px);
}
.lib-card[hidden] { display: none; }
.lib-card.is-target { animation: lib-flash 2.4s ease; }
@keyframes lib-flash {
  0%, 30% { border-color: var(--c-purple); box-shadow: 0 0 0 3px rgba(55, 29, 117, 0.15); }
  100% { border-color: var(--c-border); box-shadow: none; }
}
.lib-group { scroll-margin-top: var(--sticky-offset, 220px); }

.lib-card__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
}
.chip--topic { background: #E4F3F0; color: var(--c-teal); }
.chip--access { background: #EEE9F8; color: var(--c-purple); }
.chip__sep { width: 1px; height: 12px; margin: 0 4px; background: currentColor; }

.lib-card__title {
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.24;
  color: var(--c-purple);
  text-transform: capitalize;
  overflow-wrap: anywhere;
}
.lib-card__summary { margin-bottom: 18px; font-size: 16px; line-height: 1.55; }

.lib-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
}
.lib-card__meta { margin: 0; max-width: 880px; display: grid; gap: 8px; }
.lib-card__row { display: flex; align-items: flex-start; gap: 10px; }
.lib-card__row dt {
  flex-shrink: 0;
  width: 70px;
  padding: 4px 0;
  border-radius: 999px;
  background: var(--c-bg-grey);
  font-size: 13px;
  font-weight: 700;
  color: #4A5058;
  text-align: center;
}
.lib-card__row dd {
  margin: 0;
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.32;
  color: var(--c-muted);
  overflow-wrap: anywhere;
}
.lib-card__links { display: flex; gap: 20px; flex-shrink: 0; }
.lib-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--c-purple);
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.lib-link__icon { width: 10px; height: 10px; }
.lib-link:hover,
.lib-link:focus-visible { background: var(--c-purple); border-color: var(--c-purple); color: var(--c-white); }

mark.lib-hl {
  background: #FFE98A;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lib-empty {
  padding: 60px 30px;
  text-align: center;
  background: var(--c-bg-grey);
  border-radius: 24px;
}
.lib-empty[hidden] { display: none; }
.lib-empty__title {
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--c-purple);
}
.lib-empty p { margin-bottom: 28px; }

/* ---------- Library responsive ---------- */
@media (max-width: 1100px) {
  .lib-toolbar__inner { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
}
@media (max-width: 860px) {
  .lib-toolbar { --toolbar-h: 46px; }
  .lib-toolbar__inner { grid-template-columns: 1fr; gap: 10px; }
  .lib-card__foot { flex-direction: column; align-items: stretch; }
  .lib-card__links { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .lib-cat__label { padding: 0 12px; font-size: 16px; }
  .lib-search__submit { min-width: 0; width: auto; padding-inline: 18px; font-size: 16px; }
  .lib-card { padding: 20px 18px; }
  .lib-card__row { flex-direction: column; gap: 4px; }
  .lib-card__row dd { padding-top: 0; }
  .lib-card__links .lib-link { flex: 1; justify-content: center; }
  .lib-select__list { padding: 10px 8px; }
  .lib-group { margin-bottom: 40px; }
}
.lib-select.is-open { z-index: 10; }

/* GIF chart */
.pk-chart__gif { display: block; width: 100%; height: auto; }
.pk-chart__plot { padding: 0; overflow: hidden; }

/* =========================================================
   Inner pages — shared components
   ========================================================= */
.site-nav__link.is-current { font-weight: 800; color: var(--c-purple); }

/* Program hero */
.page-hero--program { padding-bottom: clamp(56px, 7vw, 110px); }
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 22px;
  margin-bottom: 26px;
  border: 1.5px solid var(--c-purple);
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--c-purple);
}
.page-hero__badge--filled { background: var(--c-purple); color: var(--c-white); }
.page-hero__btn { margin-top: 40px; min-width: 380px; }
.section--after-hero { padding-top: clamp(48px, 6vw, 90px); }

/* Grids */
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--4 .card { min-height: 190px; }

/* Split layouts: text + aside / figure */
.split--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 436px); gap: 64px; }
.split--figure { grid-template-columns: minmax(0, 1fr) minmax(0, 436px); gap: 64px; }
.split--status { grid-template-columns: minmax(0, 650px) minmax(0, 656px); justify-content: space-between; gap: 64px; }
:is(.split--aside, .split--figure, .split--status) .split__text .h2 { margin-bottom: 22px; }
:is(.split--aside, .split--figure, .split--status) .split__text p { margin-bottom: 0; max-width: 780px; }
:is(.split--aside, .split--figure, .split--status) .split__text p + p { margin-top: 12px; }
.split__figure { justify-self: center; width: 100%; max-width: 322px; height: auto; }
.split__figure--molecule { max-width: 318px; }

/* Info card (icon + button) */
.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 46px 32px 40px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.info-card--tint { background: var(--c-bg-blue); }
.info-card__icon { width: 88px; height: 88px; color: var(--c-purple); }
.info-card__btn { min-width: 0; width: 100%; max-width: 300px; min-height: 80px; padding-inline: 20px; }

/* Chart card — wide version (Platform) */
.pk-chart--wide { padding: 26px 23px 24px; }
.pk-chart__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--c-teal);
}
.pk-chart--wide .pk-chart__head { align-items: center; margin-bottom: 20px; }
.pk-chart--wide .pk-chart__legend { font-size: 14px; }
.pk-chart--wide .pk-chart__note { margin-top: 18px; font-size: 14px; color: #000; }

/* Caution note */
.callout {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 38px;
  padding: 24px 24px 24px 22px;
  background: #FAF5E6;
  border-left: 3px solid #8A5A00;
  font-size: 16px;
  line-height: 1.4;
}
.callout__mark { flex-shrink: 0; font-weight: 700; color: #8A5A00; }

/* Program link cards (Platform) — hover = purple stroke + arrow "smart animate" */
.section--programs { padding-bottom: clamp(80px, 13.5vw, 200px); }
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 32px 30px 30px 32px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 0 var(--c-purple);
  transition: box-shadow 0.3s ease;
}
.link-card__eyebrow { margin-bottom: 14px; font-weight: 600; font-size: 18px; color: var(--c-teal); }
.link-card__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.23;
  color: var(--c-purple);
}
.link-card__arrow {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  margin-top: auto;
  overflow: visible;
  color: var(--c-purple);
}
.link-card__arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}
/* default: compact head (as in mockup), hover: larger head */
.link-card__head {
  transform-box: fill-box;
  transform-origin: 100% 50%;
  transform: scale(0.62);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.link-card:hover,
.link-card:focus-visible { box-shadow: inset 0 0 0 2px var(--c-purple); }
.link-card:hover .link-card__head,
.link-card:focus-visible .link-card__head { transform: scale(1); }
.link-card:focus-visible { outline-offset: 4px; }

/* Lead: approach cards */
.approach { min-height: 250px; }
.approach__list { margin-bottom: 18px; line-height: 1.22; }
.approach__list li + li { padding-left: 6px; }
.approach__list li + li::before { content: "+ "; }
.approach__result { font-weight: 700; color: var(--c-purple); }

/* Lead: status tiles */
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
}
.status-tile {
  min-height: 140px;
  padding: 28px 28px 24px;
  background: var(--c-bg-blue);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.status-tile dt {
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--c-purple);
}
.status-tile dd { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--c-teal); }

/* Follow-on: FDC concept */
.fdc-concept {
  padding: 62px 30px 62px;
  background: var(--c-bg-blue);
  border-radius: var(--radius);
}
.fdc-concept__parts { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.fdc-concept__part {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 12px;
  background: var(--c-white);
  border: 1.5px solid var(--c-purple);
  border-radius: 4px;
  font-weight: 700;
  font-size: 17px;
  color: var(--c-purple);
  text-align: center;
}
.fdc-concept__plus { font-size: 22px; color: var(--c-purple); }
.fdc-concept__note { font-size: 14px; line-height: 1.35; }

/* Evidence block on program pages */
.evidence .section__head p + p { margin-top: 12px; }
.evidence__list { margin-top: 60px; }
.evidence__list .lib-card:last-child { margin-bottom: 0; }
.evidence__more { display: flex; justify-content: center; margin-top: 90px; }
.evidence__more .btn { min-height: 100px; padding: 16px 22px; }
.evidence .lib-card__title { text-transform: capitalize; }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1100px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--aside, .split--figure, .split--status { grid-template-columns: 1fr; gap: 40px; }
  .split--aside .info-card, .split--aside .fdc-concept { max-width: 520px; }
  .split__figure { justify-self: start; }
}
@media (max-width: 960px) {
  .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
  .link-card { min-height: 170px; }
  .evidence__list { margin-top: 36px; }
  .evidence__more { margin-top: 48px; }
}
@media (max-width: 700px) {
  .card-grid--4 { grid-template-columns: 1fr; }
  .card-grid--4 .card { min-height: 0; }
  .page-hero__btn { min-width: 0; }
  .page-hero__title br { display: none; }
  .status-grid { grid-template-columns: 1fr; gap: 16px; }
  .status-tile { min-height: 0; }
  .info-card { padding: 32px 20px; }
  .info-card__icon { width: 64px; height: 64px; }
  .fdc-concept { padding: 28px 18px; }
  .evidence__more .btn { min-height: 64px; }
  .callout { padding: 18px 16px; }
}
.lib-select.is-open .lib-select__list { transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s; }
@media (max-width: 700px) { .h2 br { display: none; } }

/* =========================================================
   Science & About
   ========================================================= */
/* icons inside info cards (stroke drawings) */
.info-card__icon path, .info-card__icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card__icon--wide { width: 176px; }
.section--stack .split + .split { margin-top: clamp(56px, 6vw, 80px); }

/* Clinical foundation: heading in the first grid cell + link cards */
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.clinical-grid__title { align-self: center; margin: 0; }
.link-card--text { min-height: 290px; }
.link-card__title--teal { color: var(--c-teal); margin-bottom: 14px; }
.link-card__text { font-size: 18px; line-height: 1.22; color: #000; }

/* Featured publication */
.lib-card--featured .lib-card__title { text-transform: none; }
.evidence__more--compact { margin-top: 50px; }
.evidence__more--compact .btn { min-height: 56px; }

/* People */
.person {
  display: flex;
  flex-direction: column;
  padding: 25px 25px 44px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.person__photo {
  display: flex;
  justify-content: center;
  margin: -1px -1px 36px;
}
.person__photo img { width: 100%; max-width: 409px; height: auto; }
.person__name {
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.2;
  color: var(--c-teal);
}
.person__role { margin-bottom: 20px; font-weight: 700; font-size: 18px; color: var(--c-purple); }
.person__bio { font-size: 16px; line-height: 1.2; color: #000; }
.person__tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 26px;
  font-size: 18px;
  line-height: 1.25;
  color: #000;
}
.person__tags li:not(:last-child)::after { content: "|"; margin: 0 6px; }
.person__sep { font-weight: 400; }
.person--advisor {
  background:
    radial-gradient(ellipse 45% 40% at 50% 26%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    var(--c-bg-blue);
  padding-bottom: 56px;
}
.advisors { gap: 32px; }

/* Partner model tiles */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 60px;
  margin-top: 60px;
}
.model-grid li {
  display: grid;
  place-items: center;
  min-height: 135px;
  padding: 20px;
  background: var(--c-green);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--c-white);
  text-align: center;
}

@media (max-width: 1100px) {
  .clinical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clinical-grid__title { grid-column: 1 / -1; margin-bottom: 12px; }
  .link-card--text { min-height: 240px; }
}
@media (max-width: 960px) {
  .advisors { gap: 20px; }
  .model-grid { gap: 16px 20px; margin-top: 36px; }
}
@media (max-width: 700px) {
  .clinical-grid { grid-template-columns: 1fr; }
  .link-card--text { min-height: 0; gap: 0; }
  .link-card--text .link-card__arrow { margin-top: 20px; }
  .model-grid { grid-template-columns: 1fr; }
  .model-grid li { min-height: 90px; }
  .person { padding: 20px 20px 32px; }
  .person__tags { font-size: 16px; }
  .info-card__icon--wide { width: 132px; height: auto; }
}

/* =========================================================
   Contact
   ========================================================= */
.page-hero--contact { padding-bottom: clamp(56px, 8vw, 120px); }
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 436px);
  gap: 40px 64px;
  align-items: start;
}
.contact-card {
  padding: 26px 27px 26px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 18px;
  line-height: 1.22;
}
.contact-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.contact-card__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(19px, 1.5vw, 22px);
  color: var(--c-teal);
}
.contact-card__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #E4F3F0;
  color: var(--c-teal);
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__email {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(19px, 1.5vw, 22px);
  color: var(--c-purple);
  overflow-wrap: anywhere;
}
.contact-card__email:hover { color: var(--c-teal); }

.section--form { padding-bottom: 80px; }
.split--form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 656px);
  align-items: start;
  gap: 64px;
}
.split--form .split__text { padding-top: 0; }
.split--form .split__text .h2 { margin-bottom: 22px; }
.split--form .split__text p { margin-bottom: 0; max-width: 640px; }

/* Panel (form ↔ success share it) */
.inquiry {
  position: relative;
  padding: 32px 32px 50px;
  background: var(--c-bg-blue);
  border-radius: var(--radius);
}
.inquiry__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: 14px; color: #000; }
.field__input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 15px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  color: var(--c-text);
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
          appearance: none;
}
.field__input::placeholder { color: #626B75; }
.field__input:hover { border-color: #A9B4BE; }
.field__input:focus { outline: none; border-color: var(--c-purple); box-shadow: 0 0 0 3px rgba(55, 29, 117, 0.12); }
.field__input--area { height: auto; min-height: 120px; padding-block: 12px; resize: vertical; line-height: 1.4; }
.field.is-invalid .field__input { border-color: #B3261E; }
.field__error { margin-top: 6px; font-size: 13px; color: #B3261E; }

.field--check { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 6px; font-size: 14px; line-height: 1.45; color: #4A5058; }
.field--check label { cursor: pointer; }
.check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--c-purple);
  cursor: pointer;
}
.field--check.is-invalid .check { outline: 2px solid #B3261E; outline-offset: 1px; }

.inquiry__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__captcha { margin-top: 22px; min-height: 65px; }
.inquiry__captcha .cf-turnstile { max-width: 100%; }
.inquiry__error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  background: #FCEEEE;
  color: #8C1D18;
  font-size: 14px;
}
.inquiry__actions { display: flex; justify-content: center; margin-top: 34px; }
.inquiry__submit { min-width: 210px; gap: 10px; }
.inquiry__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.inquiry__submit.is-loading { pointer-events: none; opacity: 0.8; }
.inquiry__submit.is-loading .inquiry__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success message — same panel, same size, content centred vertically */
.inquiry__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  outline: none;
  animation: fade-in 0.4s ease;
}
.inquiry__success[hidden] { display: none; }
.inquiry__success-title {
  margin-bottom: 24px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.15;
  color: var(--c-purple);
}
.inquiry__success-sub {
  margin-bottom: 22px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--c-teal);
}
.inquiry__success p:last-child { font-size: 18px; line-height: 1.3; color: #000; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Regulatory notice band */
.notice-band { background: #FAF5E6; }
.notice-band__inner {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  gap: 16px 0;
  align-items: center;
  padding-block: clamp(48px, 7vw, 104px);
}
.notice-band__label {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6B4A00;
}
.notice-band p { font-size: 18px; line-height: 1.45; color: #000; }

@media (max-width: 1100px) {
  .contact-hero, .split--form { grid-template-columns: 1fr; }
  .contact-card { max-width: 520px; }
  .inquiry { max-width: 656px; }
}
@media (max-width: 700px) {
  .inquiry { padding: 22px 18px 34px; }
  .inquiry__row { grid-template-columns: 1fr; gap: 0; }
  .inquiry__submit { width: 100%; }
  .notice-band__inner { grid-template-columns: 1fr; }
  .notice-band p { font-size: 16px; }
}

/* =========================================================
   Legal pages (Privacy Policy, Terms of Use)
   ========================================================= */
.legal {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
}
.legal__note { font-size: clamp(17px, 1.3vw, 19px); margin-bottom: 40px; }
.legal h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.25;
  color: var(--c-purple);
  margin: 48px 0 16px;
}
.legal h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--c-teal);
  margin: 28px 0 10px;
}
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--c-teal); }
.legal a { color: var(--c-purple); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--c-teal); }
.legal strong { font-weight: 600; }
