/* MetaWiFi — public site
   Same design language as aegis.metawifi.nl: white body, navy header/footer
   and contrast bands, one blue for links and calls to action, the logo's lime
   as a small accent. Manrope for headings, Nunito Sans for body copy. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --panel: #ffffff;
  --panel-2: #f4f6fa;
  --border: #e3e8f0;
  --border-strong: #cfd6e2;

  --navy: #061537;
  --navy-2: #0a1f4d;
  --navy-deep: #030c26;

  --text: #17213a;
  --text-2: #2e3a52;
  --muted: #5b6780;
  --muted-2: #7b869c;

  --accent: #1b6fe0;
  --accent-hover: #0f4fb0;
  --accent-soft: rgba(27, 111, 224, 0.08);
  --lime: #bbce09;
  --lime-text: #7c8a00;
  --metawifi-green: #bbce09;

  --green: #1a9e5c;
  --orange: #d98a00;
  --red: #d63b3b;
  --yellow: #d98a00;

  --shadow: 0 30px 60px -24px rgba(6, 21, 55, 0.35);
  --shadow-soft: 0 14px 34px -18px rgba(6, 21, 55, 0.25);
  --radius: 12px;
  --radius-lg: 16px;

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

  --maxw: 1180px;
  --space-section: 104px;
  --space-section-tight: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id], div[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; }

.container {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}
.container.narrow { max-width: 820px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-top: 3px solid var(--lime);
}

.nav-wrap {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-with-logo {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.brand-logo-full {
  height: 48px;
  width: auto;
  display: block;
}

.brand-with-logo:hover .brand-logo-full { opacity: 0.9; }

/* Trademark symbol beside the wordmark. Kept out of the SVG so the day the
   registration lands, one character changes here instead of in an asset. */
.brand-tm {
  font-size: 0.62rem;
  line-height: 1;
  margin-left: 3px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: #ffffff; }

.nav-cta { flex-shrink: 0; }
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 0;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }

p { margin: 0 0 1rem; }

.eyebrow,
.section-kicker {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 720px;
}
.lead.compact { max-width: 640px; }

.muted { color: var(--muted); }

.small-print,
.muted-note {
  margin-top: 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: var(--space-section) 0; }
.section.tight { padding: var(--space-section-tight) 0; }
.section.alt { background: var(--bg-soft); }
.section.navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.section.navy h2,
.section.navy h3 { color: #ffffff; }
.section.navy .section-kicker { color: rgba(255, 255, 255, 0.6); }
.section.navy .lead,
.section.navy .section-heading p { color: rgba(255, 255, 255, 0.78); }

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.section-heading p {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto;
}
.section-heading .section-kicker { justify-content: center; }
.section-heading .lead { margin-left: auto; margin-right: auto; }

.section-aside {
  margin: 2.4rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--accent-hover); color: #ffffff; }

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }

.section.navy .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.section.navy .btn-secondary:hover { border-color: #ffffff; }

.btn.small { padding: 10px 18px; font-size: 0.9rem; }
.btn.full { width: 100%; margin-top: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}
.link-arrow::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-row.centered { justify-content: center; }

.hero-actions { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin-top: 6px; }

.hero-subcta,
.pricing-vat {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ── Lists ──────────────────────────────────────────────────────────────── */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.clean-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  line-height: 1.5;
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--lime-text);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5l4 4 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5l4 4 8-8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section.navy .clean-list li { color: rgba(255, 255, 255, 0.82); }
.section.navy .clean-list li::before { background: var(--lime); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* The hero is the navy band (see "Navy band" below). Its bottom padding is
   the room the screenshot needs to overlap it: hero-shot pulls the frame up
   by --hero-overlap, and the rest of the padding is the gap above the frame. */
:root { --hero-overlap: 220px; }

.hero.band { padding: 76px 0 calc(var(--hero-overlap) + 56px); }
.band .eyebrow { color: rgba(255, 255, 255, 0.7); margin-bottom: 0; }
.band-inner h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
}
.band-inner .hero-actions { justify-content: center; margin-top: 10px; }
.band .link-arrow { color: #ffffff; }
/* Sits on the horizon glow, so it needs more contrast than the band copy. */
.band .hero-subcta { margin: -6px 0 0; color: rgba(255, 255, 255, 0.8); text-shadow: 0 1px 8px rgba(6, 21, 55, 0.6); }

.hero-shot {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--hero-overlap));
  padding-bottom: 56px;
}
.hero-shot .frame { max-width: 1040px; margin: 0 auto; }

