/* ==========================================================================
   Adverro — home page styles
   Tokens follow design-tokens.json from the visual handoff.
   ========================================================================== */

/* Gilroy */
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Poppins Regular, used only for the mega menu descriptions. */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Design tokens: change type, colour and spacing for the whole site here.
   Headings and figures are fluid (clamp: phone size → desktop size).
   Fixed sizes that change on phones are overridden at the bottom of this file.
   assets/../styleguide.html shows every token.
   ========================================================================== */
:root {
  /* Type: family, weights, line heights, letter spacing */
  --font: "Gilroy", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --fw-regular: 500;      /* text: Gilroy Medium reads like a regular weight */
  --fw-medium: 600;       /* emphasis */
  --fw-semibold: 600;     /* menu items */
  --fw-bold: 700;         /* titles: Gilroy Bold */
  --crumb-top: 20px;      /* breadcrumb row offset from the top of a hero */
  --lh-display: 1.1;      /* hero titles */
  --lh-heading: 1.2;      /* headings */
  --lh-snug: 1.35;        /* card titles, short labels */
  --lh-text: 1.6;         /* compact text */
  --lh-body: 1.65;        /* default text */
  --lh-loose: 1.75;       /* long reading text */
  --ls-display: -0.025em;
  --ls-heading: -0.015em;
  --ls-eyebrow: 1.5px;

  /* Type scale */
  --fs-display: clamp(2.25rem, 1.3rem + 2.6vw, 3.125rem);  /* 36–50px  product page heroes */
  --fs-display-home: clamp(2.25rem, 1.35rem + 2.65vw, 3.1875rem); /* 36–51px  home page hero */
  --fs-h1: clamp(2.125rem, 1.3rem + 2.4vw, 3rem);          /* 34–48px  page titles */
  --fs-h1-sm: clamp(2rem, 1.3rem + 2vw, 2.625rem);         /* 32–42px  question, reference and legal titles */
  --fs-h2: clamp(1.75rem, 1.25rem + 1.5vw, 2.375rem);      /* 28–38px  section titles, docs titles */
  --fs-h3: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);           /* 24–32px  CTA and reading-page headings */
  --fs-h4: 1.5rem;        /* 24px  panel and layer headings */
  --fs-h5: 1.375rem;      /* 22px  sub-section headings */
  --fs-h6: 1.25rem;       /* 20px  card group headings */
  --fs-stat-xl: clamp(2.75rem, 2.2rem + 1.6vw, 3.5rem);    /* 44–56px  0 / 1 / 4 figures */
  --fs-stat-lg: clamp(2.125rem, 1.6rem + 1.6vw, 3rem);     /* 34–48px  calculator total */
  --fs-stat: clamp(1.625rem, 1.3rem + 0.9vw, 2rem);        /* 26–32px  metric figures */
  --fs-stat-sm: 1.5rem;   /* 24px  inline figures */
  --fs-price: 2.5rem;     /* 40px  plan prices */
  --fs-price-sm: 1.75rem;/* 28px  "Contact us" price */
  --fs-lg: 1.1875rem;     /* 19px  large text, item headings */
  --fs-lead: 1.15625rem;  /* 18.5px  hero and intro paragraphs (17.5px on phones) */
  --fs-body-lg: 1.15625rem; /* 18.5px  card headings, reading text */
  --fs-body: 1.09375rem;  /* 17.5px  default text */
  --fs-body-sm: 1.03125rem; /* 16.5px  card text, buttons */
  --fs-small: 0.96875rem; /* 15.5px  menus, tables, form labels */
  --fs-xs: 0.875rem;      /* 14px  captions, breadcrumbs, fine print */
  --fs-2xs: 0.8125rem;    /* 13px  console text, badges */
  --fs-eyebrow: 0.75rem;  /* 12px  uppercase section labels */
  --fs-micro: 0.6875rem;  /* 11px  tags, pills, illustration labels */
  --fs-nano: 0.625rem;    /* 10px  chart axes in illustrations */

  /* Colour: brand */
  --navy: #17324d;         /* headings, dark bands */
  --charcoal: #1e2833;     /* logo word and H1s */
  --accent: #256fca;       /* links, buttons, labels (logo mark is #096efd) */
  --accent-hover: #1e5fb0;
  --body: #526578;         /* body text */
  --muted: #6b7a8c;        /* breadcrumbs and other quiet text */
  --nav-text: #4f6175;     /* header links (was #64768a) */
  --white: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .7); /* labels on navy */

  /* Colour: surfaces and lines */
  --surface: #f4f8fc;      /* pale sections, panels */
  --footer-bg: #f5f6f8;    /* footer (light grey) */
  --pale: #fbfcfe;         /* console sidebar */
  --pale-2: #f6f9fd;       /* layer and thumbnail sidebars */
  --accent-tint: #e8f1fb;  /* icon tiles, pills, active items */
  --table-head: #eaf2fb;   /* table headers, hovered tiles */
  --wash-start: #eef5fd;   /* tinted card gradient */
  --wash-end: #e3eefa;
  --illus-end: #e6eef8;    /* illustration backdrop gradient end (starts at --surface) */
  --skeleton: #e8eef5;     /* placeholder bars */
  --border: #dce5ef;
  --border-accent: #b9d1ee;/* hovered and featured borders */
  --line-accent: #c9dcf2;  /* connectors, calculator rules */
  --field-border: #c9d9e9; /* form fields */
  --faint: #9aabbd;        /* placeholder outlines */
  --mark: #fff1b8;         /* search highlight */

  /* Colour: illustrated screens */
  --bezel: #0b1626;
  --screen-bright: #2a6fc9;
  --screen-hi: #1d4f9e;
  --screen-mid: #12346b;
  --screen-deep: #0c275a;
  --dark-panel: #121a24;
  --amber: #ffd25e;

  /* Colour: status */
  --ok: #1f9d6b;
  --warn: #d99a00;
  --down: #d64545;

  /* Layout */
  --container: 1200px;
  --gutter: 32px;
  --section: 104px;
  /* Corners: understated, so nothing reads as a pill or a bubble */
  --r-btn: 4px;           /* buttons */
  --r-tag: 4px;           /* pills, tags, counts */
  --r-box: 6px;           /* inputs, tiles, list items */
  --r-card: 8px;          /* cards, panels, photos */
  --radius: var(--r-card);
  --radius-img: var(--r-card);
  --shadow-card: 0 24px 60px -20px rgba(23, 50, 77, 0.28), 0 2px 8px rgba(23, 50, 77, 0.06);

  --header-h: 76px;
}

@media (max-width: 1024px) {
  :root { --section: 72px; --gutter: 24px; }
}
@media (max-width: 640px) {
  :root { --section: 64px; --gutter: 16px; --header-h: 64px; }
}

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}
h1 { color: var(--charcoal); }
/* Page and section titles in SemiBold (600, the maximum weight). */
h1, h2 { font-weight: var(--fw-bold); }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; stroke-width: 1.8; }
.icon--xs { width: 14px; height: 14px; stroke-width: 1.8; }

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

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-box);
  background: var(--navy); color: var(--white); font-weight: var(--fw-medium);
}
.skip-link:focus { top: 12px; color: var(--white); }

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

.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}
.section__title {
  font-size: var(--fs-h2);
  max-width: 60ch;
  text-wrap: pretty;
}
.section__head { margin-bottom: 56px; }
@media (max-width: 640px) { .section__head { margin-bottom: 40px; } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px;
  border-radius: var(--r-btn); border: 1.5px solid transparent;
  font: var(--fw-medium) var(--fs-body-sm)/1 var(--font);
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--surface); color: var(--accent-hover); }
.btn--sm { min-height: 36px; padding: 0 15px; font-size: var(--fs-small); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: var(--fw-medium); font-size: var(--fs-body-sm);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 20px -16px rgba(23, 50, 77, .35); }

.header__inner {
  display: flex; align-items: center; gap: 96px;
  height: var(--header-h);
}
.brand { display: inline-flex; flex: none; }
.brand img { width: 129px; height: auto; }
/* Header logo colour lives in assets/img/adverro-logo-header.png (uniform colour, no filter). */

.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 2px; } /* items sit 1px lower */
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border: 0; background: none; border-radius: var(--r-btn);
  font: var(--fw-regular) var(--fs-small)/1 var(--font); color: var(--nav-text);
  cursor: pointer;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--accent); background: var(--surface); }
.nav__link .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 10;
  min-width: 248px; padding: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item.is-open > .dropdown {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .15s ease, transform .15s ease;
}
@media (hover: hover) and (min-width: 900px) {
  .nav__item.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease; }
  .nav__item.has-dropdown:hover > .nav__link { color: var(--accent); background: var(--surface); }
}
.dropdown a {
  display: block; padding: 9px 12px; border-radius: var(--r-box);
  font-size: var(--fs-small); color: var(--navy);
}
.dropdown a:hover { background: var(--surface); color: var(--accent); }
.dropdown__tag {
  margin-left: 6px; padding: 2px 8px; border-radius: var(--r-tag);
  background: var(--surface); color: var(--body);
  font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: .02em;
}

.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__signin { font-size: var(--fs-small); font-weight: var(--fw-regular); color: var(--nav-text); }
.nav__signin:hover { color: var(--accent); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-box); background: var(--white); color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 899px) {
  .header__inner { gap: 40px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 16px var(--gutter) 32px;
    background: var(--white); border-top: 1px solid var(--border);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--border); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: var(--fs-body); border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: none; }
  .dropdown {
    position: static; display: none; min-width: 0; padding: 0 0 12px;
    border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__item.is-open > .dropdown { display: block; }
  .dropdown a { padding: 10px 12px; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav__signin { padding: 12px 4px; }
  .nav__actions .btn { width: 100%; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}
.hero__inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 640px; }
.hero__copy { width: 42%; padding: 72px 40px 88px 0; }
.hero__title {
  font-size: var(--fs-display-home);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
.hero__title em { display: block; font-style: normal; color: var(--charcoal); }
.hero__lead { margin-top: 24px; max-width: 34em; font-size: var(--fs-lead); color: var(--body); }
.hero__note { margin-top: 12px; font-size: var(--fs-body-sm); color: var(--body); opacity: .9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__visual {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 57%;
}
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 0%;
}
.hero__visual::after {
  /* soft edge where the photograph meets the copy column */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 340px;
  background: linear-gradient(90deg, rgba(244, 248, 252, 1) 0%, rgba(244, 248, 252, .82) 18%, rgba(244, 248, 252, .55) 40%, rgba(244, 248, 252, .25) 65%, rgba(244, 248, 252, .07) 85%, rgba(244, 248, 252, 0) 100%);
  pointer-events: none;
}
.hero__console {
  position: absolute; z-index: 2;
  left: 7%; bottom: 32px;
  width: 660px;
  /* Shown as a reduced "screenshot" of the console: scaled, not reflowed. */
  transform: scale(0.86);
  transform-origin: left bottom;
}

@media (max-width: 1180px) {
  .hero__copy { width: 46%; }
  .hero__visual { width: 54%; }
  .hero__console { left: 5%; transform: scale(0.8); }
}

@media (max-width: 1024px) {
  .hero__inner { min-height: 0; }
  .hero__copy { width: 100%; max-width: 640px; padding: 56px 0 48px; }
  .hero__visual { position: relative; top: auto; width: 100%; padding: 0 var(--gutter) 8px; }
  .hero__visual::after { display: none; }
  .hero__photo { position: relative; height: 380px; border-radius: var(--radius-img); }
  .hero__console { position: relative; left: auto; bottom: auto; width: auto; margin: -170px auto 0; max-width: 680px; padding: 0 16px; transform: none; zoom: 0.9; }
}
@media (max-width: 640px) {
  .hero__copy { padding: 40px 0 36px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__photo { height: 260px; }
  .hero__console { margin-top: -96px; padding: 0 8px; zoom: 1; }
}

/* Console (illustrative product UI) -------------------------------------- */

.console {
  display: grid; grid-template-columns: 148px minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: var(--fs-xs);
  color: var(--body);
}
.console__nav {
  padding: 18px 12px;
  border-right: 1px solid var(--border);
  background: var(--pale);
}
.console__brand { width: 60px; margin: 4px 0 18px 8px; }
.console__menu li {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px; margin-bottom: 2px; border-radius: var(--r-box);
  font-size: var(--fs-2xs); color: var(--body);
}
.console__menu li.is-active { background: var(--accent-tint); color: var(--accent); font-weight: var(--fw-medium); }
.console__main { padding: 18px 22px 20px; min-width: 0; }
.console__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.console__title { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-tag);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--fs-micro); font-weight: var(--fw-medium); color: var(--body); white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.console__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.console__stats div { min-width: 0; }
.console__stats dt { font-size: var(--fs-micro); }
.console__stats dd { margin: 0; font-size: var(--fs-h6); font-weight: var(--fw-medium); color: var(--navy); line-height: 1.3; }
.console__stats div { display: flex; flex-direction: column-reverse; }

.console__charts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 92px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.bars span { flex: 1; height: var(--h); min-width: 3px; border-radius: 2px 2px 0 0; background: var(--accent); opacity: .9; }
.bars span:nth-child(3n) { opacity: .7; }

.donut { display: flex; align-items: center; gap: 14px; }
.donut__ring { position: relative; width: 92px; height: 92px; }
.donut__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__ring circle { fill: none; stroke-width: 10; }
.donut__label {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--navy); line-height: var(--lh-display);
}
.donut__label small { font-size: var(--fs-nano); font-weight: var(--fw-regular); color: var(--body); }
.legend li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-micro); line-height: 1.9; }
.legend b { margin-left: auto; padding-left: 14px; font-weight: var(--fw-medium); color: var(--navy); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); }
.dot--warn { background: var(--warn); }
.dot--down { background: var(--down); }

@media (max-width: 640px) {
  .console { grid-template-columns: minmax(0, 1fr); }
  .console__nav { display: none; }
  .console__main { padding: 16px; }
  .console__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .console__charts { grid-template-columns: minmax(0, 1fr); }
  .donut { justify-content: flex-start; }
}

/* Metrics + customers ---------------------------------------------------- */

.metrics { padding-block: 64px; }
.metrics__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 4px 32px; border-left: 1px solid var(--border); }
.metrics__item:first-child { padding-left: 0; border-left: 0; }
.metrics__value { margin: 0; font-size: var(--fs-stat); font-weight: var(--fw-medium); color: var(--navy); line-height: var(--lh-heading); }
.metrics__label { margin-top: 6px; font-size: var(--fs-body-sm); }

@media (max-width: 860px) {
  .metrics__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .metrics__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .metrics { padding-block: 48px; }
  .metrics__item { padding: 0 0 0 16px; }
  .metrics__item:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* Home: the logo strip is the same boxed band as on the customers page, on white between the hero and Why SoC. */
/* Home customer strip: full-width blue band with a line above and below, logos without a box */
.customers { padding-block: 32px; background: var(--surface); border-block: 1px solid var(--border); }
.customers .logo-band { padding: 0; border: 0; border-radius: 0; background: none; }
.customers__label { margin: 0; font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--body); }
.customers__logos { display: flex; align-items: center; gap: 40px; }
/* Customer marks at 80% of the previous mockup size (handoff revision 1). */
.customers__logos img { height: 25.6px; width: auto; }

/* Fleet ------------------------------------------------------------------ */

.fleet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.fleet__copy p { margin-top: 20px; max-width: 30em; }
.fleet__console { grid-template-columns: 132px minmax(0, 1fr); }

