/* =============================================================================
   ST Software — site stylesheet (2026 visual update)
   =============================================================================
   Replaces the Canvas theme stylesheets (bootstrap.css, style.css, dark.css,
   etc.), which are no longer loaded. The visual language follows the PSI
   Connect site: Inter, a technical blue on cool neutrals, flat surfaces with
   alternating tinted bands, and restrained radii.

   Every colour, size and radius is a token on :root. Change the brand here,
   not in the components below.
   ========================================================================== */

/* Inter (variable, latin subset) — self-hosted, SIL Open Font License. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  /* Brand blue */
  --brand-50: oklch(0.971 0.014 233);
  --brand-100: oklch(0.938 0.031 233);
  --brand-200: oklch(0.885 0.056 233);
  --brand-500: oklch(0.623 0.157 233);
  --brand-600: oklch(0.532 0.153 235);
  --brand-700: oklch(0.452 0.128 237);
  --brand-900: oklch(0.322 0.075 240);
  --brand-950: oklch(0.221 0.05 242);

  /* Cool neutrals */
  --ink-50: oklch(0.984 0.003 248);
  --ink-100: oklch(0.968 0.005 248);
  --ink-200: oklch(0.929 0.008 250);
  --ink-300: oklch(0.869 0.012 252);
  --ink-400: oklch(0.704 0.017 256);
  --ink-500: oklch(0.554 0.02 257);
  --ink-600: oklch(0.446 0.021 258);
  --ink-800: oklch(0.279 0.019 260);
  --ink-900: oklch(0.208 0.017 261);
  --ink-950: oklch(0.139 0.015 262);

  /* Semantic roles — components use these, not the raw palette */
  --surface: #fff;
  --surface-sunken: var(--ink-50);
  --surface-dark: var(--ink-950);
  --fg: var(--ink-950);
  --fg-muted: var(--ink-600);
  --fg-subtle: var(--ink-500);
  --border: var(--ink-200);
  --border-strong: var(--ink-300);
  --primary: var(--brand-600);
  --primary-hover: var(--brand-700);
  --primary-soft: var(--brand-50);
  --ring: var(--brand-500);
  --success: oklch(0.52 0.13 155);
  --success-soft: oklch(0.96 0.03 155);
  --danger: oklch(0.52 0.18 25);
  --danger-soft: oklch(0.96 0.025 25);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 260 / 0.06);
  --shadow-md: 0 4px 16px -4px oklch(0.2 0.02 260 / 0.12), 0 2px 4px oklch(0.2 0.02 260 / 0.05);
  --shadow-lg: 0 18px 40px -12px oklch(0.2 0.02 260 / 0.22);

  --container: 72rem;
  --prose: 44rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
}

/* ---- Base ------------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--fg);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.01em; }

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, currentColor 35%, transparent);
  text-underline-offset: 0.18em;
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover { color: var(--primary-hover); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong { font-weight: 650; }

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

.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
}

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

.material-symbols-outlined {
  font-size: 1.5rem;
  line-height: 1;
  user-select: none;
}

/* ---- Layout ---------------------------------------------------------------- */

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

.prose { max-width: var(--prose); }

/* Solution page overview: heading with the text stacked below it, at the
   full content width like the rest of the page. */
.overview .stack { margin-top: 1.25rem; }

.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section-sunken { background: var(--surface-sunken); border-block: 1px solid var(--border); }
.section + .section-sunken,
.section-sunken + .section { border-top: 1px solid var(--border); }

.section-head {
  max-width: var(--prose);
  margin-bottom: 2.5rem;
}

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

.section-head p {
  margin-top: 0.75rem;
  color: var(--fg-muted);
  font-size: 1.125rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  color: var(--fg-muted);
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.6;
}

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

/* Text beside an image; flips on .split-reverse */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.split-reverse > :first-child { order: 2; }

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.media-frame img { width: 100%; }
.media-plain { box-shadow: none; }
.media-contain { padding: 1.5rem; }

.stack > * + * { margin-top: 1.5rem; }

