/*
 * thevisionqc marketing — ZeroIncidents-style design system.
 *
 * Light, orange, square (4px), with dark full-bleed panels for the hero and the
 * closer. Montserrat headings, Heebo body, a mono face for the technical labels
 * that make the product read as a vision system. Loaded after style.css so it
 * owns the chrome; the homepage is built entirely from the .s-* section classes.
 */
:root {
  --brand-600: #e8590c;   /* accent: headings, rules, icons, overlays */
  --brand-800: #c64a08;   /* filled buttons, small orange text (AA) */
  --brand-tint: #fbdcc8;  /* peach band behind quotes/notes */
  --ink-900: #1a1a1a;
  --ink-600: #3f4148;
  --ink-400: #5a5a60;
  --ink-000: #000000;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --border: #e2e2e2;
  --success: #2f8f3e;
  --radius: 4px;
  /* Hero swirl — overridable from the admin mixing panel (injected as a :root
     block by the website). Defaults reproduce the hand-tuned look. */
  --swirl-bg: #0a0605;        /* the dark base the swirl floats over */
  --swirl-red: #96180e;       /* deep colour — its own layer */
  --swirl-orange: #f0782a;    /* accent — its own layer */
  --swirl-red-amt: 0.55;      /* deep-colour layer strength: 0 = off … 1 = full */
  --swirl-orange-amt: 0.42;   /* accent layer strength: 0 = off … 1 = full */
  --swirl-dur1: 42s;          /* rotation time, deep layer */
  --swirl-dur2: 60s;          /* rotation time, accent layer (counter-rotates) */
  --font-body: 'Heebo', ui-sans-serif, system-ui, sans-serif;
  --font-head: 'Montserrat', 'Heebo', ui-sans-serif, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: var(--brand-800); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .12s ease, color .12s;
}
.btn.primary { background: var(--brand-800); color: #fff; }
.btn.primary:hover { background: #ab3f06; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: #fff; }
.btn.ink { background: transparent; color: var(--ink-900); border-color: var(--border); }
.btn.ink:hover { border-color: var(--ink-900); }

/* ── Header / footer chrome ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .brand { display: inline-flex; align-items: center; height: 30px; color: var(--ink-900); }
.site-header .brand .wm { height: 26px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a { color: var(--ink-600); font-weight: 600; font-size: 15px; }
.site-header nav a:hover { color: var(--ink-900); }
.site-header nav a.btn.primary { color: #fff; }

footer { background: var(--ink-900); color: #cfd0d3; margin-top: 0; }
footer a { color: #e8e8ea; }
footer .footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
footer .footer-links { display: flex; flex-direction: column; gap: 6px; }
footer .footer-bar { border-top: 1px solid #333; padding: 18px 24px; text-align: center; font-size: 13px; color: #8a8c92; }

/* ── Wordmark viewfinder (inline SVG in header) ─────────── */
.wm .wm-o { fill: var(--brand-600); }
.wm .wm-ink { fill: currentColor; }
.wm .wm-vf { stroke: var(--brand-600); }

/* ── Section rhythm ─────────────────────────────────────── */
.s { padding: 92px 0; }
.s.alt { background: var(--surface-alt); }
.s.tight { padding: 64px 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-800); margin-bottom: 14px;
}
.s h2 { font-size: clamp(28px, 4vw, 44px); }
.s h2 .accent { color: var(--brand-600); }
.lead { color: var(--ink-400); font-size: 19px; max-width: 620px; margin-top: 14px; }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* ── Hero (dark, detection overlays) ────────────────────── */
/* The hero base: a dark wash plus a fixed top glow. The moving swirl rides on
   top of this in the two pseudo-elements below. */
.hero, .page-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(130% 110% at 50% -18%, color-mix(in srgb, var(--swirl-red) calc(46% * var(--swirl-red-amt)), transparent), transparent 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--swirl-bg) 70%, #1a0d08), var(--swirl-bg) 52%, #000);
}
/* Two blurred conic discs, larger than the hero and counter-rotating, read as a
   slow liquid swirl. Deep red carries it, orange is only an accent, and wide
   transparent gaps let the black base show through — so the hero is dark with
   red and orange moving in it, not an orange field. Shared by the home hero and
   every inner-page banner. Behind the content (z-index 0); the container sits at 2. */
