/* ==========================================================================
   telexy.com - single stylesheet
   Design tokens mirror Fusion.One's modern look (Frameworks/Journey fj-base.scss)
   and the 2026 Qpath brochure: navy -> teal gradient, cyan actions, sky hairlines,
   dark glass tiles, concentric ring motif, Segoe UI type.
   ========================================================================== */

:root {
  --navy-deep: #071b30;
  --navy: #0b2642;
  --cyan: #1fa9dc;
  --cyan-hover: #3cb8e6;
  --sky: #7bc0fd;
  --text: #eaf2fa;
  --muted: #a9c7e0;
  --line: rgba(123, 192, 253, .28);
  --line-strong: rgba(123, 192, 253, .6);
  --line-soft: rgba(255, 255, 255, .10);
  --tile: rgba(255, 255, 255, .07);
  --tile-hover: rgba(255, 255, 255, .12);
  --tile-active: rgba(31, 169, 220, .16);
  --gradient: linear-gradient(to bottom, #092741 0%, #092b45 45%, #0a415f 72%, #0f6987 90%, #1a7fa3 100%);
  --font: "Segoe UI", "Segoe WP", -apple-system, BlinkMacSystemFont, Roboto, Tahoma, Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .35);
  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --ease: cubic-bezier(.4, 0, .2, 1);
  /* stacking order: header > drawer > scrim > to-top button > page > rings > gradient */
  --z-header: 100;
  --z-drawer: 95;
  --z-scrim: 90;
  --z-float: 80;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* brand gradient behind everything; fixed so long pages keep the brochure's navy -> teal sweep */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--gradient);
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; color: #fff; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--cyan-hover); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; max-width: 62ch; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; padding: .5rem 1rem; background: var(--cyan); color: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* sprite icon (macros.njk icon()): sky-coloured, sized for tiles */
.icon { width: 44px; height: 44px; margin-bottom: 1rem; fill: currentColor; color: var(--sky); }

/* --------------------------------------------------------------------------
   Ring field (brochure cover / Fusion splash motif)
   -------------------------------------------------------------------------- */
.rings {
  position: fixed;
  left: 50%;
  top: 46vh;
  z-index: -1;
  width: min(2600px, 200vmax);
  height: min(2600px, 200vmax);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mask-image: radial-gradient(circle at center, transparent 0, transparent 90px, #000 240px, #000 820px, transparent 1300px);
}
.rings__field { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; animation: rings 7s linear infinite; }
.rings__field circle { fill: none; stroke: #fff; stroke-width: 1.5px; opacity: .11; }
@keyframes rings { from { transform: scale(1); } to { transform: scale(1.145); } }

/* infinite animations stop while the tab is hidden (site.js toggles .page-hidden) */
.page-hidden .rings__field, .page-hidden .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .rings__field { animation: none; } }

/* --------------------------------------------------------------------------
   Buttons, pills, chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn--primary { background: var(--cyan); color: #fff; box-shadow: 0 8px 24px rgba(31, 169, 220, .25); }
.btn--primary:hover { background: var(--cyan-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--line-strong); background: var(--tile-hover); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* square icon button: header controls, footer social links */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--tile-hover); border-color: var(--line); color: #fff; }

.pills, .chips, .tablist { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.chips--center, .tablist, .page-hero .pills { justify-content: center; }
.pill {
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(31, 169, 220, .12);
  color: var(--muted);
  font-size: .9rem;
}
.pill strong { color: #fff; font-weight: 700; }

/* chip: department links, and the workflow tabs (a label wrapping a radio) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tile);
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(31, 169, 220, .18); }
.chip:hover { background: var(--tile-hover); border-color: var(--line-strong); color: #fff; transform: translateY(-1px); }
.chip.is-active, .chip:has(input:checked) { background: var(--tile-active); border-color: var(--cyan); color: #fff; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(11, 38, 66, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 40px; height: 40px; flex: none; fill: currentColor; }
.brand__word { display: flex; flex-direction: column; line-height: 1; font-size: 1.35rem; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; }
.brand__word small { margin-top: .2rem; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: none; color: var(--sky); }

.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .85rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: color .15s, background-color .15s;
}
.site-nav__link:hover, .site-nav__link[aria-expanded="true"] { color: #fff; background: var(--tile); }
.site-nav__link[aria-current="page"], .site-nav__link.is-current { color: var(--cyan); }
.site-nav__link .chev { width: 14px; height: 14px; transition: transform .2s; }
.site-nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.site-nav__menu {
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  min-width: 250px;
  padding: .5rem;
  list-style: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-menu.is-open .site-nav__menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__menu a { display: block; padding: .55rem .8rem; border-radius: 4px; color: var(--text); font-weight: 500; }
.site-nav__menu a:hover { background: var(--tile-hover); color: #fff; }
.site-nav__menu a[aria-current="page"] { color: var(--cyan); }

.nav-burger { display: inline-flex; }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .nav-burger { display: none; }
}
@media (max-width: 640px) {
  .site-header__quote { display: none; }
  .brand__word { display: none; }
}

/* mobile drawer: hidden until .is-open (visibility keeps it out of the tab order while closed) */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(360px, 100%);
  overflow-y: auto;
  padding: 1rem 1.25rem 2rem;
  background: var(--navy-deep);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .25s var(--ease), visibility .25s;
}
.mobile-nav.is-open { visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li > a, .mobile-nav__label { display: block; padding: .8rem .5rem; font-weight: 600; color: #fff; border-bottom: 1px solid var(--line-soft); }
.mobile-nav__label { color: var(--cyan); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 0; padding-bottom: .3rem; }
.mobile-nav__group ul a { display: block; padding: .55rem .5rem .55rem 1.25rem; color: var(--muted); }
.mobile-nav__group ul a:hover { color: #fff; }
.mobile-nav a[aria-current="page"] { color: var(--cyan); }
.mobile-nav__cta { padding: 1.25rem .5rem 0; }
.mobile-nav__cta .btn { width: 100%; }
.nav-scrim { position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-scrim); background: rgba(4, 18, 31, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* search */
.search { position: relative; }
.search__panel {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  width: min(420px, calc(100vw - 2rem));
  padding: .75rem;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  /* the toggle sits left of the burger, so anchor the panel to the viewport instead */
  .search__panel { position: fixed; top: calc(var(--header-h) + .5rem); left: 1rem; right: 1rem; width: auto; }
}
.search__form { display: flex; gap: .5rem; }
.search__input {
  flex: 1;
  min-width: 0;
  padding: .6rem .85rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font: inherit;
}
.search__input::placeholder { color: rgba(255, 255, 255, .6); }
.search__input:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(31, 169, 220, .25); background: rgba(255, 255, 255, .14); }
.search__results { max-height: min(60vh, 420px); overflow-y: auto; }
.search__results:not(:empty) { margin-top: .6rem; border-top: 1px solid var(--line-soft); padding-top: .6rem; }
.search__item { display: block; padding: .55rem .7rem; border-radius: 4px; color: var(--text); }
.search__item:hover, .search__item:focus { background: var(--tile-hover); color: #fff; }
.search__item strong { display: block; font-size: .95rem; }
.search__item span { display: block; font-size: .82rem; color: var(--muted); }
.search__item mark { background: rgba(31, 169, 220, .3); color: #fff; border-radius: 2px; padding: 0 1px; }
.search__empty { padding: .8rem; color: var(--muted); font-size: .9rem; text-align: center; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding-top: clamp(1.5rem, 4vw, 3rem); }
.section-head { max-width: 780px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-head h2 { margin-bottom: .6rem; }
.section-head .lead { margin: 0 auto; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* glass tile (Fusion.One startboard tile) */
.tile {
  position: relative;
  padding: 1.5rem;
  background: var(--tile);
  border: 1px solid rgba(123, 192, 253, .30);
  border-radius: var(--radius);
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .2s var(--ease);
}
.tile:hover { background: var(--tile-hover); border-color: var(--line-strong); }
a.tile { display: block; color: var(--text); }
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile--card h3 { margin-bottom: .9rem; }
.tile__more { display: inline-block; margin-top: 1rem; color: var(--cyan); font-weight: 600; font-size: .9rem; }

.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 1.75rem; margin: .55rem 0; color: var(--muted); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(31, 169, 220, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%231fa9dc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* comparison table */
.compare { overflow: auto; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.compare thead th { border-top: 0; background: rgba(31, 169, 220, .14); color: #fff; font-weight: 600; }
.compare tbody th { width: 28%; color: var(--sky); font-weight: 600; }
.compare tbody td { color: var(--muted); }
.compare tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* numbered workflow steps */
.steps { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin-bottom: .75rem;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

/* radio-driven panels (site.js data-switch); the first panel is active without JS */
.tablist { margin-bottom: 1.75rem; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* --------------------------------------------------------------------------
   Workflow diagram (partials/diagram.njk): numbered steps on a ring around the Qpath hub,
   the brochure's "enterprise solution" spread redrawn in the site palette.
   Positions come from the template as --x/--y percentages of the 1100 x 760 stage.
   -------------------------------------------------------------------------- */
.diagram { padding: clamp(1rem, 3vw, 2rem); }
.wf { display: none; }
.wf.is-active { display: block; }
.wf__head { text-align: center; margin-bottom: .5rem; }
.wf__head h3 { font-weight: 400; color: var(--text); }
.wf__stage { position: relative; aspect-ratio: 1100 / 760; }
.wf__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wf__rings circle { fill: none; stroke: #fff; stroke-width: 1.5; opacity: .11; }
.wf__ring { fill: none; stroke: var(--cyan); stroke-width: 3; }
.wf__ring-glow { fill: none; stroke: var(--cyan); stroke-width: 14; opacity: .16; }
.wf__tick { stroke: var(--line-strong); stroke-width: 1.5; }
.wf__badge circle { fill: var(--navy); stroke: var(--cyan); stroke-width: 3; }
.wf__badge text { fill: #fff; font: 700 20px var(--font); text-anchor: middle; dominant-baseline: central; }
.wf__hub {
  position: absolute;
  left: 50%; top: 50%;
  width: 22%; /* radius 121 of the 1100-unit stage */
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(31, 169, 220, .22), rgba(11, 38, 66, .95) 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 12px rgba(31, 169, 220, .08), 0 0 70px rgba(31, 169, 220, .25);
  color: #fff;
}
.wf__mark { width: 42%; aspect-ratio: 1; fill: #fff; filter: drop-shadow(0 0 14px rgba(31, 169, 220, .5)); }
.wf__hub strong { font-weight: 300; font-size: clamp(.9rem, 1.8vw, 1.5rem); letter-spacing: .16em; text-transform: uppercase; }
.wf__system {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--navy-deep);
  color: var(--sky);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wf__steps { list-style: none; }
.wf__step {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 22%; /* a step anchored at 3 o'clock (radius 300 = 77%) must end inside the stage */
  /* --sx/--sy: unit direction from the centre; shifts the box so its inner edge touches the anchor */
  transform: translate(calc(-50% + var(--sx) * 50%), calc(-50% - var(--sy) * 50%));
  font-size: .86rem;
  line-height: 1.45;
  color: var(--muted);
}
.wf__step--left { text-align: right; }
.wf__step--center { text-align: center; }
.wf__num { color: var(--cyan); font-weight: 700; margin-right: .35rem; }

@media (max-width: 900px) {
  /* narrow screens: the hub on top, then the steps as a plain numbered list */
  .wf__stage { aspect-ratio: auto; }
  .wf__svg, .wf__system { display: none; }
  .wf__hub { position: static; transform: none; width: 150px; margin: 0 auto 1.5rem; }
  .wf__steps { display: grid; gap: .6rem; }
  .wf__step, .wf__step--left, .wf__step--center { position: static; width: auto; transform: none; text-align: left; display: flex; gap: .6rem; padding: .7rem .9rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
  .wf__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cyan); color: #fff; font-size: .8rem; margin: 0; }
}

/* KPI tiles */
.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 720px; margin: 2rem auto 0; }
.kpi { text-align: center; padding: 1.25rem 1rem; }
.kpi strong { display: block; font-size: 1.9rem; line-height: 1.1; color: #fff; }
.kpi span { color: var(--muted); font-size: .9rem; }

/* framed embeds (support / quote / demo) */
.frame { padding: .5rem; }
.frame iframe { display: block; width: 100%; border: 0; border-radius: 4px; background: #fff; }
.frame--form iframe { height: 800px; } /* cross-origin form cannot report its height */
.frame--video iframe { aspect-ratio: 16 / 9; height: auto; background: #000; }

/* long-form text (privacy policy) */
.prose h2 { font-size: 1.35rem; margin-top: 2.5rem; text-transform: none; letter-spacing: 0; }
.prose h3 { font-size: 1.1rem; color: var(--sky); margin-top: 1.75rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.prose li { margin: .35rem 0; }
.prose strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero__inner { max-width: 1000px; margin-inline: auto; }
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero .lead { margin-inline: auto; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.hero__features { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin: 2.5rem 0; list-style: none; }
.hero__features .tile { width: 190px; padding: 1.25rem .9rem; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: .92rem; line-height: 1.35; color: var(--text); }
.hero__features .icon { margin-bottom: .75rem; }
.hero__features .tile:hover { color: #fff; }

/* the hero's direct children rise in one after another */
.js .hero__inner > * { opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease) forwards; }
.js .hero__inner > :nth-child(1) { animation-delay: .1s; }
.js .hero__inner > :nth-child(2) { animation-delay: .25s; }
.js .hero__inner > :nth-child(3) { animation-delay: .4s; }
.js .hero__inner > :nth-child(4) { animation-delay: .55s; }
.js .hero__inner > :nth-child(5) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.page-hero { padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(2rem, 5vw, 3.5rem); }
.page-hero__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.page-hero .lead { margin-inline: auto; max-width: 80ch; }
.page-hero .pills { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Home sections
   -------------------------------------------------------------------------- */
/* about: rotating statements */
.rotator { position: relative; height: 2.6rem; margin: 0 auto clamp(2rem, 5vw, 3rem); overflow: hidden; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--cyan); }
.rotator__track { list-style: none; transition: transform .7s var(--ease); }
.rotator__item { height: 2.6rem; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 .5rem; }
@media (max-width: 640px) { .rotator, .rotator__item { height: 4rem; } .rotator__item { line-height: 1.3; } }

/* solutions grid: 7 tiles, four per row on wide screens (4 + 3, last row centred) */
.solutions-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; list-style: none; }
.solutions-grid > li { flex: 1 1 260px; max-width: 285px; display: flex; }
.solutions-grid .tile { width: 100%; }
.solutions-grid h3 { font-size: 1.15rem; }

/* clients marquee: the track holds the list twice and slides by one copy */
.marquee { --marquee-gap: 1.25rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--marquee-gap); width: max-content; list-style: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--marquee-gap) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > li[aria-hidden="true"] { display: none; }
}
.client-card { display: flex; align-items: center; justify-content: center; width: 200px; height: 84px; padding: .9rem 1.25rem; border-radius: var(--radius); background: #fff; }
.client-card--dark { background: #10294e; }
.client-card img { max-height: 44px; width: auto; object-fit: contain; }

/* testimonial */
.quote { max-width: 860px; margin-inline: auto; padding: clamp(1.75rem, 5vw, 3rem); text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 300; line-height: 1.4; color: #fff; }
.quote blockquote p::before { content: "\201C"; color: var(--cyan); font-weight: 700; margin-right: .1em; }
.quote blockquote p::after { content: "\201D"; color: var(--cyan); font-weight: 700; margin-left: .1em; }
.quote cite { display: block; font-style: normal; color: var(--sky); font-weight: 600; }
.quote cite span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }

/* call to action band */
.section--cta { padding-bottom: clamp(4rem, 10vw, 7rem); }
.cta { max-width: 820px; margin-inline: auto; text-align: center; }
.cta h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
.cta .lead { margin: 0 auto 1.75rem; }

/* partners */
.partner { display: flex; gap: 1.25rem; align-items: flex-start; }
.partner__logo { flex: none; width: 120px; padding: .6rem; background: #fff; border-radius: 4px; }
.partner h3 { font-size: 1.1rem; }
@media (max-width: 520px) { .partner { flex-direction: column; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--navy-deep); border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 3rem 0 2rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin: .4rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 1rem; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social .icon-btn { border-color: var(--line); }
.social .icon-btn:hover { border-color: var(--line-strong); }
.social .social__icon { width: 18px; height: 18px; fill: currentColor; } /* outranks .icon-btn svg */
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.25rem 0; border-top: 1px solid var(--line-soft); font-size: .85rem; }

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, visibility .2s, transform .2s, background-color .15s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cyan-hover); color: #fff; }

/* --------------------------------------------------------------------------
   Reveal on scroll (site.js adds .js once its observer is watching; without it everything is visible)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero__inner > * { animation: none; opacity: 1; transform: none; }
}
