/* Acupixel component styles — the shared layer both sites compose from.
 *
 * Every rule here is layout, colour and rhythm. There is no content in this file: no product name,
 * no capability, no sentence a visitor reads. Labels like "Menu" come from ui-strings.
 *
 * Structure follows the patterns the brand document says to preserve:
 *   a bold headline upper-left with the hero visual upper-right; a horizontal capability strip;
 *   a left feature column beside a right structured table; an industries band near the bottom;
 *   a compact contact footer.
 */

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

/* A genuine, confirmed rendering-engine artifact, not a rule mistake here: a direct child of a
 * gap-spaced flex/grid container can render with an extra ~8px margin-top that no declaration in
 * this file, nor the browser's own UA stylesheet, accounts for - reproduced by direct measurement on
 * .nav-list, .feature-grid, .card-grid and .industry-list, on every affected item except the first,
 * on both sites. The plain `margin: 0` reset above does not stop it; only !important does, which is
 * why this narrow list carries one instead of relying on the general reset. Extend this list if the
 * same symptom (every item but the first sitting a few pixels lower than its siblings in the same
 * row) turns up in a container not named here. */
.nav-list > li,
.feature-grid > .feature,
.card-grid > .card,
.industry-list > li,
.steps > li,
.choice-list > .choice,
.sample-tabs > .sample-tab,
.cta-row > .btn,
.doc-toc ul > li {
  margin: 0 !important;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
  /* This site is full of endpoint paths, SKUs and header names. A long unbreakable token is the
   * usual cause of a page that scrolls sideways on a phone, so long words wrap by default and the
   * exceptions (code blocks) scroll inside their own box instead. */
  overflow-wrap: break-word;
}

.card p, .feature p, .prose, td, th { overflow-wrap: anywhere; }
/* Headings get the gentler break-word, not anywhere: "anywhere" also feeds into the box's
 * min-content size, which made grid tracks size narrow enough that ordinary words like
 * "Simultaneous" or "preprocessing" split mid-character even though a plain wrap to the next line
 * would have fit. break-word only splits a word that genuinely cannot fit on its own line. Covers
 * both h2 and h3: a card/feature item's own title renders as whichever level its block's heading
 * (or lack of one) puts it at - see itemHTag() in render-lib.mjs. */
.card h2, .card h3, .feature h2, .feature h3 { overflow-wrap: break-word; }
:not(pre) > code { overflow-wrap: anywhere; }

::selection { background: var(--selection); }

/* ---------------------------------------------------------------- skeleton */
.page { display: flex; flex-direction: column; min-height: 100vh; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--page-gutter); }
.container--narrow { max-width: var(--container-narrow); }
.prose { max-width: var(--measure); }
/* The margin:0 reset above removes the default spacing p/ul/ol/blockquote/pre used to get for free
 * between each other inside markdown-rendered prose. One direction only (top), so two adjacent
 * margins can never add up to a doubled gap the way a bottom-plus-top pair would. */
.prose > * + * { margin-top: var(--space-4); }
.prose ul, .prose ol { padding-inline-start: 1.5em; }
.prose li + li { margin-top: var(--space-1); }
main { flex: 1 0 auto; }

.section { padding-block: var(--section-gap); }
.section--panel { background: var(--panel); }
/* Keep one consistent gap between adjacent page bands while sharing it across both sides of the
 * boundary. This gives the outgoing content and the incoming content equal breathing room. */
.hero:has(+ .section),
.section:has(+ .section) { padding-block-end: calc(var(--section-gap) / 2); }
.hero + .section,
.section + .section { padding-block-start: calc(var(--section-gap) / 2); }

/* Skip link: visible the moment it is focused, never before. */
.skip-link {
  position: absolute; left: var(--space-4); top: -4rem; z-index: 10;
  background: var(--ink); color: var(--canvas);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius);
  transition: top var(--duration) var(--easing);
}
.skip-link:focus { top: var(--space-4); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { color: var(--ink); font-weight: var(--weight-bold); line-height: var(--leading-heading); margin: 0 0 var(--space-4); }
h1 { font-size: var(--text-display); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
p, ul, ol { margin: 0 0 var(--space-4); }
li + li { margin-top: var(--space-2); }
small, .caption { font-size: var(--text-caption); color: var(--ink-muted); }

.eyebrow {
  display: block;
  font-size: var(--text-caption);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--red-strong);
  margin-bottom: var(--space-3);
}
.standfirst { font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem); color: var(--ink-body); max-width: var(--measure); }

a { color: var(--red-strong); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- header */
.masthead { border-bottom: var(--border-hairline); background: var(--canvas); }
.masthead__inner { display: flex; align-items: center; gap: var(--space-5); padding-block: var(--space-4); }
.masthead__logo img, .masthead__logo svg { display: block; height: 2.25rem; width: auto; }
.masthead__nav { margin-inline-start: auto; }
.nav-list { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: var(--weight-medium); padding-block: var(--space-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-utility { display: none; }
.mobile-menu-toggle, .mobile-submenu-toggle { display: none; }

/* A header item can carry a submenu (Products, Developers, the open industries list). Found by
 * manual inspection of the real build: the template has always generated a nested <ul> for these,
 * but no rule here ever styled it, so it rendered as a permanently-expanded, bulleted block list
 * pushed under its parent link, on every page, on both sites. Desktop gets a conventional dropdown,
 * shown on hover or on keyboard focus inside it (no JS needed for either). The phone treatment lives
 * in the ~400px block below, consistent with this file's "a list you can see" mobile nav rule. */
.nav-list li { position: relative; }
.nav-list li > ul { list-style: none; margin: 0; padding: 0; }
.nav-list > li > ul {
  display: none; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; z-index: 20; min-width: 12rem;
  background: var(--canvas); border: var(--border-hairline); border-radius: var(--radius);
  padding: var(--space-2); box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
}
.nav-list > li:hover > ul, .nav-list > li:focus-within > ul { display: flex; }
.nav-list > li > ul a { display: block; padding: var(--space-2) var(--space-3); border-bottom: none; white-space: nowrap; }
.nav-list > li > ul a:hover, .nav-list > li > ul a:focus-visible { background: var(--panel); }

/* A ~4px first-item offset was chased here earlier and "fixed" with a position:relative;top:4px
 * compensation, before the real root cause was found: every direct child of a gap-spaced flex/grid
 * container (see the margin:0 !important list near the top of this file) could carry a phantom
 * margin-top on every item but the first. That fix already corrects .nav-list > li itself, which
 * turned out to be the actual cause here too - this position offset is removed because keeping both
 * double-corrected the first item 4px in the other direction. Re-measure before reintroducing either
 * fix if this symptom reappears. */

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: inherit; font-weight: var(--weight-bold); text-align: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background var(--duration) var(--easing), color var(--duration) var(--easing);
}
.btn--primary { background: var(--red-strong); color: var(--canvas); }
.btn--primary:hover { background: var(--ink); color: var(--canvas); }
.btn--secondary { background: var(--canvas); color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--canvas); }
/* The two masthead utility controls: an icon standing in for the usual text pill (a portrait for
 * sign-in, a handset for the contact CTA - see navUtilityButton() in render-lib.mjs). A fixed
 * circle at the WCAG 2.5.5 minimum touch size, same at every viewport width, so the mobile-only
 * text-shrinking rules the old text pill needed no longer apply here. */
.btn--icon-only { padding: 0; width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.btn__icon { width: 22px; height: 22px; }
.btn--link { padding-inline: 0; color: var(--red-strong); background: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: var(--section-gap); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-7); align-items: center; }
.hero--platform .hero__inner { grid-template-columns: minmax(0, 1fr); }     /* acupixel leads with words */
.hero--hardware .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } /* idsnap leads with the device */
.hero--no-media .hero__inner { grid-template-columns: minmax(0, 1fr); }  /* no device photo to fill a second column */
.hero--no-media .standfirst { max-width: none; }  /* an index hero's mission statement, not an article: line up with the full-width grid below it, not the usual reading measure */
.hero__media img { width: 100%; height: auto; display: block; }
/* An acupixel ("platform") hero's own illustration (products.json is the first to use one) sits
 * below the standfirst paragraph instead of beside it: floating it into the text (shape-outside)
 * read as covering the words rather than sitting next to them, so it renders as its own centred
 * block underneath, with room above and below instead of being crammed against the text. */