.hero::before, .hero::after, .page-hero::before, .page-hero::after {
  content: ""; position: absolute; inset: -45%; z-index: 0;
  border-radius: 50%; pointer-events: none; will-change: transform;
}
/* Deep-colour layer. One hue; the strength slider drives its opacity, so it goes
   from invisible (dark) to fully present. */
.hero::before, .page-hero::before {
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    color-mix(in srgb, var(--swirl-red) 88%, transparent) 45deg,
    transparent 120deg,
    color-mix(in srgb, var(--swirl-red) 64%, transparent) 165deg,
    transparent 215deg,
    color-mix(in srgb, var(--swirl-red) 82%, transparent) 262deg,
    transparent 330deg, transparent 360deg);
  filter: blur(85px); opacity: var(--swirl-red-amt);
  animation: heroSwirl var(--swirl-dur1) linear infinite;
}
/* Accent layer. Same idea, counter-rotating, in the accent hue. */
.hero::after, .page-hero::after {
  background: conic-gradient(from 200deg at 50% 50%,
    transparent 0deg,
    color-mix(in srgb, var(--swirl-orange) 82%, transparent) 60deg,
    transparent 130deg,
    color-mix(in srgb, var(--swirl-orange) 58%, transparent) 195deg,
    transparent 255deg,
    color-mix(in srgb, var(--swirl-orange) 80%, transparent) 305deg,
    transparent 350deg);
  filter: blur(100px); opacity: var(--swirl-orange-amt);
  animation: heroSwirl var(--swirl-dur2) linear infinite reverse;
}
@keyframes heroSwirl { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .page-hero::before, .page-hero::after { animation: none; }
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.25); padding: 7px 13px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 0 rgba(232,89,12,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,89,12,.55);} 70%{ box-shadow: 0 0 0 8px rgba(232,89,12,0);} 100%{ box-shadow:0 0 0 0 rgba(232,89,12,0);} }
.hero h1 { font-size: clamp(38px, 6vw, 68px); }
.hero h1 .accent { color: var(--brand-600); }
.hero p.body { color: rgba(255,255,255,.78); font-size: 20px; margin-top: 22px; max-width: 540px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .cues { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 40px; color: rgba(255,255,255,.7); font-size: 14px; }
.hero .cues span { display: inline-flex; align-items: center; gap: 8px; }
.hero .cues span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-600); }

/* Live detection panel (right of hero) */
.viewer { position: relative; background: #0d0b09; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.viewer .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }
.viewer .part { position: absolute; inset: 0; display: grid; place-items: center; }
.viewer .part svg { width: 62%; height: 62%; opacity: .92; }
.viewer .tag { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(200,50,43,.16); border: 1px solid #c8322b; color: #ff7a72; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; padding: 5px 10px; border-radius: var(--radius); }
@property --scan-color { syntax: '<color>'; inherits: false; initial-value: #2f8f3e; }
.viewer .scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--scan-color), transparent);
  box-shadow: 0 0 14px var(--scan-color);
  animation: scan 3.2s ease-in-out infinite;
  /* Colour is driven by main.js at random intervals; the transition makes each
     change a soft fade rather than a jump, so the sweep feels alive. */
  transition: --scan-color 0.9s ease;
}
@keyframes scan { 0%,100% { top: 12%; } 50% { top: 84%; } }
.viewer .meta { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.65); }
.viewer .meta b { color: var(--brand-600); }
.vf-box { position: absolute; }
.vf-box svg { width: 100%; height: 100%; overflow: visible; }
.vf-box .lbl { position: absolute; top: -22px; left: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); white-space: nowrap; }

/* ── Trust strip ────────────────────────────────────────── */
.trust { background: var(--ink-000); color: #fff; }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 26px; padding-bottom: 26px; }
.trust .item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.82); text-transform: uppercase; }
.trust .item b { color: var(--brand-600); }

