:root {
  /* ----- Bright, Apple-style theme · ANSCENTER teal accent ----- */
  --bg: #ffffff;
  --bg-soft: #f5f5f7;        /* Apple light gray surface */
  --ink: #1d1d1f;            /* near-black heading/text */
  --ink-soft: #6e6e73;       /* secondary text */
  --muted: #86868b;          /* tertiary text */

  /* Brand accent (teal). Flip these three to go Apple-blue:
     --accent:#0071e3; --accent-bright:#0a84ff; --accent-deep:#0077ed; */
  --accent: #0d9488;
  --accent-bright: #14b8a6;
  --accent-deep: #0b7d72;

  --cta: var(--accent);      /* primary button fill */
  --cta-ink: #ffffff;        /* text on primary button */
  --highlight: #22d3ee;
  --border: #e3e6e8;         /* hairline border */
  --pill-bg: #e1f2f0;
  --pill-ink: #0b7d72;
  --box-orange: #f0997b;
  --box-amber: #fac775;

  /* ----- ANS logo accents (used sparingly, to make teal pop) ----- */
  /* Sampled from the ANS splash logo: orange head + blue "A". Teal above is
     already the logo's green-teal, so it stays the primary brand colour. */
  --pop: #e8871e;            /* logo orange — fills, badges, glow */
  --pop-ink: #c96f10;        /* darker orange for TEXT (AA on white) */
  --pop-deep: #a85c0c;       /* orange hover */
  --pop-soft: #fdf1e3;       /* orange tint background */
  --brand-blue: #1284d6;     /* logo blue */
  --brand-blue-soft: #e7f1fb;

  /* dark accents that stay dark on a bright site (camera frames, featured tiles) */
  --frame-a: #0a2b29;
  --frame-b: #06201f;

  --maxw: 1100px;
  --nav-h: 52px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.47;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 600; }

/* ---------- Nav (frosted white) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 600; font-size: 19px; letter-spacing: 0.01em;
  color: var(--ink); display: inline-flex; align-items: center; gap: 9px;
}
.nav-logo img { height: 34px; width: auto; display: block; }
.footer .nav-logo img { height: 30px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-cta {
  background: var(--cta);
  color: var(--cta-ink) !important;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 980px;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--accent-deep); color: #fff !important; }

/* Language switcher */
/* Language switcher — an obvious pill control, not a plain nav link */
.nav-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  opacity: 1;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.nav-lang-toggle:hover,
.nav-lang.open .nav-lang-toggle { border-color: var(--accent); color: var(--accent); background: #fff; }
.nav-lang-globe { width: 17px; height: 17px; display: block; }
.nav-lang .nav-dropdown-menu { left: auto; right: 0; min-width: 168px; }
.nav-lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-lang-menu a img { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); flex: none; }
.nav-lang-menu a.active { color: var(--accent); font-weight: 600; }
.nav-lang-menu a.active::after { content: "✓"; margin-left: auto; color: var(--accent); }

/* Resources dropdown */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-toggle {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.85;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { opacity: 1; color: var(--accent); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 160px;
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  padding: 8px;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
/* Desktop (pointer devices): open the menu on hover / keyboard focus, not just click */
@media (hover: hover) and (min-width: 921px) {
  .nav-dropdown:hover > .nav-dropdown-menu,
  .nav-dropdown:focus-within > .nav-dropdown-menu { display: flex; }
  .nav-dropdown:hover .nav-dropdown-toggle,
  .nav-dropdown:focus-within .nav-dropdown-toggle { opacity: 1; color: var(--accent); }
  /* invisible bridge across the 10px gap so the menu stays open while the cursor crosses it */
  .nav-dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
}
.nav-dropdown-menu a {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0.85;
}
.nav-dropdown-menu a:hover { opacity: 1; background: rgba(13, 148, 136, 0.07); }
.nav-dropdown-sep { height: 1px; background: var(--border); margin: 6px 10px; flex-shrink: 0; }
.nav-dropdown-menu a small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
  white-space: normal;
  max-width: 230px;
  line-height: 1.35;
}

/* On mobile the nav stacks; show the dropdown items inline (no absolute popup). */
@media (max-width: 920px) {
  /* mobile: each dropdown becomes a tap-to-expand accordion with a visible label */
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 15px 0; font-size: 17px; opacity: 1; color: var(--ink);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-dropdown-toggle::after {
    content: ""; width: 8px; height: 8px; margin-right: 4px;
    border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg); transition: transform 0.25s ease;
  }
  .nav-dropdown.open .nav-dropdown-toggle { color: var(--accent); }
  .nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(-135deg); }
  .nav-dropdown-menu {
    position: static; display: none; box-shadow: none;
    margin: 0; padding: 2px 0 8px 14px; min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a { padding: 11px 0; font-size: 15.5px; border-bottom: 1px solid rgba(0, 0, 0, 0.04); }
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Shared eyebrow / pills / badges ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--accent); }

.pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-size: 13px; font-weight: 500;
  padding: 5px 12px;
  border-radius: 980px;
}
a.pill { transition: background 0.2s ease; }
a.pill:hover { background: #cfeae6; }
.badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  /* "New" in logo orange, dark-brown text (matches the detection-label look) */
  background: var(--pop); color: #3a1e05;
}
.badge-next { background: var(--brand-blue-soft); color: var(--brand-blue); }