/* ---- Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn .material-symbols-outlined { font-size: 1.25rem; }
.btn-lg { min-height: 3.125rem; padding-inline: 1.5rem; font-size: 1rem; }
.btn-sm { min-height: 2.375rem; padding: 0.5rem 1rem; font-size: 0.875rem; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }

.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--fg); }
.btn-secondary:hover { border-color: var(--ink-400); color: var(--fg); background: var(--ink-50); }

.btn-ghost-light { border-color: oklch(1 0 0 / 0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: oklch(1 0 0 / 0.08); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow .material-symbols-outlined { font-size: 1.15rem; transition: transform 0.15s; }
.link-arrow:hover .material-symbols-outlined { transform: translateX(3px); }

/* ---- Header & navigation --------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: auto; height: 1.875rem; }

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: var(--radius-md);
  background: none;
  color: var(--fg-muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] { color: var(--fg); background: var(--ink-100); }
.nav-link.is-current { color: var(--primary); }
.nav-link .material-symbols-outlined { font-size: 1.15rem; transition: transform 0.2s; }
.nav-link[aria-expanded="true"] .material-symbols-outlined { transform: rotate(180deg); }

.nav-cta { margin-left: 0.5rem; }

/* Dropdown panel */
.sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  min-width: 19rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

/* Bridges the gap so the panel doesn't close on the way down to it */
.sub-menu::before {
  content: "";
  position: absolute;
  inset: -0.6rem 0 auto;
  height: 0.6rem;
}

.has-sub.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (hover: hover) and (min-width: 62.0625em) {
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.sub-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--fg);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
}

.sub-menu a:hover,
.sub-menu a.is-current { background: var(--primary-soft); color: var(--primary-hover); }

/* "Coming soon" items: laid out like the links, greyed out, not interactive */
.sub-menu-soon {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--fg-subtle);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.35;
  cursor: default;
}

.sub-menu small {
  display: block;
  margin-top: 0.1rem;
  color: var(--fg-subtle);
  font-size: 0.8125rem;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
}

/* ---- Home hero slider -------------------------------------------------------
   Images cross-fade behind a stack of slide texts. The progress bar of the
   active dot doubles as the timer: when its CSS animation ends, js/site.js
   advances the slide, so pausing the animation pauses the slider. */

.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--surface-dark);
  color: #fff;
  isolation: isolate;
}

/* A plain cross-fade. No zoom: scaling a photo while it is on screen makes the
   browser resample it every frame, which visibly softens and shimmers it. */
.hero-slider-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slider-media img.is-active { opacity: 1; }

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, oklch(0.14 0.02 255 / 0.85) 0%, oklch(0.14 0.02 255 / 0.6) 50%, oklch(0.14 0.02 255 / 0.3) 100%),
    linear-gradient(0deg, oklch(0.14 0.02 255 / 0.65), transparent 45%);
}

.hero-slider-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(82vh, 46rem);
  padding-block: clamp(4.5rem, 3rem + 6vw, 8rem) 2.5rem;
}

.hero-slider .eyebrow { color: var(--brand-200); }

/* All slide texts share one grid cell, so the block is as tall as the
   tallest slide and nothing below it jumps when the slide changes. */
.hero-slide-texts { display: grid; }

/* Each slide carries its own buttons. Content sits at the bottom of the shared
   cell so the buttons stay in the same place from slide to slide; only the
   active slide takes clicks (the outgoing one is still fading out). */
.hero-slide-text {
  grid-area: 1 / 1;
  align-self: end;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}

.hero-slide-text.is-active {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s, visibility 0s;
}

.hero-slide-text h2 {
  max-width: 15em;
  color: #fff;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  letter-spacing: -0.03em;
}

.hero-slide-text p {
  max-width: 34rem;
  margin-top: 1rem;
  color: oklch(0.88 0.015 250);
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  line-height: 1.5;
}

.hero-slider .btn-row { margin-top: 2.25rem; }

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.slider-dots {
  display: flex;
  flex: 1;
  gap: 0.4rem;
  max-width: 30rem;
  margin-inline: 0.5rem 1rem;
}