.hero__media-row { display: flex; gap: var(--space-5); margin: var(--space-6) 0 var(--space-2); }
.hero__media--stacked { flex: 0 1 34.5rem; min-width: 0; margin: 0; }

/* ---------------------------------------------------------------- capability strip / feature grid */
/* min() keeps the minimum track from ever exceeding the column: without it a 17rem card forces the
 * page sideways on a narrow phone, which is the most common way a "responsive" layout is not. */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: var(--block-gap); list-style: none; padding: 0; margin: 0; }
/* Gate 2 feedback section 3.3 / owner ruling on decorative red (design-system.md section 11): a
 * red top border on EVERY card and a red icon on EVERY card had no precedent in Acupixel's own
 * brand document and read as decoration, not signal. The brand document's own "Feature List"
 * component puts red on the HEADING TEXT of a genuinely notable item, sparingly — not as an
 * unconditional card border. Default is now a plain hairline; `.feature--signal` is the accent,
 * for a card content genuinely wants to mark, not applied automatically. */
.feature {
  background: var(--canvas); border-top: var(--border-hairline);
  padding: var(--space-5) var(--space-4) var(--space-4);
}
.feature--signal { border-top: var(--border-accent); }
.feature--signal h3 { color: var(--red-strong); }
.feature h2, .feature h3 { margin-bottom: var(--space-2); font-size: var(--text-h4); }
.feature p { margin-bottom: var(--space-2); }
.feature__qualifier { display: block; font-size: var(--text-caption); color: var(--ink-muted); }
/* A named icon (document, shield, ...) is real content structure, not decoration: given back only
 * where a block supplies one of the fixed keys in render-lib.mjs's ICONS map. Near-black by default,
 * matching the brand document's capability-strip icon rule (design-system.md section 11). Sits in
 * its own tinted tile rather than floating bare on the card, and grows and switches to the accent
 * colour together with the rest of the card on hover/focus (see .feature__card-link below). */
.feature__icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: var(--space-4);
  border-radius: var(--radius-lg); background: var(--panel-soft);
  transition: background var(--duration) var(--easing);
}
.feature__icon { display: block; width: 1.75rem; height: 1.75rem; color: var(--ink); transition: color var(--duration) var(--easing), transform var(--duration) var(--easing); }
/* A feature card can be a single click-through to its own full page (schemas/blocks.schema.json's
 * feature_grid item.link_ref). The whole card is the target, not just its title, so the hit area
 * matches what visually reads as one clickable tile. */
.feature--linked { padding: 0; }
.feature__card-link {
  display: block; height: 100%; padding: var(--space-5) var(--space-4) var(--space-4);
  color: inherit; text-decoration: none;
  transition: background var(--duration) var(--easing), box-shadow var(--duration) var(--easing), transform var(--duration) var(--easing);
}
.feature__card-link:hover, .feature__card-link:focus-visible {
  background: var(--panel-soft); box-shadow: var(--shadow-raised); transform: translateY(-2px);
}
.feature__card-link:hover h2, .feature__card-link:hover h3,
.feature__card-link:focus-visible h2, .feature__card-link:focus-visible h3 { color: var(--red-strong); }
.feature__card-link:hover .feature__icon-tile, .feature__card-link:focus-visible .feature__icon-tile { background: var(--callout); }
.feature__card-link:hover .feature__icon, .feature__card-link:focus-visible .feature__icon { color: var(--red-strong); transform: scale(1.08); }
.feature--linked .feature__qualifier { color: var(--ink-muted); }
/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--text-small); }
caption { text-align: left; font-weight: var(--weight-bold); color: var(--ink); padding-bottom: var(--space-3); }
th, td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--panel); color: var(--ink); font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.04em; }
tbody th { font-weight: var(--weight-bold); color: var(--ink); width: 40%; }
tr.is-emphasis td, tr.is-emphasis th { background: var(--callout); }
.table-note { font-size: var(--text-caption); color: var(--ink-muted); margin-top: var(--space-3); }
.page[data-page-role="product_page"] .section > .container > .table-wrap:first-child {
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
}
.product-detail-table .table-wrap { margin-top: clamp(1.5rem, 3vw, 2.75rem); }
.col-emphasis { border-inline: 2px solid var(--red); }

/* ---------------------------------------------------------------- steps and decisions */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--block-gap); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-4); }
.steps > li::before {
  content: counter(step); grid-row: span 2;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--ink); color: var(--canvas);
  display: grid; place-items: center; font-weight: var(--weight-bold);
}
/* Neutral rule, not red: a decision guide repeats this once per question (six on the "which
 * scanner" page), and a red rule on every one of them is exactly "every section a red box" — the
 * brand document's own DON'T. No brand precedent describes a component like this, so it takes the
 * plain structural treatment rather than borrowing the callout's alert-coloured one. */
.decision { border-inline-start: 3px solid var(--rule-strong); padding-inline-start: var(--space-5); margin-bottom: var(--space-6); }
.decision__q { font-weight: var(--weight-bold); color: var(--ink); font-size: var(--text-h3); margin-bottom: var(--space-2); }
.decision__not { color: var(--ink-muted); font-size: var(--text-small); }

/* ---------------------------------------------------------------- cards, listings, industries band */
/* Found too flat and too quiet by direct feedback: a hairline box the same size as the body text
 * next to it reads as a placeholder, not a real listing. Same direction as the feature_grid cards
 * (design-system.md section 11's decorative-red discipline still applies - the lift and shadow are
 * neutral, not the brand-red accent, so nothing here becomes decoration for its own sake). */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: var(--block-gap); list-style: none; padding: 0; margin: 0; align-items: stretch; }
.card {
  background: var(--canvas); border: var(--border-hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--duration) var(--easing), transform var(--duration) var(--easing), border-color var(--duration) var(--easing);
}
.card h2, .card h3 { margin: 0 0 var(--space-2); font-size: var(--text-h3); }
/* Two lines reserved for a title on text and icon cards, so a row of one-line titles ("Car rental")
 * lands at the same height as a row with a two-line one ("Financial services and lending"). Not on
 * photo cards: every scanner title fits on one line, so the reserve would only add empty space. */
.card:not(.card--media) h2, .card:not(.card--media) h3 { min-height: 2.5em; }
.card p { margin-bottom: var(--space-2); }
/* Clamped to a fixed number of lines so every card lands at roughly the same height regardless of
 * how much copy that record happens to carry - without this, a scanner with a long duplex/passport/
 * chip output sentence towers over a shorter one, even within the same grid row. */
/* min-height reserves the same slot every card's clamped text could fill, so a short one (with
 * blank space left over) still ends up the same overall height as a fully-clamped one - clamping
 * the maximum without also flooring the minimum still leaves shorter cards visibly shorter.
 * Four lines, not three: three cut real sentences mid-word ("licences and passports, at...") on four
 * industry cards, and on acupixel.com those cards are not links yet, so the rest of the sentence
 * could never be read at all. Measured: no card on either site needs more than four. */
.card__body p:not(.card__io) { display: -webkit-box; line-clamp: 4; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 6.4em; }
.card__io { font-size: var(--text-caption); color: var(--ink-muted); display: -webkit-box; line-clamp: 4; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 6.4em; }
.card__io b { color: var(--ink); font-weight: var(--weight-bold); }
.card--held { display: none; }   /* a held record never renders; belt and braces alongside the build filter */
/* search.js filters a list by setting `hidden` on each card, but .card's own display: flex beats the
 * browser's built-in [hidden] { display: none } - so the filter hid nothing on screen, ever, until
 * this rule. */
.card[hidden] { display: none; }

