/* bioinframed.com
   Brand: red #D25342 and blue #287FC2, blended (see bioinframed-brand/README.md); Sora.
   The page bands carry Harmony's landing background: the two colours in a wide
   ellipse, with a faint raster of dots on top. Surfaces are light and solid, a
   coloured left edge where something belongs to one of the two colours. */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #D25342;
  --blue: #287FC2;
  --red-ink: #B4402F;   /* red text on white, AA contrast */
  --blue-ink: #1E68A3;  /* blue text and links on white, AA contrast */
  --red-tint: #F8F1EF;
  --blue-tint: #EAF2F9;
  --ink: #1F2328;
  --ink-soft: #4A535C;
  --muted: #69737D;
  --line: #E3E7EB;
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --dark: #252525;

  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, 0.22);
  --shadow-lg: 0 24px 56px -20px rgba(16, 24, 40, 0.35);

  --ring: 0 0 0 3px #fff, 0 10px 24px -6px rgba(16, 24, 40, 0.42), 0 2px 6px rgba(16, 24, 40, 0.12);
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.25rem;
  --section-y: clamp(3.5rem, 8vw, 6rem);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-ink); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--red-ink); }
strong, b { font-weight: 650; }
code { font-family: var(--mono); font-size: 0.9em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--blue) 22%, white); }

.container { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 50rem; margin-inline: auto; }
.container.narrow { max-width: calc(50rem + 2 * var(--gutter)); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.t-blue { color: var(--blue); }  /* Harmony's col_one */
.t-red { color: var(--red); }  /* Harmony's col_two */

/* ------------------------------------------------------------------ brand background (Harmony's) */

.brand-bg {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--blue);
  background: radial-gradient(ellipse 60% 170% at 4% 50%, var(--red) 0%, var(--red) 42%, var(--blue) 100%, var(--blue) 200%);
}
.brand-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.2px, transparent 1.7px) 0 0 / 26px 26px;
  pointer-events: none;
}
@media (max-width: 47.99rem) {
  .brand-bg { background: radial-gradient(ellipse 140% 70% at 50% 0%, var(--red) 0%, var(--red) 40%, var(--blue) 100%, var(--blue) 200%); }
}
.brand-bg a:not(.btn) { color: #fff; }
.brand-bg a:not(.btn):hover { color: #fff; text-decoration-thickness: 0.14em; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.875rem; padding: 0.7rem 1.35rem;
  font: inherit; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--blue) 70%, transparent); }