.slider-dot {
  position: relative;
  flex: 1;
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slider-dot::before,
.slider-dot span {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  border-radius: 2px;
  transform: translateY(-50%);
}

.slider-dot::before { right: 0; background: oklch(1 0 0 / 0.25); transition: background-color 0.15s; }
.slider-dot:hover::before { background: oklch(1 0 0 / 0.45); }
.slider-dot span { width: 0; background: #fff; }
.slider-dot[aria-current="true"] span { animation: slider-progress var(--slide-interval, 6.5s) linear forwards; }
.hero-slider.is-paused .slider-dot[aria-current="true"] span,
.hero-slider.is-held .slider-dot[aria-current="true"] span { animation-play-state: paused; }

@keyframes slider-progress {
  from { width: 0; }
  to { width: 100%; }
}

.slider-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid oklch(1 0 0 / 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.slider-btn:hover { border-color: #fff; background: oklch(1 0 0 / 0.1); }

/* Reduced motion: nothing moves on its own; slides change only on request. */
@media (prefers-reduced-motion: reduce) {
  .slider-dot[aria-current="true"] span { width: 100%; animation: none; }
  .slider-btn[data-slider="pause"] { display: none; }
}

/* ---- Home intro --------------------------------------------------------------- */

.intro-head { max-width: 54rem; }
.intro-head h1 { font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem); }
.intro-head .lede { margin-top: 1rem; }

/* ---- Inner page hero ------------------------------------------------------- */

.page-hero {
  padding-top: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  background:
    radial-gradient(60rem 24rem at 85% -10%, var(--brand-50), transparent 70%),
    var(--surface-sunken);
  border-bottom: 1px solid var(--border);
}

.page-hero-text { max-width: 50rem; }
.page-hero-text .lede { margin-top: 1rem; }

.page-hero-sub {
  margin-top: 0.5rem;
  color: var(--fg-subtle);
  font-size: 1.0625rem;
}

.page-hero { padding-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem); }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--fg-subtle);
  font-size: 0.875rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--ink-300);
}

.breadcrumbs a { color: var(--fg-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--fg); font-weight: 500; }

/* Image variant: the banner fills the hero and the text sits over it, as on
   the home slider. Every page with a banner uses it. The overlay is a
   touch stronger than the slider's because some banners are bright. */
.page-hero.page-hero-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(22rem, 18rem + 14vw, 32rem);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2.5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--surface-dark);
  border-bottom: 0;
  color: #fff;
}

.page-hero-image > .container { width: 100%; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, oklch(0.14 0.02 255 / 0.8) 0%, oklch(0.14 0.02 255 / 0.55) 45%, oklch(0.14 0.02 255 / 0.2) 100%),
    linear-gradient(0deg, oklch(0.14 0.02 255 / 0.45), transparent 55%);
}

.page-hero-image h1 { color: #fff; }
.page-hero-image .eyebrow { color: var(--brand-200); }
.page-hero-image .lede { color: oklch(0.92 0.01 250); }
.page-hero-image .page-hero-sub { color: oklch(0.82 0.015 250); }
.page-hero-image .breadcrumbs ol { color: oklch(0.8 0.015 250); }
.page-hero-image .breadcrumbs li + li::before { color: oklch(1 0 0 / 0.35); }
.page-hero-image .breadcrumbs a { color: oklch(0.85 0.015 250); }
.page-hero-image .breadcrumbs a:hover { color: #fff; }
.page-hero-image .breadcrumbs [aria-current] { color: #fff; }

/* ---- Cards ----------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--ink-100);
  border-bottom: 1px solid var(--border);
}

.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
a.card:hover .card-media img { transform: scale(1.03); }

.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--fg-muted); font-size: 1rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Feature with icon, used for capability grids */
.feature {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.section-sunken .feature { box-shadow: var(--shadow-sm); }
.feature h3 { margin: 1rem 0 0.5rem; }
.feature p { color: var(--fg-muted); font-size: 1rem; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--brand-100);
}

/* Feature list: divided rows in two columns, no boxes (solution pages).
   Hairline rules separate the features; the icon sits beside the title. */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.feature-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
}

.feature-item > .material-symbols-outlined { color: var(--primary); margin-top: 0.1rem; }
.feature-item h3 { margin-bottom: 0.4rem; }
.feature-item p { color: var(--fg-muted); font-size: 1rem; }

/* Chips: short labels with an icon (industries) */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
}

.chip-grid .material-symbols-outlined { color: var(--primary); font-size: 1.375rem; }

/* Lists with a check mark */
.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }

.check-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--brand-200);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: calc(0.18em + 0.3rem);
  width: 0.35rem;
  height: 0.6rem;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Numbered blocks (partner categories) */
.numbered {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.numbered-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.numbered h3 { margin-bottom: 0.5rem; }
.numbered p { color: var(--fg-muted); }

/* Question-and-answer list (technology page) */
.qa-list { display: grid; gap: 1rem; }

.qa {
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
}

.qa h3 { margin-bottom: 0.5rem; }
.qa p, .qa li { color: var(--fg-muted); }
.qa ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }

/* ---- Call-to-action band ----------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem);
  background: var(--brand-950);
  background-image:
    radial-gradient(40rem 20rem at 100% 0%, oklch(0.45 0.13 237 / 0.55), transparent 70%),
    radial-gradient(30rem 18rem at 0% 100%, oklch(0.4 0.1 240 / 0.4), transparent 70%);
  border-radius: var(--radius-lg);
  color: oklch(0.88 0.015 250);
}

.cta-band h2 { color: #fff; }
.cta-band p { max-width: 38rem; margin-top: 0.75rem; font-size: 1.125rem; }
.cta-band .btn-row { margin-top: 1.75rem; }

.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.cta-split img { max-width: 20rem; margin-left: auto; opacity: 0.95; }

/* ---- Forms ------------------------------------------------------------------- */

.form-card {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea { min-height: 9rem; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 25%, transparent);
}

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

.alert {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
}

.alert-success { background: var(--success-soft); color: var(--success); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--success) 25%, transparent); }
.alert-danger { background: var(--danger-soft); color: var(--danger); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--danger) 25%, transparent); }

/* ---- Contact page ------------------------------------------------------------- */

.info-card {
  height: 100%;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.info-card h3 { margin: 1rem 0 0.6rem; font-size: 1.0625rem; }

.info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.map {
  height: 26rem;
  overflow: hidden;
  background: var(--ink-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ---- Gallery -------------------------------------------------------------------- */

.gallery img {
  width: 100%;
  aspect-ratio: 352 / 288;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---- Footer --------------------------------------------------------------------- */

.site-footer {
  background: var(--surface-dark);
  color: var(--ink-400);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}

.footer-brand img { width: auto; height: 1.75rem; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 20rem; line-height: 1.6; }
.footer-brand strong { color: var(--ink-200); }

.footer-heading {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 0.55rem; }

.site-footer a { color: var(--ink-300); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.site-footer address { font-style: normal; line-height: 1.7; }
.footer-contact p { margin-top: 0.75rem; }
.footer-contact strong { color: var(--ink-200); font-weight: 600; }

.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.08);
  color: var(--ink-500);
  font-size: 0.875rem;
}

/* ---- Responsive ------------------------------------------------------------------ */

@media (max-width: 62em) {
  :root { --header-h: 4rem; }

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }

  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.8rem 0.75rem; font-size: 1rem; }

  .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0.5rem 0.75rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .sub-menu::before { display: none; }
  .has-sub.is-open .sub-menu { display: block; transform: none; }
  .nav-cta { margin: 0.75rem 0 0; }
  .nav-cta .btn { width: 100%; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand,
  .footer-contact { grid-column: span 3; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split img { margin: 0; }
}

@media (max-width: 48em) {
  :root { --gutter: 1rem; }

  .brand img { height: 1.375rem; }

  .split,
  .grid-2,
  .grid-3,
  .check-list.cols-2,
  .feature-list,
  .form-grid { grid-template-columns: 1fr; }

  .split-reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer-brand,
  .footer-contact { grid-column: span 2; }
  .numbered { grid-template-columns: 1fr; }
}

@media (max-width: 30em) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* Honour the OS reduced-motion setting everywhere. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