.fleet-table { width: 100%; border-collapse: collapse; font-size: var(--fs-2xs); }
.fleet-table th {
  padding: 0 10px 10px; text-align: left;
  font-size: var(--fs-micro); font-weight: var(--fw-medium); color: var(--body);
  border-bottom: 1px solid var(--border);
}
.fleet-table td { padding: 11px 10px; border-bottom: 1px solid var(--border); color: var(--navy); white-space: nowrap; }
.fleet-table tr:last-child td { border-bottom: 0; }
.fleet-table td:first-child { white-space: normal; }
.fleet-table th:first-child, .fleet-table td:first-child { padding-left: 0; }
.fleet-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.fleet-table .status { display: inline-flex; align-items: center; gap: 7px; color: var(--body); }
.console__foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: var(--fs-micro); }

@media (max-width: 1024px) {
  .fleet__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .fleet__console { grid-template-columns: minmax(0, 1fr); }
  .fleet-table th:nth-child(2), .fleet-table td:nth-child(2) { display: none; }
  .fleet-table td, .fleet-table th { padding-inline: 6px; }
}

/* Value columns (0 / 1 / 4) ---------------------------------------------- */

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { padding: 0 40px; border-left: 1px solid var(--border); }
.value:first-child { padding-left: 0; border-left: 0; }
.value .value__num { margin: 0; font-size: var(--fs-stat-xl); font-weight: var(--fw-medium); line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.value h3 { margin-top: 20px; font-size: var(--fs-lg); }
.value p { margin-top: 12px; font-size: var(--fs-body-sm); }

@media (max-width: 860px) {
  .values { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .value { padding: 0; border-left: 0; }
  .value + .value { padding-top: 40px; border-top: 1px solid var(--border); }
}

/* Deployment ------------------------------------------------------------- */

.deploy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.deploy__item { display: flex; flex-direction: column; padding: 0 28px; border-left: 1px solid var(--border); }
.deploy__item:first-child { padding-left: 0; border-left: 0; }
.deploy__icon { display: flex; align-items: center; gap: 12px; height: 40px; margin-bottom: 20px; color: var(--accent); }
.deploy__icon .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.deploy__item h3 { font-size: var(--fs-body-lg); }
.deploy__item > p { margin-top: 10px; font-size: var(--fs-body-sm); }
.deploy__points { margin-top: auto; padding-top: 24px; font-size: var(--fs-small); }
.deploy__points li + li { margin-top: 4px; }
.deploy__points::before { content: ""; display: block; width: 32px; height: 1px; margin-bottom: 16px; background: var(--border); }

.deploy__item--roadmap h3, .deploy__item--roadmap .deploy__icon { color: var(--body); }
.deploy__item--roadmap .deploy__icon .icon { opacity: .75; }
.pill {
  display: inline-flex; padding: 3px 10px; border-radius: var(--r-tag);
  background: var(--accent-tint); color: var(--accent);
  font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: .04em; text-transform: uppercase;
}

@media (max-width: 1024px) {
  .deploy { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .deploy__item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .deploy { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .deploy__item { padding: 32px 0; border-left: 0; border-top: 1px solid var(--border); }
  .deploy__item:first-child { padding-top: 0; border-top: 0; }
  .deploy__item:last-child { padding-bottom: 0; }
}

/* Governance band -------------------------------------------------------- */

.governance { background: var(--navy); color: rgba(255, 255, 255, .78); }
.governance .eyebrow { color: var(--on-dark-muted); }
.governance .section__title { color: var(--white); max-width: 30ch; }
.gov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.gov__item .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--white); }
.gov__item h3 { margin-top: 18px; font-size: var(--fs-body); color: var(--white); line-height: 1.4; }
.gov__item p { margin-top: 10px; font-size: var(--fs-body-sm); line-height: var(--lh-text); }
.gov__note {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--fs-xs); color: var(--on-dark-muted);
}
.gov__note strong { font-weight: var(--fw-medium); color: var(--white); }

@media (max-width: 1100px) { .gov { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 640px) { .gov { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } .gov__note { margin-top: 40px; } }
@media (max-width: 400px) { .gov { grid-template-columns: minmax(0, 1fr); } }

/* Industries ------------------------------------------------------------- */

.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.industries--tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.industry--tile {
  padding: 22px 20px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); color: var(--navy);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.industry--tile > .icon { width: 32px; height: 32px; stroke-width: 1.5; color: var(--accent); }
.industry--tile h3 { margin-top: 14px; font-size: var(--fs-body); }
.industry--tile p { margin-top: 6px; font-size: var(--fs-small); color: var(--body); flex: 1; }
.industry--tile .link-arrow { margin-top: 14px; font-size: var(--fs-small); }
.industry--tile:hover { border-color: var(--border-accent); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(23, 50, 77, .35); }
/* Sector infographics (inline SVG built by tools/build_sectors.py) */
.sector__figure { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--radius-img); }
.fig-bg { fill: var(--surface); }
.fig-zone { fill: var(--white); stroke: var(--border); stroke-width: 1.5; }
.fig-zone-label { font-family: var(--font); font-size: 17px; font-weight: 600; fill: var(--navy); }
.fig-screen { fill: var(--accent); }
.fig-screen-inner { fill: var(--white); opacity: .28; }
.fig-wall-lines { stroke: var(--white); stroke-width: 1.5; opacity: .6; fill: none; }
.fig-caption { font-family: var(--font); font-size: 13px; font-weight: 500; fill: var(--body); }
.industry { display: flex; flex-direction: column; }
.industry__img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover;
  border-radius: var(--radius-img);
  background: var(--surface);
}
.industry h3 { margin-top: 20px; font-size: var(--fs-body-lg); }
.industry p { margin-top: 8px; font-size: var(--fs-body-sm); }
.industry .link-arrow { margin-top: 12px; }

@media (max-width: 1024px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .industries { grid-template-columns: minmax(0, 1fr); gap: 40px; } .industry__img { aspect-ratio: 16 / 9; } }

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

.faq-section { padding-top: 0; }
.section--surface + .faq-section, .governance + .faq-section { padding-top: var(--section); }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 4px;
  list-style: none; cursor: pointer;
  font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 4px 24px 44px; max-width: 52em; font-size: var(--fs-body-sm); }
.faq__answer p + p { margin-top: 10px; }

@media (max-width: 640px) {
  .faq summary { gap: 14px; font-size: var(--fs-body-sm); }
  .faq__answer { padding-left: 38px; }
}

/* Closing CTA ------------------------------------------------------------ */

.cta-section { padding-top: 0; }
.cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.cta__copy { padding: 56px; align-self: center; }
.cta__copy h2 { font-size: var(--fs-h3); color: var(--navy); }
.cta__copy p { margin-top: 14px; max-width: 32em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta__media { position: relative; min-height: 300px; }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }

@media (max-width: 860px) {
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta__media { order: -1; min-height: 220px; }
  .cta__copy { padding: 36px 28px 40px; }
}
@media (max-width: 640px) { .cta__actions .btn { flex: 1 1 100%; } }

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

.site-footer { padding-top: 72px; border-top: 1px solid var(--border); background: var(--footer-bg); font-size: var(--fs-small); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, max-content); gap: 40px 56px; } /* link columns sit at the right edge */
.footer__brand img { width: 111px; height: auto; }
.footer__brand p { margin-top: 18px; max-width: 26em; }
.footer__col h2 { font-size: var(--fs-body-sm); font-weight: var(--fw-bold); margin-bottom: 14px; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { color: var(--body); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-block: 24px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: var(--body); }
.footer__legal a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* ==========================================================================
   Platform page
   ========================================================================== */

/* Current section in the main nav */
.nav__item.is-current > .nav__link { color: var(--accent); }

/* Shared bits */
.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: var(--r-card);
  background: var(--accent-tint); color: var(--accent);
}
.icon-tile .icon { width: 32px; height: 32px; stroke-width: 1.6; }

.frame {
  padding: 24px;
  border: 1px solid var(--border); border-radius: var(--r-card);
  background: rgba(244, 248, 252, .7);
}
.section--surface .frame { background: rgba(255, 255, 255, .55); }
.frame__label { margin-bottom: 16px; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--navy); }
.frame__caption { margin-top: 12px; text-align: right; font-size: var(--fs-2xs); color: var(--body); }
@media (max-width: 640px) { .frame { padding: 14px; border-radius: var(--r-card); } }

/* Hero */
.p-hero { overflow: hidden; padding: 88px 0 56px; background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%); }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.p-hero__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.p-hero__title em { display: block; font-style: normal; color: var(--charcoal); }
.p-hero__lead { margin-top: 24px; max-width: 32em; font-size: var(--fs-lead); }

.systems {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 104px;
  width: 100%; max-width: 440px; margin-inline: auto;
}
.systems::before {
  content: ""; position: absolute; inset: -40px -56px; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-tint) 0%, rgba(232, 241, 251, .6) 60%, rgba(232, 241, 251, 0) 100%);
}
.systems__lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; }
.systems__lines * { fill: none; stroke: var(--line-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.system {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 150px; padding: 24px 14px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: 0 16px 32px -20px rgba(23, 50, 77, .35);
  text-align: center; font-size: var(--fs-body-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); color: var(--navy);
}
.system .icon { width: 44px; height: 44px; stroke-width: 1.5; color: var(--accent); }
.systems__hub {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 120px; height: 120px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 20px 40px -20px rgba(23, 50, 77, .4);
}
.systems__hub img { width: 64px; height: auto; }

@media (max-width: 1024px) {
  .p-hero { padding: 56px 0 40px; }
  .p-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 72px; }
}
@media (max-width: 640px) {
  .p-hero { padding: 40px 0 32px; }
  .systems { gap: 48px 64px; max-width: 340px; }
  .system { min-height: 124px; padding: 18px 10px; font-size: var(--fs-xs); }
  .system .icon { width: 34px; height: 34px; }
  .systems__hub { width: 92px; height: 92px; }
  .systems__hub img { width: 48px; }
}

/* Section tabs (in-page navigation) */
.p-tabs { position: sticky; top: var(--header-h); z-index: 30; padding: 12px 0; margin-top: -12px; }
.p-tabs__list {
  display: flex;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: 0 12px 28px -20px rgba(23, 50, 77, .35);
  overflow-x: auto; scrollbar-width: none;
}
.p-tabs__list::-webkit-scrollbar { display: none; }
.p-tabs__list li { flex: 1 0 auto; display: flex; }
.p-tabs__list li + li { border-left: 1px solid var(--border); }
.p-tabs__link {
  position: relative; flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 20px; white-space: nowrap;
  font-size: var(--fs-body-sm); color: var(--body);
}
.p-tabs__link .icon { width: 22px; height: 22px; color: var(--navy); }
.p-tabs__link:hover { color: var(--accent); }
.p-tabs__link.is-active { color: var(--accent); font-weight: var(--fw-medium); }
.p-tabs__link.is-active .icon { color: var(--accent); }
.p-tabs__link.is-active::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--accent);
}
@media (max-width: 640px) {
  .p-tabs__link { padding: 14px 16px; font-size: var(--fs-small); }
  .p-tabs__link .icon { width: 18px; height: 18px; }
}

.p-section { scroll-margin-top: calc(var(--header-h) + 72px); }

/* Feature sections */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feature__head { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.feature__title { font-size: var(--fs-h2); }
.feature__copy > p { max-width: 36em; }
.feature__sub { margin-bottom: 14px; font-size: var(--fs-h6); }

.checklist { margin-top: 28px; }
.checklist li { position: relative; padding: 7px 0 7px 40px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent-tint);
}
.checklist li::after {
  content: ""; position: absolute; left: 9px; top: 13px;
  width: 6px; height: 11px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.iconlist { margin-top: 28px; }
.iconlist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: center; }
.iconlist li + li { margin-top: 16px; }
.iconlist__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--r-card); background: var(--white); border: 1px solid var(--border); color: var(--accent);
}
.iconlist__icon .icon { width: 24px; height: 24px; }
.iconlist__text { padding: 4px 0 4px 20px; border-left: 1px solid var(--border); }

@media (max-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .feature__head { gap: 16px; }
  .icon-tile { width: 52px; height: 52px; border-radius: var(--r-card); }
  .icon-tile .icon { width: 26px; height: 26px; }
  .iconlist li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .iconlist__icon { width: 40px; height: 40px; }
  .iconlist__text { padding-left: 14px; }
}