/* ---------- Hero (bright) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 70px) 24px 76px;
  background: radial-gradient(120% 100% at 50% 0%, #fbfbfd 0%, #f1f3f6 60%, #e9ecf1 100%);
  color: var(--ink);
  overflow: hidden;
}
.hero .eyebrow { color: var(--accent); }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 7.5vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(18px, 2.3vw, 25px);
  color: var(--ink-soft);
  margin: 22px auto 0;
  max-width: 660px;
  line-height: 1.38;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: var(--accent);
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 980px;
  margin-bottom: 22px;
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  top: -340px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(13, 148, 136, 0.14) 0%, transparent 60%);
  filter: blur(44px);
  z-index: 1;
  pointer-events: none;
}
/* second, warmer glow (logo orange) so the hero reads teal + a warm lift */
.hero::after {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  bottom: -320px; left: 50%;
  transform: translateX(-38%);
  background: radial-gradient(circle, rgba(232, 135, 30, 0.12) 0%, transparent 62%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

/* hero split layout (product pages) */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
  max-width: var(--maxw);
  position: relative;
  z-index: 2;
}
.hero-split .hero-content { max-width: none; }
.hero-split .hero-actions { justify-content: flex-start; }

/* ---------- Buttons ---------- */
.btn { font-size: 16px; font-weight: 500; transition: all 0.2s ease; cursor: pointer; display: inline-block; }
.btn-primary {
  background: var(--cta);
  color: var(--cta-ink);
  padding: 12px 24px;
  border-radius: 980px;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(13, 148, 136, 0.4);
  padding: 12px 24px;
  border-radius: 980px;
}
.btn-ghost:hover { background: rgba(13, 148, 136, 0.07); }
.btn-dark {
  background: var(--ink); color: #fff;
  padding: 12px 24px; border-radius: 980px;
}
.btn-dark:hover { background: #000; }
.btn-link { color: var(--accent); font-weight: 500; }
.btn-link:hover { text-decoration: underline; }
.btn-link-light { color: var(--accent); }

/* ---------- Bounding-box product preview (signature motif, stays dark) ---------- */
.preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(70% 50% at 50% 4%, rgba(45,212,191,0.12), transparent 60%),
    radial-gradient(130% 95% at 50% 128%, rgba(13,148,136,0.24), transparent 62%),
    linear-gradient(160deg, #0c302d 0%, #061d1c 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 30px 60px rgba(20, 40, 38, 0.22), inset 0 0 90px 26px rgba(0, 0, 0, 0.42);
}
/* floor grid, faded toward the edges */
.preview::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(45,212,191,0.055) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(45,212,191,0.045) 44px 45px);
  -webkit-mask-image: radial-gradient(125% 100% at 50% 42%, #000 52%, transparent 100%);
  mask-image: radial-gradient(125% 100% at 50% 42%, #000 52%, transparent 100%);
  pointer-events: none;
}
/* slow scan sweep */
.preview-scan {
  position: absolute; left: 0; right: 0; height: 38%; top: -40%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(45,212,191,0.10) 70%, rgba(45,212,191,0.20));
  animation: scan 5s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scan { 0% { top: -42%; } 62%, 100% { top: 102%; } }

.preview-chip {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  display: flex; gap: 8px; align-items: center;
  background: rgba(4, 47, 46, 0.62);
  border: 1px solid rgba(45, 212, 191, 0.32);
  color: #f0fdfa;
  font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 980px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.preview-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 8px #2dd4bf; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.bbox {
  --bc: #2dd4bf;
  position: absolute; z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  /* corner brackets, one L per corner */
  background:
    linear-gradient(var(--bc), var(--bc)) left top,
    linear-gradient(var(--bc), var(--bc)) left top,
    linear-gradient(var(--bc), var(--bc)) right top,
    linear-gradient(var(--bc), var(--bc)) right top,
    linear-gradient(var(--bc), var(--bc)) left bottom,
    linear-gradient(var(--bc), var(--bc)) left bottom,
    linear-gradient(var(--bc), var(--bc)) right bottom,
    linear-gradient(var(--bc), var(--bc)) right bottom;
  background-repeat: no-repeat;
  background-size: 18px 2px, 2px 18px, 18px 2px, 2px 18px, 18px 2px, 2px 18px, 18px 2px, 2px 18px;
}
/* inner subject glow rising from the floor */
.bbox::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 85% at 50% 100%, rgba(45,212,191,0.20), transparent 72%);
}
.bbox::before {
  content: attr(data-label);
  position: absolute; top: -23px; left: -1px; z-index: 1;
  background: var(--bc); color: #042f2e;
  font-size: 11px; font-weight: 700; letter-spacing: 0.01em;
  padding: 2px 8px; border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.bbox.orange { --bc: var(--box-orange); }
.bbox.orange::before { color: #2a1109; }
.bbox.orange::after { background: radial-gradient(120% 85% at 50% 100%, rgba(240,153,123,0.22), transparent 72%); }
.bbox.amber { --bc: var(--box-amber); }
.bbox.amber::before { color: #2a1f09; }
.bbox.amber::after { background: radial-gradient(120% 85% at 50% 100%, rgba(250,199,117,0.22), transparent 72%); }

.preview-bubble {
  position: absolute; z-index: 5; bottom: 14px; right: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.97);
  color: #1d1d1f;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(20, 40, 38, 0.28);
}
.preview-bubble strong { color: var(--accent); }

/* ---------- Value strip ---------- */
.valuestrip {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 32px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.valuestrip span {
  font-size: 14px; color: var(--ink); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.valuestrip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- "What's new" featured band (surfaces new products high up) ---------- */
.whatsnew { max-width: var(--maxw); margin: 58px auto 0; padding: 0 24px; }
.wn-inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 44px; align-items: center;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(232, 135, 30, 0.10), transparent 55%),
    linear-gradient(135deg, #e8f6f1 0%, #f5faf8 55%, #fdf3ea 100%);
  border: 1px solid var(--border); border-radius: 22px;
  padding: 42px 44px;
  box-shadow: 0 26px 60px -26px rgba(13, 148, 136, 0.28);
}
.wn-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pop-ink);
  background: var(--pop-soft); border: 1px solid rgba(232, 135, 30, 0.26);
  padding: 6px 13px; border-radius: 980px;
  margin-bottom: 16px;
}
.wn-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 8px var(--pop); animation: pulse 1.8s ease-in-out infinite; }
.wn-text h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }
.wn-text h2 em { font-style: normal; color: var(--accent); }
.wn-text > p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 22px; max-width: 520px; }
.wn-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.wn-cards { display: flex; flex-direction: column; gap: 14px; }
.wn-chip {
  position: relative; display: flex; align-items: center; gap: 14px;
  background: linear-gradient(155deg, #0b423e, #042f2e); color: #c9e6e2;
  border: 1px solid rgba(45, 212, 191, 0.14); border-radius: 16px; padding: 15px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wn-chip:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 40, 38, 0.26); border-color: rgba(45, 212, 191, 0.35); }
