/*
 * Adept Data Services. One stylesheet, no framework, no build step.
 * Mobile first. Colours and sizes are tokens on :root.
 */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --ink: #0b1f3a;
  --ink-2: #13294b;
  --text: #1c2b42;
  --muted: #56667f;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf1fb;
  --blue: #145dcc;
  --blue-dark: #0f4aa6;
  --coral: #ff4d6d;
  --coral-dark: #e23a5a;
  --teal: #0f9e8e;
  --teal-soft: #e3f6f3;
  --avio: #123a7a;
  --avio-green: #4fa82f;
  --avio-soft: #e8eef9;
  --amber: #c26a00;
  --amber-soft: #fdf1e2;

  --accent: var(--blue);
  --accent-soft: var(--bg-tint);

  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 16px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .08);
  --shadow-lg: 0 2px 6px rgba(11, 31, 58, .08), 0 24px 60px rgba(11, 31, 58, .16);
  --space: clamp(56px, 8vw, 104px);
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
}

/* Product colour themes. Set on <body>. */
.theme-avio { --accent: var(--avio); --accent-soft: var(--avio-soft); }
.theme-adeptis { --accent: var(--teal); --accent-soft: var(--teal-soft); }
.theme-bureau { --accent: var(--amber); --accent-soft: var(--amber-soft); }

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }

p, ul, ol, dl, figure, blockquote, table { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

strong { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
code { font-size: .9em; background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; }
mark.todo { background: #fff3a8; color: #6b4e00; padding: 0 .25em; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-dark); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-tint); color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--small { font-size: .9rem; padding: .6em 1.1em; }
.btn--large { font-size: 1.1rem; padding: 1em 1.7em; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.75em; }

/* ---------- Header and nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; padding: 12px 0; }
.brand__logo { width: auto; height: 40px; }

.nav-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: "";
  transition: transform .2s;
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { width: 100%; padding-bottom: 16px; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list li { margin: 0; border-top: 1px solid var(--line); }
.site-nav__list a {
  display: block; padding: 12px 0; color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 700;
}
.site-nav__list a[aria-current="page"] { color: var(--blue); }
.site-nav__note { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.site-nav__actions { display: flex; align-items: center; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.site-nav__phone { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }

@media (min-width: 1040px) {
  .nav-toggle { display: none !important; }
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav, .js .site-nav { display: flex; align-items: center; gap: 28px; width: auto; padding: 0; }
  .site-nav__list { display: flex; gap: 4px; }
  .site-nav__list li { border: 0; }
  .site-nav__list a { padding: 8px 12px; border-radius: 8px; font-size: .97rem; }
  .site-nav__list a:hover { background: var(--bg-soft); }
  .site-nav__list a[aria-current="page"] { background: var(--bg-tint); color: var(--ink); }
  .site-nav__note { display: none; }
  .site-nav__actions { padding: 0; border: 0; }
}

.breadcrumb ol { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding: var(--space) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: calc(var(--space) * .6) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { font-size: 1.15rem; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow--light { color: #9fc1ff; }
.eyebrow .mark { width: 18px; height: 18px; }

.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 46em; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(20, 93, 204, .35), transparent 60%),
              radial-gradient(900px 400px at -10% 110%, rgba(255, 77, 109, .18), transparent 60%),
              var(--ink);
  color: #c9d6ea;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero > .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 15em; }
.hero .lede { color: #c9d6ea; }
.hero a:not(.btn) { color: #fff; }
.hero .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn--secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero--product { padding-bottom: 0; }
.hero--product .shot { margin: clamp(40px, 6vw, 64px) 0 0; }
.hero--product .shot__frame { border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }

.hero__split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .hero__split { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
}

/* Page header for plainer pages */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 18em; }
.page-head--soft { background: var(--bg-soft); border-bottom: 1px solid var(--line); }

/* Two-route chooser on the home page */
.routes { display: grid; gap: 16px; }
.route {
  display: block; padding: 24px; border-radius: var(--radius); text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #c9d6ea;
  transition: background .15s, border-color .15s, transform .15s;
}
.route:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #c9d6ea; transform: translateY(-2px); text-decoration: none; }
.route__label { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9fc1ff; margin: 0 0 6px; }
.route__title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.3rem; margin: 0 0 6px; }
.route p:last-child { margin: 0; }
.route__arrow { color: var(--coral); }

/* ---------- Clients and badges ---------- */

.clients { padding: 32px 0; border-bottom: 1px solid var(--line); background: #fff; }
.clients__heading { text-align: center; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 600; }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; }
.clients__list li { margin: 0; }
.clients__list img { height: 44px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: opacity .15s, filter .15s; }
.clients__list img:hover { filter: none; opacity: 1; }

.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges li { margin: 0; }
.badges img { height: 52px; width: auto; border-radius: 6px; }
.badges--footer img { background: #fff; padding: 4px; height: 56px; }
.badges--footer li:last-child img { height: 40px; }

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card > :last-child { margin-bottom: 0; }
.card:has(a):hover { border-color: #c3cfe0; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__title { font-size: 1.15rem; margin-bottom: .4em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__label { font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.card p { color: var(--muted); }
.card__more { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue) !important; margin-top: 1em; }
.card__more::after { content: " \2192"; }
.card--post .card__label { color: var(--muted); letter-spacing: .02em; text-transform: none; font-family: var(--font-body); font-weight: 500; }

/* Product cards: a coloured top edge and the product mark */
.product-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px);
  border-top: 5px solid var(--pc, var(--blue)); box-shadow: var(--shadow);
}
.product-card--avio { --pc: var(--avio); }
.product-card--adeptis { --pc: var(--teal); }
.product-card--bureau { --pc: var(--amber); }
.product-card__logo { height: 44px; width: auto; align-self: flex-start; margin-bottom: 12px; color: var(--ink); }
.product-card__kind { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pc); margin: 0; }
.product-card h3 { font-size: 1.45rem; margin: 4px 0 6px; }
.product-card p { color: var(--muted); }
.product-card ul { color: var(--text); padding-left: 1.1em; margin-bottom: 1.4em; }
.product-card .actions { margin-top: auto; }