/* ── Feature rows (alternating) ─────────────────────────── */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.frow + .frow { margin-top: 84px; }
.frow.flip .fr-media { order: 2; }
.frow h3 { font-size: 28px; margin-bottom: 14px; }
.frow p { color: var(--ink-400); font-size: 18px; }
.frow .num { font-family: var(--font-mono); color: var(--brand-800); font-size: 13px; letter-spacing: .18em; margin-bottom: 12px; }
.fr-media { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 16/11; display: grid; place-items: center; overflow: hidden; }
.fr-media.dark { background: var(--ink-900); }
.fr-media svg { width: 56%; height: 56%; }

/* ── Card grid ──────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand-600); border-radius: var(--radius); padding: 26px 24px; transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26,26,26,.08); }
.card .ico { width: 40px; height: 40px; color: var(--brand-600); margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-400); font-size: 15.5px; }

/* ── Process loop ───────────────────────────────────────── */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.loop .step { position: relative; padding: 24px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.loop .step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); color: var(--brand-600); font-size: 14px; letter-spacing: .1em; }
.loop .step h3 { font-size: 19px; margin: 10px 0 8px; }
.loop .step p { color: var(--ink-400); font-size: 15px; }

/* ── Stat bar (dark) ────────────────────────────────────── */
.statbar { background: var(--ink-900); color: #fff; }
.statbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.statbar .stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 5vw, 52px); color: var(--brand-600); }
.statbar .stat .l { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 6px; }

/* ── Industries ─────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--ink-600); }
.pill:hover { border-color: var(--brand-600); color: var(--ink-900); }

/* ── Closing CTA (dark) ─────────────────────────────────── */
.closer { background: var(--ink-000); color: #fff; text-align: center; }
.closer .container { padding-top: 88px; padding-bottom: 88px; }
.closer h2 { font-size: clamp(30px, 5vw, 50px); }
.closer h2 .accent { color: var(--brand-600); }
.closer p { color: rgba(255,255,255,.75); font-size: 19px; margin: 16px auto 0; max-width: 560px; }
.closer .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container, .frow, .cards, .loop, .statbar .container { grid-template-columns: 1fr; }
  .frow.flip .fr-media { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .loop { grid-template-columns: 1fr 1fr; }
  footer .footer-inner { grid-template-columns: 1fr; }
  .site-header nav { gap: 14px; }
}
@media (max-width: 560px) {
  .cards, .statbar .container { grid-template-columns: 1fr; }
  .site-header nav a:not(.btn) { display: none; }
}

/* ── Inner-page hero band (subpages) ────────────────────── */
/* Base and swirl for .page-hero are shared with .hero above. */
.page-hero .container { position: relative; z-index: 2; padding-top: 76px; padding-bottom: 64px; }
.page-hero .eyebrow { color: var(--brand-600); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 15ch; }
.page-hero h1 .accent { color: var(--brand-600); }
.page-hero .lead { color: rgba(255,255,255,.78); }

/* ── Prose / legal ──────────────────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-600); font-size: 17px; }
.prose ul { padding-left: 20px; } .prose li { margin: 6px 0; }
.prose a { color: var(--brand-800); text-decoration: underline; }

/* ── Forms ──────────────────────────────────────────────── */
#enquiry-form { display: grid; gap: 16px; max-width: 520px; }
#enquiry-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-600); }
#enquiry-form input, #enquiry-form textarea {
  font-family: var(--font-body); font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink-900);
}
#enquiry-form input:focus, #enquiry-form textarea:focus { outline: 2px solid var(--brand-600); border-color: var(--brand-600); }
#enquiry-form .hp { position: absolute; left: -9999px; }
#enquiry-form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--ink-400); }
#form-status { font-size: 14px; color: var(--success); }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.contact-card { border: 1px solid var(--border); border-left: 3px solid var(--brand-600); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; background: var(--surface); }
.contact-card h3 { font-size: 15px; margin-bottom: 6px; }
.contact-card p { color: var(--ink-600); font-size: 15px; }