.btn--primary:hover { background: var(--blue-ink); color: #fff; }
.btn--light { background: #fff; color: var(--blue-ink); box-shadow: var(--shadow); }
.btn--light:hover { color: var(--red-ink); box-shadow: var(--shadow-lg); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.btn--sm { min-height: 2.4rem; padding: 0.45rem 1.05rem; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16, 24, 40, 0.4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: auto; height: 2.1rem; }

.site-nav ul { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.btn) {
  position: relative; display: block; padding: 0.5rem 0.8rem;
  color: var(--ink-soft); font-size: 0.93rem; font-weight: 550; text-decoration: none; border-radius: var(--radius-sm);
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-nav a:not(.btn) { transition: color 0.2s ease; }
.site-nav a:not(.btn):hover { color: var(--blue-ink); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); opacity: 0.45; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--blue-ink); }
.site-nav a[aria-current="page"]:not(.btn)::after { transform: none; opacity: 1; }
.site-nav li:last-child { margin-left: 0.5rem; }

.nav-toggle {
  display: none; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 59.99rem) {
  /* solid on phones: no page showing through the bar */
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    clip-path: inset(0 -3rem -4rem -3rem); /* shadow below only, none bleeding onto the bar */
    display: none;
  }
  .site-nav.is-open { display: block; }
  /* menu open: bar and menu read as one sheet, no line or shadow between them */
  .site-header:has(.site-nav.is-open) { border-bottom-color: transparent; box-shadow: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a:not(.btn) { padding: 0.8rem 0.75rem; font-size: 1rem; }
  .site-nav a[aria-current="page"]:not(.btn) { background: var(--blue-tint); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav li:last-child { margin: 0.75rem 0 0; }
  .site-nav li:last-child .btn { width: 100%; min-height: 3rem; font-size: 1rem; }
}

/* ------------------------------------------------------------------ heroes */

.hero { overflow: hidden; }
.hero__inner { position: relative; }
.hero--home .hero__inner { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(7rem, 14vw, 10rem); }
.hero--page .hero__inner { padding-block: clamp(3rem, 8vw, 5.25rem); }
.hero--page:has(+ .section--overlap) .hero__inner { padding-bottom: clamp(5.5rem, 10vw, 7.5rem); }
.hero h1 { max-width: 20ch; margin-bottom: 0.4em; }
.hero__title { font-size: clamp(2.2rem, 5.8vw, 4.1rem); max-width: 17ch; }
.hero__lead { max-width: 44rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.65; color: rgba(255, 255, 255, 0.92); }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__brand { display: flex; align-items: center; gap: 1rem; }
.hero__brand img { width: clamp(3.25rem, 7.5vw, 4.5rem); height: auto; border-radius: 27%; box-shadow: 0 0 0 4px #fff, 0 10px 22px -4px rgba(16, 24, 40, 0.35); }
.hero--404 .hero__inner { padding-bottom: clamp(5rem, 12vw, 9rem); }

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* the wordmark in running text, as in the logo: Bio · in · Framed */
.wm { white-space: nowrap; }
.wm b { font-weight: 750; }
.wm__in { font-weight: 400; margin-inline: 0.06em; opacity: 0.9; }

/* ------------------------------------------------------------------ sections */

.section { padding-block: var(--section-y); }
.section--tint {
  position: relative;
  background:
    radial-gradient(circle, rgba(40, 127, 194, 0.07) 1.2px, transparent 1.7px) 0 0 / 26px 26px,
    linear-gradient(120deg, #FDF9F8 0%, #FAFAFC 50%, #F6F9FC 100%);
}
/* one dark chapter on a long page: Harmony's col_background, with a faint blue and red glow.
   It redefines the colour tokens, so everything inside follows. */
.section--dark {
  --ink: #F4F6F8; --ink-soft: #C3CAD1; --muted: #98A2AC; --line: rgba(255, 255, 255, 0.12);
  --surface: transparent; --blue-ink: #8CC2EC;
  color: var(--ink);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1.2px, transparent 1.7px) 0 0/26px 26px,
    radial-gradient(60rem 30rem at 85% 10%, rgba(40, 127, 194, 0.28), transparent 70%),
    radial-gradient(40rem 26rem at 5% 100%, rgba(210, 83, 66, 0.16), transparent 70%),
    #3C3C3C;
}
.section--dark .carousel__btn:disabled { opacity: 0.3; }
.section--dark .carousel__step { box-shadow: 0 0 0 3px #fff, 0 6px 16px -4px rgba(0, 0, 0, 0.5); }
.section--dark .carousel__slide img { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)); }
.section--overlap { padding-top: 0; }
.section:not(.section--tint) + .section--cta { padding-top: 0; }
.section--overlap > .container { margin-top: clamp(-6.5rem, -9vw, -4rem); position: relative; z-index: 2; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }
.section__title { position: relative; }
.section__title--spaced { margin-top: 3.5rem; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.more-link { margin-top: 1.5rem; }
.more-link a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }

/* ------------------------------------------------------------------ cards */

.card {
  position: relative; display: block;
  padding: clamp(1.4rem, 3vw, 2rem);
  color: inherit; text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
a.card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.card:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); }
.card h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.card p { color: var(--ink-soft); }
.card__kicker { margin: 0 0 1rem; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-ink); }
.card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; font-weight: 600; font-size: 0.95rem; color: var(--blue-ink); }
.card__more .icon { transition: transform 0.18s ease; }
a.card:hover .card__more .icon { transform: translateX(4px); }
.card--plain { box-shadow: none; }