.wn-chip-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(45, 212, 191, 0.13); color: #5eead4; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wn-chip-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wn-chip-body { flex: 1; min-width: 0; }
.wn-chip-top { display: flex; align-items: center; gap: 10px; }
.wn-chip-top b { color: #fff; font-size: 18px; font-weight: 600; }
.wn-chip .wn-sub { display: block; font-size: 13px; color: #9fcfc7; margin-top: 3px; line-height: 1.4; }
.wn-go { flex: 0 0 auto; color: #5eead4; font-size: 22px; line-height: 1; opacity: 0.55; transition: transform 0.2s ease, opacity 0.2s ease; }
.wn-chip:hover .wn-go { transform: translateX(3px); opacity: 1; }
@media (max-width: 920px) { .wn-inner { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px; } }

/* ---------- Trust bar ---------- */
.trustbar { max-width: var(--maxw); margin: 0 auto; padding: 50px 24px; text-align: center; }
.trustbar-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.trust-logos span { font-size: 21px; font-weight: 600; color: #b0b3ba; letter-spacing: 0.01em; }

/* ---------- Bands ---------- */
.band { padding: 104px 24px; text-align: center; }
.band-content { max-width: 760px; margin: 0 auto; }
.band h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
.band-sub { font-size: clamp(17px, 2vw, 21px); margin: 18px auto 26px; max-width: 600px; color: var(--ink-soft); }
.band-light { background: var(--bg-soft); }
/* "dark" bands are now bright, subtly teal-tinted feature sections */
.band-dark { background: linear-gradient(180deg, #eef6f5 0%, #f5f5f7 100%); color: var(--ink); }
.band-dark h2 { color: var(--ink); }
.band-dark .eyebrow, .band-dark .eyebrow-light { color: var(--accent); }
.band-dark .band-sub { color: var(--ink-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px 52px;
  margin-top: 52px;
  text-align: left;
}
.why-grid h4 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.why-grid p { color: var(--ink-soft); font-size: 16px; line-height: 1.5; }

/* ---------- Stats / outcomes strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px;
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: clamp(34px, 5vw, 52px); font-weight: 600; letter-spacing: -0.02em; color: var(--pop-ink); }
.stat-label { font-size: 15px; color: var(--ink-soft); }

/* outcomes strip — now a light gray band */
.outcomes { background: var(--bg-soft); }
.outcomes .stats { padding: 64px 24px; }

/* ---------- Sections / Cards ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 94px 24px; }
.section-sm { padding: 64px 24px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 600; letter-spacing: -0.025em; }
.section-head p { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); margin-top: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07); }
.card-art { height: 150px; border-radius: 14px; margin-bottom: 22px; background: linear-gradient(135deg, var(--accent), var(--highlight)); }
.card-ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--pill-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 23px;
}
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin-bottom: 14px; }
.card-link { color: var(--accent); font-size: 15px; font-weight: 500; }
.card-link:hover { text-decoration: underline; }

/* ---------- Product tiles ---------- */
.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ptile {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  background: var(--bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ptile:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07); }
/* featured tiles stay dark for product drama (very Apple) */
.ptile-dark {
  background: linear-gradient(160deg, #f2fbf9 0%, #dcf3ee 100%);
  border: 1px solid rgba(13, 148, 136, 0.35);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.ptile.ptile-dark h3 { color: #0b6a63; }
.ptile.ptile-dark p { color: var(--ink-soft); }
.ptile.ptile-dark .card-link { color: var(--accent); }
.ptile-dark:hover { box-shadow: 0 18px 40px rgba(13, 148, 136, 0.18); border-color: var(--accent); }
.ptile .tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ptile h3 { font-size: 20px; font-weight: 600; margin-bottom: 7px; }
.ptile p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 14px; }
.ptile .card-link { color: var(--accent); font-size: 15px; font-weight: 500; }

/* ---------- Cluster cards ---------- */
.clusters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cluster {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  background: var(--bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cluster:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07); }
.cluster h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.cluster > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.cluster-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Case study cards ---------- */
.casecard {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  background: var(--bg);
  display: flex; flex-direction: column;
}
.casecard .case-metric { font-size: 44px; font-weight: 600; color: var(--pop-ink); letter-spacing: -0.02em; line-height: 1; }
.casecard .case-metric-label { font-size: 14px; color: var(--muted); margin: 8px 0 16px; }
.casecard h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.casecard p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.casecard .case-tag { margin-top: auto; padding-top: 16px; }

/* colour-coded industry clusters with an icon header */
.cluster:hover { border-color: var(--c, var(--accent)); }
.cluster-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cluster-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--ct, var(--pill-bg)); color: var(--c, var(--accent)); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cluster-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cluster-head h3 { margin-bottom: 0; }
.cluster .pill { background: var(--ct, var(--pill-bg)); color: var(--c, var(--pill-ink)); }
.cluster a.pill:hover { filter: brightness(0.96); }

/* Featured Education spotlight (emphasises People & service) */
.edu-spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: linear-gradient(150deg, #e7f5f1 0%, #fbfefd 62%);
  border: 1px solid var(--border); border-radius: 22px;
  padding: 40px; margin-bottom: 42px;
}
.edu-spotlight .preview { aspect-ratio: 16 / 10; }
.edu-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.edu-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 8px var(--pop); animation: pulse 1.8s ease-in-out infinite; }
.edu-spotlight h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.edu-spotlight > div > p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
.edu-uses { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.edu-uses li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: var(--ink); }
.eu-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--ct); color: var(--c); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.eu-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 920px) { .edu-spotlight { grid-template-columns: 1fr; gap: 26px; padding: 24px; } }

/* one wide proof card */
.proofcard {
  max-width: 920px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg);
  display: grid; grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}
.proofcard .proof-body { padding: 40px; }
.proofcard .proof-body h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.proofcard .proof-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.proofcard .proof-metrics { background: linear-gradient(155deg, #0a3b38, #042f2e); color: #c9e6e2; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.proof-metrics .pm-num { font-size: 40px; font-weight: 600; color: #2dd4bf; line-height: 1; }
.proof-metrics .pm-label { font-size: 14px; color: #c9e6e2; margin-top: 4px; }

/* ---------- Logo wall ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--maxw); margin: 0 auto; }
.logo-cell {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 26px; text-align: center;
  font-size: 18px; font-weight: 600; color: #b0b3ba;
  background: var(--bg);
}

/* ---------- Testimonial ---------- */
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial blockquote { font-size: clamp(22px, 3vw, 32px); font-weight: 500; color: var(--ink); line-height: 1.3; letter-spacing: -0.02em; }
.testimonial .t-cite { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------- Facts grid ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: var(--bg); }
.fact .fact-label { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact .fact-val { font-size: 20px; font-weight: 600; color: var(--ink); }

/* ---------- Chooser ---------- */
.chooser { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.choose {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: var(--bg);
}
.choose .choose-q { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.choose .choose-a { font-size: 15px; color: var(--ink-soft); }
.choose .choose-a strong { color: var(--accent); }
.choose .choose-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--pill-bg); display: flex; align-items: center; justify-content: center; font-size: 21px; }

/* ---------- Feature rows ---------- */
.frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 64px 24px;
}
/* Larger-media feature rows (product pages) — wider container, image column favoured */
.frow--lg { max-width: 1180px; grid-template-columns: 0.85fr 1.15fr; }
/* reverse rows place the media in the first track, so widen that side instead */
.frow--lg.reverse { grid-template-columns: 1.15fr 0.85fr; }
/* keep both variants stacked on mobile (higher specificity than the base .frow rule) */
@media (max-width: 920px) {
  .frow--lg, .frow--lg.reverse { grid-template-columns: 1fr; }
}
.frow.reverse .frow-text { order: 2; }
.frow.reverse .frow-media { order: 1; }
.frow-text h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 14px; }
.frow-text p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; }
.frow-text ul { list-style: none; margin-top: 18px; }
.frow-text li { font-size: 16px; color: var(--ink); padding: 7px 0 7px 26px; position: relative; }
.frow-text li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.frow-media .preview { aspect-ratio: 3 / 2; }
/* device-mock panel for screenshot placeholders (stays dark) */
.mock {
  width: 100%; aspect-ratio: 3 / 2; border-radius: 18px;
  background: linear-gradient(155deg, #0a3b38, #042f2e);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 30px 60px rgba(20, 40, 38, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: #c9e6e2; font-size: 14px; letter-spacing: 0.02em;
  text-align: center; padding: 24px;
}

/* ---------- ANSMIND chat app mock ---------- */
.amchat {
  width: 100%; max-width: 380px; margin: 0 auto;
  display: flex; flex-direction: column; min-height: 560px;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; box-shadow: 0 34px 70px rgba(0, 0, 0, 0.13);
}
.amchat .am-ic { width: 20px; height: 20px; display: block; }
.am-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.am-mark-lg { width: 48px; height: 48px; margin-bottom: 12px; }

.amchat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px; border-bottom: 1px solid var(--border);
}
.am-id { display: flex; align-items: center; gap: 10px; }
.am-id .am-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.am-id .am-sub { font-size: 12px; color: var(--muted); }
.am-head-actions { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.am-head-actions .teal { color: var(--accent); }

.amchat-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 4px;
}
.amchat-body h4 { font-size: 21px; font-weight: 600; color: var(--ink); }
.amchat-body p { font-size: 14px; color: var(--muted); }

.amchat-status { padding: 0 18px 12px; }
.am-listening { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 14px; }
.am-listening .am-ic { width: 17px; height: 17px; }
.am-hint { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; margin-top: 6px; }
.am-info { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; font-style: italic; flex: 0 0 auto; line-height: 1; }

.amchat-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 13px; border-top: 1px solid var(--border);
  color: var(--ink-soft);
}
.amchat-bar .teal { color: var(--accent); }
.am-lang { font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.am-input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--accent); border-radius: 980px;
  padding: 9px 16px; color: var(--accent); font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.am-send {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 920px) { .amchat { max-width: 420px; } }

/* ---------- CTA (now a bright closing band) ---------- */
.cta {
  background: radial-gradient(120% 120% at 50% 0%, #fbfbfd 0%, #eef1f4 100%);
  color: var(--ink);
  text-align: center;
  padding: 112px 24px;
  border-top: 1px solid var(--border);
}
.cta-content { max-width: 660px; margin: 0 auto; }
.cta h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.cta p { color: var(--ink-soft); font-size: clamp(17px, 2vw, 21px); margin: 18px 0 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Tier / pricing cards ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.tier {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07); }
.tier-featured { border: 2px solid var(--accent); box-shadow: 0 18px 50px rgba(13, 148, 136, 0.12); }
.tier-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 980px;
  white-space: nowrap;
}
.tier h3 { font-size: 22px; font-weight: 600; }
.tier-desc { color: var(--ink-soft); font-size: 15px; margin: 6px 0 18px; }
.tier-metric { font-size: 42px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.tier-featured .tier-metric { color: var(--accent); }
.tier-metric-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.tier-feats { list-style: none; margin: 22px 0 24px; }
.tier-feats li { font-size: 15px; color: var(--ink); padding: 8px 0 8px 26px; position: relative; }
.tier-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--accent); font-weight: 700;
}
.tier .btn { width: 100%; text-align: center; }

/* ---------- Steps row ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step-num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--pill-bg); color: var(--accent);
  font-size: 17px; font-weight: 700;
}
.step h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* Animated step icons for "How it works". Smaller, centred icon tiles (setup
   themed) — deliberately lighter than the chain's wide screens so the two step
   sections don't read as duplicates. The step number becomes a corner badge. */
.step-viz {
  position: relative;
  width: 92px; height: 92px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, #e6f5f1 0%, #f2faf8 100%);
  border: 1px solid var(--border);
}
.step-viz svg { width: 100%; height: 100%; display: block; }
.step-n {
  position: absolute; top: -9px; right: -9px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* 1 · Power on — the power glyph and an LED pulse (booting) */
.sv-pwr, .sv-led { animation: sv-blink 1.8s ease-in-out infinite; }
.sv-led { animation-delay: 0.3s; }
@keyframes sv-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* 2 · Connect — dashed wires flow from the cameras into the box */
.sv-wire { stroke-dasharray: 3 3; animation: sv-flow 0.9s linear infinite; }
@keyframes sv-flow { to { stroke-dashoffset: -12; } }

/* 3 · Assign — a task row highlights and a check draws, on a loop */
.sv-hl { animation: sv-hl 3.6s ease-in-out infinite; }
@keyframes sv-hl { 0%, 15% { opacity: 0; } 30%, 80% { opacity: 1; } 92%, 100% { opacity: 0; } }
.sv-check { stroke-dasharray: 13; stroke-dashoffset: 13; animation: sv-check 3.6s ease-in-out infinite; }
@keyframes sv-check { 0%, 28% { stroke-dashoffset: 13; } 44%, 80% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 13; } }

/* 4 · Act — the alert bell swings and an orange badge pulses */
.sv-bell { transform-box: fill-box; transform-origin: 50% 12%; animation: sv-bell 3s ease-in-out infinite; }
@keyframes sv-bell { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(9deg); } 33% { transform: rotate(-7deg); } 52% { transform: rotate(4deg); } 70% { transform: rotate(-2deg); } }
.sv-badge { transform-box: fill-box; transform-origin: center; animation: sv-badge 1.6s ease-in-out infinite; }
@keyframes sv-badge { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.6; } }

@media (prefers-reduced-motion: reduce) {
  .sv * { animation: none !important; }
  .sv-hl { opacity: 1 !important; }
  .sv-check { stroke-dashoffset: 0 !important; }
}

/* ---------- "How it works" animated system diagram ---------- */
.hw-diagram { max-width: 1000px; margin: 0 auto; }
.hw-scroll { overflow-x: auto; }                 /* wide diagram scrolls on mobile */
.hwd { width: 100%; min-width: 660px; height: auto; display: block; }

/* flowing connections — dashes travel in each path's drawn direction */
.hw-flow { fill: none; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; animation: hw-flow 0.9s linear infinite; }
@keyframes hw-flow { to { stroke-dashoffset: -11; } }

/* the vision+LLM "combine" core pulses */
.hw-core { transform-box: fill-box; transform-origin: center; animation: hw-corepulse 2s ease-in-out infinite; }
@keyframes hw-corepulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* signal packets on the main flows (straight segments → simple translate) */
.pk-cam { animation: pk-cam 2.2s linear infinite; }
@keyframes pk-cam { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(170px,37px); opacity: 0; } }
.pk-hw { animation: pk-hw 2.2s linear infinite 0.4s; }
@keyframes pk-hw { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(170px,-37px); opacity: 0; } }
.pk-web { animation: pk-web 2.4s linear infinite 0.8s; }
@keyframes pk-web { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(60px,94px); opacity: 0; } }
.pk-cdn { animation: pk-cdn 1.9s ease-in-out infinite; }
@keyframes pk-cdn { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(76px); opacity: 0; } }
.pk-cup { animation: pk-cup 1.9s ease-in-out infinite 0.95s; }
@keyframes pk-cup { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-76px); opacity: 0; } }