/* ── Gallery (in action) ────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.shot .frame { position: relative; aspect-ratio: 4/3; background: var(--ink-900); overflow: hidden; }
.shot .frame img { width: 100%; height: 100%; object-fit: cover; }
.shot .frame .tag { position: absolute; top: 10px; left: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius); background: rgba(232,89,12,.18); border: 1px solid var(--brand-600); color: #ffb98a; }
.shot .cap { padding: 16px 18px; }
.shot .cap h3 { font-size: 17px; margin-bottom: 4px; }
.shot .cap p { color: var(--ink-400); font-size: 14.5px; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; background: var(--surface); display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--brand-600); box-shadow: 0 20px 50px rgba(232,89,12,.12); }
.price .name { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.price .amt { font-family: var(--font-head); font-weight: 800; font-size: 40px; margin: 10px 0 2px; }
.price .amt small { font-size: 15px; font-weight: 600; color: var(--ink-400); }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; }
.price li { position: relative; padding-left: 24px; color: var(--ink-600); font-size: 15px; }
.price li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600); transform: rotate(-45deg); }
.price .btn { margin-top: auto; justify-content: center; }

/* ── Dark panel split (deployment) ──────────────────────── */
.split { background: var(--ink-900); color: #fff; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.split .split-copy { padding: 48px 44px; }
.split .split-copy h2 { color: #fff; font-size: 30px; }
.split .split-copy h2 .accent { color: var(--brand-600); }
.split .split-copy p { color: rgba(255,255,255,.78); margin-top: 14px; }
.split .split-side { background: #000; display: grid; place-items: center; padding: 40px; }
.split .split-side svg { width: 60%; }

@media (max-width: 900px) {
  .contact-grid, .pricing, .gallery, .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .gallery, .pricing { grid-template-columns: 1fr; } }

/* ── Compatibility: legal/doc pages keep their markup, get the new look ── */
.page-head { padding: 64px 24px 12px; max-width: var(--maxw); margin: 0 auto; }
.page-head.narrow { max-width: 820px; }
.page-head .eyebrow { color: var(--brand-800); }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); }
.page-head h1 .accent, .page-head .grad { color: var(--brand-600); -webkit-text-fill-color: initial; background: none; }
.doc { max-width: 820px; margin: 0 auto; padding: 24px 24px 80px; }
.doc.narrow { max-width: 820px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-600); font-size: 17px; }
.doc a { color: var(--brand-800); text-decoration: underline; }
.doc ul { padding-left: 20px; }
.callout { background: var(--brand-tint); border-left: 3px solid var(--brand-600); border-radius: var(--radius); padding: 16px 20px; margin: 8px 0 24px; color: #7a3708; }
.callout strong { color: var(--brand-800); }
.btn.lg { padding: 15px 26px; font-size: 16px; }
/* Old .cta row used on 404 */
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ── Override old style.css bleed on the rebuilt contact page ── */
.contact-card h3 { color: var(--ink-900); text-transform: none; letter-spacing: 0; }
#enquiry-form { background: none; border: none; padding: 0; box-shadow: none; }

/* ── Full-bleed sections ────────────────────────────────────
   The old style.css boxed all content to main{max-width:1080px}. The new dark
   sections (hero, trust, stat bar, closer, page-hero) must run edge-to-edge;
   the inner .container holds the 1180px content width. */
main { max-width: none; margin: 0; padding: 0; }
main > section { margin-top: 0; }

/* Left-align hero copy and section leads (old .hero-copy/.lead centered them). */
.hero-copy { text-align: left; }
.lead { margin-left: 0; margin-right: 0; }

/* Cue row spans the full hero width — all four side by side under the hero. */
.hero .cues { grid-column: 1 / -1; justify-content: space-between; flex-wrap: nowrap; margin-top: 0; }
@media (max-width: 900px) { .hero .cues { flex-wrap: wrap; } }

/* Trust strip: all four on one row (columns), wrapping only on small screens. */
.trust .container { flex-wrap: nowrap; align-items: flex-start; }
.trust .item { flex: 1 1 0; min-width: 0; }
@media (max-width: 760px) { .trust .container { flex-wrap: wrap; } .trust .item { flex: 1 1 45%; } }

/* Real / product images fill the hero viewer and the feature media panels. */
.viewer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fr-media img { width: 100%; height: 100%; object-fit: cover; }

/* ── FAQ (native accordion, SEO-friendly) ───────────────── */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-600); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-400); margin-top: 12px; font-size: 16.5px; max-width: 70ch; }

