/* telios.cm — blue, white and black; system fonts (no third-party requests); AA contrast; reduced motion honoured. */
:root {
  --navy: #061634;
  --ink: #0b1220;
  --blue-900: #0a2f86;
  --blue-700: #0b5cad;
  --blue-600: #1466d6;
  --blue-500: #1d7cf2;
  --blue-100: #e6f0fd;
  --blue-50: #f3f7fd;
  --grey-700: #3e4a5c;
  --grey-500: #5f6b7d;
  --grey-300: #cfd7e3;
  --grey-200: #e3e8ef;
  --white: #ffffff;
  --ok: #1e7a3d;
  --warn: #9a5b00;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(6, 22, 52, 0.06), 0 8px 24px rgba(6, 22, 52, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 22, 52, 0.25);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
.lead { font-size: 1.15rem; color: var(--grey-700); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--blue-600); display: flex; align-items: center; gap: 8px; margin-bottom: 1em; }
.center { text-align: center; margin-top: 2rem; }
.note { font-size: 0.95rem; color: var(--grey-500); border-left: 3px solid var(--grey-300); padding-left: 12px; max-width: 80ch; }
.prose { max-width: 72ch; }
.icon { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; cursor: pointer; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue-600); color: var(--white); }
.btn--primary:hover { background: var(--blue-900); color: var(--white); }
.btn--ghost { border-color: var(--blue-600); color: var(--blue-700); background: var(--white); }
.btn--ghost:hover { background: var(--blue-50); color: var(--blue-900); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--link-light { color: var(--white); padding-inline: 4px; }
.btn--light { background: var(--white); color: var(--blue-900); }
.btn--light:hover { background: var(--blue-100); color: var(--blue-900); }
.btn--link-light:hover { color: var(--blue-100); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.5rem 0; }

/* Header and navigation */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--grey-200); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.97rem; }
.nav__links a:hover { background: var(--blue-50); color: var(--blue-900); }
.nav__links a[aria-current="page"] { color: var(--blue-700); box-shadow: inset 0 -2px 0 var(--blue-600); border-radius: 0; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions .btn { padding: 9px 16px; font-size: 0.93rem; white-space: nowrap; }
/* The other language, as a labelled pill: for a bilingual audience it is a feature, not a footnote. */
.nav__lang { font-weight: 650; font-size: 0.9rem; color: var(--blue-700); text-decoration: none; padding: 7px 12px; border: 1px solid var(--grey-300); border-radius: 999px; }
.nav__lang:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-900); }
.header__cta { display: none; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* ---- Hero slider: the dashboard illustration, then real screens; scroll-snap track, site.js adds arrows and dots ---- */
.slider { min-width: 0; }
.slider__track { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px;
  scrollbar-width: none; padding: 8px 4px 12px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid #9cc4ff; outline-offset: 4px; border-radius: var(--radius); }
.slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: center; }
.slide img { display: block; width: auto; max-width: 100%; height: auto; max-height: 75vh; margin-inline: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); background: var(--navy); }
.slider__track { transition: height 0.3s ease; }
@media (prefers-reduced-motion: reduce) { .slider__track { transition: none; } }
.slide figcaption, .slide__text { display: grid; gap: 4px; padding-top: 14px; margin: 0; color: #d6e4fb; }
.slide figcaption strong, .slide__text strong { color: var(--white); font-size: 1.1rem; }
.slide--first .mock figcaption { display: block; padding-top: 0; }
.slide figcaption small { color: #b8cdf0; font-size: 0.82rem; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.slider__controls[hidden] { display: none; }
.slider__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.slider__arrow:hover { background: rgba(255, 255, 255, 0.12); }
.slider__play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #d6e4fb;
  font-size: 0.9rem; cursor: pointer; }
.slider__play:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.slider__dots { display: flex; gap: 2px; }
.slider__dot { width: 36px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.slider__dot::after { content: ""; position: absolute; inset: 19px 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
.slider__dot[aria-current="true"]::after { background: var(--white); }
.slider__arrow, .slider__play { flex: none; }
.slider__count { display: none; min-width: 56px; text-align: center; color: #d6e4fb; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .slider__controls { gap: 10px; }
  .slider__dots { display: none; }
  .slider__count { display: inline-block; }
}
.slider__arrow:focus-visible, .slider__dot:focus-visible, .slider__play:focus-visible { outline: 3px solid #9cc4ff; outline-offset: 2px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: inline-flex; margin-left: auto; padding: 9px 16px; font-size: 0.93rem; white-space: nowrap; }
  .nav__actions .btn--primary { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--grey-200); box-shadow: var(--shadow); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; gap: 12px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; }
  .nav__links a { padding: 12px; font-size: 1.05rem; }
  .nav__links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue-600); }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { justify-content: center; padding: 12px 16px; font-size: 1rem; }
  .nav__lang { text-align: center; }
  html:not(.js) .nav { display: flex; position: static; box-shadow: none; }
  html:not(.js) .nav-toggle { display: none; }
}