.hw-legend {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 24px; max-width: 940px; margin: 32px auto 0; padding: 0;
}
.hw-legend li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-soft); }
.hw-legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lc); flex: 0 0 auto; }
.hw-legend b { color: var(--ink); font-weight: 600; }

.steps-subhead { text-align: center; font-size: 20px; font-weight: 600; color: var(--ink); margin: 78px 0 34px; }

@media (prefers-reduced-motion: reduce) {
  .hw-flow, .hw-core, [class^="pk-"] { animation: none !important; }
}

/* ---------- Platform pipeline ("What we do") ---------- */
/* Shared logo-colour tokens (used by the pipeline stages, flow dots and cards) */
.c-teal   { --c: #0d9488; --ct: #e1f2f0; }
.c-blue   { --c: #1284d6; --ct: #e8f2fc; }
.c-orange { --c: #e8871e; --ct: #fdf1e3; }
.c-maroon { --c: #b0324e; --ct: #fbe9ed; }
.c-safety { --c: #c67f0c; --ct: #fbf1dd; }

.pipe { display: flex; align-items: stretch; }
.pstage {
  flex: 1; min-width: 0;
  border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 18px; background: var(--bg);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pstage:hover { border-color: var(--c); box-shadow: 0 12px 30px rgba(0,0,0,0.06); transform: translateY(-4px); }
.pstage-ic {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--c); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px -6px var(--c);
}
.pstage-ic svg, .capx-ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pstage-ic svg { width: 26px; height: 26px; }
.pstage h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.pstage p { font-size: 14px; color: var(--ink-soft); line-height: 1.45; margin-bottom: 14px; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: auto; }
.ptags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: var(--ct); color: var(--c); }

/* animated flow connector between stages */
.pflow { flex: 0 0 34px; align-self: center; position: relative; height: 40px; }
.pflow svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf-line { animation: pf-flow 0.8s linear infinite; }
@keyframes pf-flow { to { stroke-dashoffset: -8; } }
.pf-dot { fill: var(--c); animation: pf-dot 1.6s linear infinite; }
@keyframes pf-dot { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }

/* cross-cutting capability cards */
.caps-subhead { text-align: center; font-size: 16px; font-weight: 600; color: var(--ink-soft); margin: 54px 0 22px; }
.caps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capx {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.capx:hover { border-color: var(--c); box-shadow: 0 12px 30px rgba(0,0,0,0.05); transform: translateY(-3px); }
.capx-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--ct); color: var(--c); display: flex; align-items: center; justify-content: center; }
.capx-ic svg { width: 22px; height: 22px; }
.capx h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.capx p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 10px; }
.capx .ptags { justify-content: flex-start; margin-top: 0; }

/* compact protocol strip (folds the old Integration section's breadth in) */
.protos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; }
.proto-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.proto { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 980px; background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--border); }

