/* AisleWatch site styles, v3 (7 Nov 2026): full retail suite. Static, no build step.
   Palette: white and cool shelf-grey, deep ink, price-tag coral. Type: Bricolage Grotesque (headings) + DM Sans (text).
   Every top-level section is sized to fit one laptop screen (arms-sites/_audit/fit.py). */

:root {
  --bg: #FFFFFF;
  --tint: #F3F5F4;
  --tint-2: #E8ECEA;
  --line: #DDE2E0;
  --text: #16202A;
  --text-2: #4D5965;
  --text-3: #6E7A85;
  --ink: #121A22;
  --ink-2: #1B252F;
  --ink-3: #2A3642;
  --line-d: rgba(255,255,255,.14);
  --fg: #F2F5F4;
  --fg-2: #B3BDC5;
  --coral: #E8472A;
  --coral-2: #CF3A1F;
  --coral-soft: #FCEAE5;
  --ok: #1E9A5F;
  --ok-soft: #E3F4EA;
  --wait: #D97B12;
  --wait-soft: #FCF0DF;
  --wrap: 1200px;
  --gut: 28px;
  --head: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  --body: "DM Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 2.9vw, 40px); }
h3 { font-size: clamp(18px, 1.5vw, 20px); letter-spacing: -.01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--text-2); max-width: 40rem; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--coral); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Sections */
.sec { padding: clamp(40px, 8vh, 96px) 0; }
.white { background: var(--bg); }
.tint { background: var(--tint); }
.dark { background: var(--ink); color: var(--fg); }
.dark a { color: var(--fg); }
.dark .lead, .dark p { color: var(--fg-2); }
.sec-head { max-width: 46rem; margin-bottom: clamp(20px, 3.5vh, 40px); }
.sec-head h2 { margin-bottom: 10px; }
.sec-head p { color: var(--text-2); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--coral); color: #fff !important; }
.btn-primary:hover { background: var(--coral-2); }
.btn-ghost { background: transparent; color: var(--fg) !important; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { background: transparent; color: var(--text) !important; border-color: #B8C0C5; }
.btn-line:hover { border-color: var(--text); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow-link { font-weight: 600; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--coral); padding-bottom: 1px; }
.arrow-link::after { content: " \2192"; }
.dark .arrow-link { color: var(--fg); }
.text-link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }

/* Header and navigation */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.site-head.over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.site-head.over.scrolled { background: rgba(255,255,255,.97); border-color: var(--line); }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
.site-head.over:not(.scrolled) .logo-ink { display: none; }
.site-head.over:not(.scrolled) .logo-light { display: block; }
.head-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-item { position: relative; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a:hover, .nav > a[aria-current="page"], .nav-item > a:hover, .nav-item > a.on { color: var(--text); border-color: var(--coral); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-sub { display: none; position: absolute; left: -16px; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 20px 40px -24px rgba(18,26,34,.45); }
.has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { display: block; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-sub a { display: block; padding: 9px 12px; border: 0; border-radius: 6px; color: var(--text-2) !important; text-shadow: none !important; font-size: 15px; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--tint); color: var(--text) !important; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; border-bottom: 0; }
.site-head.over:not(.scrolled) .nav > a:not(.btn), .site-head.over:not(.scrolled) .nav-item > a, .site-head.over:not(.scrolled) .menu-btn { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.site-head.over:not(.scrolled) .menu-btn { border-color: rgba(255,255,255,.5); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid #B8C0C5; color: var(--text); border-radius: 999px; height: 42px; padding: 0 16px; font: 600 15px var(--body); cursor: pointer; }

/* Home hero: video behind, headline left, alert card right */
.hero { position: relative; min-height: calc(100svh - 74px); display: flex; align-items: flex-end; background: var(--ink); color: var(--fg); overflow: hidden; }
.hero video, .hero .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,26,34,.75) 0%, rgba(18,26,34,0) 150px),
              linear-gradient(90deg, rgba(18,26,34,.95) 0%, rgba(18,26,34,.86) 42%, rgba(18,26,34,.55) 70%, rgba(18,26,34,.35) 100%); }
.hero-in { position: relative; z-index: 2; padding-top: 108px; padding-bottom: 36px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 40px; align-items: end; }
.hero h1 { margin-bottom: 18px; max-width: 18ch; font-size: clamp(36px, 3.9vw, 54px); }
.hero .sub { font-size: clamp(17px, 1.3vw, 19px); color: #D3DAE0; max-width: 36rem; margin: 0; }
.hero .cap { display: block; margin-top: 18px; }
.cap { font-size: 13px; color: #C3CCD3; }

/* Inner page hero */
.page-hero { background: var(--tint); padding: clamp(32px, 6vh, 80px) 0; border-bottom: 1px solid var(--line); }
.page-hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(30px, 3.2vw, 46px); }
.page-hero .sub { color: var(--text-2); font-size: clamp(16.5px, 1.25vw, 18.5px); max-width: 35rem; margin: 0; }
.crumbs { font-size: 14px; color: var(--text-3); margin-bottom: 16px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* Clips and mocks */
.clip { margin: 0; position: relative; }
.frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); border-radius: 8px; overflow: hidden; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.clip .frame::before, .clip .frame::after { content: ""; position: absolute; width: 24px; height: 24px; z-index: 2; pointer-events: none; }
.clip .frame::before { left: 12px; top: 12px; border-left: 4px solid var(--coral); border-top: 4px solid var(--coral); }
.clip .frame::after { right: 12px; bottom: 12px; border-right: 4px solid var(--coral); border-bottom: 4px solid var(--coral); }
.clip figcaption, .fig-cap { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock svg { width: 100%; height: auto; }
.frame.svg { background: #EEF1F0; }
.frame.svg svg { width: 100%; height: 100%; }

/* Real-time alert card */
.rt-card { margin: 0; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px -28px rgba(18,26,34,.5); display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); overflow: hidden; }
.rt-card.v { grid-template-columns: 1fr; }
.rt-media { position: relative; background: var(--ink-2); display: block; min-height: 0; }
/* r3 (review MUST-FIX 8): the still fills its panel at any card height, cropped from the centre, never letterboxed */
.rt-media > img { display: block; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rt-media.sv { background: #F7F8F7; display: flex; align-items: center; }
.rt-media.sv > svg { display: block; width: 100%; height: auto; }
.rt-media .cap { position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; color: #fff; background: rgba(18,26,34,.75); padding: 2px 7px; border-radius: 4px; }
.rt-body { padding: 14px 16px; font-size: 14px; line-height: 1.42; }
.rt-body p { margin: 0; color: var(--text-2); }
.rt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px !important; }
.rt-live { font-weight: 700; font-size: 12px; color: var(--coral-2); background: var(--coral-soft); padding: 3px 9px; border-radius: 5px; }
.rt-time { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: 12.5px; }
.rt-body .rt-what { font-weight: 600; font-size: 15px; color: var(--text); }
.rt-body .rt-where { color: var(--text-3); margin-top: 2px; }
.rt-to { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 10px 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rt-to dt { color: var(--text-3); }
.rt-to dd { margin: 0; color: var(--text); }
.rt-esc { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rt-esc li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; color: var(--text-2); }
.rt-esc li:first-child { color: var(--text); font-weight: 600; }
.rt-t { font-variant-numeric: tabular-nums; color: var(--text-3); font-weight: 500; }
.rt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.rt h2 { margin-bottom: 12px; }
.rt-types { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rt-types li { font-size: 14.5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.rt-types a { text-decoration: none; }
.rt-types a:hover { text-decoration: underline; }
.rt-note { font-size: 15.5px; color: var(--text-2); margin: 0; }

/* Facts with sources */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 170px 1fr; gap: 2px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { font-family: var(--head); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.05; color: var(--coral); grid-row: span 2; white-space: nowrap; }
.facts span { font-weight: 500; }
.src { font-size: 13px; color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.src:hover { color: var(--text); }
.fact-note { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }
.problem-today { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.problem-today p { color: var(--text-2); }

/* Product line sections on the home page */
.line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.line.flip > :first-child { order: 2; }
.line h2 { margin-bottom: 12px; }
.line p { color: var(--text-2); }
.links { list-style: none; margin: 18px 0 0; padding: 0; }
.links li { border-top: 1px solid var(--line); }
.links li:last-child { border-bottom: 1px solid var(--line); }
.links a, .links .plain { display: grid; grid-template-columns: 210px 1fr; gap: 4px 18px; padding: 11px 0; text-decoration: none; }
.links strong { font-weight: 600; color: var(--text); }
.links a strong::after { content: " \2192"; color: var(--coral); }
.links a:hover strong { text-decoration: underline; text-decoration-color: var(--coral); }
.links span { color: var(--text-2); font-size: 15.5px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-45deg); }
.dark .ticks li { border-color: var(--line-d); }

/* Fuel band */
.band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.band h2 { margin-bottom: 10px; }
.band p { margin: 0 0 18px; }
.band .frame.svg { background: #1F2A35; }

/* How it works and enterprise basics */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.stops { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.stops li { position: relative; padding: 0 0 18px 50px; }
.stops li:last-child { padding-bottom: 0; }
.stops li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--text); font: 700 14px/28px var(--head); text-align: center; }
.stops li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.stops h3 { margin: 4px 0 2px; font-size: 18px; }
.stops p { margin: 0; color: var(--text-2); font-size: 16px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
.cols > div { border-top: 2px solid var(--text); padding-top: 14px; }
.cols h3 { margin: 0 0 6px; }
.cols p { color: var(--text-2); font-size: 15.5px; margin: 0 0 8px; }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { font-size: 15px; color: var(--text-2); padding: 5px 0; border-bottom: 1px solid var(--tint-2); }
.cols li b { color: var(--text); font-weight: 600; }
.chain { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.chain li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; }
.chain li + li::before { content: "\2192"; margin: 0 8px 0 -2px; color: var(--coral); }

/* Use-case pages */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.problem p { color: var(--text-2); }
.pains { list-style: none; margin: 0; padding: 0; }
.pains li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; font-weight: 500; }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 3px; background: var(--coral); }
.fact-line { margin: 14px 0 0; padding: 12px 14px; background: var(--tint); border-left: 3px solid var(--coral); font-size: 15.5px; color: var(--text) !important; }
.fact-line b { font-family: var(--head); color: var(--coral); }
.fact-line .src { display: block; margin-top: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.split h2 { margin-bottom: 10px; }
.split .lead { margin-bottom: 20px; }
.sample { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; }
.sample h3 { font-size: 17px; margin: 0 0 2px; }
.sample .paper-label { margin: 0 0 10px; }
.paper-label { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }
.sample table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sample th { text-align: left; font-weight: 600; color: var(--text-2); font-size: 12.5px; padding: 5px 10px 7px 0; border-bottom: 2px solid var(--text); }
.sample td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--tint-2); }
.sample td.flag { color: var(--coral-2); font-weight: 600; }
.sample td.good { color: #137046; font-weight: 600; }
.sample .mock { margin-top: 12px; }
.campaign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(28px, 4.5vw, 64px); }
.faq h2 { margin-bottom: 10px; }
.faq-more { color: var(--text-2); font-size: 15.5px; margin: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 15px 40px 15px 0; position: relative; font: 600 17px/1.4 var(--body); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 21px; width: 9px; height: 9px; border-right: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq-list details p { margin: 0 0 16px; color: var(--text-2); max-width: 44rem; }

/* Final CTA */
.cta-band { background: var(--ink); color: var(--fg); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding-top: clamp(40px, 7vh, 72px); padding-bottom: clamp(40px, 7vh, 72px); }
.cta-band h2 { margin: 0; max-width: 22ch; font-size: clamp(26px, 2.8vw, 38px); }
.cta-band p { margin: 10px 0 0; max-width: 38rem; color: var(--fg-2); }
.cta-band .btns { margin: 0; }

/* Contact */
.contact-hero { padding: clamp(24px, 4vh, 44px) 0; }
.contact-hero h1 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 8px; }
.contact-sec { padding: clamp(20px, 4vh, 56px) 0; }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 2.6vw, 34px); box-shadow: 0 30px 60px -40px rgba(18,26,34,.35); }
.form .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.form .f { margin-bottom: 12px; min-width: 0; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.form label .opt { font-weight: 400; color: var(--text-3); }
.form input:not([type="radio"]), .form select, .form textarea { width: 100%; height: 46px; border: 1px solid #BFC7CC; border-radius: 8px; background: #fff; color: var(--text); font: 500 16px var(--body); padding: 0 12px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--text); box-shadow: 0 0 0 3px rgba(232,71,42,.25); }
.form textarea { height: 84px; padding: 10px 12px; resize: vertical; }
.form .fine { font-size: 13px; color: var(--text-2); margin: 12px 0 0; }
.form .btn { width: 100%; margin-top: 4px; }
.choice { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.choice legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.choice label { display: flex; align-items: center; gap: 10px; margin: 0; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--coral); background: var(--coral-soft); }
.choice input { accent-color: var(--coral); width: 18px; height: 18px; margin: 0; }
.thanks { display: none; }
.form.sent form { display: none; }
.form.sent .thanks { display: block; }
.thanks h2 { font-size: 30px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15.5px; }
.side-list strong { display: block; color: var(--text); }

/* Legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal p { color: var(--text-2); }

/* Footer */
.site-foot { background: var(--tint); color: var(--text-2); font-size: 15px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 36px; }
.foot-in img { height: 24px; width: auto; margin-bottom: 16px; }
.foot-in h3 { font: 600 14px var(--body); color: var(--text); margin: 0 0 10px; letter-spacing: 0; }
.foot-in ul { list-style: none; margin: 0; padding: 0; }
.foot-in li { margin: 0 0 7px; }
.foot-in a { color: var(--text-2); text-decoration: none; }
.foot-in a:hover { color: var(--text); text-decoration: underline; }
.foot-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 28px; font-size: 14px; }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line); }
.foot-base a { color: var(--text-2); margin-left: 18px; }

/* Reveal: visible without JS; only animates when motion is allowed */
.rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .rv.in { opacity: 1; transform: none; }
}

/* Short laptop screens: keep every section on one screen */
@media (min-width: 1081px) and (max-height: 820px) {
  h2 { font-size: clamp(26px, 2.5vw, 34px); }
  .sec { padding: 34px 0; }
  .hero-in { padding-top: 92px; padding-bottom: 22px; }
  .hero h1 { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 12px; }
  .hero .sub { font-size: 16.5px; }
  .hero .btns { margin-top: 18px; }
  .hero .cap { margin-top: 10px; }
  .rt-card.v .rt-media img { aspect-ratio: 16 / 8; }
  .rt-body { padding: 10px 14px; font-size: 13.5px; }
  .rt-to { margin: 7px 0; padding: 6px 0; }
  .page-hero { padding: 28px 0; }
  .page-hero h1 { font-size: clamp(28px, 2.8vw, 38px); }
  .page-hero .sub { font-size: 16px; }
  .page-hero .btns { margin-top: 18px; }
  .crumbs { margin-bottom: 10px; }
  .lead, .line p, .problem p, .problem-today p { font-size: 16px; }
  .links a, .links .plain { padding: 8px 0; }
  .links span { font-size: 14.5px; }
  .facts li { padding: 10px 0; }
  .pains li { padding: 9px 0 9px 30px; }
  .pains li::before { top: 20px; }
  .stops li { padding-bottom: 12px; }
  .stops p { font-size: 15px; }
  .sample { padding: 14px 16px; }
  .sample td { padding: 6px 10px 6px 0; }
  .faq-list summary { padding: 11px 40px 11px 0; font-size: 16px; }
  .faq-list summary::after { top: 17px; }
  .faq-list details[open] summary::after { top: 22px; }
  .ticks li { padding: 6px 0 6px 30px; }
  .ticks li::before { top: 14px; }
  .cols li { padding: 4px 0; font-size: 14.5px; }
  .rt-types { margin: 12px 0; }
  .rt-types li { font-size: 14px; padding: 4px 10px; }
  .form .f { margin-bottom: 8px; }
  .form textarea { height: 64px; }
  .side-list li { padding: 8px 0; }
  .frame.fit { width: min(100%, calc(42vh * 16 / 9)); margin-left: auto; }
}

/* Tablet and phone */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px var(--gut) 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(18,26,34,.3); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .site-head.over:not(.scrolled) .nav > a:not(.btn), .site-head.over:not(.scrolled) .nav-item > a { color: var(--text); text-shadow: none; }
  .nav > a, .nav-item > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .has-sub > a::after { display: none; }
  .nav-sub { display: block; position: static; border: 0; box-shadow: none; padding: 2px 0 8px 14px; min-width: 0; }
  .has-sub::after { display: none; }
  .nav-sub a { padding: 7px 0; font-size: 15.5px; }
  .nav .btn { display: flex; margin-top: 14px; min-height: 48px; }
}
@media (max-width: 900px) {
  :root { --gut: 20px; }
  body { font-size: 16.5px; }
  .hero { min-height: 0; }
  .hero-in, .page-hero .grid, .problem-today, .line, .band .wrap, .how, .rt, .problem, .split, .faq, .contact, .campaign { grid-template-columns: 1fr; }
  .line.flip > :first-child { order: 0; }
  .hero-in { padding-top: 104px; }
  .cols { grid-template-columns: 1fr; gap: 18px; }
  .rt-card { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  .form .row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  h1, .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero::after { background: linear-gradient(180deg, rgba(18,26,34,.8) 0%, rgba(18,26,34,.9) 100%); }
  .btns .btn { width: 100%; }
  .facts li, .links a, .links .plain { grid-template-columns: 1fr; }
  .facts b { grid-row: auto; }
  .form .row, .choice { grid-template-columns: 1fr; }
  .cta-band .btns, .cta-band .btn { width: 100%; }
  .sample { padding: 14px 12px; }
  .sample table { font-size: 13px; }
  .foot-base a { margin-left: 0; margin-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Breadth round, 7 Nov 2026: ranked store audit checklist and related-page lists. */
.chk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(6, auto); gap: 0 36px; }
.chk li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.chk b { font-family: var(--head); font-weight: 700; font-size: 16.5px; color: var(--text); }
.chk span { grid-column: 1; color: var(--text-2); font-size: 14.5px; line-height: 1.4; }
.chk em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chk em.cam { background: var(--ok-soft); color: #13643D; }
.chk em.nocam { background: var(--tint-2); color: var(--text-2); }
.rel { padding: 36px 0; border-top: 1px solid var(--line); }
.rel h2 { font-size: 22px; margin: 0 0 6px; }
.rel .ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 900px) { .chk { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } .rel .ticks { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .chk li { grid-template-columns: 1fr; } .chk em { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; } }
@media (min-width: 1081px) and (max-height: 820px) { .chk li { padding: 6px 0; } .chk span { font-size: 14px; line-height: 1.3; } .chk b { font-size: 15.5px; } }

/* r2, 8 Nov 2026: product dashboard, company line, wider nav collapse, timeline, tiles and big-visual layouts. */
.dash { margin: 0; }
.dash-app { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--text); box-shadow: 0 24px 48px -32px rgba(18,26,34,.45); }
.dash-top { display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
.dash-top b { font-family: var(--head); color: var(--text); font-size: 15px; }
.dash-tab { margin-left: auto; color: var(--text); font-weight: 600; border-bottom: 2px solid var(--coral); padding-bottom: 2px; }
.dash-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.dash-kpi div { padding: 8px 14px; border-right: 1px solid var(--line); }
.dash-kpi div:last-child { border-right: 0; }
.dash-kpi span { display: block; font-size: 12px; color: var(--text-3); }
.dash-kpi b { font-family: var(--head); font-size: 19px; font-variant-numeric: tabular-nums; }
.dash-h { font-size: 12px; color: var(--text-3); margin: 0 0 2px !important; font-weight: 600; }
.dash-chart { padding: 8px 12px 0; }
.dash-chart svg { width: 100%; height: auto; }
.dash-chart path:hover { opacity: .8; }
.dash-conv { padding: 4px 12px 10px; }
.dash-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; }
.dash-row span { text-align: center; background: var(--tint); border-radius: 4px; padding: 3px 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.dash-row span.lo { box-shadow: inset 0 -3px 0 var(--coral); font-weight: 700; }
.dash-row b { display: block; font-weight: 600; }
.dash-row i { display: block; font-style: normal; color: var(--text-3); font-size: 10.5px; }
.dash figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.dark .dash figcaption { color: var(--fg-2); }
.foot-co { font-size: 13.5px; line-height: 1.5; margin-top: 10px; }
.foot-co a { color: var(--text) !important; }
.tline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 24px; counter-reset: s; }
.tline li { position: relative; padding-top: 30px; border-top: 2px solid var(--text); }
.tline li::before { counter-increment: s; content: counter(s); position: absolute; top: -13px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 13px/24px var(--head); text-align: center; }
.tline h3 { font-size: 17px; margin: 0 0 4px; }
.tline p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.dark .tline li { border-color: var(--fg-2); }
.dark .tline p { color: var(--fg-2); }
.wide-visual { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.note-box { border-left: 3px solid var(--coral); background: #fff; padding: 12px 16px; margin: 16px 0 0; font-size: 15.5px; color: var(--text-2); border-radius: 0 8px 8px 0; }
.dark .note-box { background: var(--ink-2); color: var(--fg-2); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.tiles > div { border-top: 2px solid var(--text); padding: 12px 0 14px; }
.tiles h3 { margin: 0 0 4px; font-size: 18px; }
.tiles h3 a { text-decoration: none; }
.tiles h3 a::after { content: " \2192"; color: var(--coral); }
.tiles h3 a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.tiles p { margin: 0 0 6px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.tiles .sm { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.tiles .sm a { color: var(--text-2); text-underline-offset: 2px; }
.steps3 { list-style: none; margin: 0 0 4px; padding: 0; counter-reset: s; }
.steps3 li { position: relative; padding: 8px 0 8px 34px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.steps3 li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--text); font: 700 12px/18px var(--head); text-align: center; color: var(--text); }
.steps3 strong { color: var(--text); display: block; }
.pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.pilot h2 { margin-bottom: 10px; }
.pilot p { color: var(--text-2); }
@media (min-width: 1081px) and (max-height: 820px) {
  .dash-kpi b { font-size: 17px; }
  .dash-kpi div { padding: 6px 12px; }
  .tiles > div { padding: 9px 0 10px; }
  .tiles p { font-size: 14.5px; }
  .tline li { padding-top: 24px; }
  .steps3 li { padding: 6px 0 6px 34px; }
}
@media (max-width: 1180px) and (min-width: 1081px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 6px var(--gut) 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(18,26,34,.3); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .site-head.over:not(.scrolled) .nav > a:not(.btn), .site-head.over:not(.scrolled) .nav-item > a { color: var(--text); text-shadow: none; }
  .nav > a, .nav-item > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .has-sub > a::after { display: none; }
  .nav-sub { display: block; position: static; border: 0; box-shadow: none; padding: 2px 0 8px 14px; min-width: 0; }
  .has-sub::after { display: none; }
  .nav-sub a { padding: 7px 0; font-size: 15.5px; }
  .nav .btn { display: flex; margin-top: 14px; min-height: 48px; }
}
@media (min-width: 1181px) and (max-width: 1340px) { .nav { gap: 15px; } .nav a { font-size: 14px; } .head-in { gap: 16px; } }
@media (max-width: 900px) { .tline { grid-template-columns: 1fr; gap: 22px; } .wide-visual, .tiles, .pilot { grid-template-columns: 1fr; } .dash-kpi { grid-template-columns: 1fr 1fr; } .dash-kpi div:nth-child(2) { border-right: 0; } .dash-kpi div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .dash-row span { font-size: 10.5px; } .dash-row i { font-size: 9.5px; } .dash-top span:not(.dash-tab) { display: none; } }
.side-h { font-size: 20px; margin: 0 0 8px; }
@media (max-width: 1080px) and (min-width: 601px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }

/* ===================================================================== r2 dataviz (8 Nov 2026)
   Two surfaces: .vz.con = dark product console, .vz.ed = light editorial chart. Palette tokens mirror _build/viz.py.
   Motion: .dr lines draw, .gx/.gy bars grow, .fd fades; all start when .vz gets .in. Reduced motion: final state. */
:root {
  --vz-s1: #2A78D6; --vz-s2: #EB6834; --vz-s3: #1BAF7A; --vz-ctx: #A3ADB6; --vz-hi: #E8472A; --vz-ok: #1E9A5F; --vz-warn: #D97B12;
  --con-bg: #0F1720; --con-panel: #16212C; --con-line: rgba(255,255,255,.09); --con-fg: #E8EEF2; --con-fg2: #9FB0BE;
}
.vz { margin: 0; min-width: 0; }
.vz-in { border-radius: 14px; padding: 16px 18px 14px; }
.vz.ed .vz-in { background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -34px rgba(18,26,34,.5); }
.vz.con .vz-in { background: var(--con-bg); color: var(--con-fg); border: 1px solid #22303C; box-shadow: 0 28px 60px -36px rgba(8,14,20,.75); }
.vz figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.dark .vz figcaption { color: var(--fg-2); }
.vz-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.vz-h b { font: 700 16px/1.25 var(--head); letter-spacing: -.01em; }
.vz-h span { font-size: 13px; color: var(--text-3); }
.vz.con .vz-h span { color: var(--con-fg2); }
.vz-h .vz-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #2DB673; letter-spacing: .02em; }
.vz-live i { width: 8px; height: 8px; border-radius: 50%; background: #2DB673; }
.vz-lg { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--text-2); margin: -2px 0 8px; }
.vz.con .vz-lg { color: var(--con-fg2); }
.vz-lg span { display: inline-flex; align-items: center; gap: 6px; }
.vz-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.vz-lg .k-dot { border-radius: 50%; }
.vz-lg .k-ring { border-radius: 50%; background: transparent !important; border: 2px solid #F0603F; box-sizing: border-box; }
.vz-lg .k-tri { width: 0; height: 0; border-radius: 0; background: transparent !important; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--vz-ok); }
.vz-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--body); }
.vz-svg text { font-family: var(--body); }
.vz-svg .ax { font-size: 14px; fill: #5F6B76; }
.vz-svg .pt { font-size: 14px; font-weight: 600; fill: #4D5965; }
.vz-svg .lb { font-size: 14px; font-weight: 600; fill: #16202A; }
.vz-svg .vb { font-size: 14px; font-weight: 600; fill: #16202A; font-variant-numeric: tabular-nums; }
.vz-svg .vw { font-size: 14px; font-weight: 700; fill: #fff; font-variant-numeric: tabular-nums; }
.vz-svg .an { font-size: 13.5px; font-weight: 600; fill: #16202A; }
.vz-svg.ph .ax, .vz-svg.ph .an { font-size: 12.5px; } .vz-svg.ph .lb, .vz-svg.ph .vb, .vz-svg.ph .pt { font-size: 13px; }
.vz-svg .hl { fill: #C2361C; }
.vz-svg .dk2 { fill: #4D5965; }
.vz-svg .gl { stroke: #E3E7E5; stroke-width: 1; }
.vz-svg .bl { stroke: #9AA5AE; stroke-width: 1; }
.vz-svg .hit { fill: transparent; }
.vz-svg .hit:hover { fill: rgba(42,120,214,.07); }
.vz-svg .lk { stroke-opacity: .38; transition: stroke-opacity .2s; }
.vz-svg .lk:hover { stroke-opacity: .7; }
.vz-svg.dk .ax { fill: #8B9CAB; }
.vz-svg.dk .pt { fill: #C5D2DC; }
.vz-svg.dk .lb, .vz-svg.dk .vb, .vz-svg.dk .an { fill: #E8EEF2; }
.vz-svg.dk .gl { stroke: rgba(255,255,255,.09); }
.vz-svg.dk .bl { stroke: rgba(255,255,255,.28); }
.vz-svg.dk .hit:hover { fill: rgba(255,255,255,.05); }
.vz-svg.dk .hl { fill: #FF8A6E; }
.vz-svg g.mk text { paint-order: stroke; stroke: #fff; stroke-width: 3px; }
/* motion: start states only when JS runs and motion is allowed */
.js .vz .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .vz .gx { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; }
.js .vz .gx.c { transform-origin: center; }
.js .vz .gy { transform: scaleY(0); transform-box: fill-box; transform-origin: center bottom; }
.js .vz .fd { opacity: 0; }
.js .vz.in .dr { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.3,.7,.2,1) var(--d, 0s); }
.js .vz.in .gx, .js .vz.in .gy { transform: none; transition: transform .9s cubic-bezier(.3,.7,.2,1) var(--d, 0s); }
.js .vz.in .fd { opacity: 1; transition: opacity .6s ease calc(var(--d, 0s) + .5s); }
/* KPI tiles */
.vz-kpis { --n: 4; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.vz-kpis.n3 { --n: 3; } .vz-kpis.n2 { --n: 2; }
.kpi { position: relative; border-radius: 10px; padding: 10px 12px 8px; background: var(--tint); min-width: 0; }
.vz.con .kpi { background: var(--con-panel); }
.kpi-l { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vz.con .kpi-l { color: var(--con-fg2); }
.kpi-v { display: block; font: 700 22px/1.2 var(--head); letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin: 2px 0 1px; }
.vz-d { display: block; font-size: 11.5px; font-style: normal; font-weight: 600; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vz-d.up { color: var(--vz-ok); } .vz-d.down { color: #C2361C; }
.vz.con .vz-d.up { color: #3CCB86; } .vz.con .vz-d.down { color: #FF8A6E; }
.vz-spark { display: block; width: 100%; height: 26px; margin-top: 4px; }
.vz-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: -2px 0 10px; }
.vz-tabs button { font: 500 13px var(--body); padding: 6px 12px; border-radius: 999px; color: var(--con-fg2); background: none; border: 1px solid rgba(255,255,255,.12); cursor: pointer; min-height: 32px; }
.vz-tabs button:hover { color: var(--con-fg); border-color: rgba(255,255,255,.3); }
.vz-tabs button[aria-selected="true"] { background: #2C3D4C; color: var(--con-fg); font-weight: 600; border-color: #2C3D4C; }
.vz-tabs button:focus-visible { outline: 2px solid #4A93EA; outline-offset: 2px; }
.vz-pan[hidden] { display: none; }
/* status chips (state = colour + icon + word) */
.st { font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 2px 8px; border-radius: 999px; }
.st.open, .st.act { background: rgba(240,96,63,.16); color: #FF9A80; }
.st.ack, .st.watch { background: rgba(232,149,45,.16); color: #F2B266; }
.st.closed, .st.ok { background: rgba(45,182,115,.15); color: #5BD69A; }
/* alert stream */
.vz-stream { list-style: none; margin: 0; padding: 0; position: relative; overflow: hidden; }
.vz-stream li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "t w s" "t x s"; gap: 0 12px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--con-line); }
.vz-stream li:first-child { border-top: 0; }
.vz-stream time { grid-area: t; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13.5px; color: var(--con-fg); }
.vz-stream .s-w { grid-area: w; font-size: 12px; color: var(--con-fg2); }
.vz-stream .s-x { grid-area: x; font-size: 14px; color: var(--con-fg); line-height: 1.35; }
.vz-stream .st { grid-area: s; }
.vz-stream li.new { animation: vz-in .6s cubic-bezier(.3,.7,.2,1); background: linear-gradient(90deg, rgba(240,96,63,.12), transparent 70%); }
@keyframes vz-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
/* gauges */
.g-wrap { text-align: center; }
.vz-svg.g { max-width: 300px; margin: 0 auto; }
.vz-svg .g-num { font: 700 44px var(--head); fill: #fff; font-variant-numeric: tabular-nums; }
.g-cell .vz-svg .g-num { font-size: 38px; }
.vz-svg .g-val { transition: stroke-dasharray .8s cubic-bezier(.3,.7,.2,1), stroke .4s; }
.vz .g-st { margin: 4px 0 0; font-size: 13.5px; color: var(--con-fg2); }
.g-st b { color: #5BD69A; }
.g-st.over b { color: #FF9A80; }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g-cell { background: var(--con-panel); border-radius: 10px; padding: 10px 8px 10px; text-align: center; min-width: 0; }
.g-cell > b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; min-height: 2.6em; color: var(--con-fg); }
.g-m { display: block; font-size: 12px; color: #5BD69A; margin-top: 2px; }
.g-cell.over .g-m { color: #FF9A80; }
/* store grid */
.sg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sg { background: var(--con-panel); border-radius: 10px; padding: 11px 12px 10px; min-width: 0; border: 1px solid transparent; }
.sg.act { border-color: rgba(240,96,63,.45); }
.sg-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sg-h b { font-size: 13.5px; }
.sg-v { display: block; font: 700 24px/1.2 var(--head); margin-top: 6px; font-variant-numeric: tabular-nums; }
.sg-l, .sg-n { display: block; font-size: 12px; color: var(--con-fg2); }
.sg-n { margin-top: 2px; }
/* small multiples */
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* capability status list */
.vz-caps { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.vz-caps h3 { font-size: 16px; margin: 0 0 6px; }
.vz-caps ul { list-style: none; margin: 0; padding: 0; }
.vz-caps li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--tint-2); font-size: 14.5px; }
.vz-caps li:first-child { border-top: 0; }
.cap-s { font-style: normal; font-size: 12.5px; font-weight: 600; text-align: right; padding: 3px 10px; border-radius: 999px; max-width: 58%; }
.cap-s.run { background: var(--ok-soft); color: #13704A; }
.cap-s.set { background: #E6F0FB; color: #1C5CAB; }
.cap-s.req, .cap-s.off { background: var(--tint); color: var(--text-2); }
/* case file */
.cf-tl { list-style: none; margin: 0 0 12px 6px; padding: 0 0 0 16px; border-left: 2px solid #2A3A48; }
.cf-tl li { position: relative; display: flex; gap: 12px; padding: 5px 0; font-size: 14px; }
.cf-tl li::before { content: ""; position: absolute; left: -22px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #5B6B79; }
.cf-tl li.hi::before { background: #F0603F; } .cf-tl li.ok::before { background: #2DB673; }
.cf-tl time { min-width: 62px; font-variant-numeric: tabular-nums; font-weight: 600; }
.cf-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.cf-kv div { background: var(--con-panel); border-radius: 8px; padding: 8px 10px; }
.cf-kv dt { font-size: 11.5px; color: var(--con-fg2); }
.cf-kv dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; }
/* integrations list (how it works) */
.intg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.intg div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.intg b { display: block; font-size: 14.5px; }
.intg span { display: block; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
/* entrance clip counter */
.frame .ec { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(15,23,32,.82); color: #fff; border-radius: 10px; padding: 7px 12px 6px; line-height: 1.15; }
.frame .ec span { display: block; font-size: 11.5px; color: #B9C6D1; }
.frame .ec b { display: block; font: 700 24px var(--head); font-variant-numeric: tabular-nums; }
.frame .ec.tick b { animation: ec-tick .5s ease; }
@keyframes ec-tick { 0% { color: #5BD69A; } 100% { color: #fff; } }
@keyframes vz-pulse { 0% { box-shadow: 0 0 0 0 rgba(45,182,115,.55); } 100% { box-shadow: 0 0 0 9px rgba(45,182,115,0); } }
@keyframes vz-ring { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: no-preference) {
  .vz-live i { animation: vz-pulse 1.8s ease-out infinite; }
  .vz-svg g.pulse { animation: vz-ring 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .js .vz .dr, .js .vz .gx, .js .vz .gy, .js .vz .fd { stroke-dashoffset: 0; transform: none; opacity: 1; transition: none; }
  .vz-stream li.new, .frame .ec.tick b { animation: none; }
}
@media (max-width: 900px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vz-kpis, .vz-kpis.n3 { --n: 2; }
  .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .vz-in { padding: 12px 12px 10px; }
  .sm-grid { grid-template-columns: 1fr; }
  .cf-kv, .intg { grid-template-columns: 1fr; }
  .vz-stream li { grid-template-columns: 42px minmax(0, 1fr); grid-template-areas: "t w" "t x" "t s"; }
  .vz-stream .st { justify-self: start; margin-top: 4px; }
  .kpi-v { font-size: 19px; }
  .sg-v { font-size: 20px; }
}

.vz-heat .fx { fill: #D5DBD8; }
.vz-heat .h1 { fill: #F7D046; fill-opacity: .55; }
.vz-heat .h2 { fill: #F29A2E; fill-opacity: .55; }
.vz-heat .h3 { fill: #E8472A; fill-opacity: .55; }
.vz-heat .h4 { fill: #CF3A1F; fill-opacity: .8; }
.vz-heat .zl text { paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.vz-svg .gs { font-size: 26px; }
.vz-svg .vb, .vz-svg .an { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.vz-svg.dk .vb, .vz-svg.dk .an { stroke: #0F1720; }
@media (max-width: 600px) {
  .sm-grid .vz-svg { max-width: 300px; }
}

/* ---------------------------------------------------------------- r3 (8 Nov 2026, review round 2 fixes) */
/* Phone charts: each wide chart has its own phone drawing (330 units, about 1:1), so nothing scrolls sideways. */
.vz-ph { display: none; }
@media (max-width: 600px) { .vz-dt { display: none; } .vz-ph { display: block; } }
.vz-svg.ph { max-width: 420px; }
.vz-pt { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.vz-pt.dk { color: #C5D2DC; }
.vz-notes { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--text-2); }
.vz.con .vz-notes { color: var(--con-fg2); }
.vz-notes b { color: var(--text); font-weight: 600; }
.vz-foot { margin: 10px 0 0; font-size: 14px; color: var(--text-2); }
.vz-svg .sk { paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.sm-rows .vz-svg.sm { margin-bottom: 6px; }
.vz-svg .vb.mu { fill: #5F6B76; font-weight: 500; }
.vz-svg .an.s1 { fill: #1C5CAB; }
.vz-svg .vb.s1 { fill: #1C5CAB; }
/* floor heatmap: continuous heat layer, numbered zones and a list */
.vz-heat .fx, .fwh-map .fx { fill: #C9D0CD; }
.vz-svg .zn { font-size: 17px; font-weight: 700; fill: #fff; }
.heat-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.vz-svg .fl { font-size: 14px; font-weight: 600; fill: #4D5965; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.vz-zones { list-style: none; margin: 0; padding: 0; font-size: 13.5px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 14px; }
.vz-zones li { display: grid; grid-template-columns: 22px 1fr; gap: 0 8px; padding: 4px 0; border-top: 1px solid var(--line); line-height: 1.35; }
.vz-zones li.vz-ramp { display: flex; margin: 0; border-top: 0; align-self: center; }
.vz-zones li.vz-ramp i { width: 70px; }
@media (max-width: 600px) { .vz-zones { grid-template-columns: 1fr; } }
.vz-zones b { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: #16202A; color: #fff; font-size: 12px; display: grid; place-items: center; }
.vz-zones span { font-weight: 600; }
.vz-zones em { font-style: normal; color: var(--text-2); font-size: 13px; }
.vz-ramp { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin-top: 8px; padding: 0 2px; }
.vz-ramp i { width: 140px; height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(42,120,214,.4), #1BAF7A, #EDA100, #EB6834, #CF2E19); }
.fwh-app .vz-ramp { padding: 6px 14px 0; margin: 0; }
@media (max-width: 900px) { .heat-grid { grid-template-columns: 1fr; } }
/* store grid: sixth card, all stores */
.sg.all { border-color: rgba(255,255,255,.18); background: #22303C; }
/* home hero: generated still with its caption, proof line under the buttons */
.hero-cap { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: 12px; color: #fff; background: rgba(18,26,34,.7); padding: 2px 8px; border-radius: 4px; }
.hero .proof { margin: 18px 0 0; font-size: 15px; color: rgba(255,255,255,.86); max-width: 34em; }
/* nav: items with and without a menu share one baseline (review SHOULD-FIX 9) */
@media (min-width: 1181px) { .nav > a:not(.btn), .nav-item > a { display: inline-flex; align-items: center; line-height: 1.4; } }
@media (max-width: 600px) { .vz-heat .zl circle { r: 26px; } .vz-heat .zn { font-size: 28px; } .vz-heat .fl { font-size: 24px; } }
.g-lim { display: block; font-size: 12.5px; color: var(--con-fg2); }

/* r4 (8 Nov 2026, review round 3 fixes) */
@media (min-width: 1081px) { .foot-in { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 26px; } }
.fx, .frame.svg .fx { fill: #C9D0CD; }  /* SHOULD-FIX 6: one fixture colour on every floor plan */
.hero .proof .text-link { color: #fff; text-decoration-color: var(--coral); white-space: nowrap; }
.side-link { margin: 12px 0 14px; font-size: 15px; }
/* r5 (review r4 MUST-FIX 4, chair decision 4): the caption sits in the hero image's bottom-right corner, below the alert card */
.hero-cap { right: 16px; bottom: 10px; left: auto; top: auto; }
@media (min-width: 761px) { .hero-in { padding-bottom: 46px; } }
.sg-h { flex-wrap: wrap; row-gap: 4px; }  /* r4: "Action needed" fits on narrow store cards */
@media (min-width: 761px) { .sg { padding: 9px 11px 8px; } .sg-v { margin-top: 3px; font-size: 22px; } .sg-h .st { font-size: 11.5px; padding: 1px 7px; } }  /* r4: two-line headers still fit the hero */

/* ---------------------------------------------------------------- r5 (9 Nov 2026, review round 4 fixes) */
/* supermarket page: five areas in one row on wide screens */
.cols.cols-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 28px; }
.cols.cols-5 h3 a { color: inherit; }
@media (max-width: 760px) { .hero-in { padding-bottom: 44px; } }  /* hero caption sits clear of the alert card on phone */

/* ---------------------------------------------------------------- ops round (19 Nov 2026): operations pages, estimate form, sample reports */
.dp-wrap { overflow-x: auto; }
.dp-grid { width: 100%; border-collapse: separate; border-spacing: 4px; font-variant-numeric: tabular-nums; }
.dp-grid th { font-size: 12.5px; font-weight: 600; color: var(--con-fg2); text-align: center; padding: 2px 4px; }
.dp-grid th[scope="row"] { text-align: left; color: var(--con-fg); font-size: 13.5px; white-space: nowrap; }
.dp { text-align: center; font-weight: 700; font-size: 15px; padding: 9px 4px; border-radius: 7px; }
.dp.ok { background: rgba(45,182,115,.15); color: #5BD69A; }
.dp.watch { background: rgba(232,149,45,.18); color: #F2B266; }
.dp.act { background: rgba(240,96,63,.22); color: #FF9A80; box-shadow: inset 0 0 0 1.5px rgba(240,96,63,.6); }
.sn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sn { background: var(--con-panel); border-radius: 10px; padding: 6px 6px 8px; min-width: 0; display: grid; gap: 5px; justify-items: start; }
.sn img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.sn-c { font-size: 12.5px; color: var(--con-fg); line-height: 1.3; padding: 0 2px; }
.sn .st { margin-left: 2px; }
.form .row.r4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fn { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.fn-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; }
.fn legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.form .fn label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: 14px; cursor: pointer; }
.form .fn input[type="checkbox"] { accent-color: var(--coral); width: 17px; height: 17px; margin: 0; padding: 0; flex: none; }
.rep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.rep-grid > div { border-top: 2px solid var(--text); padding: 12px 0 14px; }
.rep-grid h3 { margin: 0 0 4px; font-size: 18px; }
.rep-grid p { margin: 0 0 6px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.rel .ticks.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.links.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.links.two a { grid-template-columns: 1fr; padding: 9px 0; }
.links.two li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
@media (max-width: 1080px) { .form .row.r4 { grid-template-columns: 1fr 1fr; } .fn-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .rep-grid, .rel .ticks.n4, .links.two { grid-template-columns: 1fr; } .links.two li:nth-last-child(2) { border-bottom: 0; } }
@media (max-width: 600px) { .sn-grid { grid-template-columns: 1fr 1fr; } .dp { font-size: 13.5px; padding: 8px 2px; } .dp-grid th { font-size: 11.5px; } .dp-grid { border-spacing: 3px; } .fn-g { grid-template-columns: 1fr; } .form .row.r4 { grid-template-columns: 1fr; } }
.ops-more { font-size: 14px; color: var(--text-3); margin: 10px 0 0; }
.ops-more a { color: var(--text-2); text-underline-offset: 2px; }
.vz-card .kpi-l { white-space: normal; }