/* Feature list with ticks */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23145dcc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Areas grid on product hubs */
.areas { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 680px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .areas { grid-template-columns: repeat(3, 1fr); } .split .areas { grid-template-columns: repeat(2, 1fr); } }
.areas > div { background: #fff; padding: 26px; }
.areas h3 { font-size: 1.05rem; color: var(--accent); margin-bottom: .35em; }
.areas p { margin: 0; color: var(--muted); }

/* Module index on product hubs: big clickable rows */
.modules { display: grid; gap: 16px; }
@media (min-width: 820px) { .modules { grid-template-columns: repeat(2, 1fr); } }
.module-link {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start;
  padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.module-link:hover { border-color: #c3cfe0; box-shadow: var(--shadow); transform: translateY(-2px); }
.module-link__num {
  grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-head); font-weight: 800;
}
.module-link h3 { margin: 4px 0 0; font-size: 1.12rem; }
.module-link h3 a { color: var(--ink); text-decoration: none; }
.module-link h3 a::after { content: ""; position: absolute; inset: 0; }
.module-link p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Screenshots ---------- */

.shot { margin: 2em 0; }
.shot__frame {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg);
  padding-top: 30px;
}
.shot__frame::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px;
  background: #eef2f7; border-bottom: 1px solid var(--line);
}
.shot__frame::after {
  content: ""; position: absolute; top: 11px; left: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: #ff6159; box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #28c941;
}
.shot__frame img { width: 100%; height: auto; }
.shot figcaption { font-size: .92rem; color: var(--muted); margin-top: 12px; text-align: center; }
.shot--missing { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.hero .shot__frame { border-color: rgba(255, 255, 255, .15); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }

/* ---------- Article (prose) ---------- */

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 4px solid var(--accent); padding: .2em 0 .2em 1.2em; color: var(--ink); font-size: 1.1rem; }
.prose .shot { margin: 2.2em 0; }
@media (min-width: 1100px) {
  .prose .shot { margin-left: -60px; margin-right: -60px; }
}

.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--ink); }

/* Page with a sticky side nav (module pages) */
.with-aside { display: grid; gap: 48px; }
@media (min-width: 1040px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; }
  .aside__inner { position: sticky; top: 100px; }
}
.aside-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.aside-nav__title { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.aside-nav ul { list-style: none; padding: 0; margin: 0; }
.aside-nav li { margin: 0; }
.aside-nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .95rem; }
.aside-nav a:hover { background: var(--bg-soft); }
.aside-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.aside-nav + .aside-nav { margin-top: 16px; }

/* ---------- Callouts ---------- */

.inline-cta, .compare-teaser {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
  background: var(--accent-soft); border-radius: var(--radius); padding: 22px 26px; margin: 2.2em 0;
}
.inline-cta p, .compare-teaser p { margin: 0; flex: 1 1 320px; }
.compare-teaser { background: var(--bg-soft); border: 1px solid var(--line); }
.compare-teaser__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); margin-bottom: 4px !important; }

.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.6em 0; }
.callout > :last-child { margin-bottom: 0; }