/* ---------- Platform "whole picture" architecture diagram ---------- */
.pa-diagram { max-width: 1060px; margin: 30px auto 0; }
.pa-scroll { overflow-x: auto; }
.pad { width: 100%; min-width: 860px; height: auto; display: block; }
.pa-caption { text-align: center; font-size: 14.5px; color: var(--muted); margin: 22px auto 0; max-width: 760px; }

/* deploy / events flows */
.pa-flow { fill: none; stroke-width: 2.4; stroke-dasharray: 5 6; stroke-linecap: round; animation: hw-flow 0.9s linear infinite; }
/* dashed management link (ANSCMS -> fleet) flows the other way */
.pa-mng { fill: none; stroke-width: 1.8; stroke-dasharray: 4 5; stroke-linecap: round; animation: pa-mng 1.1s linear infinite; }
@keyframes pa-mng { to { stroke-dashoffset: 9; } }
/* travelling packets on the two main arrows */
.pa-pk1 { animation: pa-pk1 2s linear infinite; }
@keyframes pa-pk1 { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(72px); opacity: 0; } }
.pa-pk2 { animation: pa-pk2 2s linear infinite 0.5s; }
@keyframes pa-pk2 { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(72px); opacity: 0; } }
/* a soft pulse on the "fleet" devices */
.pa-live { animation: hw-corepulse 1.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .pa-flow, .pa-mng, .pa-pk1, .pa-pk2, .pa-live { animation: none !important; }
}

/* ---------- Framed product screenshot ---------- */
.shot {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(20, 40, 38, 0.16);
  background: #fff;
}
.shot img, .shot video { display: block; width: 100%; height: auto; }