/* Contact card headings in the brand orange (match the card's orange rule). */
.contact-card h3 { color: var(--brand-600); }

/* ── Real detections carousel ───────────────────────────── */
.detect { max-width: 620px; margin: 0 auto; }
#det-img { transition: opacity .45s ease; }
.det-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.det-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; transition: background .15s ease, transform .15s ease; }
.det-dots button:hover { background: #c9a48f; }
.det-dots button.on { background: var(--brand-600); transform: scale(1.3); }

/* ── Dark full-width bands → warm orange gradients (match the hero) ──────── */
.trust { background: linear-gradient(100deg, #d1500a, #9c3a08 55%, #7a2f0a); }
.trust .item { color: rgba(255,255,255,.92); }
.trust .item b { color: #fff; }

.statbar { background: linear-gradient(135deg, #e8590c 0%, #a83f08 32%, #2a1608 82%); }
.statbar .stat .n { color: #fff; }
.statbar .stat .l { color: rgba(255,255,255,.85); }

.closer { background: linear-gradient(160deg, #e8590c 0%, #a83f08 38%, #1a1a1a 100%); }
.closer h2 .accent { color: #ffe0cc; }
.closer p { color: rgba(255,255,255,.85); }
.closer .btn.primary { background: #fff; color: var(--brand-800); }
.closer .btn.primary:hover { background: #ffe9dd; }

/* Company name in the contact card — brand orange. */
.contact-card strong { color: var(--brand-600); }

/* ── BYOA band ─────────────────────────────────────────────
   A dark navy full-width band that echoes the badge, so this
   platform claim pops between the white sections around it. */
.byoa {
  background: radial-gradient(120% 120% at 50% 0%, #1b2352 0%, #0f1430 60%, #0b0f24 100%);
  color: #fff;
  text-align: center;
}
.byoa .container { padding-top: 76px; padding-bottom: 76px; max-width: 860px; }
.byoa-badge img { height: 64px; width: auto; }
.byoa .byoa-eyebrow { color: #7c8cff; margin-top: 22px; }
.byoa h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 8px; }
.byoa h2 .accent { color: #38d39f; }
.byoa-lead {
  color: rgba(255,255,255,.80);
  font-size: 19px;
  line-height: 1.55;
  max-width: 680px;
  margin: 22px auto 0;
}
.byoa-cues {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 30px;
}
.byoa-cues span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}
.byoa-cues span::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #38d39f;
  flex: none;
}
.byoa-cues b { color: #fff; font-weight: 700; }
.byoa .cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ── BYOA docs page ────────────────────────────────────────
   Code blocks and schema tables for /byoa, in the light theme. */
.byoa-doc .lead-narrow { max-width: 720px; }
.code {
  background: #0f1430;
  color: #e7eaf7;
  border: 1px solid #2B2BA8;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 14px 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre;
}
.code .k { color: #7c8cff; }         /* keys / methods */
.code .s { color: #38d39f; }         /* strings / values */
.code .c { color: #8a93b8; }         /* comments */
.byoa-doc .endpoint {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 15px;
  background: #0f1430; color: #fff;
  border: 1px solid #2B2BA8; border-radius: 8px;
  padding: 10px 16px; margin-top: 6px;
}
.byoa-doc .endpoint .verb { color: #38d39f; font-weight: 700; }
.tool-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: 15px; }
.tool-table th, .tool-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tool-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400); }
.tool-table td code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-alt); padding: 2px 6px; border-radius: 5px; }
.tool-table .scope { font-size: 12px; font-weight: 700; }
.tool-table .scope.read { color: var(--ink-400); }
.tool-table .scope.operate { color: var(--brand-600); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill-row .pill { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