/* ---------------------------------------------------------------- list filter */
/* Only on lists long enough to need one (API reference, glossary). It filters the list below it,
 * not the whole site, and its label says so. */
.search-field { position: relative; max-width: 40rem; margin: 0 0 var(--space-6); }
.search-field__icon {
  position: absolute; left: var(--space-4); top: 50%; transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem; color: var(--ink-muted); pointer-events: none;
}
.search-field input {
  width: 100%; min-height: 3.25rem; padding: var(--space-3) var(--space-4) var(--space-3) calc(var(--space-4) + 1.25rem + var(--space-3));
  font: inherit; font-size: var(--text-body); color: var(--ink);
  background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-raised);
  transition: border-color var(--duration) var(--easing), box-shadow var(--duration) var(--easing);
}
.search-field input::placeholder { color: var(--ink-muted); }
.search-field input:hover { border-color: var(--ink-muted); }
.search-field input:focus { border-color: var(--red-strong); box-shadow: var(--shadow-raised); }
.search-field:focus-within .search-field__icon { color: var(--red-strong); }
.search-no-results { color: var(--ink-muted); margin: 0 0 var(--space-5); }
/* An industry card's own icon (.card__icon-tile, card__icon) - same tile-plus-glyph language as
 * .feature__icon-tile, its own class rather than a shared one since a card can carry either an icon
 * or a photo (.card__media) but never both. */
.card__icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.75rem; height: 3.75rem; margin-bottom: var(--space-2);
  border-radius: var(--radius-lg); background: var(--panel-soft);
  transition: background var(--duration) var(--easing), transform var(--duration) var(--easing);
}
.card__icon { display: block; width: 2.25rem; height: 2.25rem; color: var(--ink); transition: color var(--duration) var(--easing); }
/* The whole card is the click target (schemas/blocks.schema.json's link_ref/url fields), not just
 * its title - the same reasoning as .feature__card-link. Acupixel asked for a bigger, more obvious
 * hover after the first pass still read as flat: the card now visibly "lights up" (the brand's own
 * pale-red callout tint, not a new colour), on top of the lift/shadow/border/heading shift, and an
 * icon card's own tile pops out - background flips to white against the tinted card so it reads as
 * lifting off the surface, plus a scale-and-tilt rather than a plain scale, for a livelier "pop" than
 * the more restrained feature-card hover uses. */
/* .card--icon (industry cards) gets the same hover whether or not it links anywhere yet, at
 * Acupixel's request: an industry whose own page is still a draft should still respond. The
 * pointer stays the plain arrow on those (no cursor rule here, and there is no <a> to set one), so a
 * card that goes nowhere does not also pretend to be a link. */
.card--linked:hover, .card--linked:focus-within, .card--icon:hover {
  box-shadow: var(--shadow-raised), 0 12px 28px rgba(17, 17, 17, 0.16); transform: translateY(-4px);
  border-color: var(--red-strong); background: var(--callout);
}
.card--linked:hover .card__icon-tile, .card--linked:focus-within .card__icon-tile, .card--icon:hover .card__icon-tile {
  background: var(--canvas); transform: scale(1.15) rotate(-6deg);
}
.card--linked:hover .card__icon, .card--linked:focus-within .card__icon, .card--icon:hover .card__icon { color: var(--red-strong); }
.card__link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.card__link:hover h2, .card__link:hover h3, .card__link:focus-visible h2, .card__link:focus-visible h3,
.card--icon:hover h2, .card--icon:hover h3 { color: var(--red-strong); }
/* Padding lives here, not on .card__link/.card, so a product photo (.card__media, hardware listings
 * only) can bleed to the card's own rounded edges above the text instead of being squeezed inside
 * the same padding as the heading. */
.card__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-2); padding: var(--space-5); }
/* height: auto overrides the HTML height attribute's own presentational hint - without it, aspect-
 * ratio has no auto dimension left to compute, and every card ends up the raw pixel height of its
 * own source photo. object-fit: cover crops to fill that fixed box instead of letterboxing a
 * near-square photo next to a landscape one at different apparent sizes - every card's photo reads
 * as the same size at a glance, cropped rather than boxed. .card's own overflow: hidden clips the
 * image to the card's rounded corners, so no separate radius is needed here. */
.card__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform var(--duration) var(--easing); }
.card--linked:hover .card__media img, .card--linked:focus-within .card__media img { transform: scale(1.06); }

.industry-band { background: var(--panel); }
.industry-list { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.industry-list a,
.industry-list > li:not(:has(a)) { background: var(--canvas); border: var(--border-hairline); border-radius: var(--radius); padding: var(--space-2) var(--space-4); text-decoration: none; color: var(--ink); }
.industry-list a:hover { border-color: var(--red); }
.open-list-note { margin-top: var(--space-5); color: var(--ink-body); font-style: italic; }

/* ---------------------------------------------------------------- cross-site promotion */
/* The two sites promote each other. This is a composition, not a footer link: it is the moment a
 * reader on one site realises the other one has what they came for. */
.site-promo { background: var(--ink); color: var(--canvas); border-radius: var(--radius-lg); overflow: hidden; }
.site-promo__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: center; padding: var(--space-7); }
.site-promo h2 { color: var(--canvas); }
.site-promo p { color: var(--panel); margin-bottom: 0; max-width: 46ch; }
.site-promo .btn--primary { background: var(--canvas); color: var(--ink); }
/* --red-strong on hover, not --red: the label is small white text on the fill, and white on
 * Acupixel Red is 4.38:1. On --red-strong it is 6.96:1. */
.site-promo .btn--primary:hover { background: var(--red-strong); color: var(--canvas); }
/* NOT red. This is a 13px caption on the near-black panel, so it is small text needing 4.5:1, and
 * every red we have fails there: Acupixel Red is 4.31 and --red-strong is 2.71, because darkening a
 * colour makes it worse against a dark background, not better. --panel reaches 16.87. Red still
 * signals on this component through the call to action, which is where it belongs. */
.site-promo__domain { display: block; font-size: var(--text-caption); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--panel); margin-bottom: var(--space-2); }

/* ---------------------------------------------------------------- closing band */
/* Every page's closing call to action (cta_banner), and - where a page also promotes the other site
 * - that promotion beside it as a tile in the same band (render-lib.mjs closingHtml). Replaced a
 * .callout-styled box plus a separate near-black .site-promo slab stacked on top of it, which read as
 * two unrelated boxes in two unrelated styles. Same language as the cards: soft panel, rounded,
 * hairline border; red stays on the button, not on a warning-style rule down the side. */
.closing {
  background: var(--panel-soft); border: var(--border-hairline); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7); text-align: center;
}
.closing h2 { margin: 0 0 var(--space-3); }
.closing__main p { max-width: 46ch; margin: 0 auto; color: var(--ink-body); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.closing .cta-row { justify-content: center; margin-top: var(--space-6); }
.closing--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7);
  align-items: center; text-align: left; padding: var(--space-7);
}
.closing--split .closing__main p { margin: 0; }
.closing--split .cta-row { justify-content: flex-start; }
.closing__promo {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2);
  background: var(--canvas); border: var(--border-hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised); padding: var(--space-5);
  transition: box-shadow var(--duration) var(--easing), transform var(--duration) var(--easing), border-color var(--duration) var(--easing);
}
.closing__promo:hover, .closing__promo:focus-within {
  transform: translateY(-3px); border-color: var(--red-strong);
  box-shadow: var(--shadow-raised), 0 12px 28px rgba(17, 17, 17, 0.14);
}
.closing__promo:hover .card__icon-tile, .closing__promo:focus-within .card__icon-tile { background: var(--callout); transform: scale(1.1) rotate(-6deg); }
.closing__promo:hover .card__icon, .closing__promo:focus-within .card__icon { color: var(--red-strong); }
.closing__promo .card__icon-tile { margin-bottom: var(--space-1); }
.closing__promo h2 { font-size: var(--text-h3); margin: 0; }
.closing__promo p { margin: 0; color: var(--ink-body); }
.closing__promo .btn { margin-top: var(--space-3); padding-inline: var(--space-5); max-width: 100%; }
.closing__eyebrow { font-size: var(--text-caption); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--red-strong); }