/* Quote */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-family: var(--font-head); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); line-height: 1.4; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.quote blockquote p { margin: 0; }
.quote blockquote p::before { content: "\201C"; color: var(--coral); }
.quote blockquote p::after { content: "\201D"; color: var(--coral); }
.quote figcaption { color: var(--muted); font-weight: 600; }
.quote figcaption::before { content: "\2014\00a0"; }

/* Stats / proof row */
.proof { display: grid; gap: 20px; }
@media (min-width: 760px) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof__item { border-top: 3px solid var(--coral); padding-top: 16px; }
.proof__big { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1.2; margin: 0 0 6px; letter-spacing: -.02em; }
.proof__item p:last-child { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }

/* Split: text beside an image */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse > :first-child { order: 2; }
}
.split .shot { margin: 0; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--accent); font-weight: 600; transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 0 18px; color: var(--muted); }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- Team ---------- */

.team { display: grid; gap: 24px; }
@media (min-width: 680px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 100px; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; filter: grayscale(1); background: var(--bg-soft); }
.portrait { width: 100%; max-width: 360px; height: auto; border-radius: var(--radius); filter: grayscale(1); margin: 0 auto; box-shadow: var(--shadow-lg); }
.person__body { padding: 22px 24px 24px; }
.person h3 { margin-bottom: 2px; }
.person__role { color: var(--accent); font-weight: 600; margin-bottom: .8em; }
.person p:not(.person__role) { color: var(--muted); }
.person--featured { display: grid; }
@media (min-width: 860px) {
  .person--featured { grid-column: 1 / -1; grid-template-columns: 300px 1fr; }
  .person--featured img { height: 100%; aspect-ratio: auto; }
  .person--featured .person__body { padding: 36px 40px; align-self: center; }
}

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

.form { display: grid; gap: 18px; }
@media (min-width: 680px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1.5px solid #c8d2e0; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 93, 204, .15); outline: none; }
.field--error input, .field--error textarea, .field--error select { border-color: #c62828; }
.field__error { color: #b71c1c; font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c13; padding: 16px 20px; border-radius: var(--radius-sm); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form__small { font-size: .9rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 14px; }
.contact-list strong { display: block; font-family: var(--font-head); }

/* ---------- Bands ---------- */

.band--cta { background: var(--ink); color: #c9d6ea; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.band--cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 109, .35), transparent 70%); pointer-events: none;
}
.band__inner { display: grid; gap: 28px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.band--cta h2 { color: #fff; margin-bottom: .3em; }
.band--cta p { margin: 0; max-width: 40em; }
.band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 900px) { .band__actions { align-items: center; } }
.band__phone a { color: #fff; font-weight: 700; }

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

.site-footer { background: #071426; color: #9fb0c8; padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: #d6e0ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: grid; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 980px) { .site-footer__top { grid-template-columns: 1fr 2fr; gap: 64px; } }
.site-footer__logo { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 30em; }
.site-footer__nav { display: grid; gap: 32px; }
@media (min-width: 640px) { .site-footer__nav { grid-template-columns: repeat(3, 1fr); } }
.site-footer__heading { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.site-footer li { margin: 0 0 8px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer__legal { padding-top: 24px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-footer__legal p { margin: 0; max-width: 60em; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.site-footer__legal li { margin: 0; }
.site-footer .link-button { color: #d6e0ee; text-decoration: none; }

/* ---------- Consent banner ---------- */

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 520px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .95rem;
}
.consent p { margin: 0 0 12px; }
.consent__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn--ghost { color: var(--ink); }

/* ---------- Comparison ---------- */

.compare th[scope="col"]:nth-child(2) { color: var(--avio); }
.compare th[scope="col"]:nth-child(3) { color: var(--teal); }

/* ---------- Blog ---------- */

.post-meta { color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.post-meta a { color: var(--muted); }
.byline { display: flex; gap: 14px; align-items: center; margin-top: 20px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.byline p { margin: 0; line-height: 1.4; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 3em; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.author-box p { margin: 0 0 .5em; }

/* ---------- Style guide (development only) ---------- */

.logo-option { display: grid; gap: 20px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
@media (min-width: 900px) { .logo-option { grid-template-columns: 1.2fr 1.2fr .6fr; } }
.logo-option__dark { background: var(--ink); padding: 22px; border-radius: 10px; }
.logo-option img { height: 56px; width: auto; }
.logo-option__marks { display: flex; gap: 16px; align-items: center; }
.logo-option__marks img:last-child { height: 16px; }

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .band--cta, .consent, .breadcrumb, .aside { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
}