.hero-pillars {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 48px;
}
.hero-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.45;
}
.hero-pillars svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.hero-pillars strong { color: var(--navy); margin-right: 6px; }
.hero-pillars a { color: inherit; }
.hero-pillars a:hover { color: var(--accent); }

/* Screenshot in a browser frame: the one place the product's dark UI sits on
   the page, so it gets the shadow and nothing else does. */
.frame {
  background: #0b1220;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(6, 21, 55, 0.08);
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.frame-bar { display: flex; gap: 6px; padding: 2px 4px 10px; }
.frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3550;
  display: block;
}

/* ── "Works with" strip ─────────────────────────────────────────────────── */
.vendor-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.vendor-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
  flex-wrap: wrap;
}
.vendor-strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.vendor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: #9aa4b8;
  transition: color 0.15s ease;
}
.vendor:hover { color: var(--navy); }
.vendor img {
  height: 28px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.15s ease;
}
.vendor:hover img { filter: none; }

/* ── Columns without cards ──────────────────────────────────────────────── */
.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }

.col { display: flex; flex-direction: column; gap: 12px; }
.col h3 { margin: 0; }
.col p { margin: 0; color: var(--text-2); }
.col .clean-list { margin-top: 4px; }

.col-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.col-icon svg { width: 24px; height: 24px; }
.col-icon img { height: 26px; width: auto; }

/* ── Zigzag rows (image beside text) ────────────────────────────────────── */
.zig {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  align-items: center;
}
.zig-copy { display: flex; flex-direction: column; gap: 6px; }
.zig-copy h2 { margin-bottom: 8px; }
.zig-copy .lead { margin-bottom: 8px; }
.zig-media img { display: block; width: 100%; height: auto; }
.zig-media.photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.zig-media-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}
.zig-media-note strong { color: var(--text); }

/* Drawn diagrams keep the product's dark palette, so they sit on a navy panel
   the way the screenshots sit in a frame. */
.diagram {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.diagram svg { display: block; width: 100%; height: auto; }

/* ── Cards, where a card is still the right thing (deploy options, FAQ) ── */
.feature-card,
.faq-item,
.gs-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature-card p,
.faq-item p { color: var(--text-2); }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item h3 { font-size: 1.1rem; }

.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.faq-list { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }

/* ── Screenshots gallery ────────────────────────────────────────────────── */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b1220;
  box-shadow: var(--shadow-soft);
}
.screenshot img { width: 100%; height: auto; display: block; }
.screenshot.wide { grid-column: 1 / -1; }