/* ---------------------------------------------------------------- callout, pull-out, media */
/* Precedented: the brand document names this exact pattern — "Key Update Callout: Pale red
 * background, red outline/icon, one concise product/news update" — for a boxed alert-style
 * notice. Kept as designed; `.form__routed` below plays the same alert role. */
.callout { background: var(--callout); border-inline-start: var(--border-accent); padding: var(--space-5); border-radius: var(--radius); }
/* Class name is one word on purpose: the hyphenated form contains a token the commercial-terms
 * scan searches for, and a class name is a shipped string like any other.
 * No component quite like this is named in the brand document; treated as the same family as the
 * "Feature List" heading rule (red on the one thing deliberately singled out), used sparingly. No
 * content record uses this block yet — revisit if it starts appearing often enough to read as
 * decoration rather than one deliberate highlight. */
.pullquote { border-inline-start: var(--border-accent); padding-inline-start: var(--space-5); font-size: var(--text-h3); color: var(--ink); }
.pullquote cite { display: block; font-size: var(--text-caption); color: var(--ink-muted); font-style: normal; margin-top: var(--space-3); }
figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; border: var(--border-hairline); border-radius: var(--radius); }
figcaption { font-size: var(--text-caption); color: var(--ink-muted); margin-top: var(--space-2); }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: var(--space-5); max-width: 44rem; }
.field { display: grid; gap: var(--space-2); }
.field > label { font-weight: var(--weight-bold); color: var(--ink); }
.field__hint { font-size: var(--text-caption); color: var(--ink-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--canvas);
  border: var(--border-control); border-radius: var(--radius);
  padding: var(--space-3);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--red-strong); border-width: 2px; }
.field__error { color: var(--red-strong); font-weight: var(--weight-bold); font-size: var(--text-small); }
.choice-list { display: grid; gap: var(--space-2); border: 0; margin: 0; padding: 0; }
.choice { display: flex; gap: var(--space-3); align-items: flex-start; }
.choice input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--red-strong); }
.form__consent { background: var(--panel-soft); padding: var(--space-4); border-radius: var(--radius); }
.form__routed { background: var(--callout); border-inline-start: var(--border-accent); padding: var(--space-4); border-radius: var(--radius); }
.form__status[hidden] { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- documentation */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: var(--space-7); align-items: start; }
.doc-toc { position: sticky; top: var(--space-5); font-size: var(--text-small); border-inline-start: var(--border-hairline); padding-inline-start: var(--space-4); }
.doc-toc ul { list-style: none; padding: 0; }
.endpoint-signature { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; background: var(--panel); border-radius: var(--radius); padding: var(--space-3) var(--space-4); font-family: var(--font-mono); font-size: var(--text-small); }
.method { font-weight: var(--weight-bold); color: var(--canvas); background: var(--ink); border-radius: var(--radius-sm); padding: 0.1rem var(--space-2); }
pre { background: var(--ink); color: var(--panel); padding: var(--space-4); border-radius: var(--radius); overflow-x: auto; font-family: var(--font-mono); font-size: var(--text-small); line-height: 1.5; }
code { font-family: var(--font-mono); font-size: 0.95em; }
:not(pre) > code { background: var(--panel); padding: 0.1em 0.35em; border-radius: var(--radius-sm); color: var(--ink); }
/* A request body's optional fields, disclosed on demand. Every field still ships in the DOM: this
 * is progressive disclosure, never a dropped row (gate 2 feedback section 4). */
.optional-fields { margin-top: var(--space-4); border: var(--border-hairline); border-radius: var(--radius); padding: var(--space-4); }
.optional-fields summary { cursor: pointer; font-weight: var(--weight-bold); color: var(--ink); }
.optional-fields[open] summary { margin-bottom: var(--space-4); }
.sample-tabs { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.sample-tab { font: inherit; font-size: var(--text-small); background: var(--panel); border: var(--border-hairline); border-radius: var(--radius); padding: var(--space-2) var(--space-3); cursor: pointer; }
.sample-tab[aria-selected="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }

/* ---------------------------------------------------------------- article */
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-caption); color: var(--ink-muted); border-bottom: var(--border-hairline); padding-bottom: var(--space-4); margin-bottom: var(--space-6); }
/* A boxed aside inside running prose plays the callout's role (compare the "Key Update Callout"
 * precedent above), so it keeps the same red rule. */
.article blockquote { border-inline-start: var(--border-accent); margin: 0 0 var(--space-4); padding-inline-start: var(--space-5); color: var(--ink); }
.feedback { border-top: var(--border-hairline); margin-top: var(--space-7); padding-top: var(--space-5); display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--panel); border-top: var(--border-hairline); margin-top: var(--section-gap); padding-block: var(--space-7); }
/* A brand block (logo, one-line statement, contact details with icons) beside the link columns,
 * replacing a row of five equal plain-text columns and a fine-print legal line. The brand statement
 * lives under the logo now, where it reads as a tagline, not as small print beside the legal name. */
.footer-top { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 2.6fr); gap: var(--space-7); }
.footer-brand__logo { display: inline-block; transition: transform var(--duration) var(--easing); }
.footer-brand__logo img { display: block; height: 2.25rem; width: auto; }
.footer-brand__logo:hover { transform: translateY(-2px); }
.footer-brand__statement { margin: var(--space-4) 0 var(--space-5); color: var(--ink-body); max-width: 30ch; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.footer-contact li { margin: 0; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: var(--space-3); color: var(--ink); text-decoration: none; }
.footer-contact__icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--canvas); border: var(--border-hairline); color: var(--ink);
  transition: background var(--duration) var(--easing), color var(--duration) var(--easing), transform var(--duration) var(--easing), border-color var(--duration) var(--easing);
}
.footer-contact__icon svg { width: 1.1rem; height: 1.1rem; }
.footer-contact a span:last-child { transition: color var(--duration) var(--easing); }
.footer-contact a:hover .footer-contact__icon, .footer-contact a:focus-visible .footer-contact__icon {
  background: var(--red-strong); border-color: var(--red-strong); color: var(--canvas); transform: scale(1.12) rotate(-8deg);
}
.footer-contact a:hover span:last-child, .footer-contact a:focus-visible span:last-child { color: var(--red-strong); }

.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--space-5); }
.footer-cols h2 { position: relative; font-size: var(--text-caption); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); color: var(--ink); padding-bottom: var(--space-3); margin-bottom: var(--space-4); }
.footer-cols h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 1.5rem; height: 2px; background: var(--red); }
.footer-cols ul { list-style: none; padding: 0; }
/* A link slides right as a short red bar grows in ahead of it - motion that says "go" without
 * underlining every link in a block that is nothing but links. --duration drops to 0 under
 * prefers-reduced-motion (tokens.css), so this becomes an instant state change there. */
.footer-cols a { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; transition: color var(--duration) var(--easing), transform var(--duration) var(--easing); }
.footer-cols a::before { content: ""; display: inline-block; width: 0; height: 2px; margin-right: 0; background: var(--red); transition: width var(--duration) var(--easing), margin-right var(--duration) var(--easing); }
.footer-cols a:hover, .footer-cols a:focus-visible { color: var(--red-strong); }
.footer-cols a:hover::before, .footer-cols a:focus-visible::before { width: 0.75rem; margin-right: var(--space-2); }

.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); border-top: var(--border-hairline); margin-top: var(--space-7); padding-top: var(--space-5); font-size: var(--text-caption); color: var(--ink-muted); }
.footer-legal .nav-list { gap: var(--space-4); }
.footer-legal .nav-list:empty { display: none; }