/* Hero and page heads */
.hero, .page-head { background: radial-gradient(1200px 500px at 85% -10%, rgba(29, 124, 242, 0.45), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 70%, #0d47a8 100%); color: var(--white); }
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__grid > *, .split > *, .grid > *, .modules > * { min-width: 0; }
.hero .eyebrow, .page-head .eyebrow { color: #9cc4ff; }
.hero .lead, .page-head .lead { color: #d6e4fb; }
.hero__note { font-size: 0.92rem; color: #b8cdf0; }
.page-head { padding: clamp(40px, 6vw, 72px) 0; }
.page-head h1 { max-width: 22ch; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* Sections, grids and cards */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--blue-50); }
.section--dark { background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 100%); color: var(--white); }
.section--dark .lead, .section--dark p { color: #cfdcf2; }
.section--dark .note { color: #b8cdf0; border-color: rgba(255, 255, 255, 0.3); }
.section__head { margin-bottom: 2.5rem; max-width: 760px; }
.grid { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(6, 22, 52, 0.06), 0 16px 36px rgba(6, 22, 52, 0.12); }
.card > .icon { color: var(--blue-600); margin-bottom: 12px; }
.card p { color: var(--grey-700); margin: 0; }
.card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); margin-bottom: 14px; flex: none; }
.card__icon--warn { background: #fff3dc; color: #a15c00; }
.card--model { padding: 32px; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--blue-600); margin-top: 3px; }
.section--dark .checks .icon { color: #7fb4ff; }
.checks--2 { grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.checks--roadmap .icon { color: var(--warn); }
@media (max-width: 720px) { .checks--2 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.showcase { display: flex; justify-content: center; margin-top: 2.5rem; }
.showcase .mock { max-width: 460px; width: 100%; }

/* Feature modules */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .modules { grid-template-columns: 1fr; } }
.module { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px; background: var(--white); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.module header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.module header > div { flex: 1; }
.module h3 { margin-bottom: 4px; }
.module__value { color: var(--grey-700); margin: 0; }
.module--featured { border: 2px solid var(--blue-600); }
.tag { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag--core { background: var(--blue-100); color: var(--blue-900); }
.tag--addon { background: #eef0f4; color: var(--grey-700); }
/* Store badges on the mobile app card: black like the stores' own; the App Store one is greyed until it is published. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border-radius: 10px;
  background: #000; color: var(--white); text-decoration: none; border: 1px solid #a6a6a6; }
.store__text { display: grid; line-height: 1.15; font-weight: 600; font-size: 1.05rem; }
.store__text small { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.02em; }
a.store:hover { background: #1a1a1a; color: var(--white); }
.store--soon { background: #f1f3f6; color: var(--grey-500); border-color: var(--grey-300); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-600); color: var(--white); font-weight: 750; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }
.steps--light { margin-bottom: 1.5rem; }

/* Product illustrations */
.mock { margin: 0; }
.mock figcaption { font-size: 0.82rem; color: inherit; opacity: 0.88; margin-top: 8px; text-align: right; }
.mock__window { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.8rem; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f8; border-bottom: 1px solid var(--grey-200); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e2; }
.mock__bar b { margin-left: 8px; font-size: 0.78rem; color: var(--grey-700); }
.mock__body { padding: 16px; }
.mock__title { font-weight: 750; font-size: 0.95rem; margin-bottom: 12px; }
.mock__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.mock__tile { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 10px; }
.mock__tile small { display: block; color: var(--grey-500); font-size: 0.68rem; line-height: 1.3; min-height: 2.6em; }
.mock__tile strong { font-size: 0.92rem; white-space: nowrap; }
.mock__tile em { font-style: normal; color: var(--grey-500); font-size: 0.68rem; margin-left: 3px; }
.mock__tile--warn strong { color: var(--warn); }
.mock__tile--accent { background: var(--blue-50); border-color: var(--blue-100); }
.mock__tile--accent strong { color: var(--blue-700); }
.mock__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; }
.mock__panel { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 10px; }
.mock__panel small { color: var(--grey-500); font-size: 0.7rem; }
.mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 84px; margin-top: 8px; }
.mock__chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-500), var(--blue-900)); }
/* Bar heights in the stylesheet, not inline, so the Content-Security-Policy can forbid inline styles. */
.mock__chart i:nth-child(1) { height: 42%; } .mock__chart i:nth-child(2) { height: 58%; } .mock__chart i:nth-child(3) { height: 51%; }
.mock__chart i:nth-child(4) { height: 73%; } .mock__chart i:nth-child(5) { height: 66%; } .mock__chart i:nth-child(6) { height: 88%; }
.mock__chart i:nth-child(7) { height: 79%; }
.mock__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.mock__list li { padding: 6px 8px; background: var(--blue-50); border-radius: 6px; font-size: 0.72rem; }
.mock__table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.mock__table th, .mock__table td { padding: 6px 8px; border-bottom: 1px solid var(--grey-200); text-align: right; }
.mock__table th:first-child, .mock__table td:first-child { text-align: left; }
.mock__table th { color: var(--grey-500); font-weight: 600; }
.mock__table tfoot td { font-weight: 750; border-bottom: 0; }
.mock__ok { color: var(--ok); font-weight: 700; }
.mock__slip { margin: 0; display: grid; gap: 4px; }
.mock__slip div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--grey-200); }
.mock__slip dt { color: var(--grey-700); }
.mock__slip dd { margin: 0; font-variant-numeric: tabular-nums; }
.mock__net { font-weight: 800; font-size: 0.9rem; border-bottom: 0 !important; color: var(--blue-900); }
.mock__foot { margin: 10px 0 0; font-size: 0.72rem; color: var(--grey-700) !important; }
.mock--wide .mock__window { transform: perspective(1400px) rotateY(-6deg); }
@media (max-width: 900px) { .mock--wide .mock__window { transform: none; } }
@media (max-width: 520px) { .mock__tiles { grid-template-columns: repeat(2, 1fr); } .mock__split { grid-template-columns: 1fr; } }

/* Calls to action and FAQ */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta > div:first-child { max-width: 680px; }
.cta--boxed { margin-top: 3rem; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 32px; }
.faq { max-width: 860px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 0 20px; background: var(--white); }
.faq summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--grey-700); padding-bottom: 12px; }