/* Screenshot gallery (product feature tour) */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 24px; }
.gcard { margin: 0; }
.gcard .shot { margin-bottom: 14px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.gcard:hover .shot { transform: translateY(-4px); box-shadow: 0 34px 66px rgba(20, 40, 38, 0.2); }
.gcard h4 { font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.gcard p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- ANSTS training-chart mini visual ---------- */
.tschart { width: 100%; height: auto; display: block; border-radius: 16px; }
.ts-line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: ts-draw 3.4s ease-out infinite; }
.ts-line.ts-loss { animation-delay: 0.25s; }
@keyframes ts-draw { 0% { stroke-dashoffset: 420; } 48%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 420; } }
.ts-dot { animation: ts-dot 3.4s ease-out infinite; }
@keyframes ts-dot { 0%, 12% { opacity: 0; } 50% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
.ts-bar { transform-box: fill-box; transform-origin: bottom; animation: ts-bar 3.4s ease-out infinite; }
@keyframes ts-bar { 0% { transform: scaleY(0.15); } 48%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0.15); } }
@media (prefers-reduced-motion: reduce) {
  .ts-line, .ts-dot, .ts-bar { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Focused integration / scalability explainers ---------- */
.fdia { width: 100%; height: auto; display: block; }
.fd-flow { fill: none; stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; animation: fd-flow 0.8s linear infinite; }
@keyframes fd-flow { to { stroke-dashoffset: -9; } }
.fd-pulse { transform-box: fill-box; transform-origin: center; animation: hw-corepulse 1.8s ease-in-out infinite; }
.fd-add { transform-box: fill-box; transform-origin: center; animation: fd-add 1.6s ease-in-out infinite; }
@keyframes fd-add { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
/* the frow eyebrow picks up its section colour */
.frow-text .eyebrow.c-blue-ink { color: #1284d6; }
.frow-text .eyebrow.c-maroon-ink { color: #b0324e; }
@media (prefers-reduced-motion: reduce) {
  .fd-flow, .fd-pulse, .fd-add { animation: none !important; }
}

@media (max-width: 920px) {
  .pipe { flex-direction: column; }
  .pflow { flex-basis: 34px; width: 40px; height: 34px; transform: rotate(90deg); margin: 2px 0; }
  .caps3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-line, .pf-dot { animation: none !important; }
}

/* ---------- Benefit grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.benefit:hover { border-color: var(--c, var(--accent)); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05); transform: translateY(-3px); }
.benefit-ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--ct, var(--pill-bg)); color: var(--c, var(--accent));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Function grid ---------- */
.funcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.func {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 14px; font-size: 14px; font-weight: 500; color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.func:hover {
  border-color: var(--c, var(--accent));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* ---------- Compact animated flow diagram in a card (hero media) ---------- */
.diagram-card {
  background: linear-gradient(150deg, #eef7f4 0%, #fbfefd 62%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: 0 24px 55px rgba(20, 40, 38, 0.12);
}
.diagram-card .pstage { padding: 16px 8px; }
.diagram-card .pstage-ic { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
.diagram-card .pstage-ic svg { width: 22px; height: 22px; }
.diagram-card .pstage h3 { font-size: 13.5px; margin-bottom: 0; line-height: 1.22; }

/* ---------- Product mockups: GreenBay app window (Smart Living) ---------- */
.appwin {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(20, 40, 38, 0.16);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}
.appwin-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: #f5f7f8;
  border-bottom: 1px solid var(--border);
}
.appwin-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #d7dee0; }
.appwin-bar .dot:nth-child(1) { background: #f0685f; }
.appwin-bar .dot:nth-child(2) { background: #f6bd50; }
.appwin-bar .dot:nth-child(3) { background: #57c665; }
.appwin-bar .appwin-url {
  margin-left: 10px; font-size: 12.5px; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 7px;
  padding: 4px 12px; font-weight: 500;
}
.appwin-body { display: flex; min-height: 300px; }

/* dark green rail */
.gb-rail {
  width: 178px; flex: none;
  background: linear-gradient(180deg, #0a3b2b 0%, #04160f 100%);
  padding: 16px 12px; color: #fff;
}
.gb-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 0 4px; }
.gb-brand .gb-logo {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: #16a34a; display: grid; place-items: center;
}
.gb-brand .gb-logo svg { width: 18px; height: 18px; fill: #fff; }
.gb-brand b { font-size: 14.5px; line-height: 1.1; display: block; }
.gb-brand span { font-size: 10.5px; color: rgba(255,255,255,.62); }
.gb-nav { display: flex; flex-direction: column; gap: 3px; }
.gb-nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 9px;
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.68);
  text-decoration: none;
}
.gb-nav a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; flex: none; }
.gb-nav a.active { background: rgba(22,163,74,.22); color: #4ade80; }
.gb-railcap { margin-top: 14px; padding: 8px 10px 0; font-size: 9.5px; letter-spacing: .08em; font-weight: 600; color: rgba(255,255,255,.4); text-transform: uppercase; }

/* main pane */
.gb-main { flex: 1; padding: 18px 20px; background: #f7f9f9; min-width: 0; }
.gb-head { margin-bottom: 14px; }
.gb-head h4 { font-size: 16px; margin: 0 0 2px; color: var(--ink); }
.gb-head p { font-size: 12px; color: var(--muted); margin: 0; }

.gb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.gb-stat { border-radius: 12px; padding: 14px 16px; }
.gb-stat.blue { background: #eaf2fb; }
.gb-stat.amber { background: #fdf4e5; }
.gb-stat .lbl { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.gb-stat .num { font-size: 30px; font-weight: 700; color: var(--ink); margin-top: 6px; line-height: 1; }
.gb-stat .lbl svg { width: 15px; height: 15px; opacity: .5; }

.gb-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gb-chart { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; }
.gb-chart h5 { font-size: 12px; margin: 0 0 10px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.gb-chart h5 svg { width: 13px; height: 13px; opacity: .6; }
.gb-chart svg.plot { width: 100%; height: auto; display: block; }
.gb-legend { display: flex; gap: 14px; margin-top: 8px; font-size: 10.5px; color: var(--muted); }
.gb-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }

/* event feed cards */
.gb-events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.gbev { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(20,40,38,.07); }
.gbev-scene {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #7d8a86 0%, #56635f 48%, #3b4744 100%);
}
.gbev-scene::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 26%; height: 34%;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(20,26,25,.55), rgba(20,26,25,.15));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.gbev-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #fff; padding: 4px 12px; border-radius: 999px;
}
.gbev-badge.enter { background: #16a34a; }
.gbev-badge.exit { background: #2f80ed; }
.gbev-plateimg {
  position: absolute; right: 12px; bottom: 30%; z-index: 2;
  font: 700 10px/1 "Inter", sans-serif; color: #fff;
  background: #c0392b; padding: 3px 6px; border-radius: 3px; letter-spacing: .06em;
}
.gbev-cap { position: absolute; bottom: 6px; right: 8px; font-size: 9px; color: rgba(255,255,255,.75); z-index: 2; }
.gbev-body { padding: 13px 14px 15px; }
.gbev-body .k { font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.gbev-plate {
  margin: 6px 0 12px; border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 10px; text-align: center; font-weight: 700; font-size: 19px; color: var(--ink);
  position: relative; letter-spacing: .04em;
}
.gbev-plate .mask { display: inline-block; background: #b9c2c0; color: transparent; border-radius: 3px; filter: blur(1px); }
.gbev-meta { display: flex; justify-content: space-between; }
.gbev-meta .k { display: block; margin-bottom: 3px; }
.gbev-meta b { font-size: 14px; color: var(--ink); }
.gbev-meta .t { font-size: 12px; color: var(--muted); font-weight: 500; }

/* registry stat tiles */
.gb-caption {
  max-width: 940px; margin: 0 auto 12px; padding: 0 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
}
.gb-registry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 940px; margin: 0 auto; }
.gb-reg {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 18px; text-align: center;
}
.gb-reg .rn { font-size: 34px; font-weight: 700; color: var(--accent); line-height: 1; }
.gb-reg .rl { font-size: 13px; color: var(--ink); font-weight: 600; margin-top: 7px; }
.gb-reg .rs { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

@media (max-width: 860px) {
  .appwin-body { flex-direction: column; }
  .gb-rail { width: auto; display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
  .gb-rail .gb-nav, .gb-rail .gb-railcap { display: none; }
  .gb-brand { margin-bottom: 0; }
  .gb-events { grid-template-columns: repeat(2, 1fr); }
  .gb-registry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gb-stats, .gb-charts { grid-template-columns: 1fr; }
  .gb-events { grid-template-columns: 1fr; }
}

/* ---------- Product screenshots (Smart Living) ---------- */
.shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 40, 38, 0.12);
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  padding: 13px 18px;
  font-size: 13px; line-height: 1.45; color: var(--muted);
  border-top: 1px solid var(--border);
}
.shot figcaption b { color: var(--ink); font-weight: 600; }
.shot-lg { max-width: 1000px; margin: 0 auto; }
.shot-grid { display: grid; gap: 20px; max-width: 1040px; margin: 28px auto 0; }
.shot-2 { grid-template-columns: 1fr 1fr; }
.shot-3 { grid-template-columns: repeat(3, 1fr); }
.shot-sm figcaption { padding: 11px 14px; font-size: 12.5px; }
.shot img { transition: transform 0.25s ease; }
.shot:hover img { transform: scale(1.015); }

/* auto-cycling spotlight for card grids: .spot-grid > .spot-card; the active
   card lifts with its accent colour while siblings dim, with a progress bar
   pacing the cycle. Initialised by script.js; data-spot-interval overrides. */
.spot-card { position: relative; overflow: hidden; cursor: pointer; transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease; }
.spot-grid.cycling .spot-card:not(.active) { opacity: 0.5; }
.spot-card.active { opacity: 1; border-color: var(--c, var(--accent)); box-shadow: 0 16px 36px rgba(20, 40, 38, 0.10); transform: translateY(-6px); }
.spot-card .spot-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--accent)); transform: scaleX(0); transform-origin: left; opacity: 0.85; }
.spot-card.active .spot-progress { animation: spotFill var(--spot-dur, 3000ms) linear forwards; }
@keyframes spotFill { to { transform: scaleX(1); } }
.spot-card.active .benefit-ic, .spot-card.active .uc-ic { animation: spotPop 0.5s ease, spotBreathe 1.6s ease-in-out 0.5s infinite; }
@keyframes spotPop { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes spotBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  .spot-card, .spot-card.active { transform: none; }
  .spot-grid.cycling .spot-card:not(.active) { opacity: 1; }
  .spot-card.active .spot-progress, .spot-card.active .benefit-ic, .spot-card.active .uc-ic { animation: none !important; }
}

/* screenshot tour (slider) — arrows, dots, autoplay; used on product pages */
.tour { max-width: 1040px; margin: 36px auto 0; }
.tour-viewport { overflow: hidden; border-radius: 18px; }
.tour-track { display: flex; align-items: flex-start; transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1); }
.tour-slide { min-width: 100%; margin: 0; }
.tour-slide img { user-select: none; -webkit-user-drag: none; }
.tour-kicker { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 5px; }
.tour-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.tour-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-size: 15px; line-height: 1; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.tour-btn:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.06); }
.tour-dots { display: flex; gap: 8px; }
.tour-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: 0; padding: 0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.tour-dot.active { background: var(--accent); transform: scale(1.3); }
.tour-count { font-size: 12.5px; color: var(--muted); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .tour-track { transition: none; } }
@media (max-width: 640px) { .tour-dots { display: none; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(10, 20, 18, 0.84);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1280px, 96vw); max-height: 92vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); cursor: default;
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.15); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
@media (max-width: 820px) {
  .shot-2 { grid-template-columns: 1fr; }
  .shot-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .shot-3 { grid-template-columns: 1fr; }
}

/* ---------- Education system diagram (ANSBOX hub) ---------- */
.edusys {
  display: grid;
  grid-template-columns: 1fr 58px 0.94fr 58px 1fr;
  align-items: center;
  max-width: 1140px; margin: 0 auto;
}
.es-side { display: flex; flex-direction: column; gap: 20px; }
.es-card {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 16px; background: var(--bg);
  box-shadow: 0 10px 26px rgba(20, 40, 38, 0.06);
}
.es-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)), var(--c, var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(20, 40, 38, 0.18);
}
.es-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.es-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 3px; line-height: 1.25; }
.es-card p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
/* central ANSBOX hub */
.es-hub {
  text-align: center;
  border-radius: 20px; padding: 22px 16px;
  background: linear-gradient(160deg, #0a3b38 0%, #04302e 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(4, 48, 46, 0.35);
}
.es-hub .es-ic { width: 54px; height: 54px; margin: 0 auto 12px; background: #10b3a3; }
.es-hub h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.es-hub-sub { font-size: 12.5px; color: #bfe6e0; margin-bottom: 14px; }
.es-runs { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.es-run { font-size: 12px; line-height: 1.35; background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 8px 11px; color: #e8faf6; }
.es-run b { color: #fff; font-weight: 600; }
/* animated connectors */
.es-link { display: flex; align-items: center; justify-content: center; }
.es-link svg { width: 100%; height: 26px; overflow: visible; }
.es-link .pf-line { animation: pf-flow 0.8s linear infinite; }
.es-dot { fill: var(--c, var(--accent)); animation: es-dot 1.9s linear infinite; }
@keyframes es-dot { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 84% { opacity: 1; } 100% { transform: translateX(46px); opacity: 0; } }
@media (max-width: 900px) {
  .edusys { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .es-link { height: 34px; }
  .es-link svg { width: 34px; transform: rotate(90deg); }
}

/* ---------- Section lead visual (framed screenshot under a heading) ---------- */
.lead-shot { max-width: 940px; margin: 0 auto 46px; }
@media (max-width: 700px) { .lead-shot { margin-bottom: 30px; } }

/* ---------- Use-case cards (vivid, colourful) ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ucard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 24px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.ucard::before {                 /* soft colour glow in the top-right corner */
  content: ""; position: absolute; top: -46px; right: -46px;
  width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle, var(--ct, var(--pill-bg)) 0%, transparent 70%);
  pointer-events: none;
}
.ucard:hover {
  border-color: var(--c, var(--accent));
  box-shadow: 0 18px 36px rgba(20, 40, 38, 0.14);
  transform: translateY(-4px);
}
.uc-ic {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)), var(--c, var(--accent));
  box-shadow: 0 9px 20px rgba(20, 40, 38, 0.18);
}
.uc-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ucard h4 { position: relative; z-index: 1; font-size: 16.5px; font-weight: 600; margin-bottom: 7px; }
.ucard p { position: relative; z-index: 1; font-size: 13.8px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usecases { grid-template-columns: 1fr; } }

/* ---------- Split layout (contact) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.cinfo-item h4 { font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cinfo-item p, .cinfo-item a { font-size: 16px; color: var(--ink); }
.cinfo-item a { color: var(--accent); }
.cinfo-item a:hover { text-decoration: underline; }
.map-embed {
  margin-top: 8px; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #eef1f4, #e3e7ec);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}

/* ---------- Form ---------- */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
}
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-row label { font-size: 14px; color: var(--ink); font-weight: 500; }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.form-card .btn-primary { width: 100%; text-align: center; border: 0; margin-top: 6px; }

/* ---------- Footer (light) ---------- */
.footer { background: var(--bg-soft); color: var(--ink-soft); padding: 66px 24px 30px; font-size: 14px; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer .nav-logo { color: var(--ink); }
.footer-brand { max-width: 260px; }
.footer-brand p { color: var(--ink-soft); margin-top: 12px; line-height: 1.5; }
.footer-cols { display: flex; gap: 54px; flex-wrap: wrap; }
.footer-cols h5 { font-size: 13px; color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.footer-cols a { display: block; color: var(--ink-soft); margin-bottom: 10px; }
.footer-cols a:hover { color: var(--accent); }
.footer-note { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; max-width: 210px; }
.footer-cols a.footer-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.footer-cols a.footer-cta:hover { background: #0b8276; color: #fff; }
.footer-legal { max-width: var(--maxw); margin: 22px auto 0; color: var(--muted); font-size: 12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .preview-scan { display: none; }
  .preview-chip .dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-split .hero-actions { justify-content: center; }
  .frow { grid-template-columns: 1fr; gap: 32px; }
  .frow.reverse .frow-text { order: 1; }
  .frow.reverse .frow-media { order: 2; }
  .proofcard { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .ptiles { grid-template-columns: 1fr; }
  .clusters { grid-template-columns: 1fr; }
  .chooser { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .funcs { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 26px 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 22px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 15px 0; width: 100%; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font-size: 17px; }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0 !important; }
}

/* Hero embed: animated ANSBOX/ANSMIND explainer (16/9 iframe in the panel) */
.preview.preview-embed {
  aspect-ratio: 16 / 9;
  background: #EAF6F2;
}
.preview-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Homepage hero: the animated explainer needs more room on desktop, so this
   variant widens the hero container and favors the media column. */
.hero-split--media-lg {
  max-width: 1280px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
/* the media column is wider here, so ease the headline down to keep text and image balanced */
.hero-split--media-lg h1 { font-size: clamp(34px, 4.6vw, 58px); }
.hero-split--media-lg .hero-sub { font-size: 18px; }
@media (max-width: 920px) {
  .hero-split--media-lg { grid-template-columns: 1fr; }
}

/* Homepage hero, stacked variant: headline on top, the animated explainer
   as a full-width band below so it plays at maximum size on desktop. */
.hero-stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-stack .hero-content { max-width: 880px; }
.hero-stack .hero-actions { justify-content: center; }
.hero-stack .hero-media { width: 100%; }

/* Bands centre their heading block, but the card-like components inside them are
   read as content, not as a headline — keep those left-aligned wherever they sit
   (a centred bullet list with left-hand ticks reads as broken). */
.frow, .ptile, .card, .chain-step, .cluster, .casecard, .benefit, .func, .tier, .choose {
  text-align: left;
}

/* ---------- End-to-end chain (homepage: train → build → deploy → understand) ----------
   Four numbered stages read left-to-right on desktop. The connector is a chevron
   between cards, drawn on the gap so it never collides with the card text; it is
   dropped on the stacked layouts below. */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.chain-step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px 24px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chain-step:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07); }
.chain-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
}
.chain-n {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--pill-bg); color: var(--accent);
  font-size: 14px; font-weight: 700;
  margin-bottom: 16px;
}
.chain-step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.chain-step p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 18px; }
.chain-step .pill { margin-top: auto; }

/* Per-step mini visual. Self-contained inline SVG, animated with CSS — each
   loops a short "what this step does" motion. The step number moves into the
   panel's corner so the visual leads the card. */
.chain-viz {
  position: relative;
  width: 100%;               /* card is align-items:flex-start, so stretch explicitly */
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #e9f6f2 0%, #f4faf8 100%);
  border: 1px solid var(--border);
}
.chain-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chain-viz .chain-n {
  position: absolute; top: 9px; left: 9px;
  margin-bottom: 0; z-index: 3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* 1 · Train — a bounding box draws itself and a label chip pops in, on a loop */
.cv-box { stroke-dasharray: 180; animation: cv-draw 4.6s ease-in-out infinite; }
@keyframes cv-draw { 0% { stroke-dashoffset: 180; } 28%, 78% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 180; } }
.cv-lab { animation: cv-lab 4.6s ease-in-out infinite; }
@keyframes cv-lab { 0%, 18% { opacity: 0; } 30%, 78% { opacity: 1; } 92%, 100% { opacity: 0; } }

/* 2 · Build — a tracked object crosses the line; a ring pulses on the crossing */
.cv-dot { animation: cv-move 4s linear infinite; }
@keyframes cv-move { 0% { transform: translateX(0); } 100% { transform: translateX(118px); } }
.cv-ring { transform-box: fill-box; transform-origin: center; animation: cv-ring 4s ease-out infinite; }
@keyframes cv-ring { 0%, 44% { opacity: 0; transform: scale(0.4); } 50% { opacity: 0.9; transform: scale(0.5); } 78%, 100% { opacity: 0; transform: scale(2.6); } }

/* 3 · Deploy — a task packet travels into the edge box; its LED blinks */
.cv-pkt { animation: cv-pkt 3.4s ease-in-out infinite; }
@keyframes cv-pkt { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 64% { transform: translateX(70px); opacity: 1; } 74%, 100% { transform: translateX(70px); opacity: 0; } }
.cv-led { animation: cv-blink 1.6s ease-in-out infinite; }
@keyframes cv-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* 4 · Understand — a question, then an answer "typing" back */
.cv-t1, .cv-t2, .cv-t3 { animation: cv-type 1.4s ease-in-out infinite; }
.cv-t2 { animation-delay: 0.2s; }
.cv-t3 { animation-delay: 0.4s; }
@keyframes cv-type { 0%, 70%, 100% { opacity: 0.28; } 35% { opacity: 1; } }

/* Static, sensible fallback when motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .cv * { animation: none !important; }
  .cv-box { stroke-dashoffset: 0 !important; }
  .cv-lab, .cv-pkt { opacity: 1 !important; }
  .cv-dot { transform: translateX(60px) !important; }
  .cv-t1, .cv-t2, .cv-t3 { opacity: 0.6 !important; }
}

/* ---------- Demo video gallery (real detections from customer sites) ----------
   Posters carry the page; the clips are preload="none" and only fetched when the
   card is hovered (desktop) or tapped (touch), so the section costs ~0 on load.
   Clips are silent 10s loops — treated as illustration, not media the user must
   control, hence no chrome. */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vcard {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #0b1f1e;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); }
.vcard-vid {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b1f1e;
}
/* play affordance — hidden once the clip is running */
.vcard-play {
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(4, 47, 46, 0.62);
  border: 1px solid rgba(45, 212, 191, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vcard-play::after {
  content: "";
  position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 13px solid #eafffb;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.vcard.playing .vcard-play { opacity: 0; }
.vcard-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 11px;
  font-size: 14px; font-weight: 500; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(3, 22, 21, 0.85));
}
.vgrid-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.caplist-head {
  margin: 58px 0 26px;
  font-size: 19px; font-weight: 600;
  color: var(--ink);
  text-align: center;
}

@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vgrid { grid-template-columns: 1fr; } }

/* ---------- Capability sets (grouped .funcs grids) ---------- */
.capset + .capset { margin-top: 34px; }
.capset-label {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c, var(--muted));   /* each group takes its own accent */
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.capset-label::before {           /* small colour dot before the group name */
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c, var(--muted));
}

/* Per-group accent tokens (logo-derived: blue, orange, amber, maroon, teal) */
.cap-traffic  { --c: #1284d6; --ct: #e8f2fc; }
.cap-fire     { --c: #e8871e; --ct: #fdf1e3; }
.cap-safety   { --c: #c67f0c; --ct: #fbf1dd; }
.cap-security { --c: #b0324e; --ct: #fbe9ed; }
.cap-people   { --c: #0d9488; --ct: #e1f2f0; }

/* Task chip: coloured icon tile + label, lifts in the group colour on hover */
.func-ic {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--ct, var(--pill-bg));
  color: var(--c, var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.func-ic svg {
  width: 17px; height: 17px; display: block;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* qualifier line under a card body ("Best for: …") */
.card-note { font-size: 14px; color: var(--muted); margin-bottom: 0 !important; }

@media (max-width: 920px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .chain { grid-template-columns: 1fr; }
}

/* legal links in the footer baseline */
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--accent); }

/* legal pages (privacy policy, terms of uses) */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 48px 24px 90px; }
.legal h2 { font-size: 24px; margin: 38px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 18px; margin: 26px 0 10px; }
.legal p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 6px 0; }
.legal-updated { text-align: center; color: var(--muted); font-size: 13.5px !important; margin-bottom: 26px !important; }