/* ---------------------------------------------------------------- ~400px */
@media (max-width: 52rem) {
  .hero__inner, .hero--hardware .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .hero--hardware .hero__media { order: -1; }   /* on a phone, the device comes first */
  .hero__media-row { flex-direction: column; margin: var(--space-4) 0; }
  .hero__media--stacked { flex: 0 0 auto; width: 100%; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { position: static; border-inline-start: 0; border-bottom: var(--border-hairline); padding: 0 0 var(--space-4); }
  .site-promo__inner { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
  .closing { padding: var(--space-6) var(--space-5); }
  .closing--split { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding: var(--space-5); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  tbody th { width: auto; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }

  /* Keep the logo and contact action visible while the main menu opens below them. */
  .masthead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo menu" "nav nav";
    gap: var(--space-3) var(--space-4); align-items: center;
  }
  .masthead__logo { grid-area: logo; min-width: 0; }
  .masthead__logo img { height: 1.75rem; max-width: 100%; }
  .mobile-menu-toggle {
    display: inline-flex; grid-area: menu; align-items: center; justify-content: center;
    min-width: 4rem; min-height: 44px; padding: 0 var(--space-3);
    font: inherit; font-weight: var(--weight-bold); color: var(--ink);
    background: var(--canvas); border: var(--border-control); border-radius: var(--radius);
    cursor: pointer;
  }
  .mobile-menu-toggle[aria-expanded="true"] { color: var(--red-strong); border-color: var(--red-strong); }
  .masthead__nav {
    display: none; grid-area: nav; min-width: 0;
    margin-inline: calc(var(--page-gutter) * -1);
    padding: var(--space-2) var(--page-gutter) var(--space-4);
    border-top: var(--border-hairline);
  }
  .masthead__nav.is-open { display: block; }
  .nav-utility { display: none; }
  .nav-list {
    display: flex; flex-direction: column; align-items: stretch;
    max-height: min(70vh, 36rem); overflow-y: auto; overflow-x: hidden;
    gap: 0; padding: 0; -webkit-overflow-scrolling: touch;
  }
  .nav-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: var(--border-hairline); }
  .nav-list > li > a { display: flex; align-items: center; min-height: 48px; white-space: normal; padding: var(--space-2) 0; border: 0; }
  .mobile-submenu-toggle {
    display: block; width: 48px; min-height: 48px; cursor: pointer;
    background: transparent; color: var(--ink); border: 0;
    font-size: 1.5rem; line-height: 1;
  }
  .mobile-submenu-toggle::after { content: "+"; }
  .mobile-submenu-toggle[aria-expanded="true"]::after { content: "−"; }
  .nav-list > li > ul {
    display: none; position: static; grid-column: 1 / -1; flex-direction: column;
    gap: 0; min-width: 0; padding: 0 0 var(--space-2) var(--space-4);
    border: 0; box-shadow: none; background: none;
  }
  .nav-list > li:hover > ul, .nav-list > li:focus-within > ul { display: none; }
  .nav-list > li.submenu-open > ul { display: flex; }
  .nav-list > li > ul a { white-space: normal; min-height: 44px; display: flex; align-items: center; }
  .hero { padding-block: var(--space-6); }
  .hero--hardware .hero__media { order: 0; }
  .hero__media img { max-height: 22rem; object-fit: contain; }
  .hero .cta-row .btn { width: 100%; }
  .section { padding-block: var(--space-6); }
  .hero:has(+ .section),
  .section:has(+ .section) { padding-block-end: 1.5rem; }
  .hero + .section,
  .section + .section { padding-block-start: 1.5rem; }
  .site-footer { padding-block: var(--space-6); }
  .table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
  .field input, .field select, .field textarea { max-width: 100%; font-size: 1rem; }
}

@media (max-width: 24rem) {
  .masthead__inner { gap: var(--space-2); }
  .nav-utility { gap: var(--space-2); }
  .nav-utility .btn--icon-only:first-child { display: none; }
  .footer-cols { gap: var(--space-4); }
}

@media print {
  .masthead__nav, .cta-row, .feedback { display: none; }
}

/* IDSnap contact pages */
.contact-details{display:grid;grid-template-columns:minmax(250px,370px) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);align-items:stretch}
.contact-details__info{padding:clamp(1.5rem,3vw,2.5rem);background:var(--panel-soft);min-width:0}
.contact-details__info h2{margin-top:0}.contact-details__info h3{font-size:1rem;margin:1.4rem 0 .3rem}
.contact-details__info address{font-style:normal;line-height:1.65}.contact-details__info a{overflow-wrap:anywhere;text-decoration:underline}
.contact-details__info p{margin-top:2rem}.contact-details__map{display:block;width:100%;min-height:440px;border:0;background:var(--panel)}
.distributor-contact p{max-width:65ch}

/* -------------------------------------------------------------------------
   IDSnap 2026 visual refresh — Precision Editorial
   The content model stays intact; this layer gives every generated page the
   same confident industrial/editorial language selected for the redesign.
   ------------------------------------------------------------------------- */

:root {
  --canvas: #fbfaf8;
  --panel: #f0efec;
  --panel-soft: #f6f5f2;
  --ink: #0b0b0c;
  --ink-body: #343434;
  --ink-muted: #6a6966;
  --rule: #d8d6d1;
  --red: #e11922;
  --red-strong: #c30f18;
  --container: 82rem;
  --radius: 8px;
  --radius-lg: 18px;
  --shadow-raised: 0 22px 55px rgba(17, 17, 17, .10);
  --section-gap: clamp(4.75rem, 3.2rem + 4vw, 8rem);
  --text-display: clamp(3rem, 1.65rem + 4.8vw, 6rem);
  --text-h2: clamp(2rem, 1.35rem + 2.2vw, 3.5rem);
}

body {
  background: var(--canvas);
  letter-spacing: -.006em;
}

h1, h2, h3, h4 { letter-spacing: -.035em; }
h1 { max-width: none; }
h2 { max-width: 19ch; }
.standfirst { line-height: 1.55; }
body:not([data-page-role="home"]) .hero h1 {
  max-width: none;
  font-size: clamp(2.7rem, 2.15rem + 2vw, 3.75rem);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(251 250 248 / 94%);
  backdrop-filter: blur(18px);
}
.masthead__inner { min-height: 78px; padding-block: .95rem; }
.masthead__logo img, .masthead__logo svg { height: 2.55rem; }
.nav-list { gap: clamp(1rem, 1.8vw, 2rem); }
.nav-list a {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.nav-list > li > ul {
  min-width: 17rem;
  margin-top: .75rem;
  padding: .65rem;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 14%);
}
.nav-list > li > ul::before {
  content: "";
  position: absolute;
  inset: -.8rem 0 auto;
  height: .8rem;
}
.nav-list > li > ul a { padding: .75rem .85rem; border-radius: 7px; }

.btn {
  min-height: 50px;
  border-radius: 7px;
  padding-inline: 1.55rem;
  letter-spacing: -.015em;
  transition: transform var(--duration) var(--easing), background var(--duration) var(--easing), color var(--duration) var(--easing), box-shadow var(--duration) var(--easing);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); box-shadow: 0 10px 26px rgb(225 25 34 / 18%); }