/* Solutions and deployment */
.segments { display: grid; gap: 20px; }
.segment { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.segment h2 { font-size: 1.4rem; }
.segment dl { display: grid; grid-template-columns: 1fr 1.4fr 0.8fr; gap: 24px; margin: 0; }
.segment dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--blue-700); margin-bottom: 8px; }
.segment dd { margin: 0; color: var(--grey-700); }
@media (max-width: 860px) { .segment dl { grid-template-columns: 1fr; gap: 16px; } }
.models { align-items: stretch; }
.model { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 90px; }
.model:first-child { background-image: linear-gradient(var(--blue-500), var(--blue-500)); background-size: 100% 5px; background-repeat: no-repeat; }
.model:last-child { background-image: linear-gradient(var(--navy), var(--navy)); background-size: 100% 5px; background-repeat: no-repeat; }
.model h3 { margin-top: 1em; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-500); }
.model .actions { margin-top: auto; padding-top: 1rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--grey-200); background: var(--white); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare caption { text-align: left; padding: 16px 20px 0; font-weight: 650; color: var(--grey-700); }
.compare th, .compare td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey-200); }
.compare thead th { background: var(--navy); color: var(--white); font-size: 0.95rem; }
.compare tbody th { font-weight: 650; width: 22%; color: var(--ink); }
.compare tbody tr:nth-child(even) { background: var(--blue-50); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--white); max-width: 72ch; }