/* Playlist illustration */
.playlist__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.playlist__bar .frame__label { margin: 0; }
.fake-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-btn);
  background: var(--accent); color: var(--white); font-size: var(--fs-2xs); font-weight: var(--fw-medium);
}
.fake-btn .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.playlist li {
  display: grid; grid-template-columns: 10px 76px minmax(0, 1fr) auto 14px; gap: 14px; align-items: center;
  padding: 10px 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-box);
  font-size: var(--fs-2xs); line-height: 1.45;
}
.playlist li + li { margin-top: 10px; }
.playlist strong { display: block; font-weight: var(--fw-medium); color: var(--navy); font-size: var(--fs-xs); }
.playlist__when { white-space: nowrap; }
.playlist__when b { display: block; font-weight: var(--fw-regular); color: var(--navy); }
.grip { width: 10px; height: 16px; background: radial-gradient(circle, var(--faint) 1.2px, transparent 1.6px) 0 0 / 5px 5.4px; }
.kebab { width: 14px; height: 16px; background: radial-gradient(circle, #6b7d90 1.5px, transparent 1.9px) center 0 / 14px 5.4px repeat-y; }
.thumb { display: grid; place-items: center; width: 76px; height: 46px; border-radius: var(--r-box); overflow: hidden; color: var(--white); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .icon { width: 22px; height: 22px; }
.thumb--video { background: linear-gradient(135deg, var(--screen-mid), var(--accent)); }
.thumb--video .icon { fill: currentColor; stroke: none; }
.thumb--weather { background: linear-gradient(160deg, #5aa5f0, var(--accent)); color: var(--amber); }
.thumb--weather .icon { stroke-width: 2.2; }
.thumb--news {
  place-items: start; align-content: start; padding: 6px 8px; background: var(--accent);
  font-size: var(--fs-nano); font-weight: var(--fw-semibold); line-height: 1;
}
.thumb--news i { display: block; height: 2px; margin-top: 4px; background: rgba(255, 255, 255, .75); border-radius: 1px; }
.thumb--news i:nth-of-type(1) { width: 52px; margin-top: 7px; }
.thumb--news i:nth-of-type(2) { width: 44px; }
.thumb--news i:nth-of-type(3) { width: 30px; }
.playlist__add {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 14px; padding: 16px; border: 1.5px dashed var(--border); border-radius: var(--r-box);
  font-size: var(--fs-xs); color: var(--navy);
}
.playlist__add span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--white); }
.playlist__add .icon { width: 14px; height: 14px; stroke-width: 2.2; }
@media (max-width: 480px) {
  .playlist li { grid-template-columns: 64px minmax(0, 1fr); }
  .playlist .grip, .playlist .kebab, .playlist__when { display: none; }
  .thumb { width: 64px; height: 40px; }
}

/* Pairing screen illustration */
.pairing {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 11; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(100deg, #d9e1ea 0%, #e7ecf2 55%, #eef2f6 72%, #f7f9fb 100%);
}
.pairing::before {
  /* window light on the right-hand wall */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 24%;
  background:
    linear-gradient(90deg, rgba(23, 50, 77, .08) 0 2px, transparent 2px) 0 0 / 33% 100%,
    linear-gradient(180deg, #f4f7fa, #dde5ee);
}
.pairing::after {
  /* floor shadow */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%;
  background: linear-gradient(180deg, rgba(23, 50, 77, 0), rgba(23, 50, 77, .12));
}
.pairing__tv {
  position: absolute; z-index: 1; left: 7%; top: 11%; width: 66%; aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2cqi;
  padding: 4cqi; text-align: center; color: var(--white);
  background: radial-gradient(120% 90% at 30% 20%, var(--screen-hi) 0%, #123676 55%, var(--screen-deep) 100%);
  border: 1.4cqi solid var(--bezel); border-radius: 1cqi;
  box-shadow: 0 6cqi 8cqi -4cqi rgba(11, 22, 38, .55);
}
.pairing__tv img { width: 34%; height: auto; }
.pairing__tv p { max-width: 24em; font-size: max(10px, 2.6cqi); line-height: var(--lh-snug); opacity: .9; }
.pairing__code { font-size: 6.4cqi; font-weight: var(--fw-medium); letter-spacing: .32em; margin-right: -.32em; line-height: 1; }

/* Console variants */
.console--wide { grid-template-columns: 150px minmax(0, 1fr); }
/* Documentation hub hero: a smaller console beside the copy */
@media (min-width: 1025px) {
  .page-hero--docs .frame { width: 100%; max-width: 440px; justify-self: end; padding: 16px; }
  .page-hero--docs .console--wide { grid-template-columns: 116px minmax(0, 1fr); }
  .page-hero--docs .console__nav { padding: 14px 8px; }
  .page-hero--docs .console__main { padding: 14px 16px; }
  .page-hero--docs .fleet-table td { padding-top: 8px; padding-bottom: 8px; }
}
.console__select {
  display: inline-flex; align-items: center; gap: 18px; padding: 6px 10px;
  border: 1px solid var(--border); border-radius: var(--r-box); font-size: var(--fs-micro); color: var(--body);
}
.console__select .icon { width: 12px; height: 12px; }

.uptime { display: flex; align-items: center; gap: 28px; margin-bottom: 18px; }
.uptime .donut__ring { width: 120px; height: 120px; }
.uptime .donut__label { font-size: var(--fs-h6); }
.uptime .donut__label small { font-size: var(--fs-micro); }
.uptime .legend { flex: 1; max-width: 180px; }
.uptime .legend li { font-size: var(--fs-2xs); line-height: 2.1; }

.chart { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 8px; }
.chart__y { display: flex; flex-direction: column; justify-content: space-between; height: 92px; font-size: var(--fs-nano); text-align: right; }
.chart .bars { height: 92px; gap: 3px; padding-bottom: 0; }
.chart__x { grid-column: 2; display: flex; justify-content: space-between; font-size: var(--fs-nano); }

.settings-list { border: 1px solid var(--border); border-radius: var(--r-box); }
.settings-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; gap: 12px; align-items: center;
  padding: 13px 14px; font-size: var(--fs-2xs); color: var(--navy);
}
.settings-list li + li { border-top: 1px solid var(--border); }
.settings-list span { color: var(--body); text-align: right; }
.settings-list .on { display: inline-flex; align-items: center; gap: 7px; }
.settings-list .icon { width: 12px; height: 12px; color: var(--body); }

.console__count { font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.device-table td:first-child { font-family: var(--font-mono); font-size: var(--fs-micro); }
.device-table td:nth-child(2) { white-space: normal; }
.device-table .status { font-size: var(--fs-nano); font-weight: var(--fw-medium); letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 640px) {
  .console--wide { grid-template-columns: minmax(0, 1fr); }
  .uptime { gap: 18px; }
  .uptime .donut__ring { width: 96px; height: 96px; }
  .device-table th:nth-child(2), .device-table td:nth-child(2) { display: table-cell; }
  .device-table td { white-space: normal; }
}

/* Architecture layers */
.p-intro { margin-top: 18px; max-width: 40em; font-size: var(--fs-body-lg); }
.layers { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.layer {
  position: relative;
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
}
.layer + .layer::before {
  /* dotted connector from the previous layer */
  content: ""; position: absolute; left: 63px; top: -29px; height: 28px;
  border-left: 2px dotted var(--accent);
}
.layer + .layer::after {
  content: ""; position: absolute; left: 61px; top: -33px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.layer__intro {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 32px 28px; border-radius: var(--r-card) 0 0 var(--r-card);
  background: linear-gradient(90deg, var(--pale-2) 0%, var(--pale) 100%);
  border-right: 1px solid var(--border);
}
.layer__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.layer__icon .icon { width: 32px; height: 32px; stroke-width: 1.5; }
.layer__num { display: block; margin-bottom: 4px; font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.layer__intro h3 { font-size: var(--fs-h4); font-weight: var(--fw-bold); }
.layer__intro p { margin-top: 10px; font-size: var(--fs-small); line-height: 1.55; }
.layer__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; align-content: center; padding: 32px; }
.layer__items--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layer__items li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.layer__items .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent); }
.layer__items strong { display: block; font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); line-height: var(--lh-snug); }
.layer__items span { display: block; margin-top: 2px; font-size: var(--fs-xs); line-height: 1.45; }

@media (max-width: 1024px) {
  .layer { grid-template-columns: minmax(0, 1fr); }
  .layer__intro { border-right: 0; border-bottom: 1px solid var(--border); border-radius: var(--r-card) var(--r-card) 0 0; }
  .layer__items--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .layer__intro { padding: 24px 20px; gap: 16px; }
  .layer__icon { width: 56px; height: 56px; }
  .layer__icon .icon { width: 26px; height: 26px; }
  .layer + .layer::before { left: 47px; }
  .layer + .layer::after { left: 45px; }
  .layer__items, .layer__items--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 20px; gap: 22px 16px; }
  .layer__items li { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
  .layer__items .icon { width: 24px; height: 24px; }
}
@media (max-width: 400px) {
  .layer__items, .layer__items--4 { grid-template-columns: minmax(0, 1fr); }
}

.feature__copy code { padding: 1px 6px; border-radius: 4px; background: var(--accent-tint); color: var(--navy); font-family: var(--font-mono); font-size: .875em; white-space: nowrap; }

/* ==========================================================================
   Platform sub-pages: documentation, displays, explainer, TCO, reference
   ========================================================================== */

.page-hero { overflow: hidden; padding: 88px 0 72px; background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.page-hero__title { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 20ch; }
.page-hero__lead { margin-top: 24px; max-width: 38em; font-size: var(--fs-lead); }
@media (max-width: 1024px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 0; }
}

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pills li {
  padding: 8px 14px; border-radius: var(--r-tag);
  background: var(--white); border: 1px solid var(--border);
  font-size: var(--fs-small); color: var(--navy);
}
.pills b { font-weight: var(--fw-medium); color: var(--accent); }

/* Section that follows a hero directly */
.section--flush { padding-top: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column;
  padding: 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-card);
}
.card .icon-tile { margin-bottom: 20px; }
.card h3 { font-size: var(--fs-body-lg); line-height: var(--lh-snug); }
.card p { margin-top: 10px; font-size: var(--fs-body-sm); }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
.card__num { display: block; margin-bottom: 14px; font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); color: var(--accent); }
.icon-tile--sm { width: 48px; height: 48px; border-radius: var(--r-card); }
.icon-tile--sm .icon { width: 24px; height: 24px; }
@media (max-width: 1024px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cards, .cards--2, .cards--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 22px; }
}

/* Notes and link rows */
.note {
  margin-top: 32px; max-width: 60em; padding: 24px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
}
.section--surface .note { background: var(--white); }
.note p + p { margin-top: 10px; }
.note strong { font-weight: var(--fw-medium); color: var(--navy); }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 20px; }
@media (max-width: 640px) { .note { padding: 20px; } }

/* Data table (stacks into cards on phones) */
.table-card { overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body-sm); }
.data-table th {
  padding: 10px 18px; text-align: left;
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--body);
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.data-table td { padding: 9px 18px; border-bottom: 1px solid var(--border); color: var(--navy); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: var(--fw-medium); }
.pkg {
  padding: 2px 8px; border-radius: var(--r-box); background: var(--accent-tint); color: var(--navy);
  font-family: var(--font-mono); font-size: var(--fs-xs);
}
@media (max-width: 640px) {
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; }
  .data-table tr { padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right; }
  .data-table td::before { content: attr(data-label); color: var(--body); text-align: left; }
  .data-table td:first-child { padding-bottom: 8px; font-size: var(--fs-body); text-align: left; }
  .data-table td:first-child::before { display: none; }
}

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 50%; background: var(--accent); color: var(--white);
  font-size: var(--fs-body-sm); font-weight: var(--fw-medium);
}
.step h3 { font-size: var(--fs-body-lg); }
.step p { margin-top: 10px; font-size: var(--fs-small); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; } .step { padding: 22px; } }

/* Two-column prose */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 72px; }
.split h3 { font-size: var(--fs-h5); }
.split p { margin-top: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; } }

/* Tabs (progressive enhancement: all panels show without JavaScript) */
.tabs__list {
  display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%;
  padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
}
.tabs__list[hidden] { display: none; }
.tabs__tab {
  padding: 10px 18px; border: 0; border-radius: var(--r-btn); background: none;
  font: var(--fw-regular) var(--fs-body-sm)/var(--lh-heading) var(--font); color: var(--body); cursor: pointer;
}
.tabs__tab:hover { color: var(--accent); }
.tabs__tab[aria-selected="true"] { background: var(--white); color: var(--accent); font-weight: var(--fw-medium); box-shadow: 0 2px 8px rgba(23, 50, 77, .08); }
.tabs__panel { margin-top: 24px; }
.tabs__panel[hidden] { display: none; }
.panel-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  padding: 36px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
}
.panel-grid h3 { font-size: var(--fs-h5); }
.panel-grid p { margin-top: 14px; }
.spec { margin: 0; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; align-self: start; }
.spec div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 8px 14px; font-size: var(--fs-small); }
.spec div + div { border-top: 1px solid var(--border); }
.spec dt { color: var(--body); }
.spec dd { margin: 0; font-weight: var(--fw-medium); color: var(--navy); }
@media (max-width: 860px) { .panel-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; } }
@media (max-width: 640px) { .tabs__tab { padding: 9px 12px; font-size: var(--fs-small); } .panel-grid { padding: 20px; } }

/* Navy band */
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section--navy .eyebrow { color: var(--on-dark-muted); }
.section--navy .section__title { color: var(--white); }
.band__text { margin-top: 20px; max-width: 46em; font-size: var(--fs-body-lg); }

/* Sidebar layouts (documentation, explainer) */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc__title { margin-bottom: 12px; font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--body); }
.toc__link { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--border); font-size: var(--fs-small); line-height: 1.4; color: var(--body); }
.toc__link:hover { color: var(--accent); }
.toc__link.is-active { border-color: var(--accent); color: var(--accent); font-weight: var(--fw-medium); }
.doc-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.doc-section + .doc-section { margin-top: 56px; }
.doc-section > h2 { margin-bottom: 20px; font-size: var(--fs-h4); }
.articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-card { padding: 22px 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.article-card h3 { font-size: var(--fs-body); line-height: 1.4; }
.article-card p { margin-top: 8px; font-size: var(--fs-small); line-height: var(--lh-text); }
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc__link { padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--r-tag); background: var(--white); }
}
@media (max-width: 640px) { .articles { grid-template-columns: minmax(0, 1fr); } }

/* Long-form article */
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose section + section { margin-top: 56px; }
.prose h2 { font-size: var(--fs-h3); }
.prose p { max-width: 40em; margin-top: 16px; font-size: var(--fs-lead); }
.prose .aside { padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--navy); }

/* SoC comparison illustration */
.soc-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.soc-card { padding: 24px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); text-align: center; }
.soc-card--soc { border-color: var(--border-accent); box-shadow: 0 20px 40px -28px rgba(31, 111, 197, .5); }
.soc-card__label { font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--body); }
.soc-card svg { width: 100%; height: auto; margin: 18px 0 14px; }
.soc-card p { font-size: var(--fs-small); font-weight: var(--fw-medium); line-height: 1.4; color: var(--navy); }
.soc-card--soc .soc-card__label { color: var(--accent); }
@media (max-width: 400px) { .soc-card { padding: 18px 12px; } }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: var(--fs-xs); font-weight: var(--fw-regular); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--body); font-weight: var(--fw-regular); }

/* Linked cards with an illustrated thumbnail */
a.card--link { color: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.card--link:hover { color: inherit; border-color: var(--border-accent); box-shadow: 0 16px 32px -24px rgba(23, 50, 77, .45); transform: translateY(-2px); }
a.card--link:hover h3 { color: var(--accent); }
.card__thumb {
  display: grid; place-items: center; height: 150px; margin: -12px -12px 20px;
  border-radius: var(--r-card); overflow: hidden; background: linear-gradient(160deg, #eef4fb, #e2ecf8);
}
@media (max-width: 640px) { .card__thumb { height: 130px; margin: -6px -6px 18px; } }

/* Mini illustrations used inside thumbnails */
.mini { font-size: var(--fs-nano); color: var(--navy); }
.mini--console { display: grid; grid-template-columns: 44px 150px; width: 194px; height: 108px; background: var(--white); border-radius: var(--r-box); box-shadow: 0 10px 24px -14px rgba(23, 50, 77, .45); overflow: hidden; }
.mini__side { display: grid; align-content: start; gap: 6px; padding: 12px 8px; background: var(--pale-2); border-right: 1px solid var(--border); }
.mini__side i { height: 6px; border-radius: 3px; background: #d6e2f0; }
.mini__side i.on { background: var(--accent); }
.mini__body { display: grid; align-content: start; gap: 8px; padding: 10px 12px; }
.mini__body b { font-weight: var(--fw-medium); }
.mini__body i { height: 8px; border-radius: 3px; background: var(--skeleton); }
.mini--tv .mini__screen {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 190px; height: 112px; border: 5px solid var(--bezel); border-radius: 4px;
  background: radial-gradient(120% 90% at 30% 20%, var(--screen-hi), var(--screen-deep)); color: var(--white);
}
.mini--tv b { font-weight: var(--fw-medium); font-size: var(--fs-micro); }
.mini--tv em { font-style: normal; letter-spacing: .2em; font-size: var(--fs-small); font-weight: var(--fw-medium); }
.mini--check { width: 180px; padding: 12px 14px; background: var(--white); border-radius: var(--r-box); box-shadow: 0 10px 24px -14px rgba(23, 50, 77, .45); }
.mini--check b { display: block; margin-bottom: 6px; font-weight: var(--fw-medium); font-size: var(--fs-micro); }
.mini--check li { position: relative; padding-left: 16px; line-height: var(--lh-loose); }
.mini--check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--faint); }
.mini--check li.done::before { border-color: var(--accent); background: var(--accent); }
.mini--glossary { display: flex; align-items: center; gap: 22px; }
.mini--glossary .icon { width: 64px; height: 64px; stroke-width: 1.4; color: var(--accent); }
.mini--glossary ul { display: grid; gap: 5px; }
.mini--glossary li { padding: 2px 12px; border: 1px solid var(--border-accent); border-radius: var(--r-tag); background: var(--white); text-align: center; }

/* Documentation layout */
.doc-side { position: sticky; top: calc(var(--header-h) + 24px); }
.doc-side .toc { position: static; }
.doc-search { position: relative; margin-bottom: 24px; }
.doc-search .icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--body); pointer-events: none; }
.doc-search input { font-size: var(--fs-small) !important;
  width: 100%; height: 46px; padding: 0 14px 0 42px;
  border: 1px solid var(--border); border-radius: var(--r-box); background: var(--white);
  font: var(--fw-regular) var(--fs-body-sm) var(--font); color: var(--navy);
}
.doc-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.toc__link { display: flex; align-items: center; gap: 10px; }
.toc__link .icon { width: 18px; height: 18px; flex: none; }
.doc-side .toc__link { padding: 9px 12px; border-left: 0; border-radius: var(--r-box); }
.doc-side .toc__link:hover { background: var(--surface); }
.doc-side .toc__link.is-active { background: var(--accent-tint); }