.btn--icon-only { min-height: 44px; border-radius: 50%; padding: 0; }

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 6vw, 7.75rem);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgb(17 17 17 / 3%) 50%, transparent 50.1%),
    radial-gradient(circle at 77% 30%, #fff 0, #f6f4ef 44%, transparent 67%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 13%, transparent 13% 100%);
}
.hero__inner { gap: clamp(2.5rem, 6vw, 6.75rem); }
.hero--hardware .hero__inner { grid-template-columns: minmax(0, .82fr) minmax(32rem, 1.18fr); }
.hero .eyebrow { margin-bottom: 1.35rem; }
.hero .standfirst { max-width: 45ch; }
body[data-page-role="home"] .hero h1 {
  max-width: none;
  font-size: clamp(3.15rem, 4.85vw, 5.15rem);
  line-height: .98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero__media {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid rgb(17 17 17 / 9%);
  border-radius: 22px;
  background: rgb(255 255 255 / 58%);
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 11% 8% auto auto;
  width: 34%;
  height: 22%;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  pointer-events: none;
}
.hero__media img { position: relative; filter: drop-shadow(0 26px 30px rgb(0 0 0 / 16%)); }

.hero--comparison .hero__inner { grid-template-columns: minmax(0, .8fr) minmax(34rem, 1.2fr); }
.comparison-hero__copy h1 { max-width: 12ch; }
.comparison-hero__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  max-width: 40rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.comparison-hero__choices li { display: grid; gap: .2rem; padding: .9rem 1rem; border-left: 3px solid var(--red); background: rgb(255 255 255 / 72%); }
.comparison-hero__choices strong { font-size: .92rem; }
.comparison-hero__choices span { color: var(--muted); font-size: .82rem; }
.comparison-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgb(17 17 17 / 9%);
  border-radius: 22px;
  background: rgb(255 255 255 / 68%);
  box-shadow: 0 24px 60px rgb(17 17 17 / 10%);
}
.comparison-product {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(15rem, 1fr) auto auto;
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 15px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform var(--duration) var(--easing), border-color var(--duration) var(--easing), box-shadow var(--duration) var(--easing);
}
.comparison-product:hover { transform: translateY(-4px); border-color: rgb(225 25 34 / 34%); box-shadow: 0 18px 35px rgb(17 17 17 / 10%); }
.comparison-product__badge { justify-self: start; z-index: 1; padding: .42rem .6rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.comparison-product--e .comparison-product__badge { background: var(--red); }
.comparison-product img { align-self: center; width: 100%; height: 100%; max-height: 18rem; padding: .6rem 0; object-fit: contain; filter: drop-shadow(0 16px 20px rgb(17 17 17 / 14%)); }
.comparison-product--e img { border-radius: 9px; }
.comparison-product__name { margin-top: .65rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.025em; }
.comparison-product__detail { min-height: 2.7em; margin-top: .3rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.comparison-hero__or { position: absolute; z-index: 3; top: 47%; left: 50%; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; transform: translate(-50%, -50%); border: 4px solid #f7f6f2; border-radius: 50%; background: var(--ink); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; }

.product-hero__media {
  padding: clamp(.75rem, 1.5vw, 1.25rem);
  background: #fff;
  box-shadow: var(--shadow-raised);
}
.product-hero__media::before { z-index: 2; }
.product-hero__media img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 14px;
  filter: none;
}
.product-hero__caption {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: .85rem;
  overflow: hidden;
  border-radius: 9px;
  background: var(--rule);
}
.product-hero__caption span {
  display: grid;
  gap: .15rem;
  padding: .85rem 1rem;
  background: var(--canvas);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
.product-hero__caption b { color: var(--ink); font-size: .83rem; }

.deployment-compare {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(32rem, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6.75rem);
  align-items: center;
}
.deployment-compare__copy { max-width: 42rem; }
.deployment-compare__copy h2 { max-width: 15ch; }
.deployment-compare__copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.deployment-compare__copy strong { color: var(--ink); }
.deployment-compare__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
}
.deployment-device {
  position: relative;
  display: grid;
  grid-template-rows: minmax(18rem, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgb(17 17 17 / 8%);
}
.deployment-device--featured { border-color: rgb(225 25 34 / 35%); }
.deployment-device img {
  width: 100%;
  height: 100%;
  max-height: 22rem;
  padding: 1.5rem;
  object-fit: contain;
}
.deployment-device__label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .45rem .65rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.deployment-device--featured .deployment-device__label { background: var(--red); }
.deployment-device figcaption {
  display: grid;
  gap: .2rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--rule);
  background: var(--canvas);
}
.deployment-device figcaption strong { font-size: 1.05rem; }
.deployment-device figcaption span { color: var(--muted); font-size: .85rem; }

.section-intro {
  max-width: 50rem;
  margin: -1.35rem 0 clamp(2rem, 4vw, 3.5rem);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.industry-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  transition: transform var(--duration) var(--easing), box-shadow var(--duration) var(--easing), border-color var(--duration) var(--easing);
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgb(225 25 34 / 34%);
  box-shadow: 0 20px 45px rgb(17 17 17 / 9%);
}
.industry-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.industry-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border-bottom: 1px solid var(--rule);
  object-fit: cover;
}
.industry-card__body { display: flex; flex-direction: column; min-height: 17.5rem; padding: 1.35rem; }
.industry-card__body .eyebrow { margin-bottom: .8rem; }
.industry-card__body h3 { margin-bottom: .75rem; font-size: 1.3rem; }
.industry-card__body p { margin-bottom: 1.25rem; color: var(--muted); line-height: 1.6; }
.industry-card__body .text-link { margin-top: auto; }

.capability-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}
.capability-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgb(17 17 17 / 7%);
}
.capability-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--rule);
  object-fit: cover;
}
.capability-card__body { padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.capability-card__body h3 { margin-bottom: .65rem; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.capability-card__body p { margin: 0; color: var(--muted); line-height: 1.65; }

.capability-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.capability-story-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capability-story {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgb(17 17 17 / 7%);
}
.capability-story figure {
  display: grid;
  min-height: 16rem;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(145deg, #f7f9fa, #e9eef0);
}
.capability-story figure img { display: block; width: 100%; height: 100%; max-height: 18rem; object-fit: cover; }
.capability-story--device figure img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 20px rgb(17 17 17 / 16%)); }
.capability-story__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 2rem); }
.capability-story__body h3 { margin-bottom: .75rem; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.capability-story__body > p { margin: 0 0 1.15rem; color: var(--muted); line-height: 1.65; }
.capability-story__body ul { display: grid; gap: .65rem; margin: auto 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--rule); list-style: none; }
.capability-story__body li { position: relative; padding-left: 1.35rem; color: var(--ink-body); line-height: 1.5; }
.capability-story__body li::before { content: ""; position: absolute; top: .58em; left: 0; width: .45rem; height: .45rem; border-radius: 50%; background: var(--red); }
.capability-story__note { display: block; margin-top: 1rem; color: var(--ink-muted); font-size: var(--text-caption); line-height: 1.5; }