/* Contact form */
.form { max-width: 880px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form > fieldset > legend { font-size: 1.3rem; font-weight: 750; margin-bottom: 1rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
@media (max-width: 680px) { .form__grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.field label, .choices legend { font-weight: 600; font-size: 0.95rem; }
.req { color: #b42318; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #98a4b5; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); width: 100%; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--blue-600); }
.field [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.field__error { color: #b42318; font-size: 0.9rem; margin: 0; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.choices { border: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
.choices legend { padding: 0; margin-bottom: 8px; width: 100%; }
.choice { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 500 !important; cursor: pointer; }
.choice input { margin: 0; width: 20px; height: 20px; accent-color: var(--blue-600); flex: none; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; }
.form__status[data-tone="ok"] { background: #e7f5ec; color: var(--ok); border: 1px solid #b7dfc4; }
.form__status[data-tone="error"] { background: #fdecea; color: #b42318; border: 1px solid #f5c2bd; }
.form__status[data-tone="info"] { background: var(--blue-50); color: var(--blue-900); border: 1px solid var(--blue-100); }
.form button[disabled] { opacity: 0.7; cursor: progress; }

/* Footer */
.footer { background: var(--ink); color: #c8d3e4; padding: 56px 0 24px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } .footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }
/* The site assistant (ADR-0287). */
.assistant { display: none; }
.js .assistant { display: block; position: fixed; right: 16px; bottom: 16px; z-index: 60; }
.assistant__open { box-shadow: var(--shadow-lg); }
.assistant__panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 32px)); display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--grey-200); overflow: hidden; }
.assistant__panel[hidden] { display: none; }
.assistant__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--navy); color: var(--white); }
.assistant__head h2 { margin: 0; font-size: 1rem; color: var(--white); }
.assistant__close { background: none; border: 0; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.assistant__log { flex: 1; overflow-y: auto; padding: 12px 16px; display: grid; gap: 8px; align-content: start; }
.assistant__msg { margin: 0; padding: 8px 12px; border-radius: 12px; font-size: 0.95rem; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 88%; }
.assistant__msg--bot { background: var(--blue-50); color: var(--ink); justify-self: start; }
.assistant__msg--user { background: var(--blue-600); color: var(--white); justify-self: end; }
.assistant__msg--wait { color: var(--grey-500); font-style: italic; }
.assistant__form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--grey-200); align-items: end; }
.assistant__form textarea { flex: 1; resize: none; font: inherit; font-size: 0.95rem; padding: 8px 10px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); }
.assistant__form .btn { padding: 10px 16px; }
@media print { .assistant { display: none !important; } }
.footer h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #c8d3e4; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__logo { background: var(--white); border-radius: 8px; padding: 6px 10px; width: 150px; margin-bottom: 12px; }
.footer__note { font-size: 0.85rem; color: #93a1b8; margin-top: 12px; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; color: #93a1b8; }

/* Motion: a short rise as sections enter, only for those who have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  /* Movement only, never hidden: content stays readable for slow devices, previews and readers that do not scroll. */
  .js .reveal { transform: translateY(12px); transition: transform 0.5s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
@media print {
  .header, .footer, .actions, .nav-toggle { display: none !important; }
  .hero, .page-head, .section--dark { background: none; color: var(--ink); }
}

/* Company details (footer, contact page, about page) */
.company { font-style: normal; display: grid; gap: 10px; }
.company p { margin: 0; }
.company__label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--grey-500); }
.company ul { list-style: none; margin: 2px 0 4px; padding: 0; }
.company__small { font-size: 0.9rem; color: var(--grey-500); }
.company--compact { margin-top: 16px; gap: 8px; }
.footer .company__label { color: #93a1b8; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.contact__aside { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.contact__aside h2 { font-size: 1.2rem; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact__aside { position: static; } }

/* People: illustrated avatars beside the roles and the team (drawn, not photographs). */
.avatar { display: block; flex: none; border-radius: 50%; }
.people { gap: 20px; }
.person { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.person h3 { margin-bottom: 4px; }
.person p { margin: 0; color: var(--grey-700); }
.avatar-group { display: inline-flex; }
.avatar-group .avatar--small { border: 3px solid var(--white); box-shadow: var(--shadow); }
.avatar-group .avatar--small + .avatar--small { margin-left: -12px; }
.team { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--blue-100); }
.team p { margin: 0; font-size: 0.95rem; color: var(--grey-700); }

/* Tablets and phones: a feature card's description runs the full width, under its icon, title and tag. */
@media (max-width: 1000px) {
  .module header { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
  .module header > div { display: contents; }
  .module header h3 { grid-column: 2; margin: 0; }
  .module header .tag { grid-column: 2; grid-row: 2; justify-self: start; }
  .module header .card__icon { grid-row: 1 / span 2; margin: 0; }
  .module__value { grid-column: 1 / -1; margin-top: 8px !important; }
}

/* Phones: tighter spacing, full-width actions, descriptions under the card heading, the comparison as cards. */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.05rem; }
  .section { padding: 44px 0; }
  .section__head { margin-bottom: 1.5rem; }
  .hero { padding: 36px 0 48px; }
  .hero__grid { gap: 32px; }
  .page-head { padding: 32px 0; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { justify-content: center; text-align: center; }
  .actions .btn--link-light { justify-content: center; }
  .card, .module, .segment, .person { padding: 18px; }
  .card--model, .model { padding: 22px; }
  .card:hover { transform: none; }
  .cta--boxed { padding: 22px; }
  .person { flex-direction: row; }
  .person .avatar { width: 64px; height: 64px; }
  .brand img { width: 118px; }
  .header__inner { min-height: 64px; }
  .table-wrap { overflow: visible; border: 0; box-shadow: none; background: none; }
  .compare { min-width: 0; }
  .compare caption { padding: 0 0 12px; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody tr { background: var(--white) !important; border: 1px solid var(--grey-200); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
  .compare tbody th { background: var(--navy); color: var(--white); width: auto; padding: 12px 16px; }
  .compare td { padding: 10px 16px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-700); margin-bottom: 2px; }
  .faq details { padding: 0 14px; }
  .contact__aside { padding: 20px; }
}

/* Work under way with partners: a name and what is being done, on cards. */
.partners { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.partner { display: grid; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--line, #e1e7ef); border-radius: 16px; background: #fff;
  box-shadow: 0 8px 24px -16px rgba(16, 24, 40, 0.25); }
.partner__name { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; color: var(--blue-700, #0a2f86); }
.partner__name a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.partner__name a:hover { text-decoration: underline; }

/* One site per institution type: the same components in the type's own colours. */
.type--microfinance { --navy: #052e16; --blue-900: #14532d; --blue-700: #166534; --blue-600: #15803d; --blue-500: #22c55e; --blue-100: #dcfce7; --blue-50: #f0fdf4; }
.type--credit-union { --navy: #042f2e; --blue-900: #134e4a; --blue-700: #115e59; --blue-600: #0f766e; --blue-500: #14b8a6; --blue-100: #ccfbf1; --blue-50: #f0fdfa; }
.type--bank { --navy: #0b1a2e; --blue-900: #12294a; --blue-700: #854d0e; --blue-600: #a16207; --blue-500: #ca8a04; --blue-100: #fef3c7; --blue-50: #fffbeb; }
.type--company { --navy: #1e1b4b; --blue-900: #312e81; --blue-700: #4338ca; --blue-600: #4f46e5; --blue-500: #6366f1; --blue-100: #e0e7ff; --blue-50: #eef2ff; }
.type--retail { --navy: #2a0f05; --blue-900: #7c2d12; --blue-700: #b03a0e; --blue-600: #c2410c; --blue-500: #ea580c; --blue-100: #ffedd5; --blue-50: #fff7ed; }
.type-site .hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--blue-500) 45%, transparent), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--blue-900) 70%, var(--blue-700) 100%); }
.type-site .hero .eyebrow { color: var(--blue-100); }
.type-site .hero .lead { color: rgba(255, 255, 255, 0.9); }
.type-site .hero__note { color: rgba(255, 255, 255, 0.78); }
.type-site .hero .btn--primary { background: var(--white); color: var(--blue-900); }
.type-site .hero .btn--primary:hover { background: var(--blue-100); color: var(--blue-900); }
.type-site .section--dark { background: linear-gradient(160deg, var(--navy) 0%, var(--blue-900) 100%); }
.type-site .section--dark .lead, .type-site .section--dark p { color: rgba(255, 255, 255, 0.88); }
.brand--type { align-items: center; gap: 10px; text-decoration: none; }
.brand__type { padding: 3px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-900); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.nav__all { color: var(--grey-700); font-weight: 550; font-size: 0.92rem; white-space: nowrap; text-decoration: none; }
.nav__all:hover { color: var(--blue-900); text-decoration: underline; }
.type-panel { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.type-panel__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--white); color: var(--blue-700); margin-bottom: 18px; }
.type-panel h2 { font-size: 1.35rem; margin-bottom: 0.8em; }
.type-panel .checks { margin: 0; }
.type-panel .checks .icon { color: var(--blue-100); }
.type-notyet .icon { color: var(--warn); }
.type-cards { grid-template-columns: repeat(3, 1fr); }
.type-also { margin: 1.5rem 0 0; color: var(--grey-700); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.type-card { display: flex; flex-direction: column; align-items: flex-start; background-image: linear-gradient(var(--blue-600), var(--blue-600)); background-size: 100% 4px; background-repeat: no-repeat; }
.type-card p { flex: 1; margin-bottom: 14px; }
.type-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-700); font-weight: 650; text-decoration: none; }
.type-card__link:hover { color: var(--blue-900); text-decoration: underline; }
@media (max-width: 760px) { .type-cards { grid-template-columns: 1fr; } }
@media print { .type-site .hero { background: none; } .type-site .section--dark { background: none; } .type-panel { box-shadow: none; } }

/* Core modules on the home page: a compact two-column list, not another wall of cards. */
.module-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.module-list li { display: flex; gap: 16px; align-items: flex-start; }
.module-list .card__icon { margin: 0; }
.module-list h3 { margin-bottom: 4px; }
.module-list p { margin: 0; color: var(--grey-700); }
@media (max-width: 720px) { .module-list { grid-template-columns: minmax(0, 1fr); } }

/* A feature card shows four points; the rest open on demand. */
.module__more summary { cursor: pointer; font-weight: 650; color: var(--blue-700); padding: 6px 0; list-style: none; }
.module__more summary::-webkit-details-marker { display: none; }
.module__more summary::before { content: "+ "; }
.module__more[open] summary::before { content: "– "; }
.module__more .checks { margin-top: 10px; }

/* A last card alone on its row spans the row instead of leaving a gap (desktop grids). */
@media (min-width: 1001px) {
  .grid--3 > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .grid--4 > :last-child:nth-child(4n + 1) { grid-column: 1 / -1; }
}
@media (min-width: 701px) {
  .modules > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Narrow phones: logo, "Request a demo" and the menu button share one row; the menu's word stays for screen readers. */
@media (max-width: 480px) {
  .header__inner { gap: 8px; }
  .brand img { width: 104px; }
  .header__cta { padding: 8px 12px; font-size: 0.86rem; }
  .nav-toggle { padding: 10px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}


/* ---- Checking an academy certificate (ADR-0281) ---------------------------------------------------------------- */
.verify { max-width: 720px; display: grid; gap: 20px; }
.verify__form { display: grid; gap: 8px; }
.verify__form label { font-weight: 700; }
.verify__row { display: flex; gap: 10px; flex-wrap: wrap; }
.verify__row input { flex: 1 1 280px; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 17px;
  letter-spacing: 0.04em; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); }
.verify__hint, .verify__about { margin: 0; color: var(--grey-500); font-size: 15px; }
.verify__result { border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--grey-200); background: var(--white); }
.verify__status { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.verify__result--checking .verify__status { margin: 0; color: var(--grey-500); font-weight: 600; }
.verify__result--valid { border-color: var(--ok); box-shadow: inset 6px 0 0 var(--ok); }
.verify__result--valid .verify__status { color: var(--ok); }
.verify__result--expired { border-color: var(--warn); box-shadow: inset 6px 0 0 var(--warn); }
.verify__result--expired .verify__status { color: var(--warn); }
.verify__result--revoked, .verify__result--bad { border-color: #a32020; box-shadow: inset 6px 0 0 #a32020; }
.verify__result--revoked .verify__status, .verify__result--bad .verify__status { color: #a32020; margin: 0; }
.verify__result--revoked dl { margin-top: 12px; }
.verify__result dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.verify__result dt { color: var(--grey-500); }
.verify__result dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .verify__result dl { grid-template-columns: 1fr; } .verify__result dd { margin-bottom: 6px; } }