.doc-panel { padding: 36px 40px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.doc-panel--tint { background: var(--surface); }
.doc-panel > h2 { margin-bottom: 12px; }
.doc-section + .doc-section.doc-panel { margin-top: 32px; }
.doc-list li + li { border-top: 1px solid var(--border); }
.doc-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) 20px; gap: 20px; align-items: center; padding: 16px 0; color: var(--body); }
.doc-list__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.doc-panel--tint .doc-list__icon { background: var(--white); }
.doc-list__icon .icon { width: 26px; height: 26px; }
.doc-list strong { display: block; font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--navy); }
.doc-list a > span > span { display: block; margin-top: 4px; font-size: var(--fs-body-sm); line-height: var(--lh-text); }
.doc-list__go { width: 18px; height: 18px; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
.doc-list a:hover strong { color: var(--accent); }
.doc-list a:hover .doc-list__go, .doc-list a:focus-visible .doc-list__go { opacity: 1; transform: none; }
.doc-empty { margin-top: 32px; padding: 24px; border: 1px dashed var(--border); border-radius: var(--r-card); text-align: center; }
.note--icon { display: flex; align-items: center; gap: 18px; }
.note--icon > .icon { width: 36px; height: 36px; flex: none; color: var(--accent); stroke-width: 1.5; }
.note--icon strong { color: var(--accent); }

@media (max-width: 1024px) {
  .doc-side { position: static; }
  .doc-side .toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .doc-side .toc__link { padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--r-tag); background: var(--white); }
}
@media (max-width: 640px) {
  .doc-panel { padding: 24px 18px; border-radius: var(--r-card); }
  .doc-list a { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .doc-list__icon { width: 44px; height: 44px; }
  .doc-list__icon .icon { width: 22px; height: 22px; }
  .doc-list__go { display: none; }
}

/* Anything toggled with the hidden attribute stays hidden, whatever its display rule */
[hidden] { display: none !important; }

/* Hero photograph */
.page-hero__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
@media (max-width: 1024px) { .page-hero__photo { aspect-ratio: 16 / 9; } }

/* Large white panels on a pale page */
.panel { padding: 44px 48px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.panel + .panel { margin-top: 32px; }
.panel__title { font-size: var(--fs-h2); }
.panel__sub { margin-top: 6px; font-size: var(--fs-h6); font-weight: var(--fw-medium); color: var(--navy); }
.panel__intro { margin: 14px 0 32px; max-width: 56em; font-size: var(--fs-lead); }
.panel .note { max-width: none; }
@media (max-width: 640px) { .panel { padding: 24px 18px; border-radius: var(--r-card); } }

.note--stack { align-items: flex-start; }
.note--stack > .icon { margin-top: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Steps without card chrome, separated by rules */
.steps--plain { gap: 0; }
.steps--plain .step { padding: 0 28px; background: none; border: 0; border-radius: 0; border-left: 1px solid var(--border); }
.steps--plain .step:first-child { padding-left: 0; border-left: 0; }
.step__top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.step__top .step__num { margin: 0; background: var(--accent-tint); color: var(--accent); }
.step__top .icon { width: 40px; height: 40px; stroke-width: 1.5; color: var(--accent); }
@media (max-width: 1024px) {
  .steps--plain { row-gap: 40px; }
  .steps--plain .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .steps--plain .step { padding: 0; border-left: 0; }
  .steps--plain .step + .step { padding-top: 32px; border-top: 1px solid var(--border); }
}

/* Workflow: numbered stages in a row with a short chain of the objects underneath */
.workflow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: none; }
.workflow li { position: relative; padding: 0 24px; border-left: 1px solid var(--border); }
.workflow li:first-child { padding-left: 0; border-left: 0; }
.workflow__num { display: block; margin-bottom: 14px; font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); color: var(--muted); }
.workflow .icon { width: 32px; height: 32px; stroke-width: 1.5; color: var(--accent); }
.workflow h3 { margin-top: 14px; font-size: var(--fs-body-lg); }
.workflow p { margin-top: 8px; font-size: var(--fs-small); }
.workflow__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--navy); }
.workflow__chain span { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); }
.workflow__chain i { width: 20px; height: 1px; background: var(--line-accent); }
@media (max-width: 1024px) {
  .workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .workflow li:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .workflow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .workflow li { padding: 0; border-left: 0; }
  .workflow li + li { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
}

/* Text beside a photograph or illustration */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.media-split + .media-split { margin-top: 88px; }
.media-split--flip > :first-child { order: 2; }
.media-split__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); }
.prose-p { margin-top: 16px; max-width: 38em; }
.feature__title + .prose-p { margin-top: 24px; }
@media (max-width: 1024px) {
  .media-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .media-split--flip > :first-child { order: 0; }
  .media-split + .media-split { margin-top: 64px; }
}

.guide-list { margin-top: 32px; }
.guide-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; }
.guide-list li + li { margin-top: 28px; }
.guide-list h3 { font-size: var(--fs-body-lg); color: var(--accent); }
.guide-list p { margin-top: 6px; font-size: var(--fs-body-sm); }

/* Video wall: one proportional picture behind a 3 x 3 panel grid; crop rather than stretch. */
.videowall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding: 0; aspect-ratio: 16 / 10; overflow: hidden;
  border: 10px solid var(--bezel); border-radius: var(--radius-img);
  background: url("../img/industry-aviation.webp") center / cover no-repeat; box-shadow: var(--shadow-card);
}
.videowall span { border: 2px solid var(--bezel); border-radius: 0; }

/* Supported displays: long installation instructions read as rows, not narrow columns. */
.panel--provisioning .panel__intro { max-width: none; }
.panel--provisioning .steps { display: block; }
.panel--provisioning .steps .step {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 24px;
  padding: 24px 0; border: 0; border-top: 1px solid var(--border);
}
.panel--provisioning .steps .step:last-child { border-bottom: 1px solid var(--border); }
.panel--provisioning .step__top { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin: 0; }
.panel--provisioning .step__top .icon { display: none; }
.panel--provisioning .step__num { width: auto; height: auto; border-radius: 0; background: none; font-size: var(--fs-h4); font-weight: var(--fw-semibold); }
.panel--provisioning .step h3 { grid-column: 2; font-weight: var(--fw-bold); }
.panel--provisioning .step p { grid-column: 2; margin-top: 6px; font-size: var(--fs-body); line-height: var(--lh-loose); }
@media (max-width: 640px) {
  .panel--provisioning .steps .step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 20px 0; }
  .panel--provisioning .step__num { font-size: var(--fs-lg); }
}

/* LED wall: picture with a fine pixel grid, fed from a processor */
.ledwall { display: grid; gap: 18px; }
.ledwall__screen {
  aspect-ratio: 16 / 9; border: 10px solid var(--bezel); border-radius: var(--radius-img);
  background:
    radial-gradient(circle, transparent 1px, rgba(11, 22, 38, .35) 1.4px) 0 0 / 4px 4px,
    url("../img/industry-corporate.webp") center / cover;
  box-shadow: var(--shadow-card);
}
.ledwall__chain { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--navy); }
.ledwall__chain span { padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-tag); background: var(--white); }
.ledwall__chain i { width: 28px; height: 2px; background: var(--accent); }

/* Tabs that span the container */
.tabs__list--wide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
.tabs__list--wide .tabs__tab { padding: 14px 12px; }
.tabs__list--wide .tabs__tab[aria-selected="true"] { background: var(--accent); color: var(--white); }
@media (max-width: 860px) { .tabs__list--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.spec--icons dt { display: flex; align-items: center; gap: 10px; }
.spec--icons dt .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
.panel-grid__note { grid-column: 1 / -1; margin: 0 !important; padding: 20px 24px; border-radius: var(--r-card); background: var(--surface); }

/* A row of displays on different operating systems */
.screen-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; }
.screen-row span {
  display: grid; place-items: center; aspect-ratio: 9 / 13;
  border: 5px solid var(--bezel); border-radius: var(--r-box);
  background: radial-gradient(120% 90% at 30% 20%, var(--screen-bright), var(--screen-mid));
  color: var(--white); font-size: var(--fs-xs); font-weight: var(--fw-medium);
  box-shadow: 0 16px 28px -18px rgba(11, 22, 38, .6);
}
.screen-row span:nth-child(odd) { aspect-ratio: 9 / 11; }
@media (max-width: 480px) { .screen-row span { font-size: var(--fs-micro); border-width: 3px; } }

.section--tight-top { padding-top: calc(var(--section) * .75); }

/* Explainer: alternating question-and-answer rows */
.qa > .media-split + .media-split { margin-top: 96px; }
@media (max-width: 1024px) { .qa > .media-split + .media-split { margin-top: 64px; } }

.illus {
  position: relative; display: grid; place-items: center; gap: 18px;
  aspect-ratio: 4 / 3; padding: 28px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-img);
  background: linear-gradient(160deg, var(--surface), var(--illus-end));
}
.illus-soc { position: relative; display: flex; align-items: flex-end; gap: 7%; width: 100%; }
.illus-soc__tv {
  position: relative; flex: 1; aspect-ratio: 16 / 10;
  border: 8px solid var(--bezel); border-radius: var(--r-box);
  background: url("../img/industry-corporate.webp") center / cover;
  box-shadow: 0 18px 30px -18px rgba(11, 22, 38, .55);
}
.illus-soc__chip {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-card);
  background: var(--white); border: 2px solid var(--accent); color: var(--accent);
}
.illus-soc__chip .icon { width: 30px; height: 30px; }
.illus-soc__box {
  position: relative; display: grid; place-items: center; width: 26%; aspect-ratio: 2 / 1;
  border: 2px dashed var(--faint); border-radius: var(--r-box); color: var(--faint);
}
.illus-soc__box .icon { width: 28px; height: 28px; }
.illus__labels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 18px; }
.illus__labels span { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--r-box); background: var(--white); font-size: var(--fs-2xs); text-align: center; }
.illus__labels b { display: block; font-weight: var(--fw-medium); color: var(--navy); }

.illus--dark { background: linear-gradient(160deg, #2a3442, var(--dark-panel)); border-color: var(--dark-panel); }
.illus-back { position: relative; width: 70%; aspect-ratio: 4 / 3; border-radius: var(--r-box); background: repeating-linear-gradient(90deg, #1b2430 0 6px, #202b38 6px 12px); box-shadow: inset 0 0 0 2px #2d3a4a; }
.illus-back__box { position: absolute; left: 30%; top: 38%; width: 38%; height: 22%; border-radius: 4px; background: #0d131b; box-shadow: inset 0 0 0 2px #3a4a5e; }
.illus-back__cable { position: absolute; width: 4px; border-radius: 2px; background: #0a0f15; }
.illus-back__cable--1 { left: 40%; top: 60%; height: 40%; }
.illus-back__cable--2 { left: 52%; top: 60%; height: 40%; transform: rotate(8deg); transform-origin: top; }
.illus-back__x {
  position: absolute; left: 49%; top: 49%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--white); box-shadow: 0 0 0 8px rgba(31, 111, 197, .25);
}
.illus-back__x .icon { width: 30px; height: 30px; stroke-width: 2.4; }

.illus--photo { padding: 0; }
.illus--photo img { width: 100%; height: 100%; object-fit: cover; }
.illus-weather {
  position: absolute; left: 7%; top: 10%;
  display: grid; gap: 4px; padding: 18px 22px; border-radius: var(--r-card);
  background: rgba(31, 111, 197, .92); color: var(--white);
}
.illus-weather .icon { width: 34px; height: 34px; }
.illus-weather b { font-size: var(--fs-stat-sm); font-weight: var(--fw-medium); line-height: 1; }
.illus-weather span { font-size: var(--fs-2xs); opacity: .85; }

.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brand-grid li {
  display: grid; place-items: center; min-height: 64px; padding: 10px;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface);
  font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); text-align: center;
}
.brand-grid li:nth-last-child(-n + 2) { background: var(--accent-tint); color: var(--accent); }
@media (max-width: 480px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.frame__caption--top { margin: 0 0 12px; }
.cost-lines li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) 30%; gap: 14px; align-items: center;
  padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-box);
  font-size: var(--fs-small); color: var(--navy);
}
.cost-lines li + li { margin-top: 8px; }
.cost-lines .icon { width: 20px; height: 20px; color: var(--accent); }
.cost-lines i { height: 12px; border-radius: var(--r-box); background: var(--skeleton); }

.page-hero__accent { display: block; margin-top: 10px; font-style: normal; font-size: .82em; color: var(--accent); }

/* TCO calculator */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 48px;
  padding: 40px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card);
}
.calc h2 { margin-bottom: 24px; font-size: var(--fs-h5); }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); gap: 16px; align-items: center; }
.calc__row + .calc__row { margin-top: 10px; }
.calc__row label { font-size: var(--fs-small); line-height: 1.4; }
.calc__row input, .calc__row select {
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--r-box); background: var(--white);
  font: var(--fw-regular) var(--fs-body-sm) var(--font); color: var(--navy);
}
.calc__row select { height: 38px; } /* the currency dropdown, a little shorter than the number fields */
.calc__row input:focus, .calc__row select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.calc__fx { margin-top: 14px; font-size: var(--fs-xs); color: var(--body); }
.calc__card { padding: 32px; border-radius: var(--r-card); background: linear-gradient(160deg, var(--wash-start), var(--wash-end)); }
.calc__total { font-size: var(--fs-stat-lg); font-weight: var(--fw-semibold); line-height: 1.05; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc__total-label { margin-top: 8px; font-size: var(--fs-body-lg); font-weight: var(--fw-medium); color: var(--navy); }
.calc__rows { margin: 24px 0 0; padding-top: 12px; border-top: 1px solid var(--line-accent); }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: var(--fs-body-sm); }
.calc__rows dd { margin: 0; font-weight: var(--fw-medium); color: var(--navy); font-variant-numeric: tabular-nums; }
.calc__per { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-accent); font-weight: var(--fw-medium); color: var(--navy); }
.calc__per output { font-size: var(--fs-stat-sm); font-weight: var(--fw-semibold); color: var(--accent); font-variant-numeric: tabular-nums; }
.calc__disclaimer {
  grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--r-card); background: var(--surface);
  font-size: var(--fs-xs); line-height: var(--lh-text);
}
.calc__disclaimer .icon { width: 22px; height: 22px; flex: none; color: var(--accent); }
@media (max-width: 1024px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .calc { padding: 22px 18px; }
  .calc__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .calc__row + .calc__row { margin-top: 14px; }
  .calc__card { padding: 22px 18px; }
}