.support-hero-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  align-items: stretch;
}
.support-hero-products::before { display: none; }
.support-hero-products > div {
  display: grid;
  grid-template-rows: minmax(12rem, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
}
.support-hero-products img {
  align-self: center;
  width: 100%;
  height: 100%;
  max-height: 16rem;
  padding: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgb(17 17 17 / 14%));
}
.support-hero-products span { padding: .7rem; border-top: 1px solid var(--rule); color: var(--ink-muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.capability-story__body > .btn, .capability-story__body > .text-link { align-self: flex-start; margin-top: auto; }

.hero--selector .hero__inner { grid-template-columns: minmax(0, .9fr) minmax(32rem, 1.1fr); }
.selector-hero__visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: .75rem;
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 20px;
  background: rgb(255 255 255 / 7%);
}
.selector-hero__visual figure { margin: 0; text-align: center; }
.selector-hero__visual img { display: block; width: 100%; height: 15rem; object-fit: contain; filter: drop-shadow(0 16px 20px rgb(0 0 0 / 30%)); }
.selector-hero__visual figcaption { margin-top: .5rem; color: rgb(255 255 255 / 72%); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.scanner-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--rule);
  list-style: none;
  counter-reset: none;
}
.scanner-choice-grid li { margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; }
.scanner-choice-grid figure { display: grid; place-items: center; height: 12rem; margin: calc(clamp(1.5rem, 3vw, 2.25rem) * -1) calc(clamp(1.5rem, 3vw, 2.25rem) * -1) 1.4rem; overflow: hidden; border-bottom: 1px solid var(--rule); background: linear-gradient(145deg, #f7f9fa, #e9eef0); }
.scanner-choice-grid figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scanner-choice-grid li > span { display: block; margin-bottom: 1.25rem; color: var(--red-strong); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.scanner-choice-grid h3 { margin-bottom: .75rem; font-size: 1.35rem; }
.scanner-choice-grid p { color: var(--muted); line-height: 1.65; }
.scanner-choice-grid strong { display: block; margin-top: 1.25rem; font-size: .86rem; line-height: 1.5; }

.scanner-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.scanner-picker-card { display: grid; grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.28fr); min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgb(17 17 17 / 7%); }
.scanner-picker-card--featured { grid-column: 1 / -1; grid-template-columns: minmax(19rem, .82fr) minmax(0, 1.18fr); border-color: rgb(225 25 34 / 32%); }
.scanner-picker-card__media { position: relative; display: grid; place-items: center; min-height: 25rem; padding: 1.5rem; border-right: 1px solid var(--rule); background: linear-gradient(145deg, #f7f9fa, #e9eef0); }
.scanner-picker-card__media img { display: block; width: 100%; height: 100%; max-height: 18rem; object-fit: contain; filter: drop-shadow(0 18px 20px rgb(17 17 17 / 16%)); }
.scanner-picker-card__media > span { position: absolute; top: 1rem; left: 1rem; padding: .4rem .6rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.scanner-picker-card--featured .scanner-picker-card__media > span { background: var(--red-strong); }
.scanner-picker-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.25rem); }
.scanner-picker-card__body h3 { margin-bottom: .75rem; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.scanner-picker-card__body > p { color: var(--muted); line-height: 1.65; }
.scanner-picker-card__body ul { display: grid; gap: .55rem; margin: 1rem 0 1.25rem; padding: 0; list-style: none; }
.scanner-picker-card__body li { position: relative; margin: 0; padding-left: 1.25rem; font-size: .9rem; line-height: 1.45; }
.scanner-picker-card__body li::before { content: ''; position: absolute; top: .5em; left: 0; width: .45rem; height: .45rem; border-radius: 50%; background: var(--red); }
.scanner-picker-card__fit { padding-top: 1rem; border-top: 1px solid var(--rule); }
.scanner-picker-card__body .btn { margin-top: auto; }
.scanner-comparison-table { min-width: 68rem; }

.industry-seo-hero .hero__media { overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: 20px; background: #eef3f5; }
.industry-seo-hero .hero__media img { width: 100%; max-height: none; object-fit: cover; }
.industry-article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(26rem, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.industry-article--reverse { grid-template-columns: minmax(26rem, .9fr) minmax(0, 1fr); }
.industry-article--reverse .industry-article__copy { order: 2; }
.industry-article__copy .eyebrow { margin-bottom: .8rem; }
.industry-article__copy h2 { margin-bottom: 1.25rem; }
.industry-article__copy p { max-width: 48rem; color: var(--muted); line-height: 1.78; }
.industry-article__copy p + p { margin-top: 1rem; }
.industry-article__visual { margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 20px; background: #edf2f4; box-shadow: 0 20px 50px rgb(17 17 17 / 8%); }
.industry-article__visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-keywords { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.industry-keywords li { margin: 0; padding: .55rem .8rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 700; }
.industry-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.industry-focus-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: 18px; background: #fff; box-shadow: 0 14px 32px rgb(17 17 17 / 7%); }
.industry-focus-card figure { display: grid; place-items: center; height: 13rem; margin: 0; overflow: hidden; border-bottom: 1px solid var(--rule); background: #edf2f4; }
.industry-focus-card figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.industry-focus-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.industry-focus-card__body h3 { margin-bottom: .7rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.industry-focus-card__body p { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.62; }
.industry-focus-card__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); list-style: none; }
.industry-focus-card__tags li { margin: 0; padding: .4rem .65rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel-soft); font-size: .72rem; font-weight: 750; line-height: 1.25; }
.industry-recommendations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.industry-recommendation { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: 18px; background: #fff; }
.industry-recommendation img { display: block; width: 100%; height: 14rem; padding: 1.2rem; border-bottom: 1px solid var(--rule); background: #edf2f4; object-fit: contain; }
.industry-recommendation__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.industry-recommendation__body h3 { margin-bottom: .65rem; }
.industry-recommendation__body p { color: var(--muted); line-height: 1.6; }
.industry-recommendation__body .btn { margin-top: auto; }

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.engagement-card { overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: #fff; transition: transform var(--duration) var(--easing), box-shadow var(--duration) var(--easing); }
.engagement-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgb(17 17 17 / 9%); }
.engagement-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.engagement-card img { display: block; width: 100%; height: auto; aspect-ratio: 18 / 11; border-bottom: 1px solid var(--rule); object-fit: cover; }
.engagement-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.engagement-card__body .eyebrow { margin-bottom: .75rem; }
.engagement-card__body h3 { margin-bottom: .75rem; font-size: 1.3rem; }
.engagement-card__body p { margin-bottom: 1.25rem; color: var(--muted); line-height: 1.65; }
.engagement-card__body .text-link { margin-top: auto; }

.software-driven { display: grid; grid-template-columns: minmax(0, .9fr) minmax(30rem, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.software-driven__copy h2 { margin-top: .7rem; }
.software-driven__copy .standfirst { max-width: 42rem; color: var(--muted); line-height: 1.7; }
.software-driven__visual { margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); box-shadow: 0 20px 55px rgb(17 17 17 / 9%); }
.software-driven__visual img { display: block; width: 100%; height: auto; }
.software-steps { display: grid; gap: 0; margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.software-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .85rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.software-steps li > span { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.software-steps h3 { margin: 0 0 .3rem; font-size: 1rem; }
.software-steps p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.device-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(28rem, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.device-story__visual { margin: 0; padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--rule); border-radius: 20px; background: var(--panel); box-shadow: 0 20px 50px rgb(17 17 17 / 8%); }
.device-story__visual img { display: block; width: 100%; max-height: 32rem; object-fit: contain; filter: drop-shadow(0 20px 24px rgb(17 17 17 / 14%)); }
.device-story__copy .section-intro { margin-top: 0; }
.device-story__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 2rem 0 0; padding: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 14px; background: var(--rule); list-style: none; }
.device-story__points li { margin-top: 0; padding: 1.25rem; background: #fff; }
.device-story__points h3 { margin-bottom: .5rem; font-size: 1rem; }
.device-story__points p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.idsnap2000-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.idsnap2000-use-grid .industry-card__body { min-height: 13rem; }

.section { position: relative; }
.section > .container > h2:first-child,
.section > .container > .prose:first-child > h2:first-child {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section > .container > h2:first-child::before,
.section > .container > .prose:first-child > h2:first-child::before {
  content: "";
  display: block;
  width: 2.1rem;
  height: 3px;
  margin-bottom: 1.2rem;
  background: var(--red);
}

body[data-page-role="home"] .hero + .section .feature-grid { counter-reset: capability; }
body[data-page-role="home"] .hero + .section .feature { counter-increment: capability; }
body[data-page-role="home"] .hero + .section .feature__card-link::before {
  content: "0" counter(capability);
  display: block;
  margin-bottom: 1.3rem;
  color: var(--red);
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}
.feature__visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 0 1.4rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(17 17 17 / 8%);
}
.feature-grid { gap: 0; border-top: 1px solid var(--rule); }
.feature { border-top: 0; border-right: 1px solid var(--rule); }
.feature:last-child { border-right: 0; }
.feature__card-link { min-height: 100%; padding: clamp(1.5rem, 2.6vw, 2.35rem); }
.feature__card-link:hover, .feature__card-link:focus-visible { background: #fff; }

.table-wrap {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-raised);
}
table { border-collapse: collapse; }
caption { padding: 1.4rem 1.6rem; background: var(--ink); color: #fff; text-align: left; }
th, td { padding: 1.2rem 1.6rem; }

.card-grid { gap: 1rem; }
.card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.card--linked:hover, .card--linked:focus-within, .card--icon:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-raised);
  border-color: transparent;
}
.card__body { padding: clamp(1.5rem, 2.6vw, 2.25rem); }

.section--panel, .industry-band { background: var(--panel); }
.industry-list { gap: .6rem; }
.industry-list a,
.industry-list > li:not(:has(a)) { padding: .75rem 1rem; border-radius: 6px; font-size: .93rem; font-weight: 600; }

.closing {
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 5.5rem);
}
.closing h2, .closing p, .closing__main p { color: #fff; }
.closing .closing__promo h2 { color: var(--ink); }
.closing .closing__promo p { color: var(--ink-body); }
.closing:not(.closing--split) h2 { margin-inline: auto; text-align: center; }

.site-footer {
  background: #0c0c0d;
  color: #d8d8d8;
  border: 0;
  padding-block: clamp(4rem, 6vw, 6rem) 2rem;
}
.footer-brand__logo img { filter: invert(1) grayscale(1) brightness(2.4); }
.footer-brand__statement, .footer-contact li, .footer-contact a, .footer-cols a { color: #c9c9c9; }
.footer-cols h2 { color: #fff; }
.footer-legal { border-color: #303034; color: #8f8f94; }

@media (max-width: 900px) {
  :root { --text-display: clamp(2.75rem, 11vw, 4.5rem); }
  .hero--hardware .hero__inner { grid-template-columns: 1fr; }
  .hero--comparison .hero__inner { grid-template-columns: 1fr; }
  .comparison-hero__copy h1 { max-width: 14ch; }
  .comparison-hero__visual { width: 100%; max-width: 48rem; margin-inline: auto; }
  .hero__media { max-width: 44rem; margin-inline: auto; }
  .deployment-compare { grid-template-columns: 1fr; }
  .deployment-compare__copy { max-width: none; }
  .deployment-compare__visual { max-width: 44rem; margin-inline: auto; }
  .industry-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--selector .hero__inner { grid-template-columns: 1fr; }
  .selector-hero__visual { width: 100%; max-width: 46rem; margin-inline: auto; }
  .scanner-choice-grid { grid-template-columns: 1fr; }
  .scanner-picker-grid { grid-template-columns: 1fr; }
  .scanner-picker-card, .scanner-picker-card--featured { grid-column: auto; grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.28fr); }
  .industry-article, .industry-article--reverse { grid-template-columns: 1fr; }
  .industry-article--reverse .industry-article__copy { order: initial; }
  .industry-article__visual { width: 100%; max-width: 42rem; margin-inline: auto; }
  .industry-focus-grid { grid-template-columns: 1fr; }
  .industry-focus-card { display: grid; grid-template-columns: minmax(13rem, .75fr) minmax(0, 1.25fr); }
  .industry-focus-card figure { height: 100%; min-height: 14rem; border-right: 1px solid var(--rule); border-bottom: 0; }
  .capability-story-grid--three { grid-template-columns: 1fr; }
  .capability-story-grid--three .capability-story { display: grid; grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr); }
  .capability-story-grid--three .capability-story figure { min-height: 100%; border-right: 1px solid var(--rule); border-bottom: 0; }
  .support-hero-products { width: 100%; max-width: 46rem; margin-inline: auto; }
  .engagement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .software-driven { grid-template-columns: 1fr; }
  .device-story { grid-template-columns: 1fr; }
  .device-story__visual { width: 100%; max-width: 38rem; margin-inline: auto; }
  .software-driven__visual { width: 100%; max-width: 44rem; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--rule); }
  body[data-page-role="home"] .hero h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
}

@media (max-width: 560px) {
  .masthead__inner { min-height: 68px; }
  .hero { padding-block: 3.25rem 4rem; }
  .hero--hardware .hero__inner { gap: 2.5rem; }
  .comparison-hero__choices { grid-template-columns: 1fr; }
  .comparison-hero__visual { grid-template-columns: 1fr; padding: .7rem; border-radius: 16px; }
  .comparison-product { grid-template-rows: auto minmax(13rem, 1fr) auto auto; }
  .comparison-hero__or { display: none; }
  .hero__media { padding: 1rem; border-radius: 14px; }
  .product-hero__caption { grid-template-columns: 1fr; }
  .product-hero__caption span { grid-template-columns: 5.5rem 1fr; align-items: baseline; }
  .deployment-compare__visual { grid-template-columns: 1fr; width: 100%; }
  .deployment-device { grid-template-rows: minmax(15rem, 1fr) auto; }
  .industry-card-grid { grid-template-columns: 1fr; }
  .capability-card-grid { grid-template-columns: 1fr; }
  .capability-story-grid, .capability-story-grid--three { grid-template-columns: 1fr; }
  .capability-story-grid--three .capability-story { display: flex; }
  .capability-story-grid--three .capability-story figure { min-height: 14rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .capability-story figure { min-height: 14rem; }
  .support-hero-products { grid-template-columns: 1fr; }
  .support-hero-products > div { grid-template-columns: 8rem minmax(0, 1fr); grid-template-rows: 8rem; }
  .support-hero-products span { display: grid; align-items: center; border-top: 0; border-left: 1px solid var(--rule); text-align: left; }
  .selector-hero__visual { grid-template-columns: 1fr; }
  .selector-hero__visual img { height: 12rem; }
  .scanner-picker-card, .scanner-picker-card--featured { grid-template-columns: 1fr; }
  .scanner-picker-card__media { min-height: 18rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .industry-recommendations { grid-template-columns: 1fr; }
  .industry-focus-card { display: flex; }
  .industry-focus-card figure { height: 11rem; min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .engagement-grid { grid-template-columns: 1fr; }
  .device-story__points, .idsnap2000-use-grid { grid-template-columns: 1fr; }
  .industry-card__body { min-height: 0; }
  body[data-page-role="home"] .hero h1 { font-size: clamp(2.75rem, 13vw, 3.8rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-top: 1px solid var(--rule); }
  .feature:first-child { border-top: 0; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .closing { border-radius: 12px; }

  /* Product facts become readable label/value cards instead of squeezing the
     label column into a few characters. True comparison tables retain their
     columns and scroll inside their own container. */
  .table-wrap--stack { overflow: hidden; }
  .table-wrap--stack table,
  .table-wrap--stack tbody,
  .table-wrap--stack tr,
  .table-wrap--stack th,
  .table-wrap--stack td { display: block; width: 100%; }
  .table-wrap--stack thead { display: none; }
  .table-wrap--stack caption { display: block; width: 100%; padding: 1.25rem 1.2rem; }
  .table-wrap--stack tbody tr { padding: 1.15rem 1.2rem; border-bottom: 1px solid var(--rule); }
  .table-wrap--stack tbody tr:last-child { border-bottom: 0; }
  .table-wrap--stack tbody th,
  .table-wrap--stack tbody td { padding: 0; border: 0; overflow-wrap: normal; word-break: normal; }
  .table-wrap--stack tbody th { margin-bottom: .35rem; color: var(--red-strong); font-size: .76rem; line-height: 1.35; letter-spacing: .055em; text-transform: uppercase; }
  .table-wrap--stack tbody td { color: var(--ink-body); font-size: 1rem; line-height: 1.55; }
  .table-wrap--stack tr.is-emphasis th,
  .table-wrap--stack tr.is-emphasis td { background: transparent; }
  .table-wrap:not(.table-wrap--stack) { overflow-x: auto; }
  .table-wrap:not(.table-wrap--stack) table { min-width: 42rem; }
  .table-wrap:not(.table-wrap--stack) th,
  .table-wrap:not(.table-wrap--stack) td { overflow-wrap: normal; word-break: normal; }
}
@media(max-width:760px){.contact-details{grid-template-columns:1fr}.contact-details__map{min-height:330px}}

/* Narrow phones: reserve room for the menu and primary contact action. */
@media (max-width: 30rem) {
  .masthead__inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-2); }
  .masthead__logo img { max-width: 100%; height: auto; max-height: 1.75rem; }
  .nav-utility .btn--icon-only:first-child { display: none; }
  .mobile-menu-toggle { min-width: 3.5rem; padding-inline: var(--space-2); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .section h2 { overflow-wrap: break-word; }
  .contact-details__info { padding: var(--space-5); }
}