.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 3rem; height: 3rem; border-radius: 0.85rem; color: #fff;
  background: linear-gradient(135deg, var(--red) 15%, var(--blue) 85%);
  box-shadow: var(--ring);
}
.icon-tile .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2; }
.icon-tile--sm { width: 2.6rem; height: 2.6rem; border-radius: 0.75rem; }
.icon-tile--sm .icon { width: 1.3rem; height: 1.3rem; }
.icon-tile--lg { width: 6rem; height: 6rem; border-radius: 22%; }
/* the big tiles get a thicker white border */
.icon-tile--lg { box-shadow: 0 0 0 5px #fff, 0 12px 28px -6px rgba(16, 24, 40, 0.42), 0 2px 6px rgba(16, 24, 40, 0.12); }
.icon-tile--lg .icon { width: 3.6rem; height: 3.6rem; stroke-width: 2; }
/* the service badges are drawn on a 48-unit grid: larger in the tile, a heavier line */
.icon-tile .icon--badge { width: 72%; height: 72%; stroke-width: 3; }
.icon-tile--lg .icon--badge { width: 64%; height: 64%; stroke-width: 2.6; }
.icon-tile--blue { background: var(--blue); }
.icon-tile--red { background: var(--red); }

/* ------------------------------------------------------------------ home */

.home-services { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card--flagship { display: flex; flex-direction: column; overflow: hidden; }
.card--flagship .card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.card--flagship h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.card--flagship > p:not(.card__kicker) { font-size: 1.08rem; max-width: 30rem; }
.card--flagship .card__more { margin-top: 0.5rem; }
/* two screenshots peeking out of the card's bottom edge */
.card__preview {
  position: relative; flex: 1 0 15rem; min-height: 15rem;
  margin: 1.75rem calc(-1 * clamp(1.4rem, 3vw, 2rem)) calc(-1 * clamp(1.4rem, 3vw, 2rem));
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(40, 127, 194, 0.12) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--surface), var(--blue-tint));
  border-top: 1px solid var(--line);
}
.card__preview img {
  position: absolute; top: 1.5rem; width: min(42%, 13rem);
  /* box-shadow, not filter: drop-shadow, which iOS Safari draws as a faint square behind rotated images.
     The radius matches the corners baked into the WebP (26/375 of the width; 480 x 608). */
  border-radius: 6.93% / 5.47%;
  box-shadow: 0 16px 24px -4px rgba(16, 24, 40, 0.3);
  transition: transform 0.35s ease;
}
.card__preview img:first-child { left: 10%; transform: rotate(-4deg); }
.card__preview img:last-child { right: 10%; top: 2.5rem; transform: rotate(4deg); }
a.card--flagship:hover .card__preview img:first-child { transform: rotate(-5deg) translateY(-8px); }
a.card--flagship:hover .card__preview img:last-child { transform: rotate(5deg) translateY(-8px); }
.card__logo { width: 3.5rem; height: 3.5rem; border-radius: 22%; }
.card__kicker--outside { margin: 0 0 0.75rem 0.25rem; }
.home-services__rest { display: flex; flex-direction: column; }
.home-services__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; flex: 1; }
.card--service { display: grid; grid-template-columns: auto 1fr auto; column-gap: 1rem; align-items: start; align-content: center; }
.card--service .icon-tile { grid-row: span 2; }
.card--service h3 { margin: 0.1rem 0 0.2rem; }
.card--service p { grid-column: 2; font-size: 0.95rem; }
.card--service .card__more { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; color: var(--muted); }
a.card--service:hover .card__more { color: var(--blue-ink); }
.page-home .card__kicker--outside { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
@media (min-width: 60rem) {
  .home-services { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .card--flagship { min-height: 100%; }
}
@media (max-width: 59.99rem) {
  .page-home .card__kicker--outside { color: var(--red-ink); text-shadow: none; margin-top: 1rem; }
}

.home-peer { display: grid; gap: 2rem; align-items: center; }
.home-peer__text { color: var(--ink-soft); font-size: 1.08rem; }
.more-link-inline { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; font-weight: 600; text-decoration: none; }
.quote--feature { box-shadow: var(--shadow); }
.quote--feature blockquote p { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink); }
@media (min-width: 60rem) { .home-peer { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* ------------------------------------------------------------------ about */

.founder { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin: 0 auto 3rem; max-width: 60rem; }
.founder__photo { margin: 0; justify-self: center; text-align: center; }
.founder__photo img {
  width: min(16rem, 60vw); filter: drop-shadow(0 16px 28px rgba(16, 24, 40, 0.18));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.founder__photo img:hover { transform: scale(1.08) rotate(-2deg) translateY(-4px); filter: drop-shadow(0 26px 34px rgba(16, 24, 40, 0.28)); }
.founder__photo figcaption { margin-top: 0.75rem; display: flex; flex-direction: column; line-height: 1.4; }
.founder__photo figcaption span { color: var(--muted); font-size: 0.9rem; }
.founder__hello { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 400; color: var(--ink) !important; line-height: 1.35; }
.founder__intro p { font-size: 1.08rem; }
@media (min-width: 48rem) { .founder { grid-template-columns: auto 1fr; } }

.principles { display: grid; gap: 1.25rem; max-width: 60rem; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.principle {
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.25rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.principle h3 { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; font-size: clamp(1.2rem, 2vw, 1.4rem); }
.principle__n {
  display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem;
  font-size: 1rem; color: #fff; border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--red) 15%, var(--blue) 85%);
  box-shadow: var(--ring);
}

/* call to action band */
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  padding: clamp(2rem, 5vw, 3.25rem); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.cta h2 { margin: 0; max-width: 30ch; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.cta p { margin: 0.5rem 0 0; color: rgba(255, 255, 255, 0.9); max-width: 46rem; }
.cta .cta__text { margin: 0 0 0.75rem; font-size: 1.05rem; }

/* ------------------------------------------------------------------ services */

.pill-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.pill-nav a {
  padding: 0.45rem 1rem; font-size: 0.9rem; font-weight: 600; text-decoration: none;
  color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
}
.pill-nav a:hover { color: var(--blue-ink); border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.service-list { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.service {
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.service h2 { margin-bottom: 0.3rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.service h2 a { color: inherit; text-decoration: none; }
.service h2 a:hover { color: var(--blue-ink); }
.service__tagline { font-weight: 600; color: var(--blue-ink); }
.service p:not(.service__tagline) { color: var(--ink-soft); max-width: 48rem; }
@media (min-width: 48rem) {
  .service { grid-template-columns: 8rem 1fr; gap: 2.5rem; }
  .service__art { justify-self: center; }
}

/* ------------------------------------------------------------------ Harmony */

.split { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } }
/* the Harmony page's cards: a soft glow from the top-left corner in their colour,
   a bar on top, the icon large and faint behind the text */
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: radial-gradient(120% 95% at 0% 0%, rgba(40, 127, 194, 0.11) 0%, rgba(40, 127, 194, 0) 58%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), rgba(40, 127, 194, 0.15));
}
.panel--red { background: radial-gradient(120% 95% at 0% 0%, rgba(210, 83, 66, 0.11) 0%, rgba(210, 83, 66, 0) 58%), var(--surface); }
.panel--red::before { background: linear-gradient(90deg, var(--red), rgba(210, 83, 66, 0.15)); }
.panel__mark { position: absolute; right: -1.75rem; bottom: -2.25rem; z-index: -1; color: var(--blue); opacity: 0.07; pointer-events: none; }
.panel__mark .icon { width: 11rem; height: 11rem; stroke-width: 1.4; }
.panel--red .panel__mark { color: var(--red); }
.panel__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.panel h2 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.panel h3 { margin: 0; font-size: 1.45rem; }
.panel p { color: var(--ink-soft); }
.panel--lg { padding: clamp(1.6rem, 3.5vw, 2.5rem); }
/* side by side, the cards are as tall as each other: the tags line up at the bottom */
.panel { display: flex; flex-direction: column; }
.panel > p { margin-bottom: 0; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: auto 0 0; padding: 1.25rem 0 0; list-style: none; }
.panel__tags li { padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--blue-ink); background: rgba(40, 127, 194, 0.1); }
.panel--red .panel__tags li { color: var(--red-ink); background: rgba(210, 83, 66, 0.1); }

.carousel { position: relative; }
.carousel__controls { display: flex; justify-content: flex-end; gap: 0.5rem; margin: -3.75rem 0 1rem; }
.carousel__btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.carousel__btn:hover:not([disabled]) { color: #fff; background: var(--blue); border-color: var(--blue); }
.carousel__btn[disabled] { opacity: 0.4; cursor: default; }
.carousel__btn .icon { width: 1.25rem; height: 1.25rem; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 20rem); gap: 1.5rem;
  margin: 0 calc(-1 * var(--gutter)); padding: 0.5rem var(--gutter) 1.25rem;
  list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.carousel__track:focus-visible { outline-offset: -3px; }
/* fade out at the edges where more slides wait (site.js sets the widths) */
.carousel__track {
  --fade-l: 0px; --fade-r: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
.carousel__slide { scroll-snap-align: start; }
.carousel__track { cursor: grab; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel__track.is-dragging img { pointer-events: none; }
.carousel__track img { -webkit-user-drag: none; user-select: none; }
.carousel__slide figure { margin: 0; }
/* the slides carry their own frame (screenshots/harmony/mocks.py) */
.carousel__slide img { width: 100%; height: auto; filter: drop-shadow(0 4px 7px rgba(16, 24, 40, 0.16)); } /* small enough to stay inside the track, which clips it */
.carousel__slide figcaption { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; font-weight: 600; font-size: 0.95rem; }
.carousel__step {
  display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem;
  font-size: 0.8rem; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 15%, var(--blue) 85%);
  box-shadow: var(--ring);
}
@media (max-width: 47.99rem) { .carousel__controls { margin-top: 0; } }

.features { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.feature {
  padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.feature h3 { margin: 1rem 0 0.4rem; font-size: 1.02rem; }
.feature p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; }

.qa-group { display: grid; gap: 0.75rem; }
/* a question: a numbered badge, the question, a round button; open, it gets a blue
   bar, a soft glow and a filled button, and opens smoothly where browsers can */
.qa {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.qa::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue); transform: scaleY(0); transition: transform 0.3s ease; }
.qa:hover { border-color: rgba(40, 127, 194, 0.3); }
.qa[open] {
  border-color: rgba(40, 127, 194, 0.3); box-shadow: var(--shadow);
  background: radial-gradient(110% 70% at 0% 0%, rgba(40, 127, 194, 0.07), rgba(40, 127, 194, 0) 60%), var(--surface);
}
.qa[open]::before { transform: scaleY(1); }
.qa summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; font-weight: 650; font-size: 1.05rem; line-height: 1.4; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-ink); }
.qa__q { flex: 1; }
.qa__n {
  flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 0.7rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--blue-ink); background: #E1EDF5;
}
.qa__btn {
  flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  color: var(--blue); background: #F0F3F5; transition: background 0.25s ease, color 0.25s ease;
}
.qa__icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; transition: transform 0.25s ease; }
.qa[open] .qa__btn { color: #fff; background: var(--blue); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(16, 24, 40, 0.35); }
.qa[open] .qa__icon { transform: rotate(45deg); }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}
.qa:has(.qa__n) .qa__body { padding-left: calc(1.25rem + 2.25rem + 1rem); }
.qa__body { padding: 0 1.35rem 1.35rem 1.35rem; color: var(--ink-soft); }
.qa__body p { margin-bottom: 0.75em; }
.qa__list { display: grid; gap: 1rem; margin: 0; }
.qa__list > div { padding-left: 1rem; border-left: 3px solid var(--blue-tint); }
.qa__list dt { font-weight: 650; color: var(--ink); margin-bottom: 0.25rem; }
.qa__list dd { margin: 0; }

.api { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.api > * { min-width: 0; } /* the carousel inside must not widen the column */
.api__langs { display: grid; gap: 0.6rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.api__langs li {
  display: grid; grid-template-columns: 4.5rem auto 1fr; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-sm);
}
.api__langs li:nth-child(2) { border-left-color: var(--red); }
.api__langs li:nth-child(3) { border-left-color: var(--ink-soft); }
.api__langs code { font-size: 0.88rem; color: var(--blue-ink); }
.api__langs span { justify-self: end; font-size: 0.85rem; color: var(--muted); text-align: right; }
@media (max-width: 29.99rem) {
  .api__langs li { grid-template-columns: 4rem 1fr; }
  .api__langs span { grid-column: 2; justify-self: start; text-align: left; }
}
.api__fns-title { margin: 0 0 0.6rem; font-size: 0.92rem; font-weight: 600; color: var(--ink) !important; }
.api__fns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.api__fns code {
  padding: 0.35rem 0.7rem; font-size: 0.88rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.api__text p:not(.lead) { color: var(--ink-soft); }
.api__slides .carousel__controls { margin-top: 0; }
@media (min-width: 64rem) {
  .api { grid-template-columns: 1fr 1.15fr; }
  .api__slides { min-width: 0; }
  .api__slides .carousel__track { margin-right: 0; padding-right: 0; grid-auto-columns: min(76vw, 18rem); }
}

.license-wrap { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 0.5rem; }
.license { width: 100%; max-width: 52rem; min-width: 20rem; margin: 0 auto; border-collapse: separate; border-spacing: 0; font-size: 0.97rem; }
.license th, .license td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.license tbody th { text-align: left; font-weight: 600; }
.license thead th { padding-block: 1.25rem; border-bottom: 0; }
.license thead td { border-bottom: 0; }
.license__plan { font-size: 1.3rem; font-weight: 700; }
.license__full { background: var(--blue-tint); }
.license thead .license__full { border-radius: var(--radius) var(--radius) 0 0; color: var(--blue-ink); }
.license tbody tr:last-child .license__full { border-radius: 0 0 var(--radius) var(--radius); }
.license tbody tr:last-child > * { border-bottom: 0; }
.license__group th { padding-bottom: 0.3rem; border-bottom: 0; }
.license__group td { border-bottom: 0; }
.license__sub th { padding-left: 2rem; font-weight: 450; color: var(--ink-soft); }
.license__sub > * { padding-block: 0.45rem; border-bottom: 0; }
.license tr.license__sub:has(+ tr:not(.license__sub)) > * { border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }
.license sup { margin-left: 0.15rem; color: var(--muted); font-weight: 500; }
.mark { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; vertical-align: middle; }
.mark .icon { width: 1rem; height: 1rem; stroke-width: 2.4; }
.mark--yes { color: #fff; background: var(--blue); }
.mark--no { color: var(--red-ink); background: var(--red-tint); }
.license-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem;
  max-width: 52rem; margin: 2rem auto 0; text-align: center;
}
.license-cta p { flex: 1 1 22rem; margin: 0; color: var(--ink-soft); }
@media (max-width: 35.99rem) {
  .license { font-size: 0.88rem; }
  .license th, .license td { padding: 0.65rem 0.45rem; }
  .license__sub th { padding-left: 1rem; }
  .license__plan { font-size: 1.1rem; }
}
.footnotes { max-width: 52rem; margin: 2.5rem auto 0; padding: 1.5rem 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.footnotes li + li { margin-top: 0.6rem; }
.footnotes sup { margin-right: 0.3rem; font-weight: 600; }

/* the heading sticks while the points scroll past it */
.sticky-split { display: grid; gap: 2rem; }
.sticky-split__aside .lead { max-width: 30rem; }
.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
/* each point: the icon beside the title and text, the same spacing in every card;
   a thread runs through the icons and fills with the brand gradient as you scroll
   (site.js); the point in view lights up, the others step back */
.steps { --pad: clamp(1.4rem, 3vw, 1.9rem); --gap: 1.25rem; }
/* each card draws its own piece of the thread, behind its icon: from the gap above
   (the first from its icon) to its bottom edge (the last to its icon); --fill, site.js */
.step::before, .step::after {
  content: ""; position: absolute; z-index: -1; left: calc(var(--pad) + 1.5rem - 1px); width: 2px;
  top: calc(-1 * var(--gap) - 1px); bottom: -1px; pointer-events: none;
}
.step:first-child::before, .step:first-child::after { top: calc(var(--pad) + 1.5rem); }
.step:last-child::before, .step:last-child::after { bottom: calc(100% - var(--pad) - 1.5rem); }
.step::before { background: var(--line); }
.step::after { background: var(--blue); transform: scaleY(var(--fill, 0)); transform-origin: top; }
.step {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: opacity 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, transform 0.6s ease;
}
.step .icon-tile { transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease; }
.step h3 { margin: 0.55rem 0 0.4rem; font-size: clamp(1.15rem, 2vw, 1.3rem); line-height: 1.3; }
.step p { margin: 0; color: var(--ink-soft); }
.step__text { transition: opacity 0.4s ease; }
.steps.is-live .step:not(.is-active) .step__text { opacity: 0.5; }
.steps.is-live .step:not(.is-active) .icon-tile { filter: saturate(0.35) brightness(1.12); }
.step.is-active { border-color: rgba(40, 127, 194, 0.35); box-shadow: 0 0 0 4px rgba(40, 127, 194, 0.08), var(--shadow); }
.step.is-active .icon-tile { transform: scale(1.08); box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(40, 127, 194, 0.18), 0 10px 24px -6px rgba(16, 24, 40, 0.42); }

/* the project as a network, beside the points */
.net { display: block; width: 100%; max-width: 26rem; height: auto; margin-top: 2rem; overflow: visible; }
.net__edge { fill: none; stroke: var(--line); stroke-width: 2; transition: stroke 0.4s ease; }
.net__edge.is-on, .net--all .net__edge { stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 5 6; animation: net-flow 0.9s linear infinite; }
@keyframes net-flow { to { stroke-dashoffset: -11; } }
.net__node rect { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; transition: fill 0.4s ease, stroke 0.4s ease; }
.net__node text { font-family: var(--font); font-size: 12.5px; font-weight: 600; fill: var(--ink); transition: fill 0.4s ease; }
.net__icon { fill: none; stroke: var(--ink-soft); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s ease; }
/* lit: solid, with the white border and shadow of the site's badges; the data, the hub, in red */
.net__node.is-on rect, .net--all .net__node rect { fill: var(--blue); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 8px 12px rgba(16, 24, 40, 0.3)); }
.net__node[data-id="data"].is-on rect, .net--all .net__node[data-id="data"] rect { fill: var(--red); }
.net__node.is-on text, .net--all .net__node text { fill: #fff; }
.net__node.is-on .net__icon, .net--all .net__icon { stroke: #fff; }
.net__check { opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.net__check circle { fill: var(--blue); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 6px rgba(16, 24, 40, 0.3)); }
.net__check path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.net__check.is-on, .net--all .net__check { opacity: 1; }

/* narrow: the heading scrolls away, the network sticks under the header while the points pass below it */
@media (max-width: 59.99rem) {
  .sticky-split { gap: 0; }
  .sticky-split__aside { display: contents; }
  .sticky-split .net {
    position: sticky; top: var(--header-h); z-index: 3;
    width: calc(100% + 2 * var(--gutter)); max-width: none; height: min(36vh, 20rem);
    margin: 0.5rem calc(-1 * var(--gutter)) 1.25rem; padding: 0.75rem var(--gutter);
    background: var(--surface); box-shadow: 0 14px 14px -14px rgba(16, 24, 40, 0.18);
  }
}
@media (min-width: 60rem) {
  .sticky-split { grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: start; }
  .sticky-split__aside { position: sticky; top: calc(var(--header-h) + 3rem); }
}
}

/* fades up when it scrolls into view (site.js adds .is-visible; without JS it just shows) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ testimonials */

.quotes { columns: 1; column-gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.quotes > li { break-inside: avoid; margin-bottom: 1.25rem; }
@media (min-width: 48rem) { .quotes { columns: 2; } }
@media (min-width: 72rem) { .quotes { columns: 3; } }
.quote {
  position: relative; margin: 0; padding: 1.75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.quote__mark { width: 2rem; height: 2rem; margin-bottom: 0.75rem; color: var(--red); stroke-width: 1.25; fill: var(--red); }
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); line-height: 1.35; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; }
.quote figcaption > span:last-child span { font-size: 0.86rem; color: var(--muted); }
.avatar {
  display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem;
  font-weight: 650; font-size: 0.9rem; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 15%, var(--blue) 85%);
  box-shadow: var(--ring);
}

.coming {
  display: grid; gap: 1.25rem 1.75rem; align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
/* the hourglass turns over, pauses, turns over again */
.spin-hourglass { animation: hourglass 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes hourglass { 0%, 40% { transform: rotate(0deg); } 60%, 100% { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .spin-hourglass { animation: none; } }
.coming h2 { margin: 0 0 0.35rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.coming p { margin: 0; color: var(--ink-soft); max-width: 44rem; }
@media (min-width: 48rem) { .coming { grid-template-columns: auto 1fr auto; } }

/* ------------------------------------------------------------------ contact */

.contact { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 60rem) { .contact { grid-template-columns: 1.5fr 1fr; } }
.contact__form { box-shadow: var(--shadow); }
.contact__form h2, .contact__details h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.contact__details { display: grid; gap: 1.25rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.req { color: var(--red-ink); }
.field input, .field textarea {
  display: block; width: 100%; padding: 0.75rem 0.9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-tint); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0.5rem 0 1.25rem; min-height: 65px; }
.contact__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.contact__privacy { margin: 0; font-size: 0.85rem; color: var(--muted); }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 0.9rem 1.1rem; color: #1D5E3A; background: #EAF6EF; border-radius: var(--radius-sm); }
.form-status.is-error { padding: 0.9rem 1.1rem; color: var(--red-ink); background: var(--red-tint); border-radius: var(--radius-sm); }
.details { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.details li { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--ink-soft); line-height: 1.55; }
.details .icon { margin-top: 0.1rem; color: var(--blue); }

/* ------------------------------------------------------------------ legal */

.legal h2 { margin-top: 2.25rem; font-size: 1.35rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.5rem; font-size: 1.08rem; }
.legal ul, .legal ol { padding-left: 1.25rem; color: var(--ink-soft); }
.legal li + li { margin-top: 0.25rem; }

/* ------------------------------------------------------------------ footer */

.site-footer { padding-top: clamp(3rem, 6vw, 4.5rem); color: rgba(255, 255, 255, 0.72); background: var(--dark); font-size: 0.93rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.site-footer__brand img { width: 11rem; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 20rem; }
.site-footer__title { margin-bottom: 0.9rem; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer__social { display: flex; gap: 0.5rem; margin-top: 1.25rem !important; }
.site-footer__social li + li { margin-top: 0; }
.site-footer__social a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: rgba(255, 255, 255, 0.08); border-radius: 50%; transition: background-color 0.15s ease;
}
.site-footer__social a:hover { background: var(--blue); }
.site-footer__social .icon { width: 1.15rem; height: 1.15rem; }
.site-footer__address { line-height: 1.75; }
.site-footer__base { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.site-footer__base p { margin: 0; text-align: center; }

/* ------------------------------------------------------------------ print */

@media print {
  .site-header, .site-footer, .carousel__controls, .hero__actions, .cta .btn { display: none !important; }
  .brand-bg { color: var(--ink); background: none !important; }
  .brand-bg::before { display: none; }
  .section { padding-block: 1.5rem; }
}

/* not every badge in the two-colour gradient: solid blue beside the connected points,
   soft blue for the features */
.step .icon-tile { background: var(--blue); }
.feature .icon-tile { color: var(--blue); background: #E1EDF5; }

/* ------------------------------------------------------------------ faq page */
.faq { display: grid; gap: 2rem; }
.faq__aside { display: grid; gap: 1.25rem; align-content: start; }
.faq__topics { display: grid; gap: 0.6rem; }
@media (max-width: 59.99rem) { .faq__topics { grid-template-columns: 1fr 1fr; } }
.faq__topic {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem;
  font-weight: 650; color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.faq__topic:hover { border-color: rgba(40, 127, 194, 0.4); transform: translateY(-1px); }
.faq__topic small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); }
.faq__help {
  display: none; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  background: radial-gradient(120% 90% at 0% 0%, rgba(210, 83, 66, 0.09), rgba(210, 83, 66, 0) 60%), var(--surface);
}
.faq__help h2 { margin: 1rem 0 0.4rem; font-size: 1.2rem; }
.faq__help p { margin: 0 0 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
.faq__group { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq__group + .faq__group { margin-top: 3rem; }
.faq__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.faq__head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.faq__head p { margin: 0.15rem 0 0; color: var(--ink-soft); }
@media (min-width: 60rem) {
  .faq { grid-template-columns: 17rem 1fr; gap: 3.5rem; align-items: start; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq__help { display: block; }
}

/* phones: keep the eyebrow on one line */
@media (max-width: 30rem) {
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.08em; }
}