.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 24px; padding: 22px 28px;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white);
  font-size: var(--fs-body-lg); font-weight: var(--fw-medium); color: var(--navy);
}
.link-card .icon { width: 20px; height: 20px; color: var(--accent); transition: transform .15s ease; }
.link-card:hover { color: var(--accent); border-color: var(--border-accent); }
.link-card:hover .icon { transform: translateX(3px); }

/* Operator reference */
/* Intro on the left, the four principles as a 2 x 2 grid on the right */
.principles { display: grid; grid-template-columns: minmax(0, .85fr) repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
.principles li:first-child { grid-row: span 2; padding-right: 56px; border-right: 1px solid var(--border); }
.principles .icon-tile { margin-bottom: 18px; border-radius: 50%; }
.principles h2, .principles h3 { font-size: var(--fs-body-lg); line-height: var(--lh-snug); }
.principles p { margin-top: 8px; font-size: var(--fs-small); line-height: var(--lh-text); }
.principles__lead { color: var(--navy); }
@media (max-width: 1024px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
  .principles li:first-child { grid-column: 1 / -1; grid-row: auto; padding-right: 0; border-right: 0; }
}
@media (max-width: 640px) {
  .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.library { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
/* Three cards per row; the live-data card takes the rest of its row and the help card the full width. */
.library > * { grid-column: span 4; }
.library .library__wide { grid-column: span 8; }
.library .help-card { grid-column: span 12; }
@media (max-width: 1024px) {
  .library > * { grid-column: span 6; }
  .library .library__wide, .library .help-card { grid-column: span 12; }
}
@media (max-width: 640px) {
  .library { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .library > *, .library .library__wide, .library .help-card { grid-column: auto; }
}
.card__thumb--dark { background: linear-gradient(160deg, #1d3a63, #0e2342); color: var(--white); }
.card__thumb--photo img { width: 100%; height: 100%; object-fit: cover; }
.icon--xl { width: 56px; height: 56px; stroke-width: 1.3; }
.thumb-icons { display: flex; gap: 22px; color: var(--accent); }
.card__thumb--dark .thumb-icons { color: var(--white); }
.thumb-icons .icon { width: 40px; height: 40px; stroke-width: 1.4; }
.thumb-icons .icon--xl { width: 60px; height: 60px; }
.nosignal { display: grid; justify-items: center; gap: 8px; font-size: var(--fs-small); font-weight: var(--fw-medium); }
.nosignal .icon { width: 40px; height: 40px; }
.thumb-tree { display: grid; justify-items: center; gap: 12px; color: var(--accent); }
.thumb-tree > .icon { width: 36px; height: 36px; }
.thumb-tree > span { display: flex; gap: 20px; }
.thumb-tree > span > span { display: grid; justify-items: center; gap: 4px; font-size: var(--fs-micro); font-weight: var(--fw-medium); color: var(--navy); }
.thumb-tree > span .icon { width: 28px; height: 28px; color: var(--accent); }

.help-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 32px; border: 1px solid var(--line-accent); border-radius: var(--r-card);
  background: linear-gradient(160deg, var(--wash-start), var(--wash-end));
}
.help-card h3 { font-size: var(--fs-h6); }
.help-card p { margin-top: 10px; font-size: var(--fs-body-sm); }
.help-card__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--white); }
.help-card__icon .icon { width: 38px; height: 38px; stroke-width: 1.6; }
@media (max-width: 640px) { .help-card { padding: 22px; } .help-card__icon { display: none; } }

/* ==========================================================================
   Deployment
   ========================================================================== */
.photo-tags { position: relative; }
.photo-tags__list { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.photo-tags__list li { padding: 5px 10px; font-size: var(--fs-2xs) !important; border-radius: var(--r-box); background: rgba(255, 255, 255, .94); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--navy); box-shadow: 0 6px 16px -10px rgba(11, 22, 38, .5); }

.panel--tint { background: var(--surface); }
.section--surface .panel--tint { background: var(--white); }
.compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.compare__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: end; }
.compare__intro .eyebrow { grid-column: 1 / -1; }
.compare__intro .prose-p { margin: 0; }
@media (max-width: 860px) { .compare__intro { grid-template-columns: minmax(0, 1fr); } .compare__intro .prose-p { margin-top: 16px; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.matrix { width: 100%; min-width: 680px; border-collapse: collapse; font-size: var(--fs-small); }
.matrix th, .matrix td { padding: 8px 14px; border-bottom: 1px solid var(--border); text-align: center; color: var(--navy); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix thead th { padding: 10px 14px; background: var(--table-head); font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--accent); white-space: nowrap; }
.matrix thead th .icon { display: inline-block; width: 24px; height: 24px; margin-right: 8px; vertical-align: -6px; }
.matrix thead td { background: var(--table-head); }
.matrix tbody th { text-align: left; font-weight: var(--fw-regular); color: var(--body); white-space: nowrap; }
.matrix tbody td, .matrix thead th { border-left: 1px solid var(--border); }
.matrix--compact thead th { font-size: var(--fs-xs); white-space: normal; }
.matrix--compact thead th .icon { display: block; margin: 0 auto 6px; }
.matrix--compact tbody th { font-weight: var(--fw-medium); color: var(--navy); white-space: normal; }

.model-cards { margin-top: 24px; }
.model-cards__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.model-cards__head .icon { width: 40px; height: 40px; stroke-width: 1.5; color: var(--accent); flex: none; }
.strip { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; padding: 16px 20px; border-radius: var(--r-card); background: var(--surface); font-size: var(--fs-body-sm); text-align: center; }
.strip .icon { width: 22px; height: 22px; color: var(--accent); flex: none; }

.resp { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; }
.table-scroll--card { box-shadow: var(--shadow-card); }
@media (max-width: 1100px) { .resp { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.question-cards .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; }
.question-cards .icon-tile { margin: 0; border-radius: 50%; }

/* Same platform diagram */
.same-diagram { display: grid; justify-items: center; }
.same-diagram__models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.same-diagram__models li { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--border); font-size: var(--fs-2xs); font-weight: var(--fw-medium); color: var(--navy); text-align: center; line-height: 1.3; }
.same-diagram__models .icon { width: 28px; height: 28px; color: var(--accent); }
.same-diagram__models small { display: block; font-size: var(--fs-micro); font-weight: var(--fw-regular); color: var(--body); }
.same-diagram__line { width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--accent) 0 4px, transparent 4px 8px); }
.same-diagram__hub { padding: 14px 24px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.same-diagram__hub img { width: 140px; }
.same-diagram__screens { display: flex; align-items: flex-end; justify-content: center; gap: 18px; width: 100%; }
.same-diagram__screens span { border: 5px solid var(--bezel); border-radius: var(--r-box); box-shadow: 0 16px 28px -18px rgba(11, 22, 38, .6); }
.s-portrait { width: 20%; aspect-ratio: 9 / 15; background: url("../img/airport-hero.webp") 94% 10% / 520% auto; }
.s-portrait--warm { background: url("../img/industry-retail-qsr.webp") 90% 0 / 300% auto; }
.s-wide { width: 44%; aspect-ratio: 16 / 9; background: url("../img/industry-transport.webp") center / cover; }

.link-tiles { margin-top: 24px; }
.link-tiles .card { flex-direction: row; align-items: center; justify-content: space-between; }
.link-tiles .card .link-arrow { margin: 0; padding: 0; }

/* Data residency */
.residency { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.residency > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: end; }
.residency > div:first-child > .eyebrow, .residency > div:first-child > .feature__title { grid-column: 1; }
.residency > div:first-child > .panel__sub { grid-column: 1; }
.residency > div:first-child > .prose-p { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
@media (max-width: 860px) { .residency > div:first-child { grid-template-columns: minmax(0, 1fr); } .residency > div:first-child > .prose-p { grid-column: 1; grid-row: auto; margin-top: 16px; } }
.residency__cards .card { padding: 16px 18px 22px; }
.residency__cards .card__thumb { height: 120px; margin: 0 0 16px; }
.residency__cards h3 { font-size: var(--fs-body); }
.residency__cards p { font-size: var(--fs-small); }
.checklist--sm { margin-top: 16px; }
.checklist--sm li { padding: 5px 0 5px 32px; font-size: var(--fs-xs); line-height: 1.5; }
.checklist--sm li::before { top: 6px; width: 20px; height: 20px; }
.checklist--sm li::after { left: 7px; top: 10px; width: 5px; height: 9px; }
@media (max-width: 1100px) { .residency { grid-template-columns: minmax(0, 1fr); } }

.band-note {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 32%); gap: 28px; align-items: center;
  margin-top: 32px; padding: 28px 0 28px 32px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white);
}
.band-note p { font-size: var(--fs-body-lg); color: var(--navy); }
.band-note__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.band-note__icon .icon { width: 36px; height: 36px; }
.band-note__photo { align-self: stretch; width: 100%; height: calc(100% + 56px); margin: -28px 0; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
@media (max-width: 860px) {
  .band-note { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .band-note__photo { display: none; }
}

/* On-premise */
.op-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.op-grid .panel { margin: 0; padding: 32px; }
.op-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.op-wide > .checklist { margin: 0; padding-left: 40px; border-left: 1px solid var(--border); }
.op-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.op-head .icon { width: 36px; height: 36px; stroke-width: 1.5; color: var(--accent); flex: none; }
.op-head h3 { font-size: var(--fs-h5); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 24px; padding: 20px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--border); }
.flow > span { display: grid; justify-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: var(--fw-medium); text-align: center; color: var(--navy); }
.flow > span .icon { width: 40px; height: 40px; stroke-width: 1.5; color: var(--accent); }
.flow > span b { font-weight: var(--fw-medium); }
.flow > i { height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 10px); }
.flow--split > span { padding: 14px; border: 1px solid var(--border); border-radius: var(--r-card); }
@media (max-width: 1024px) {
  .op-grid { grid-template-columns: minmax(0, 1fr); }
  .op-wide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .op-wide > .checklist { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .op-grid .panel { padding: 22px 18px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > i { width: 2px; height: 24px; justify-self: center; background: repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 10px); }
}

.end-cards { margin-top: 24px; }
.end-cards__dr { justify-content: space-between; background: linear-gradient(160deg, var(--surface), var(--illus-end)); }
.end-cards__dr .link-arrow { margin-top: 24px; padding: 0; }
.end-cards__cta p { margin-top: 0; }
.end-cards__cta .link-arrow { margin-top: 16px; padding: 0; }

/* ==========================================================================
   Security
   ========================================================================== */
.hero__actions .btn { white-space: normal; text-align: left; }
.card__kicker { margin-top: 4px !important; font-size: var(--fs-body-sm) !important; font-weight: var(--fw-medium); color: var(--accent); }

.control-cards .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; }
.control-cards .icon-tile { margin: 0; }
.control-cards h3 { font-size: var(--fs-h6); }

/* Outbound diagram */
.outbound { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 0 44px; align-items: center; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.outbound__screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border: 6px solid var(--bezel); border-radius: var(--r-box); background: radial-gradient(120% 90% at 30% 20%, var(--screen-bright), var(--screen-mid)); }
.outbound__screen img { width: 60%; }
.outbound__screen::after { content: ""; position: absolute; left: 100%; top: 50%; width: 22px; height: 2px; margin-left: 6px; background: var(--accent); }
.outbound__list { position: relative; display: grid; gap: 10px; padding-left: 22px; border-left: 2px solid var(--accent); }
.outbound__list li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-box); background: var(--surface); font-size: var(--fs-2xs); line-height: 1.4; }
.outbound__list li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 22px; height: 2px; background: var(--accent); }
.outbound__list li::after { content: ""; position: absolute; right: calc(100% + 1px); top: calc(50% - 4px); border: 5px solid transparent; border-left: 6px solid var(--accent); transform: translateX(100%); }
.outbound__list .icon { width: 26px; height: 26px; color: var(--accent); }
.outbound__list b { display: block; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--navy); }
@media (max-width: 640px) {
  .outbound { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 18px; }
  .outbound__screen { width: 70%; justify-self: center; }
  .outbound__screen::after { left: 50%; top: 100%; width: 2px; height: 22px; margin: 6px 0 0; }
}

.trio { margin-top: 48px; }
.trio .card__thumb { height: 180px; margin: -12px -12px 20px; }
.trio .card__thumb--dark img { width: 46%; }
.trio h3 { font-size: var(--fs-h6); }
.more-link { margin-top: 24px; }

/* Commitment figures */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.figures > div { display: flex; flex-direction: column; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.figures .icon { width: 40px; height: 40px; padding: 8px; margin-bottom: 18px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.figures dt { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); }
.figures dd { margin: 6px 0 0; font-size: var(--fs-xs); line-height: 1.55; }
.figures dd b { display: block; margin-bottom: 6px; font-size: var(--fs-h5); font-weight: var(--fw-medium); line-height: 1.25; color: var(--accent); }
@media (max-width: 1024px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .figures { grid-template-columns: minmax(0, 1fr); } }

/* Compliance */
.media-split--top { align-items: start; }
.media-split__photo--tall { aspect-ratio: auto; height: 100%; min-height: 420px; }
.cert-cards { margin-top: 28px; }
.cert-cards p { font-size: var(--fs-small); }
.cert-cards .icon-tile { border-radius: 50%; }
@media (max-width: 1024px) { .media-split__photo--tall { min-height: 0; aspect-ratio: 16 / 9; } }

/* Reviewer question cards */
.q-cards .card { padding: 22px 24px; }
.q-cards .card > .icon { width: 30px; height: 30px; margin-bottom: 16px; color: var(--accent); stroke-width: 1.5; }
.q-cards h3 { font-size: var(--fs-body-sm); font-weight: var(--fw-bold); }
.q-cards .link-arrow { padding-top: 14px; font-size: var(--fs-small); }

/* ==========================================================================
   Industries and customers
   ========================================================================== */
.sectors__title { margin-bottom: 20px; font-size: var(--fs-h4); color: var(--accent); }
.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.sectors a {
  display: grid; justify-items: center; align-content: center; gap: 12px; padding: 22px 12px; height: 100%; min-height: 148px;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface);
  font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); text-align: center;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.sectors a:hover { border-color: var(--border-accent); background: var(--table-head); color: var(--accent); transform: translateY(-2px); }
.sectors .icon { width: 36px; height: 36px; stroke-width: 1.5; color: var(--accent); }
@media (max-width: 1024px) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sectors a { padding: 16px 8px; font-size: var(--fs-small); } }

/* Compact sector bar under the header while the sector sections scroll (script in main.js) */
.sector-bar {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 35;
  background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 10px 24px -18px rgba(23, 50, 77, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.sector-bar.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .2s ease, transform .2s ease; }
.sector-bar__list { display: flex; gap: 8px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sector-bar__list::-webkit-scrollbar { display: none; }
.sector-bar__list li { flex: none; }
.sector-bar a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--border); border-radius: var(--r-tag); background: var(--surface);
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--navy); white-space: nowrap;
}
.sector-bar a .icon { width: 18px; height: 18px; stroke-width: 1.6; color: var(--accent); }
.sector-bar a:hover { border-color: var(--border-accent); color: var(--accent); }
.sector-bar a.is-active { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.nav-open .sector-bar { display: none; }
.sector .media-split__photo { aspect-ratio: 16 / 10; }
/* Sector page: the screen-layout chart in its own band under a photo hero */
.sector-where__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 56px; }
.sector-where__copy h2 { margin-top: 10px; font-size: var(--fs-h3); }
.sector-where__copy p { margin-top: 16px; max-width: 36em; }
.sector-where__zones { margin-top: 20px; }
.sector-where__zones li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--border); font-size: var(--fs-body-sm); }
.sector-where__zones li:last-child { border-bottom: 1px solid var(--border); }
.sector-where__zones strong { font-weight: var(--fw-medium); color: var(--navy); }
.sector-where__zones span { color: var(--body); white-space: nowrap; }
.sector-where .sector__figure { max-width: 520px; margin-left: auto; aspect-ratio: 16 / 10; border: 1px solid var(--border); }
@media (max-width: 1024px) {
  .sector-where__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; }
}
/* Sector pages: detail band in full-width blue with two open columns, related sectors on white,
   closing call to action as a blue-to-white band instead of a card */