.device-cards-intro {
  margin: 2.6rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.device-cards {
  border-radius: var(--radius-lg);
  background: var(--navy);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.device-cards svg { display: block; width: 100%; height: auto; }

/* ── Integrations (SIGNL4, SSO) ─────────────────────────────────────────── */
.integration-logo {
  height: 26px;
  width: auto;
  vertical-align: middle;
}
.integration-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.integration-head h3 { margin: 0; }
.integration-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* ── RMS price block ────────────────────────────────────────────────────── */
.rms-price {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.rms-price-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rms-price-amount {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.rms-price-unit { font-size: 0.9rem; color: var(--muted); }
.rms-price-body { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-2); }
.rms-price-not {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.rms-price-not li { font-size: 0.85rem; color: var(--muted); }
.rms-price-not li::before { content: "\2715"; margin-right: 7px; opacity: 0.6; }
.rms-price-example {
  margin: 14px 0 0;
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Aegis RMS add-on on the licence page: the PRO table prices the software,
   this prices the connectivity service that goes with it. */
.rms-addon {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.rms-addon-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.rms-addon-head h3 { margin: 6px 0 0; font-size: 1.25rem; }
.rms-addon-price { text-align: right; }
.rms-addon-amount { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.rms-addon-unit { font-size: 0.85rem; color: var(--muted); }
.rms-addon p { margin: 14px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-2); }
.rms-addon-note { color: var(--muted); font-size: 0.85rem; }

/* ── Deploy / "Get Started" cards (landing + license) ───────────────────── */
.gs-grid { align-items: stretch; }
.gs-card { display: flex; flex-direction: column; }
.gs-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.gs-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.gs-card > p { color: var(--text-2); font-size: 0.98rem; margin-bottom: 0; }
.gs-specs {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
  flex: 1;
}
.gs-spec-header {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.gs-spec-header em {
  text-transform: none;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}
.gs-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.gs-spec-row:last-child { border-bottom: none; }
.gs-spec-row span { color: var(--muted); font-size: 0.9rem; }
.gs-spec-row strong { color: var(--navy); font-size: 0.9rem; }
.gs-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.gs-license-note {
  text-align: center;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Pricing (landing) ──────────────────────────────────────────────────── */
.pricing-simple { text-align: center; }
.pricing-simple-actions {
  display: flex;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}

/* ── Navy band: the horizon from the product's login screen ─────────────── */
.band {
  position: relative;
  background: var(--navy) url("../img/horizon.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.78);
  padding: 120px 0;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 55, 0.55), rgba(6, 21, 55, 0.35));
}
.band > .container { position: relative; }
.band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.band-mark { width: 40px; height: 4px; background: var(--lime); border-radius: 2px; }
.band-inner h2 { margin: 0; color: #ffffff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.band-inner p { margin: 0; font-size: 1.15rem; color: rgba(255, 255, 255, 0.8); max-width: 680px; }
.band-facts {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
.band-facts li::before { content: "\2713"; color: var(--lime); margin-right: 8px; }
.band-inner .cta-row { margin-top: 10px; justify-content: center; }
.band-inner .cta-row a:not(.btn) { color: #ffffff; font-family: var(--font-head); font-weight: 700; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

input,
textarea,
select {
  font-family: inherit;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.95rem;
}
input::placeholder,
textarea::placeholder { color: var(--muted-2); }

textarea { min-height: 120px; resize: vertical; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6780' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-intro { color: var(--text-2); margin-bottom: 1rem; line-height: 1.6; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#demo-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0; }
#demo-form .btn { align-self: flex-start; }
#demo-form-status { margin: 0; font-size: 0.9rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; color: var(--text-2); }
.contact-details a { font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-brand strong { color: #ffffff; font-family: var(--font-head); }
.footer-brand p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.footer-payments { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer-links a:hover,
.footer-contact a:hover { color: #ffffff; }
.footer-contact p { margin: 0; }

.footer-address {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-address span:first-child { color: rgba(255, 255, 255, 0.85); font-weight: 700; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}
.footer-legal-line a { color: rgba(255, 255, 255, 0.55); }
.footer-legal-line a:hover { color: #ffffff; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Nominative use of vendor names needs the disclaimer that goes with it. */
.footer-trademarks { padding-top: 14px; }
.footer-trademarks p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Legal / compliance pages ───────────────────────────────────────────── */
.legal-page { padding-top: 56px; padding-bottom: 80px; }
.legal-container { max-width: 760px; }
.legal-page h1 { font-size: 2.3rem; margin: 8px 0 6px; }
.legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 28px; }
.legal-page h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.legal-page p { color: var(--text-2); line-height: 1.7; margin-bottom: 10px; }
.legal-page ul.clean-list { margin: 6px 0 14px; }
.legal-page ul.clean-list li { line-height: 1.6; }
.legal-meta {
  list-style: none;
  padding: 16px 18px;
  margin: 8px 0 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.legal-meta li { color: var(--text-2); line-height: 1.7; }
.legal-meta li strong { color: var(--navy); }

/* Simple centred page header (license, story, changelog) */
.page-hero {
  padding: 72px 0 24px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero .subtitle { color: var(--text-2); font-size: 1.15rem; margin: 0; }

/* Badge used on several pages */
.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  :root {
    --space-section: 72px;
    --space-section-tight: 48px;
  }

  :root { --hero-overlap: 140px; }
  .hero.band { padding-top: 56px; }
  .hero-shot { padding-bottom: 40px; }
  .cols,
  .cols.two,
  .zig,
  .card-grid.three,
  .card-grid.two,
  .contact-grid,
  .screenshot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .screenshot-grid { gap: 20px; }
  .zig.rev .zig-media { order: -1; }
  .band { padding: 88px 0; }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; font-size: 1rem; }
  .main-nav .nav-mobile-cta { display: block; color: #ffffff; font-family: var(--font-head); margin-top: 6px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .brand-logo-full { height: 40px; }

  .section-heading { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root { --hero-overlap: 90px; }
  .hero-pillars { flex-direction: column; align-items: flex-start; }
  .container { width: calc(100% - 32px); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .vendor { font-size: 1rem; }
  .vendor img { height: 22px; }
  .vendor-strip .container { gap: 14px 22px; }
  .device-cards { padding: 10px; overflow-x: auto; }
  .device-cards svg { min-width: 620px; }
  .rms-addon-price { text-align: left; }
  .hero-actions .btn,
  .pricing-simple-actions .btn,
  .cta-row .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MetaWiFi additions
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Brand: the bitmap logo with a white wordmark on the navy header ──────── */
.brand-logo-full { height: 44px; }
.brand-with-logo { align-items: center; }
.footer-brand img { height: 36px; }

/* ── Hero with copy beside an illustration ──────────────────────────────── */
.hero-split .band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  text-align: left;
  gap: 48px;
  max-width: none;
}
.hero-split .hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero-split .band-inner h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
.hero-split .band-inner .hero-actions { justify-content: flex-start; }
.hero-split .band-inner p.lead { color: rgba(255, 255, 255, 0.86); font-size: 1.18rem; max-width: 560px; }
.hero-split .band-facts { justify-content: flex-start; margin-top: 0; }
.hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(3, 12, 38, 0.5)); }
.hero.band.hero-split { padding: 72px 0 80px; }

/* ── Service cards on the home page ─────────────────────────────────────── */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  color: var(--text-2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--text-2); }
.service-card h3 { margin: 4px 0 0; }
.service-card p { margin: 0; }
.service-card em { color: var(--text); font-style: normal; font-weight: 600; }
.service-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* ── Partner strip ───────────────────────────────────────────────────────── */
.partner-strip .vendor img { height: 40px; filter: grayscale(1) opacity(0.65); }
.partner-strip .vendor:hover img { filter: none; }
.partner-cards { margin-top: 40px; }
.partner-card { display: flex; flex-direction: column; gap: 12px; }
.partner-card img { height: 44px; width: auto; align-self: flex-start; object-fit: contain; }
.partner-card p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.partner-card h3 { margin: 4px 0 0; font-size: 1.15rem; }

/* ── FAQ accordion (details/summary keeps it usable without JS) ─────────── */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 400; color: var(--muted);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { margin-bottom: 12px; }
.faq-item .faq-body p:last-child, .faq-item .faq-body ul:last-child { margin-bottom: 0; }

/* ── Breadcrumbs ─────────────────────────────────────────────────────────── */
.breadcrumbs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.page-hero.left { text-align: left; padding-top: 44px; }
.page-hero.left h1 { max-width: 900px; }
.page-hero .lead { margin-top: 10px; }

/* ── Prose: long-form content from the pages and the blog ───────────────── */
.prose { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.2rem 0 0.7rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.5rem; }
.prose h4 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.prose li { margin: 0.3rem 0; }
.prose li > p { margin: 0; }
.prose strong { color: var(--text); }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27, 111, 224, 0.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4rem auto;
  border-radius: var(--radius);
}
.prose figure { margin: 1.6rem 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.4rem 0; }
.prose blockquote {
  margin: 1.4rem 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--lime);
  color: var(--text);
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--navy); font-weight: 700; }
.prose pre, .prose code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; }
.prose pre { background: var(--navy-deep); color: #e6ebf5; padding: 16px 18px; border-radius: var(--radius); overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.prose .btn { text-decoration: none; }
.prose p > a:only-child { font-weight: 700; }

/* A zig row whose copy is prose, on a content page. */
.page-zig { padding: 40px 0; }
.page-zig + .page-zig { padding-top: 0; }
.page-zig .zig-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.page-content { padding: 40px 0 72px; }
.page-content .prose { max-width: 820px; }
.page-content.narrow .prose { margin: 0 auto; }
.page-cta { margin-top: 56px; }

/* Inline CTA card at the foot of a content page */
.cta-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-card h2 { color: #ffffff; margin: 0 0 8px; font-size: 1.6rem; }
.cta-card p { margin: 0; }
.cta-card .cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-card .cta-actions a:not(.btn) { color: #ffffff; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }

/* ── Blog ────────────────────────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-2);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.post-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: var(--border-strong); color: var(--text-2); }
.post-card-media { aspect-ratio: 16 / 9; background: var(--navy-deep); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-media.placeholder { display: flex; align-items: center; justify-content: center; }
.post-card-media.placeholder img { width: 46%; height: auto; opacity: 0.9; object-fit: contain; }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.post-card p { margin: 0; font-size: 0.95rem; }
.post-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.post-meta .cat { color: var(--lime-text); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }

.article-head { padding: 44px 0 24px; }
.article-head h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 860px; }
.article-head .post-meta { font-size: 0.9rem; }
.article-hero { margin: 8px 0 32px; }
.article-hero img { display: block; width: 100%; max-width: 900px; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.article-body { padding-bottom: 56px; }
.article-body .prose { max-width: 780px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.article-tags a, .tag-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.article-tags a:hover { border-color: var(--accent); color: var(--accent); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-nav a { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.article-nav a span { font-size: 0.75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.article-nav a.next { text-align: right; }
.author-box {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 0; font-size: 0.95rem; color: var(--text-2); }
.author-box strong { color: var(--navy); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--border-strong);
  font-weight: 700; font-family: var(--font-head); color: var(--navy);
}
.pagination span.current { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.pagination a:hover { border-color: var(--navy); }

/* ── Shop / products ─────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-2);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--text-2); }
.product-card-media { aspect-ratio: 1; background: #ffffff; border-bottom: 1px solid var(--border); padding: 18px; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: 1rem; margin: 0; line-height: 1.35; }
.price { font-family: var(--font-head); font-weight: 800; color: var(--navy); }
.price del { color: var(--muted-2); font-weight: 600; margin-right: 8px; }
.price ins { text-decoration: none; }
.price small { font-size: 0.75rem; color: var(--muted); font-weight: 600; margin-left: 4px; }
.sale-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--lime); color: var(--navy);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-card-media, .product-gallery-main { position: relative; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 32px 0 56px; }
.product-gallery-main { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: #ffffff; }
.product-gallery-main img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-thumbs img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; padding: 6px; background: #ffffff; }
.product-summary h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.product-summary .price { font-size: 1.7rem; margin: 6px 0 4px; display: block; }
.product-summary .price small { font-size: 0.85rem; }
.product-summary .prose { font-size: 1rem; }
.product-meta { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.product-meta a { font-weight: 600; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.product-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.product-details { padding-bottom: 72px; }
.product-details h2 { font-size: 1.4rem; margin-bottom: 12px; }
.product-details .prose { max-width: 860px; }
.attr-table { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.attr-table th, .attr-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.attr-table th { color: var(--navy); width: 40%; font-weight: 700; }
.shop-intro { max-width: 820px; margin: 0 auto 40px; }
.shop-intro .prose { font-size: 1rem; }
.shop-intro img { height: 44px; width: auto; margin: 0 16px 0 0; display: inline-block; vertical-align: middle; border-radius: 0; box-shadow: none; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.shop-filters a { font-size: 0.85rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--navy); }
.shop-filters a.active, .shop-filters a:hover { background: var(--navy); color: #ffffff; border-color: var(--navy); }

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-page { padding: 44px 0 80px; }
.contact-page .contact-grid { margin-top: 16px; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; margin-top: 22px; font-size: 0.97rem; color: var(--text-2); }
.contact-card p { margin: 0 0 10px; }
.contact-card p:last-child { margin: 0; }
.contact-card strong { color: var(--navy); }
.form-consent { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ── Sectors grid (footer-ish hub of "Wi-Fi voor …" pages) ──────────────── */
.sector-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; list-style: none; padding: 0; margin: 0; }
.sector-list a { display: block; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--navy); font-weight: 700; font-family: var(--font-head); background: var(--panel); }
.sector-list a:hover { border-color: var(--accent); color: var(--accent); }

/* ── Stats / facts row ──────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
.fact { padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 0.9rem; }

/* 404 */
.not-found { padding: 96px 0; text-align: center; }
.not-found h1 { font-size: 3rem; }

.footer-links.wide { grid-column: span 1; }
.footer-grid.five { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; }

@media (max-width: 980px) {
  .hero-split .band-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-split .band-inner .hero-actions, .hero-split .band-facts { justify-content: center; }
  .hero-split .band-inner p.lead { margin: 0 auto; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sector-list, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 30px 28px; }
  .footer-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .post-grid, .product-grid, .sector-list, .facts { grid-template-columns: minmax(0, 1fr); }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.next { text-align: left; }
  .footer-grid.five { grid-template-columns: 1fr; }
  .brand-logo-full { height: 36px; }
}

/* Rows of logos or badges pasted as several images in one paragraph. */
.prose p:has(> img + img) { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.prose p:has(> img + img) img { display: inline-block; width: auto; max-height: 96px; max-width: 200px; margin: 0; border-radius: 0; }

/* Content images at half width everywhere but the home page: a screenshot or
   photo in a story is an illustration, not the story. Logo rows stay as they are. */
.prose img { max-width: 50%; }
.prose p:has(> img + img) img { max-width: 200px; }
.page-zig .zig-media img { display: block; max-width: 50%; margin: 0 auto; }
.article-hero img { max-width: 450px; }
.product-gallery-main img { max-height: 380px; }
@media (max-width: 600px) {
  .prose img, .page-zig .zig-media img { max-width: 100%; }
  .article-hero img { max-width: 100%; }
}