main > .sector { background: var(--surface); }
main > .sector > .container { padding-top: var(--section); }
main > .sector .sector__grid { margin-top: 0; gap: 40px 72px; }
main > .sector .sector__box { padding: 0; border: 0; border-radius: 0; background: none; }
main > .sector + .section--surface { background: var(--white); }
main > .sector + .section--surface + .section { background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%); }
main > .sector + .section--surface + .section .cta { display: block; border: 0; border-radius: 0; background: none; }
main > .sector + .section--surface + .section .cta__copy { padding: 0; }
.sector__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.sector__box { padding: 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.section--surface .sector__box { background: var(--white); }
.sector__box > h3, .sector__box > h2 { margin-bottom: 20px; font-size: var(--fs-h6); }
.sector-group { margin-top: 28px; }
.sector-group__title { margin-bottom: 12px; font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--body); }
.page-hero__grid .sector__figure { border: 1px solid var(--border); }
.sector__covers li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 0; font-size: var(--fs-body-sm); }
.sector__covers li + li { border-top: 1px solid var(--border); }
.sector__covers .icon { width: 28px; height: 28px; stroke-width: 1.5; color: var(--accent); }
.sector__why li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 12px 0; }
.sector__why li + li { border-top: 1px solid var(--border); }
.sector__num { font-size: var(--fs-stat-sm); font-weight: var(--fw-semibold); line-height: var(--lh-display); color: var(--accent); }
.sector__why h4 { margin: 0; font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--navy); }
.sector__why p { margin-top: 4px; font-size: var(--fs-small); line-height: var(--lh-text); }
@media (max-width: 1024px) { .sector__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .sector__box { padding: 22px 18px; } .sector__why li { grid-template-columns: 44px minmax(0, 1fr); } .sector__num { font-size: var(--fs-h5); } }

.live-cards { margin-top: 48px; }
.board { margin-top: 20px; padding: 18px; border: 6px solid var(--bezel); border-radius: var(--r-box); background: radial-gradient(120% 90% at 30% 20%, var(--screen-hi), var(--screen-deep)); color: var(--white); overflow-x: auto; }
.board b { display: block; margin-bottom: 10px; font-size: var(--fs-lg); font-weight: var(--fw-medium); }
.board table { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); }
.board th { padding: 4px 8px 6px 0; text-align: left; font-weight: var(--fw-medium); color: var(--on-dark-muted); }
.board td { padding: 5px 8px 5px 0; border-top: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; }
.board .delayed { color: var(--amber); }
.template-demo > div { display: grid; grid-template-columns: 40% minmax(0, 1fr); margin-top: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.template-demo img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.template-demo span { display: grid; align-content: center; gap: 6px; padding: 18px; }
.template-demo small { font-size: var(--fs-micro); color: var(--body); }
.template-demo b { font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--navy); }
.template-demo code { width: fit-content; padding: 4px 10px; border-radius: var(--r-box); background: var(--accent-tint); color: var(--accent); font-family: var(--font-mono); font-size: var(--fs-lg); }
.template-demo em { font-style: normal; font-size: var(--fs-2xs); }

.info-rows { display: grid; gap: 16px; margin-top: 24px; }
.info-rows li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.info-rows .icon-tile { border-radius: 50%; }
.info-rows h3 { font-size: var(--fs-lg); }
.info-rows p { margin-top: 6px; font-size: var(--fs-body-sm); }
@media (max-width: 640px) { .info-rows li { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; } }

.differs .card { padding: 0 0 24px; overflow: hidden; }
.differs .card__thumb { height: 150px; margin: 0 0 18px; border-radius: 0; }
.differs .card > .icon { width: 28px; height: 28px; margin: 0 22px 10px; color: var(--accent); }
.differs h3, .differs p { margin-left: 22px; margin-right: 22px; }
.differs p { font-size: var(--fs-small); }
.callout { margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; background: var(--surface); font-size: var(--fs-lg); font-weight: var(--fw-medium); color: var(--navy); }
.cta__copy .eyebrow + h2 { margin-top: 0; }

/* Customers */
.logo-band { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 48px; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.logo-band img { height: 25.6px; width: auto; }
.count-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.count-diagram { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.count-diagram > div { display: grid; justify-items: center; gap: 12px; padding: 22px 16px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); text-align: center; font-size: var(--fs-small); }
.count-diagram b { font-weight: var(--fw-medium); color: var(--accent); }
.count-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: 78%; aspect-ratio: 16 / 9; padding: 3px; border-radius: 4px; background: #9fb6d2; }
.count-wall i { background: linear-gradient(160deg, var(--wash-start), #cfe0f3); }
.count-screens { display: flex; align-items: flex-end; gap: 14px; height: 74px; }
.count-screens i { display: block; border: 4px solid var(--navy); border-radius: 4px; background: linear-gradient(160deg, var(--wash-start), #cfe0f3); }
.count-screens i:first-child { width: 96px; height: 60px; }
.count-screens i:last-child { width: 40px; height: 74px; }
.count-timeline { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto !important; align-items: center; text-align: left !important; }
.count-timeline .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.count-timeline .icon--filled { background: var(--accent); color: var(--white); }
.count-timeline i { height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); }
.count-legend { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: var(--fs-xs); }
.count-legend b { color: var(--navy); }
@media (max-width: 1024px) { .count-grid { grid-template-columns: minmax(0, 1fr); } }

.section--pad-bottom { padding-bottom: var(--section); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.page-hero--plain { padding-bottom: 56px; }
/* Currency picker on the pricing page (script in assets/js/pricing.js) */
.price-currency { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 28px; }
.price-currency label { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--navy); }
.price-currency select {
  height: 36px; padding: 0 34px 0 12px; max-width: 100%;
  border: 1px solid var(--field-border); border-radius: var(--r-box); background-color: var(--white); color: var(--navy);
  font: var(--fw-regular) var(--fs-small)/var(--lh-heading) var(--font); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.price-currency select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.price-currency__note { flex-basis: 100%; font-size: var(--fs-xs); color: var(--body); }
@media (min-width: 861px) {
  /* Desktop: the picker is a second column at the top right of the pricing hero, level with the eyebrow. The container
     stays unpositioned so the breadcrumb row keeps its place at the top of the hero, like every other page. */
  .page-hero--plain .container { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 40px; align-items: start; }
  .page-hero--plain .container > :not(.price-currency) { grid-column: 1; }
  .page-hero--plain .price-currency { grid-column: 2; grid-row: 1 / span 3; margin: 0; justify-content: flex-end; }
  .page-hero--plain .price-currency__note { text-align: right; }
}
.page-hero--plain .page-hero__title { max-width: 18ch; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.plan--featured { border-color: var(--border-accent); background: linear-gradient(180deg, var(--wash-start), #f7fafd); box-shadow: var(--shadow-card); }
.plan__badge { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 5px 14px; border-radius: var(--r-tag); background: var(--accent); color: var(--white); font-size: var(--fs-2xs); font-weight: var(--fw-medium); white-space: nowrap; }
.plan h2 { font-size: var(--fs-h4); }
.plan__range { margin-top: 4px; }
.plan__price { display: flex; flex-direction: column; min-height: 96px; margin: 24px 0 8px; }
.plan__price b { font-size: var(--fs-price); font-weight: var(--fw-semibold); line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.plan__price span { margin-top: 6px; }
.plan__price .plan__contact { font-size: var(--fs-price-sm); line-height: var(--lh-heading); }
.plan .checklist { margin: 8px 0 28px; }
.plan .btn { width: 100%; margin-top: auto; }
@media (max-width: 1024px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 32px; } .plan__price { min-height: 0; } }

.section__head--sm { margin-bottom: 28px; }
.panel__sub--muted { font-weight: var(--fw-regular); color: var(--body); }
.matrix--left th, .matrix--left td { text-align: left; }
.matrix--left thead th { color: var(--navy); }

.faq--cards { display: grid; gap: 12px; border-top: 0; }
.faq--cards details { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.faq--cards summary { padding: 20px 24px; }
.faq--cards summary .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--accent-tint); }
.faq--cards .faq__answer { padding: 0 24px 22px 76px; }
@media (max-width: 640px) { .faq--cards summary { padding: 16px 18px; } .faq--cards .faq__answer { padding: 0 18px 18px 18px; } }

.includes .icon-tile { margin-bottom: 18px; }

.terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 48px; align-items: start; }
.terms__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 24px 0; }
.terms__list li:first-child { padding-top: 0; }
.terms__list li + li { border-top: 1px solid var(--border); }
.terms__list .icon-tile { border-radius: 50%; }
.terms__list h3 { font-size: var(--fs-lg); }
.terms__list h3 a { color: var(--navy); }
.terms__list h3 a:hover { color: var(--accent); }
.terms__list p { margin-top: 8px; font-size: var(--fs-body-sm); }
.billing { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.billing h3 { margin-bottom: 16px; font-size: var(--fs-lg); }
.billing__table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--r-box); font-size: var(--fs-body-sm); }
.billing__table th { padding: 7px 12px; background: var(--table-head); text-align: left; font-weight: var(--fw-medium); color: var(--navy); }
.billing__table td { padding: 7px 12px; border-top: 1px solid var(--border); color: var(--navy); font-variant-numeric: tabular-nums; }
.billing__table th:last-child, .billing__table td:last-child { text-align: right; }
.billing p { margin-top: 12px; font-size: var(--fs-xs); }
@media (max-width: 1024px) { .terms { grid-template-columns: minmax(0, 1fr); } .billing { position: static; order: -1; } }
@media (max-width: 640px) { .terms__list li { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.end-cards__map { height: 120px; margin: 4px 0 0; background: var(--white); }
.media-split--top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 1024px) { .media-split--top { grid-template-columns: minmax(0, 1fr); } }
.section--pad-bottom-sm { padding-bottom: 32px; }
.count-timeline i { justify-self: stretch; }

/* Two sections on the same background share one gap instead of doubling it (handoff note 4). */
main > .section:not(.section--surface):not(.section--navy):not(.governance) + .section:not(.section--surface):not(.section--navy):not(.governance),
main > .section--surface + .section--surface { padding-top: 0; }
@media (max-width: 640px) {
  .data-table thead { left: 0; top: 0; }
  .thumb-tree > span { gap: 10px; }
  .thumb-tree > span > span { font-size: var(--fs-nano); }
}
@media (max-width: 640px) { .library > * { grid-column: 1 / -1 !important; } }

/* ==========================================================================
   Case study: Indira Gandhi International Airport
   ========================================================================== */
/* Hero: 60% text, 10% gutter, 30% photograph (airport handoff) */
/* Photo widened from the handoff's 30% to roughly 45% of the row. */
.case-hero__grid { display: grid; grid-template-columns: 50fr 45fr; column-gap: 5%; align-items: center; }
.case-hero .page-hero__title { max-width: 16ch; }
.case-hero__figure { margin: 0; }
.case-hero__figure img { display: block; width: 100%; height: 420px; object-fit: cover; object-position: 65% center; border-radius: var(--radius-img); }
.case-hero__figure figcaption { margin-top: 12px; font-size: var(--fs-2xs); line-height: var(--lh-text); }
.case-hero__figure figcaption a { color: var(--body); }
.case-hero__figure figcaption a:hover { text-decoration: underline; }
@media (max-width: 1024px) {
  .case-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .case-hero__figure img { height: 360px; object-position: center; }
}
@media (max-width: 640px) { .case-hero__figure img { height: 260px; } }

.case-hero { padding-bottom: 40px; }
.case-facts { padding-block: 36px; background: var(--footer-bg); }
.case-facts .metrics__value { color: var(--navy); white-space: nowrap; }
.case-brands { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.case-brands img { display: block; width: auto; height: 25px; }
.case-brands span { width: 1px; height: 26px; background: var(--border); }
@media (max-width: 640px) { .case-brands { margin-top: 28px; } }
.case-brief { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.case-brief .card { display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 32px; padding: 24px; }
.case-brief .card > * { grid-column: 2; }
.case-brief__head { margin-bottom: 8px; }
.case-brief__img { grid-column: 1 !important; grid-row: 1 / span 4; align-self: center; margin: 0; }
.case-brief__img img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-img); }
.case-brief__head h3 { font-size: var(--fs-h4); }
.case-brief p { font-size: var(--fs-body-lg); }
.case-brief .checklist--sm li { font-size: var(--fs-body); }
.case-brief .checklist { margin-top: 10px; }
.case-brief .checklist--sm li { padding-block: 3px; }
@media (max-width: 760px) {
  .case-brief { gap: 24px; }
  .case-brief .card { grid-template-columns: minmax(0, 1fr); }
  .case-brief .card > * { grid-column: 1; }
  .case-brief__img { grid-row: 1; margin-bottom: 18px; }
  .case-brief__img img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .case-brief .card { padding: 22px; } }
.partner-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 28px 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.partner-band h2 { font-size: var(--fs-lg); }
.partner-band p { margin-top: 6px; font-size: var(--fs-small); }
.partner-band__logos { display: flex; align-items: center; gap: 16px; padding-left: 28px; border-left: 1px solid var(--border); }
.partner-band__logos img { display: block; width: auto; height: 22px; }
.partner-band__logos span { width: 1px; height: 22px; background: var(--border); }
@media (max-width: 760px) {
  .partner-band { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; }
  .partner-band__logos { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--border); }
}

.case-story { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 29fr); gap: 6%; align-items: start; }
@media (max-width: 1024px) { .case-story { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.case-prose p { margin-top: 18px; max-width: 42em; font-size: var(--fs-lead); }
.case-prose .feature__title { max-width: 26ch; }
.case-prose .eyebrow + .feature__title { margin-top: 0; }
.case-prose__gap { margin-top: 64px; }
/* Narrow reading column, starting at the page's left edge (in line with the logo) rather than centred */
.case-prose--centre { max-width: calc(940px + var(--gutter) * 2); margin-left: max(0px, (100% - var(--container) - var(--gutter) * 2) / 2); margin-right: auto; }

.glance { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.glance h2 { font-size: var(--fs-lg); }
.glance dl { margin: 8px 0 0; }
.glance dl div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.glance dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance dt { font-size: var(--fs-2xs); color: var(--body); }
.glance dd { margin: 2px 0 0; font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); }
@media (max-width: 1024px) { .glance { position: static; } }

.case-ops { margin-top: 32px; }
.case-ops li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--border); }
.case-ops li:last-child { border-bottom: 1px solid var(--border); }
.case-ops .icon-tile { border-radius: 50%; }
.case-ops h3 { font-size: var(--fs-lg); }
.case-ops p { margin-top: 8px; }
@media (max-width: 640px) { .case-ops li { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

.case-note { padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; background: var(--white); font-size: var(--fs-body-sm) !important; }

.case-cta { display: flex; align-items: center; gap: 40px; padding: 48px; border-radius: var(--r-card); background: var(--navy); color: rgba(255, 255, 255, .85); }
.case-cta h2 { font-size: var(--fs-h3); color: var(--white); }
.case-cta p { margin-top: 12px; max-width: 44em; }
.case-cta__actions { display: flex; flex-direction: column; gap: 12px; flex: none; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--white); border-color: var(--white); }
@media (max-width: 860px) { .case-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; } .case-cta__actions { flex-direction: row; flex-wrap: wrap; } }

.h-semibold { font-weight: var(--fw-semibold); }

/* ==========================================================================
   Pages built from the October 2026 missing-page handoffs (mk- prefix)
   Layouts: marketing, reading, docs, demo
   ========================================================================== */
.mk { --mk-max: var(--container); }
.mk p { color: var(--body); }
.mk strong, .mk b { font-weight: var(--fw-medium); color: var(--navy); }
/* Reading-page links: no underline at rest, underlined on hover; breadcrumbs never. */
.mk a:not(.mk-button):not(.btn) { text-decoration: none; }
.mk a:not(.mk-button):not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mk .crumbs a, .mk .crumbs a:hover { text-decoration: none; }
.mk ul, .mk ol { margin: 12px 0 22px; padding-left: 22px; }
.mk li { margin-bottom: 5px; color: var(--body); }
.mk h2 { margin: 0 0 18px; font-size: var(--fs-h3); line-height: 1.3; }
.mk h3 { margin: 28px 0 10px; font-size: var(--fs-h6); line-height: 1.4; }
.mk h4 { margin: 20px 0 8px; font-size: var(--fs-body); }
.mk-eyebrow { display: block; margin: 0 0 14px; font-size: var(--fs-eyebrow) !important; font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent) !important; }
.mk-text { max-width: 46em; }
.mk-text p { margin: 0 0 18px; font-size: var(--fs-body); }

/* Hero */
.mk-hero { background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%); padding: 72px var(--gutter) 56px; }
/* Columns narrower than the site container (reading pages) keep their width but start at the container's
   left edge, in line with the logo and breadcrumb, instead of centring */
.mk-hero-inner { max-width: var(--mk-max); margin: 0 auto 0 max(0px, (100% - var(--container)) / 2); }
.mk-hero h1 { margin: 0 0 22px; max-width: 22ch; font-size: var(--fs-h1); line-height: 1.12; letter-spacing: var(--ls-display); }
.mk-hero .mk-text p { font-size: var(--fs-lg); }
.mk-hero .mk-text p.mk-meta { font-size: var(--fs-body-sm); } /* effective date line on legal pages, same size as the text below */
.mk-hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.mk-hero-photo { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
/* Header photos added to reading pages: the header uses the full width, text and photo align at the top. */
.mk--reading .mk-hero.mk-hero--photo { --mk-max: var(--container); } /* outranks the 960px reading column below */
/* Text sits vertically centred beside the photo so a short intro leaves no gap below it. */
.mk-hero--photo .mk-hero-split, .mk-demo-intro--photo .mk-hero-split { align-items: center; }
.mk-hero--photo .mk-hero-photo, .mk-demo-intro--photo .mk-hero-photo { margin-top: 8px; }
/* Where the hero text runs well past the photo (reading pages, and heroes marked hero--top), the photo starts level
   with the headline instead of sitting centred and low. */
@media (min-width: 1025px) {
  .mk--reading .mk-hero-split, .hero--top .page-hero__grid, .hero--top .p-hero__grid { align-items: start; }
  .mk--reading .mk-hero-photo, .hero--top .page-hero__grid > :last-child, .hero--top .p-hero__grid > :last-child { margin-top: 34px; }
}

/* Sections */
.mk-section { padding: 0 var(--gutter); }
.mk-section-inner { max-width: var(--mk-max); margin: 0 auto 0 max(0px, (100% - var(--container)) / 2); padding: 72px 0; border-bottom: 1px solid var(--border); }
.mk-section:last-child .mk-section-inner { border-bottom: 0; }
.mk-section-inner > .mk-eyebrow + h2 { margin-top: 0; }
.mk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.mk-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.mk-card > :first-child { margin-top: 0; }
.mk-card h3 { margin: 0 0 10px; font-size: var(--fs-body-lg); }
.mk-card .mk-eyebrow + h3 { margin-top: 0; }
.mk-card .mk-text p, .mk-card p { font-size: var(--fs-body-sm); }
.mk-card .mk-button { margin-top: auto; }
.mk-group { margin: 22px 0; }

/* Buttons: first in a run is primary, the rest secondary */
.mk-button {
  display: inline-flex; align-items: center; min-height: 38px; margin: 10px 12px 0 0; padding: 0 15px;
  border: 1.5px solid var(--accent); border-radius: var(--r-btn); background: var(--accent); color: var(--white) !important;
  font-size: var(--fs-small); font-weight: var(--fw-medium); text-decoration: none !important;
  transition: background-color .15s ease, color .15s ease;
}
.mk-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.mk-button + .mk-button { background: var(--white); color: var(--accent) !important; }
.mk-button + .mk-button:hover { background: var(--surface); }
.mk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mk-actions .mk-button { margin: 0; }

/* Tables */
.mk-table-scroll { margin: 20px 0 28px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.mk table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-small); }
.mk th, .mk td { padding: 8px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.mk tr:last-child > td { border-bottom: 0; }
.mk th { background: var(--surface); font-weight: var(--fw-medium); color: var(--navy); }
.mk td p, .mk th p, .mk td .mk-eyebrow, .mk th .mk-eyebrow { margin: 0 !important; font-size: var(--fs-small) !important; letter-spacing: 0; text-transform: none; font-weight: var(--fw-regular); color: var(--body) !important; }
.mk th p, .mk th .mk-eyebrow { font-weight: var(--fw-medium); color: var(--navy) !important; }
.mk td:first-child p, .mk td:first-child .mk-eyebrow { font-weight: var(--fw-medium); color: var(--navy) !important; }
.mk td .mk-text, .mk th .mk-text { max-width: none; }
/* Label-and-description tables: each table's label column is as wide as its longest label, kept on one line.
   Tables with very long labels use a fixed share and let labels wrap. */
.mk .mk-tbl--labels td:first-child, .mk .mk-tbl--labels th:first-child { width: 1%; white-space: nowrap; padding-right: 32px; }
.mk .mk-tbl--labels-long td:first-child, .mk .mk-tbl--labels-long th:first-child { width: 30%; white-space: normal; padding-right: 14px; }
@media (max-width: 640px) { .mk .mk-tbl--labels td:first-child, .mk .mk-tbl--labels th:first-child { width: 36%; white-space: normal; padding-right: 14px; } }

/* Figures, code, notices */
.mk figure { margin: 24px 0; }
.mk figure img { display: block; max-width: 100%; height: auto; max-height: 720px; border: 1px solid var(--border); border-radius: var(--r-card); }
.mk figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--body); }
.mk code, .mk pre { padding: 1px 6px; border-radius: 4px; background: var(--accent-tint); color: var(--navy); font-family: var(--font-mono); font-size: .875em; white-space: pre-wrap; overflow-wrap: anywhere; }
.mk-notice { padding: 20px 22px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; background: var(--surface); }

/* Reading layout: questions, reference documents, legal */
.mk--reading .mk-hero, .mk--reading .mk-section { --mk-max: 960px; }
.mk--reading .mk-hero h1 { max-width: 28ch; font-size: var(--fs-h1-sm); }
.mk-legal-card { max-width: 820px; }
/* Legal pages have a text-only hero, so the body starts closer to it */
.mk-section-inner:has(> .mk-legal-card) { padding-top: 28px; }
.mk-hero:has(+ .mk-section .mk-legal-card) { padding-bottom: 36px; }
.mk-legal-body h2 { margin-top: 44px; font-size: var(--fs-h5); }
.mk-legal-body h2:first-child { margin-top: 0; }
.mk-legal-body h3 { font-size: var(--fs-body-lg); }
.mk-legal-body p, .mk-legal-body li { font-size: var(--fs-body-sm); line-height: var(--lh-text); }
.mk-legal-body li { margin-bottom: 4px; }

/* Docs layout */
.mk--docs { padding-bottom: 32px; }
.mk-doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 40px; }
.mk-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 20px; border-right: 1px solid var(--border); font-size: var(--fs-xs); }
.mk-aside h3 { margin: 0 0 2px; font-size: var(--fs-small); color: var(--accent); }
.mk-aside small { display: block; margin-bottom: 16px; color: var(--body); }
.mk-aside a { display: block; padding: 6px 10px; margin: 0 0 2px -10px; border-radius: var(--r-box); color: var(--body); text-decoration: none !important; line-height: 1.45; }
.mk-aside a:hover { background: var(--surface); color: var(--accent); }
.mk-aside a.mk-current { background: var(--accent-tint); color: var(--accent); font-weight: var(--fw-medium); }
.mk-doc-main { min-width: 0; }
.mk--docs .mk-hero { padding: 32px 36px; border-radius: var(--r-card); background: var(--surface); }
.mk--docs .mk-hero-inner > div:first-child { margin-bottom: 4px; font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent); }
.mk--docs .mk-hero-inner > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: var(--fs-xs); color: var(--navy); }
.mk--docs .mk-hero-inner > div:nth-child(2) a { color: var(--body); }
.mk--docs .mk-hero h1 { font-size: var(--fs-h2); max-width: none; }
.mk--docs .mk-hero .mk-text p { font-size: var(--fs-body-lg); }
.mk--docs .mk-section { padding: 0; }
.mk--docs .mk-section-inner { padding: 40px 0 0; border: 0; }
.mk--docs h2 { margin-top: 40px; font-size: var(--fs-h4); }
.mk--docs .mk-section-inner > h2:first-child { margin-top: 0; }
.mk--docs .mk-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mk--docs .mk-card { position: relative; display: block; padding: 20px 24px 20px 76px; }
.mk--docs .mk-card > .mk-eyebrow:first-child { position: absolute; left: 22px; top: 20px; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border-radius: 50%; background: var(--accent-tint); letter-spacing: 0; font-size: var(--fs-body-sm) !important; }
.mk--docs .mk-card h3 { margin-bottom: 6px; }
.mk--docs .mk-card .mk-text p:last-child { margin-bottom: 0; }
.mk-dpn { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.mk-dpn a { flex: 1; max-width: 48%; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--r-card); color: var(--navy) !important; font-weight: var(--fw-medium); text-decoration: none !important; }
.mk-dpn a:hover { border-color: var(--border-accent); color: var(--accent) !important; }
.mk-dpn a:only-child { margin-left: auto; text-align: right; }
.mk-dpn small { display: block; font-size: var(--fs-2xs); font-weight: var(--fw-regular); color: var(--body); }
.mk-dpn + p { margin-top: 20px; font-size: var(--fs-small); }

/* Demo page */
.mk-demo-intro { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 72px var(--gutter) 48px; }
.mk-demo-intro h1 { margin: 0 0 22px; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.mk-demo-intro > p:last-child, .mk-demo-intro--photo p:not(.mk-eyebrow) { max-width: 46em; font-size: var(--fs-lg); }
.mk-demo-layout { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 52fr); gap: 6%; align-items: start; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) var(--section); }
.mk-call-details { padding-top: 24px; }
.mk-call-details h2 { margin-bottom: 28px; }
.mk-call-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--border); }
.mk-call-step > span { font-size: var(--fs-lg); font-weight: var(--fw-medium); color: var(--accent); }
.mk-call-step h3 { margin: 0 0 8px; font-size: var(--fs-body); }
.mk-call-step p { margin: 0; font-size: var(--fs-body-sm); }
.mk-portal-callout { margin-top: 18px; padding: 22px 24px; border-radius: var(--r-card); background: var(--surface); }
.mk-portal-callout p { margin: 0 0 8px; font-size: var(--fs-body-sm); }
.mk-portal-link { font-weight: var(--fw-medium); text-decoration: none !important; }

/* Forms (Netlify Forms) */
.mk-form { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); }
.mk-form-note { margin: 0 0 20px; font-size: var(--fs-xs); }
.mk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.mk-field { display: block; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--navy); }
.mk-field > span { color: var(--accent); }
.mk-field--wide { grid-column: 1 / -1; }
.mk-field input, .mk-field select, .mk-field textarea {
  display: block; width: 100%; min-width: 0; margin-top: 8px; padding: 0 14px; height: 48px;
  border: 1px solid var(--field-border); border-radius: var(--r-box); background: var(--white);
  font: var(--fw-regular) var(--fs-body-sm)/1.5 var(--font); color: var(--navy);
}
.mk-field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.mk-field input:focus, .mk-field select:focus, .mk-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.mk-form .btn { width: 100%; margin-top: 24px; }
.mk-form-fine { margin: 16px 0 0; font-size: var(--fs-xs); }
.mk-honeypot { position: absolute; left: -9999px; }
.mk-section .mk-form { max-width: 760px; margin-top: 32px; }

@media (max-width: 1024px) {
  .mk-hero-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mk-doc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .mk-aside { position: static; max-height: none; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px; }
  .mk-aside h3, .mk-aside small { width: 100%; }
  .mk-aside a { margin: 0; padding: 5px 12px; border: 1px solid var(--border); border-radius: var(--r-tag); }
  .mk-demo-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .mk-hero { padding: 40px var(--gutter) 36px; }
  .mk-section-inner { padding: 48px 0; }
  .mk-cards { grid-template-columns: minmax(0, 1fr); }
  .mk-card { padding: 20px; }
  .mk--docs .mk-hero { padding: 24px 20px; }
  .mk--docs .mk-card { padding: 18px 18px 18px 64px; }
  .mk--docs .mk-card > .mk-eyebrow:first-child { left: 16px; top: 18px; width: 32px; height: 32px; }
  .mk-aside { display: none; }
  .mk-dpn { flex-direction: column; }
  .mk-dpn a { max-width: none; }
  .mk-fields { grid-template-columns: minmax(0, 1fr); }
  .mk-form { padding: 22px 18px; }
  .mk-demo-intro { padding: 40px var(--gutter) 32px; }
}

.mk ul { list-style: disc; }
.mk ol { list-style: decimal; }
.mk li::marker { color: var(--accent); }

.mk-tbl-name { display: block; font-weight: var(--fw-medium); color: var(--navy); }
.mk-tbl-tag { display: inline-block; margin: 6px 0 4px; padding: 2px 10px; border-radius: var(--r-tag); background: var(--accent-tint); font-size: var(--fs-2xs); font-weight: var(--fw-medium); color: var(--accent); }
.mk td .mk-text p + p { margin-top: 6px !important; }

.mk-tbl td:first-child p { font-weight: var(--fw-regular); color: var(--body) !important; }

/* ==========================================================================
   Mega menus (markup built by tools/build_header.py; opening and closing use
   the dropdown script in main.js)
   ========================================================================== */
.mega__head {
  margin: 0 0 8px; padding: 0 12px;
  font-size: var(--fs-eyebrow); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent);
}
.mega__list { margin: 0; padding: 0; list-style: none; }
.mega__sub { margin: 14px 0 4px; font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--body); }
.mega__sub:first-child { margin-top: 0; }
.dropdown .mega__list a { display: block; padding: 10px 12px; border-radius: var(--r-box); color: var(--navy); }
.dropdown .mega__list a:hover, .dropdown .mega__list a:focus-visible, .dropdown .mega__list a[aria-current="page"] { background: var(--white); }
.mega__title { display: block; font-size: var(--fs-body-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); color: var(--navy); }
.mega__desc { display: block; margin-top: 2px; font-size: var(--fs-xs); line-height: var(--lh-text); color: var(--body); }
.mega__list a:hover .mega__title, .mega__list a:focus-visible .mega__title, .mega__list a[aria-current="page"] .mega__title { color: var(--accent); }
.mega__feature { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--navy); }
.dropdown .mega__feature { display: flex; flex-direction: column; padding: 12px; }
.mega__feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-box); margin-bottom: 14px; }
.mega__feature-label { font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--accent); }
.mega__feature-title { margin-top: 4px; font-size: var(--fs-body); font-weight: var(--fw-semibold); line-height: var(--lh-snug); color: var(--navy); }
.mega__feature-text { margin-top: 4px; font-size: var(--fs-xs); line-height: var(--lh-text); color: var(--body); }
.mega__feature:hover { border-color: var(--border-accent); color: var(--navy); }
.mega__feature:hover .mega__feature-title { color: var(--accent); }

@media (min-width: 900px) {
  /* The panel spans the header width and sits right under it. */
  .nav__item.has-mega { position: static; }
  .dropdown--mega {
    top: 100%; left: 0; right: 0; min-width: 0; padding: 28px 0 32px;
    border-width: 1px 0; border-radius: 0; box-shadow: 0 24px 40px -24px rgba(23, 50, 77, .28);
    background: var(--surface);
  }
  .dropdown--mega::before { top: -24px; height: 24px; }
  .mega {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px; gap: 32px;
    max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  }
  .mega--tabbed { grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 0 32px; }
  .mega__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--border); padding-right: 24px; }
  .mega__tab {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px;
    border: 0; border-radius: var(--r-box); background: transparent; color: var(--navy); text-align: left;
    font: inherit; font-size: var(--fs-body-sm); font-weight: var(--fw-medium); cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
  }
  .mega__tab .icon { width: 16px; height: 16px; transform: rotate(-90deg); color: var(--body); }
  .mega__tab:hover, .mega__tab.is-on { background: var(--table-head); color: var(--accent); }
  .mega__tab.is-on .icon { color: var(--accent); }
  .mega__pane { display: none; }
  .mega__pane.is-on { display: block; }
  .mega__pane .mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .mega__head--pane { display: none; }
}
@media (max-width: 899px) {
  .mega { padding: 4px 0 8px; }
  .mega__col + .mega__col { margin-top: 12px; }
  .mega__head { margin-top: 8px; }
  .mega__desc, .dropdown .mega__feature { display: none; }
  .mega__tabs { display: none; }
  .mega__pane { display: block; }
  .mega__pane + .mega__pane { margin-top: 12px; }
  .mega__head--pane { display: block; }
}

/* ==========================================================================
   Site search (search/index.html, script in main.js)
   ========================================================================== */
.nav__search { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: var(--fw-regular); color: var(--nav-text); }
.nav__search:hover { color: var(--accent); }
.nav__search .icon { width: 17px; height: 17px; }
.nav__signin, .nav__search, .nav__link { white-space: nowrap; }
/* Between the phone menu and full desktop, and whenever the text size is raised, the header is tight: show the search icon only. */
@media (min-width: 900px) and (max-width: 1239px) {
  .header__inner { gap: 32px; }
  .nav__link { padding-inline: 10px; }
  .nav__actions { gap: 16px; }
  .nav__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .nav__search .icon { width: 20px; height: 20px; }
}
/* Narrower still: the demo button goes first, then the spacing tightens, and only below 900px the menu collapses. */
@media (min-width: 900px) and (max-width: 1079px) {
  .header__inner { gap: 24px; }
  .nav__link { padding-inline: 8px; }
  .nav__actions .btn { display: none; }
}
/* With the text size raised, the top-level menu keeps its normal size in this range so it still fits on one row */
@media (min-width: 900px) and (max-width: 1239px) {
  html[data-text] .nav__link, html[data-text] .nav__signin { font-size: 15.5px; }
}
@media (min-width: 1240px) and (max-width: 1320px) {
  html[data-text="xl"] .nav__actions .btn { display: none; }
}
@media (min-width: 900px) {
  html[data-text] .header__inner { gap: 32px; }
  html[data-text] .nav__link { padding-inline: 8px; }
  html[data-text] .nav__actions { gap: 16px; }
  html[data-text] .nav__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  html[data-text] .nav__search .icon { width: 20px; height: 20px; }
}
@media (max-width: 899px) { .nav__search { padding: 12px 4px; } }

.page-hero--search { padding-bottom: 56px; }
.site-search { position: relative; max-width: 680px; margin-top: 32px; }
.site-search .icon { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--body); pointer-events: none; }
.site-search input {
  width: 100%; height: 40px; padding: 0 14px 0 42px;
  border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--white);
  font: var(--fw-regular) var(--fs-body)/var(--lh-heading) var(--font); color: var(--navy);
  box-shadow: 0 12px 28px -20px rgba(23, 50, 77, .35);
}
.site-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.search-tabs { display: flex; gap: 4px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; box-shadow: inset 0 -1px 0 var(--border); }
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab {
  display: flex; flex: none; align-items: center; gap: 8px; padding: 14px 18px;
  border: 0; border-bottom: 2px solid transparent; background: none; white-space: nowrap;
  font: var(--fw-regular) var(--fs-body-sm)/var(--lh-heading) var(--font); color: var(--body); cursor: pointer;
}
.search-tab:hover { color: var(--accent); }
.search-tab.is-active { border-bottom-color: var(--accent); color: var(--accent); font-weight: var(--fw-medium); }
.tab-count { min-width: 26px; padding: 2px 8px; border-radius: var(--r-tag); background: var(--surface); color: var(--body); font-size: var(--fs-2xs); font-weight: var(--fw-medium); text-align: center; }
.search-tab.is-active .tab-count { background: var(--accent-tint); color: var(--accent); }

/* Narrower screens: the tabs wrap into rows of pills, so every tab stays visible. */
.search-select { display: none; }
@media (max-width: 1100px) {
  .search-tabs { flex-wrap: wrap; gap: 8px; margin-bottom: 18px; overflow: visible; box-shadow: none; }
  .search-tab { padding: 6px 8px 6px 14px; border: 1px solid var(--border); border-radius: var(--r-tag); }
  .search-tab.is-active { border-color: var(--accent); background: var(--surface); }
}
/* Phones: a dropdown replaces the pills. */
@media (max-width: 720px) {
  .search-tabs { display: none; }
  .search-select { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: var(--fs-body-sm); color: var(--body); }
  .search-select select {
    flex: 1; min-width: 0; height: 48px; padding: 0 40px 0 14px;
    border: 1px solid var(--field-border); border-radius: var(--r-box); background-color: var(--white);
    font: var(--fw-regular) var(--fs-body)/var(--lh-heading) var(--font); color: var(--navy);
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  }
  .search-select select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
}

.result-list { margin: 0; padding: 0; list-style: none; }
.result-list li { display: flex; align-items: flex-start; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--border); }
.result-list a { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; color: inherit; }
.result-list a:hover .res-title { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.res-title { font-size: var(--fs-body-lg); font-weight: var(--fw-medium); line-height: var(--lh-snug); color: var(--navy); }
.res-path { font-size: var(--fs-xs); color: var(--nav-text); overflow-wrap: anywhere; }
.res-tag {
  display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: var(--r-tag); vertical-align: 2px;
  background: var(--accent-tint); color: var(--accent);
  font-size: var(--fs-micro); font-weight: var(--fw-medium); letter-spacing: .06em; line-height: var(--lh-text); text-transform: uppercase;
}
.res-snippet { margin-top: 4px; font-size: var(--fs-body-sm); line-height: var(--lh-text); color: var(--body); }
.result-list mark { padding: 0 1px; border-radius: 2px; background: var(--mark); color: inherit; }
.res-count { flex: none; min-width: 84px; padding-top: 2px; text-align: right; font-size: var(--fs-2xs); line-height: var(--lh-snug); color: var(--nav-text); }
.res-count strong { display: block; font-size: var(--fs-h6); font-weight: var(--fw-semibold); color: var(--accent); }
.search-empty { margin: 24px 0; }
.result-list .res-none { padding: 24px 4px; border-bottom: 0; color: var(--body); }

.browse-group + .browse-group { margin-top: 56px; }
.browse-group h2 { margin-bottom: 16px; font-size: var(--fs-h4); }
.browse-count { margin-left: 6px; padding: 2px 10px; border-radius: var(--r-tag); background: var(--accent-tint); color: var(--accent); font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0; vertical-align: 4px; }
.browse-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.browse-list li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--border); }
.browse-list a { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); color: var(--navy); }
.browse-list a:hover { color: var(--accent); }
.browse-list small { font-size: var(--fs-2xs); color: var(--nav-text); overflow-wrap: anywhere; }

@media (max-width: 860px) { .browse-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .site-search { margin-top: 24px; }
  .site-search input { height: 52px; }
  .result-list li { gap: 14px; padding: 16px 0; }
  .res-count { min-width: 56px; }
  .browse-group + .browse-group { margin-top: 40px; }
}

/* ==========================================================================
   Type scale on phones. Headings and figures are fluid tokens and need no
   override; tablets use the desktop fixed sizes.
   ========================================================================== */
@media (max-width: 640px) {
  :root {
    --fs-lead: 1.09375rem;
    --crumb-top: 12px;
  }
  /* room for the breadcrumb row above the hero copy */
  .p-hero, .page-hero, .mk-hero, .mk-demo-intro { padding-top: 56px; }
  .hero__copy { padding-top: 56px; }
}

/* Header menu items in Gilroy Medium, the weight body text uses */
.nav__link, .dropdown a, .nav__signin, .nav__search { font-weight: var(--fw-regular); }

/* Mega menu descriptions in Poppins Regular, a touch darker than body text */
.mega__desc { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400; color: #44576a; }

/* ==========================================================================
   Phase 5: breadcrumbs, cookie notice, accessibility controls, print
   ========================================================================== */
/* Breadcrumb row: first thing inside the hero, path on the left and the display controls on the right.
   The home page has the row without a path. Hero containers are grids or flex rows, so the row spans them. */
.crumbs--page {
  position: absolute; top: var(--crumb-top); left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); min-height: 28px;
}
.p-hero, .page-hero, .mk-hero, .mk-demo-intro { position: relative; }
.crumbs--page ol { margin: 0; padding: 0; }
.crumbs--page li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.crumbs--page .a11y { margin-left: auto; }
.crumbs--home { justify-content: flex-end; }
.crumbs--home .a11y__btn { background: rgba(255, 255, 255, .92); border-color: rgba(23, 50, 77, .22); }
.crumbs--home .a11y__btn:hover, .crumbs--home .a11y__btn[aria-pressed="true"] { background: var(--white); }
/* Documentation pages have no hero: the row stays in the flow above the article. */
.mk-doc-layout .crumbs--page { position: static; grid-column: 1 / -1; max-width: none; margin: 0 0 8px; padding: 0; }

/* Cookie bar: edge to edge along the bottom of the window, content aligned to the page container */
.cookie-note {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 16px var(--gutter); border-top: 1px solid #c3cfdc; background: #eef2f6; /* line a step darker than the bar so it reads */
  box-shadow: 0 -12px 28px -20px rgba(23, 50, 77, .3); font-size: var(--fs-xs); line-height: var(--lh-text);
}
.cookie-note__inner { display: flex; align-items: center; gap: 24px; max-width: var(--container); margin-inline: auto; }
.cookie-note__actions { display: flex; gap: 10px; flex: none; }
.cookie-note p { margin: 0; flex: 1; color: var(--navy); }
.cookie-note a { color: var(--navy); text-decoration: underline; }
.cookie-note a:hover { color: var(--accent); }
.cookie-note .btn { min-height: 34px; padding: 0 16px; }
@media (max-width: 640px) { .cookie-note__inner { flex-direction: column; align-items: stretch; gap: 12px; } .cookie-note__actions .btn { flex: 1; } }

.a11y { display: inline-flex; align-items: center; gap: 4px; }
.a11y__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 32px; padding: 0 8px;
  border: 1px solid rgba(23, 50, 77, .18); border-radius: var(--r-btn); background: rgba(255, 255, 255, .45); color: var(--nav-text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: inherit; font-size: var(--fs-xs); font-weight: var(--fw-medium); cursor: pointer;
}
.a11y__btn:hover, .a11y__btn[aria-pressed="true"] { border-color: var(--border-accent); color: var(--accent); background: var(--table-head); }
.a11y__btn .icon { width: 16px; height: 16px; }
.crumbs--page .a11y { flex: none; }
.crumbs--page .a11y__btn { height: 28px; min-width: 30px; }
.footer__bottom .a11y { order: 3; }

html[data-text="lg"] { font-size: 112.5%; }
html[data-text="xl"] { font-size: 125%; }
html[data-contrast="high"] {
  --body: #1e2833; --muted: #3a4654; --nav-text: #17324d; --accent: #0046b8; --accent-hover: #003a99;
  --border: #8da2b8; --border-accent: #0046b8; --on-dark-muted: rgba(255, 255, 255, .92);
}
html[data-contrast="high"] a { text-decoration: underline; }
html[data-contrast="high"] .btn--primary { background: #0046b8; }

.why-soc__figure { display: block; width: 100%; height: auto; margin: 32px auto 40px; max-width: 980px; border-radius: var(--radius-img); border: 1px solid var(--border); }
.why-soc__cards .card h3 { margin-top: 18px; font-size: var(--fs-h6); }
.why-soc__cards .card p { margin-top: 10px; font-size: var(--fs-body-sm); }

@media print {
  @page { margin: 18mm; }
  .site-header, .site-footer, .skip-link, .cookie-note, .a11y, .sector-bar, .nav-toggle, .cta-section, .hero__actions, .btn, .mk-button { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  main { padding: 0; }
  a { color: #000; text-decoration: none; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 90%; color: #444; }
  .page-hero__photo, .page-hero__collage, .mk-hero-photo, .hero__visual, .media-split__photo, .industry__img { display: none !important; }
  .section, .mk-section, .page-hero { page-break-inside: avoid; padding: 12pt 0; }
  table { page-break-inside: auto; }
  tr { page-break-inside: avoid; }
}
.page-hero__photo--diagram { object-fit: contain; background: var(--surface); box-shadow: none; border: 1px solid var(--border); }
/* Industries overview: four sector photos instead of one */
.page-hero__collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.page-hero__collage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
/* Bullets and check marks: 1.6 line height, 6px between items */
main li:not(:has(h1,h2,h3,h4,h5,h6,div,ul,ol,img,figure,table)):not(:is(nav,header,footer,aside,[class*=mini],[class*=mock],[class*=shot],[class*=crumb],[class*=console],[class*=screen],.breadcrumb,.side-list,.mm-list,.text-size,.a11y,.toc) li){line-height:1.6!important;margin-block:0!important}
main li:not(:has(h1,h2,h3,h4,h5,h6,div,ul,ol,img,figure,table)):not(:is(nav,header,footer,aside,[class*=mini],[class*=mock],[class*=shot],[class*=crumb],[class*=console],[class*=screen],.breadcrumb,.side-list,.mm-list,.text-size,.a11y,.toc) li):not(:first-child){margin-top:6px!important}
