/* ═══════════════════════════════════════════════════
   BRAND TOKENS
═══════════════════════════════════════════════════ */
:root {
  --brand-bg: #ffffff;
  --brand-fg: #000000;
  --brand-accent: #dd5802;
  --brand-accent-2: #011f42;
  --brand-accent-hover: #c24e02;
  --brand-accent-2-hover: #02306a;
  --canvas: #edf1f6;   /* alternate section tint: must read as distinct from --panel */
  --panel: #ffffff;
  --panel-raised: #ffffff;
  --text-primary: #0d1117;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --border-strong: #cbd5e0;
  --font-display: 'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

  /* spacing scale: use these instead of one-off values */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 3rem;     /* 48px */
  --section-y: clamp(2.75rem, 2rem + 2vw, 4rem);         /* 44-64px section padding */
  --section-y-lg: clamp(3.25rem, 2.25rem + 2.75vw, 5rem); /* CTA bands: 52-80px */
  --space-head: clamp(1.5rem, 1.25rem + 0.75vw, 2.25rem); /* section header -> content: 24-36px */
  --grid-gap: clamp(0.875rem, 0.7rem + 0.6vw, 1.25rem);  /* gap between cards: 14-20px */

  /* text scale: body copy is 16px; card titles sit one step above it so the hierarchy holds */
  --text-body: 1rem;           /* 16px: paragraphs, card and feature descriptions */
  --text-support: 0.9375rem;   /* 15px: secondary supporting text */
  --text-card-title: 1.125rem; /* 18px: card, step and feature titles */
  /* one container for header, hero, sections and footer so left edges line up */
  --container-max: 1240px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
}

/* ═══════════════════════════════════════════════════
   GLOBAL RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--brand-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: clip;
  background: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
  animation: pageIn 0.4s var(--ease-out) both;
}

/* opacity only: a transform on body would stop the fixed header from sticking to the top */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; color: var(--text-primary); }

p { line-height: 1.7; color: var(--text-secondary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════
   SKIP LINK
═══════════════════════════════════════════════════ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--brand-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn-primary:hover {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(221,88,2,0.28);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-accent-2);
  border-color: var(--brand-accent-2);
}
.btn-secondary:hover {
  background: var(--brand-accent-2);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-1px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

@media (pointer: coarse) {
  .btn { min-height: 44px; }
}

/* ═══════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.section-lede {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 78ch;
  line-height: 1.7;
}

.section-pad {
  padding: var(--section-y) 0;
}

.section-pad-lg {
  padding: var(--section-y-lg) 0;
}

.container {
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: calc(860px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.47s; }
.reveal-stagger.in > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.54s; }
.reveal-stagger.in > *:nth-child(9) { opacity: 1; transform: translateY(0); transition-delay: 0.61s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-accent-2);
  margin-top: 64px; /* clear fixed header (64px tall) */
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/signate-hero-motor-intelligence.webp');
  background-size: cover;
  background-position: center 40%;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(1,31,66,0.88) 0%, rgba(1,31,66,0.6) 45%, rgba(1,31,66,0.1) 100%);
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 20% 50%, rgba(1,31,66,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
}

/* shared container, so hero text lines up with the logo and every section below */
.page-hero .container {
  width: 100%;
}

.page-hero-inner {
  max-width: 760px;
  padding: var(--section-y) 0;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 1.5rem;
}

.page-hero-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-accent);
  flex-shrink: 0;
}

.page-hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.page-hero-inner h1 .accent-word {
  color: var(--brand-accent);
  position: relative;
}

.page-hero-inner h1 .accent-word::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand-accent);
  opacity: 0.5;
}

.hero-lede {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .page-hero { min-height: 0; }
  .page-hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; }
}

/* ═══════════════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════════════ */
.marquee-strip {
  background: var(--brand-accent-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════════════════ */
#problem {
  background: var(--canvas);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-head);
}

.problem-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-accent);
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand-accent);
}

.problem-card:hover::before { opacity: 1; }

.problem-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.problem-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.problem-card p {
  font-size: var(--text-body);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   PLATFORM OVERVIEW
═══════════════════════════════════════════════════ */
#platform-overview {
  background: var(--panel);
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  margin-top: var(--space-head);
}

.split-image-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  align-self: stretch;
  min-height: 320px;
}

.split-image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.split-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.split-content-col p {
  font-size: var(--text-body);
  line-height: 1.75;
}

.platform-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.platform-pill {
  padding: 0.3rem 0.875rem;
  background: rgba(221,88,2,0.08);
  border: 1px solid rgba(221,88,2,0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-accent);
}

@media (max-width: 768px) {
  .split-band { grid-template-columns: 1fr; gap: 2rem; }
  .split-image-col { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════ */
#how-it-works {
  background: var(--canvas);
}

/* image and step list share one row height: the steps set it and the image fills it, so the two
   columns start and end together */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 0.5rem + 2.5vw, 3rem);
  align-items: stretch;
  margin-top: var(--space-head);
}

.steps-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 360px;
}

.steps-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
  display: block;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.step-item:last-child { border-bottom: none; }

.step-num-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-accent-2);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
  min-height: 1.5rem;
}

.step-item:last-child .step-line { display: none; }

.step-body h3 {
  font-size: var(--text-card-title);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-body p {
  font-size: var(--text-body);
  line-height: 1.7;
}

/* below 1024px the image column would be narrower than the image and crop the timeline's edges: stack,
   and show the whole image at its natural proportions */
@media (max-width: 1023px) {
  .steps-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-image { min-height: 0; max-width: 560px; }
  .steps-image img { position: static; height: auto; }
}

/* ═══════════════════════════════════════════════════
   FAULT DETECTION
═══════════════════════════════════════════════════ */
#fault-detection {
  background: var(--panel);
}

.fault-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: var(--space-head);
}

.fault-content p + p { margin-top: 1rem; }

.fault-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--space-4);
}

.fault-cat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--canvas);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.fault-cat:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
}

.fault-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(221,88,2,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-accent);
}

.fault-cat-icon svg { width: 18px; height: 18px; }

.fault-cat-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fault-cat-body p {
  font-size: var(--text-body);
  line-height: 1.6;
}

.fault-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.score-visual {
  margin-top: var(--space-4);
  padding: 1.5rem;
  background: var(--brand-accent-2);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.score-ring {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  position: relative;
}

.score-ring svg {
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
}

.score-ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 6;
}

.score-ring-fill {
  fill: none;
  stroke: var(--brand-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 170;
  stroke-dashoffset: 42;
}

.score-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
}

.score-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
}

.score-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.score-text h4 {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.score-text p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-support);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .fault-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════
   WHY SIGNATE
═══════════════════════════════════════════════════ */
#why-signate {
  background: var(--canvas);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-head);
}

.diff-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem 1.375rem;
  /* icon beside the title, description full width below: keeps the cards short */
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 0.875rem;
  row-gap: 0.625rem;
  align-items: center;
  align-content: start;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.diff-card > p { grid-column: 1 / -1; }

.diff-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(221,88,2,0.3);
}

.diff-icon {
  width: 44px;
  height: 44px;
  background: rgba(221,88,2,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
}

.diff-icon svg { width: 22px; height: 22px; }

.diff-card h3 {
  font-size: var(--text-card-title);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.diff-card p {
  font-size: var(--text-body);
  line-height: 1.65;
}

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

@media (max-width: 600px) {
  .differentiators-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   PLATFORM CAPABILITIES
═══════════════════════════════════════════════════ */
#platform-capabilities {
  background: var(--panel);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-head);
}

.cap-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.cap-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(221,88,2,0.25);
}

.cap-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(1,31,66,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent-2);
}

.cap-icon svg { width: 20px; height: 20px; }

.cap-body h3 {
  font-size: var(--text-card-title);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.cap-body p {
  font-size: var(--text-body);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .capabilities-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   INDUSTRIES
═══════════════════════════════════════════════════ */
#industries {
  background: var(--canvas);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: var(--space-head);
}

.industry-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.industry-card .ind-icon {
  width: 40px;
  height: 40px;
  background: rgba(221,88,2,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  margin-bottom: 0.875rem;
}

.industry-card .ind-icon svg { width: 20px; height: 20px; }

.industry-card h3 {
  font-size: var(--text-card-title);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.industry-card p {
  font-size: var(--text-body);
  line-height: 1.6;
}

.industries-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: var(--space-head);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.industries-image-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

@media (max-width: 540px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industries-image-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   ROI SAVINGS
═══════════════════════════════════════════════════ */
#roi-savings {
  background: var(--panel);
}

.roi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: var(--space-head);
}

.roi-categories {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.roi-cat {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--canvas);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.roi-cat-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roi-cat h3 {
  font-size: var(--text-card-title);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.roi-cat p {
  font-size: var(--text-body);
  line-height: 1.65;
}

.roi-cta-panel {
  background: var(--brand-accent-2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}

.roi-cta-panel h3 {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.roi-cta-panel p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .roi-layout { grid-template-columns: 1fr; gap: 2rem; }
  .roi-cta-panel { position: static; }
}

/* ═══════════════════════════════════════════════════
   FREE HEALTH CHECK
═══════════════════════════════════════════════════ */
#free-health-check {
  background: var(--canvas);
}

.offer-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-top: var(--space-head);
}

.offer-body p + p { margin-top: 1rem; }

.offer-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.offer-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.offer-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(221,88,2,0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.offer-check svg { width: 12px; height: 12px; }

.offer-highlight p {
  font-size: var(--text-body);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.offer-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.offer-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center top;
}

.offer-badge-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  background: rgba(1,31,66,0.06);
  border: 1px solid rgba(1,31,66,0.15);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-accent-2);
}

@media (max-width: 768px) {
  .offer-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════
   PILOT PROGRAMME
═══════════════════════════════════════════════════ */
#pilot-programme {
  background: var(--panel);
}

.pilot-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: var(--space-head);
}

.pilot-body p + p { margin-top: 1rem; }

.pilot-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pilot-milestone {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.pilot-milestone:last-child { padding-bottom: 0; }

.pilot-m-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.pilot-m-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-accent);
  margin-top: 4px;
}

.pilot-m-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
}

.pilot-milestone:last-child .pilot-m-line { display: none; }

.pilot-m-body {
  flex: 1;
  padding-bottom: 0.5rem;
}

.pilot-m-body .m-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.25rem;
}

.pilot-m-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pilot-m-body p {
  font-size: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pilot-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════
   HARDWARE
═══════════════════════════════════════════════════ */
#hardware {
  background: var(--brand-accent-2);
}

#hardware .section-label { color: rgba(221,88,2,1); }

#hardware .section-heading {
  color: #fff;
}

.heritage-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-top: var(--space-head);
}

.heritage-body p {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-body);
  line-height: 1.75;
}

.heritage-body p + p { margin-top: 1rem; }

.heritage-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.heritage-spec {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.heritage-spec .spec-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-accent);
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.heritage-spec .spec-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.heritage-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.heritage-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 10%;
}

.spec-note {
  margin-top: var(--space-2);
  font-size: 0.8125rem !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.6) !important;
}

@media (max-width: 768px) {
  .heritage-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════════════════════════════════════
   WHO IT'S FOR
═══════════════════════════════════════════════════ */
#who-its-for {
  background: var(--canvas);
}

.personas-image-top {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  max-height: 360px;
}

.personas-image-top img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0;
}

.persona-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.persona-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(221,88,2,0.3);
}

.persona-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(1,31,66,0.06);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-accent-2);
  margin-bottom: 1rem;
}

.persona-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.persona-card p {
  font-size: var(--text-body);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .personas-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   CONVERSION CTA BAND
═══════════════════════════════════════════════════ */
#conversion-cta {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/Hero-image.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-accent-2) 0%, #022660 100%);
  opacity: 0.95;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-subhead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: 3rem;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.cta-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  backdrop-filter: blur(4px);
}

.cta-card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(221,88,2,0.5);
}

.cta-card h3 {
  font-size: var(--text-card-title);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-card p {
  font-size: var(--text-support);
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
}

.cta-primary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 1100px) {
  .cta-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .cta-cards { grid-template-columns: 1fr; }
  .cta-primary-row { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════ */
#contact {
  background: var(--canvas);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  margin-top: var(--space-head);
}

.contact-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(221,88,2,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-detail-icon svg { width: 16px; height: 16px; }

.contact-detail-body .cd-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-detail-body a,
.contact-detail-body span {
  font-size: var(--text-body);
  color: var(--brand-accent-2);
  font-weight: 500;
}

.contact-detail-body a:hover { color: var(--brand-accent); }

.contact-form-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--canvas);
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(221,88,2,0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  padding: 0.65rem 0.875rem;
  border-radius: var(--radius-md);
}

.form-status.success {
  display: block;
  background: rgba(16,185,129,0.1);
  color: #047857;
  border: 1px solid rgba(16,185,129,0.25);
}

.form-status.error {
  display: block;
  background: rgba(239,68,68,0.08);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.2);
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   DIVIDERS & MISC
═══════════════════════════════════════════════════ */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--brand-accent);
  margin: 0.75rem 0 1.25rem;
  border-radius: 2px;
}

.text-accent { color: var(--brand-accent); }

@media (max-width: 540px) {
  .contact-form-panel { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════
   SHARED COMPONENTS (industry, ROI, resources pages)
═══════════════════════════════════════════════════ */
/* in-page anchors land below the fixed 64px header */
section[id] { scroll-margin-top: 80px; }

.bg-canvas { background: var(--canvas); }
.bg-panel { background: var(--panel); }
.bg-navy { background: var(--brand-accent-2); }
.bg-navy .section-heading, .bg-navy h3 { color: #fff; }
.bg-navy p, .bg-navy .section-lede { color: rgba(255,255,255,0.75); }
.section-head-center { text-align: center; }
.section-head-center .section-divider, .section-head-center .section-lede { margin-left: auto; margin-right: auto; }
.section-cta-row { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.section-cta-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; color: var(--brand-accent); }
.link-arrow::after { content: '\2192'; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(3px); }
.note { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.tag { align-self: flex-start;
  display: inline-block; padding: 0.25rem 0.65rem; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(221,88,2,0.1); color: var(--brand-accent);
}
.tag-navy { background: rgba(1,31,66,0.08); color: var(--brand-accent-2); }

/* subpage hero: shorter than the homepage hero, image set inline per page */
.page-hero--sub { min-height: min(62vh, 640px); }
.page-hero--sub .page-hero-inner { padding: var(--section-y) 0; }
.page-hero--plain { min-height: 0; background: linear-gradient(120deg, var(--brand-accent-2) 0%, #022660 100%); }
.page-hero--plain .page-hero-inner { padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-bottom: var(--space-3); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* card grids */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--grid-gap); margin-top: var(--space-head); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; } }

.icard {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
a.icard:hover { box-shadow: var(--shadow-md); border-color: var(--brand-accent); transform: translateY(-2px); }
.icard h3 { font-size: var(--text-card-title); font-weight: 700; }
.icard p { font-size: var(--text-body); line-height: 1.6; }
.icard .icon {
  width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(221,88,2,0.1);
  color: var(--brand-accent); display: flex; align-items: center; justify-content: center;
}
.icard .icon svg { width: 20px; height: 20px; }
.icard .link-arrow { margin-top: auto; padding-top: 0.4rem; }
/* compact icon cards in 3/4-column grids: icon beside the title, description full width below.
   Narrower auto-fit grids (e.g. five failure modes) keep the stacked layout, as do browsers without :has(). */
.card-grid--3 > .icard:has(> .icon:first-child),
.card-grid--4 > .icard:has(> .icon:first-child) {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 0.875rem; row-gap: 0.625rem;
  align-items: center; align-content: start; padding: 1.25rem 1.375rem 1.375rem;
}
.card-grid--3 > .icard:has(> .icon:first-child) .icon,
.card-grid--4 > .icard:has(> .icon:first-child) .icon { width: 40px; height: 40px; }
.card-grid--3 > .icard:has(> .icon:first-child) > :not(.icon):not(h3),
.card-grid--4 > .icard:has(> .icon:first-child) > :not(.icon):not(h3) { grid-column: 1 / -1; }
.card-grid--3 > .icard:has(> .icon:first-child) h3,
.card-grid--4 > .icard:has(> .icon:first-child) h3 { line-height: 1.3; }
.bg-navy .icard { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }

/* home key features: navy band with compact cards, icon beside the text so each card stays short */
.features-band {
  background:
    radial-gradient(900px 360px at 100% 0%, rgba(221,88,2,0.10), transparent 70%),
    linear-gradient(160deg, #022a57 0%, var(--brand-accent-2) 55%);
}
.card-grid--features { gap: 1rem; margin-top: var(--space-head); }
.card-grid--features .icard {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 0.875rem; row-gap: 0.625rem; align-content: start; align-items: center;
  padding: 1.25rem 1.375rem 1.375rem;
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14);
  border-top: 2px solid rgba(221,88,2,0.55);
}
.card-grid--features .icard .icon { width: 40px; height: 40px; background: rgba(221,88,2,0.16); color: #ff8a3d; }
.card-grid--features .icard .icon svg { width: 20px; height: 20px; }
.card-grid--features .icard h3 { line-height: 1.3; }
.card-grid--features .icard p { grid-column: 1 / -1; color: rgba(255,255,255,0.78); line-height: 1.6; }
.features-band .section-lede { color: rgba(255,255,255,0.78); }
/* two-column range: a lone last card spans the row instead of leaving an empty half */
@media (min-width: 601px) and (max-width: 960px) {
  .card-grid--features > .icard:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--space-head); }
.stat { background: var(--panel); padding: 1.75rem 1.5rem; }
.stat-val { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; color: var(--brand-accent-2); line-height: 1.1; }
.stat-val small { font-size: 0.55em; color: var(--brand-accent); margin-left: 0.15rem; }
.stat p { font-size: var(--text-support); margin-top: 0.4rem; line-height: 1.5; }
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* 3-step process */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); margin-top: var(--space-head); counter-reset: step; }
.step3 { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.375rem 1.375rem 1.5rem; }
.step3::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-accent-2); color: #fff; font-weight: 700; margin-bottom: 0.75rem;
}
.step3 h3 { font-size: var(--text-card-title); margin-bottom: 0.4rem; }
.step3 p { font-size: var(--text-body); line-height: 1.6; }
.step3 .tag { margin-top: 0.85rem; }
@media (max-width: 800px) { .steps3 { grid-template-columns: 1fr; } }
.rounded-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }
/* number beside the title, so a row of steps stays short */
.steps3--compact .step3 { display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; align-content: start; padding: 1.25rem; }
.steps3--compact .step3::before { grid-row: span 2; margin: 0; }
/* home how it works: compact steps beside the deployment image. The steps set the row height and the
   image fills exactly that height (top and bottom edges line up with the first and last step card).
   The image is near-square, so it is cropped from the top: the day-by-day timeline along its bottom
   edge always stays in view. */
.steps-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); align-items: stretch; margin-top: var(--space-head); }
.steps-timeline .steps3 { grid-template-columns: 1fr; margin-top: 0; gap: 0.875rem; }
.steps-timeline .steps3--compact .step3 { padding: 1.125rem 1.25rem; align-content: center; }
.timeline-banner { position: relative; min-height: 320px; }
.timeline-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 92%; }
@media (max-width: 1024px) { .steps-timeline { grid-template-columns: 1.1fr 0.9fr; } }
/* below 960px a side-by-side image column would be narrower than the image and lose the timeline's
   edges, so the image stacks under the steps with a landscape crop that keeps the full timeline */
@media (max-width: 960px) {
  .steps-timeline { grid-template-columns: 1fr; gap: var(--grid-gap); }
  .timeline-banner { min-height: 0; aspect-ratio: 16 / 10; }
  .timeline-banner img { object-position: center bottom; }
}
@media (max-width: 560px) { .timeline-banner { aspect-ratio: 4 / 3; } }

/* tabs (platform walkthrough, resource filters) */
.tabs { margin-top: var(--space-head); }
.tab-list { display: flex; flex-wrap: wrap; gap: 0.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.tab-btn {
  font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; padding: 0.6rem 1.1rem;
  border-radius: 100px; border: 1.5px solid var(--border-strong); background: var(--panel); color: var(--text-secondary);
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.tab-btn:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.tab-btn[aria-selected="true"], .tab-btn[aria-pressed="true"] { background: var(--brand-accent-2); border-color: var(--brand-accent-2); color: #fff; }
.tab-btn:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; padding-top: var(--space-4); animation: fadeUp 0.35s var(--ease-out); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.tab-panel ul { margin-top: var(--space-2); display: grid; gap: 0.6rem; }
.tab-panel li { position: relative; padding-left: 1.6rem; color: var(--text-secondary); font-size: var(--text-body); line-height: 1.55; }
.tab-panel li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-accent); }
.tab-panel .link-arrow { margin-top: var(--space-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; gap: 1.5rem; } }

/* animated health score card */
.health-card { background: linear-gradient(140deg, var(--brand-accent-2), #022660); border-radius: var(--radius-lg); padding: 2rem; color: #fff; box-shadow: var(--shadow-lg); }
.health-card-top { display: flex; align-items: center; gap: 1.5rem; }
.hring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.hring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.hring circle { fill: none; stroke-width: 9; }
.hring .trk { stroke: rgba(255,255,255,0.12); }
.hring .val { stroke: #2dd4bf; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.2s var(--ease-out), stroke 0.6s; }
.hring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hring-num b { font-size: 2.2rem; line-height: 1; }
.hring-num span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-top: 0.2rem; }
.health-card h4 { color: #fff; font-size: var(--text-card-title); margin-bottom: 0.3rem; }
.health-card p { color: rgba(255,255,255,0.72); font-size: var(--text-support); line-height: 1.55; }
.health-rows { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.health-row { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0.9rem; background: rgba(255,255,255,0.06); border-radius: var(--radius-md); font-size: 0.875rem; }
.st-ok { color: #2dd4bf; } .st-watch { color: #fbbf24; } .st-act { color: #f87171; }
.health-controls { display: flex; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.health-controls button { font: inherit; font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 100px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; cursor: pointer; }
.health-controls button[aria-pressed="true"] { background: #fff; color: var(--brand-accent-2); }
.health-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* FAQ accordion (native details/summary) */
.faq-list { margin: var(--space-head) auto 0; display: grid; gap: 0.75rem; max-width: 860px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-weight: 700; font-size: 1.0625rem; color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brand-accent); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-a { padding: 0 1.25rem 1.2rem; }
.faq-a p { font-size: var(--text-body); }

/* split blocks */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; margin-top: var(--space-head); }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; gap: 2rem; } }
.check-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text-secondary); line-height: 1.55; }
.check-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 0.1em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: rgba(221,88,2,0.12); color: var(--brand-accent); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.bg-navy .check-list li { color: rgba(255,255,255,0.82); }

/* scenario timeline */
.scenario { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2rem); margin-top: var(--space-head); }
.scenario h3 { font-size: 1.2rem; margin: 0.75rem 0 0.5rem; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-3); }
.tl-step { border-top: 3px solid var(--border-strong); padding-top: 0.9rem; }
.tl-step:nth-child(1) { border-color: #2dd4bf; } .tl-step:nth-child(2) { border-color: #fbbf24; }
.tl-step:nth-child(3) { border-color: var(--brand-accent); } .tl-step:nth-child(4) { border-color: var(--brand-accent-2); }
.tl-step b { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.tl-step p { font-size: var(--text-body); line-height: 1.55; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .timeline { grid-template-columns: 1fr; } }

/* ROI calculator */
.roi-calc { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: var(--space-head); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow-md); }
.roi-inputs { padding: 2rem; }
.roi-inputs-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.roi-inputs-head h3 { font-size: 1.1rem; }
.roi-currency { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.roi-currency select { font: inherit; padding: 0.35rem 0.5rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--canvas); }
.roi-field { padding: 0.9rem 0; border-top: 1px solid var(--border); }
.roi-field-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.roi-field label { font-size: var(--text-support); font-weight: 600; color: var(--text-primary); }
.roi-num { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.roi-field input[type="number"] {
  width: 8.5rem; text-align: right; font: inherit; font-weight: 700; font-size: 0.9rem; padding: 0.35rem 0.5rem;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--canvas); color: var(--text-primary);
}
.roi-field input[type="number"]:focus { outline: none; border-color: var(--brand-accent); box-shadow: 0 0 0 3px rgba(221,88,2,0.12); }
.roi-field .unit { font-size: 0.8rem; color: var(--text-muted); min-width: 2.4rem; }
.roi-field input[type="range"] { width: 100%; margin-top: 0.6rem; accent-color: var(--brand-accent); }
.roi-field .hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; line-height: 1.45; }
.roi-results { background: linear-gradient(160deg, var(--brand-accent-2), #022660); color: #fff; padding: 2rem; display: flex; flex-direction: column; }
.roi-results h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }
.roi-out { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.roi-out span { font-size: var(--text-support); color: rgba(255,255,255,0.72); }
.roi-out b { font-size: 1.05rem; text-align: right; }
.roi-out.big b { font-size: 1.6rem; color: #2dd4bf; }
.roi-out.neg b { color: #f87171; }
.roi-bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,0.12); overflow: hidden; margin: 1.25rem 0 0.4rem; }
.roi-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-accent), #2dd4bf); transition: width 0.5s var(--ease-out); }
.roi-bar-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.roi-results .btn { margin-top: 1.5rem; white-space: normal; }
.roi-results .note { color: rgba(255,255,255,0.6); margin-top: 1rem; }
.roi-formula { margin-top: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--canvas); }
.roi-formula summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; font-size: 0.9rem; }
.roi-formula > div { padding: 0 1.1rem 1rem; }
.roi-formula p, .roi-formula li { font-size: var(--text-support); color: var(--text-secondary); line-height: 1.6; }
.roi-formula ul { list-style: disc; padding-left: 1.2rem; margin-top: 0.5rem; }
.roi-formula code { font-size: 0.82rem; background: var(--panel); border: 1px solid var(--border); padding: 0.1rem 0.35rem; border-radius: 4px; }
.roi-picker { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.roi-picker a.tab-btn { text-decoration: none; }
.roi-picker a.tab-btn[aria-current="page"] { background: var(--brand-accent-2); border-color: var(--brand-accent-2); color: #fff; }
.hero-back { margin-top: var(--space-2); }
/* industry pages: button to the industry's own calculator page (replaces the embedded calculator) */
.roi-cta { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-4); align-items: center; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--canvas); }
.roi-cta .section-lede { margin-bottom: 0; }
.roi-cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.roi-cta-action .note { margin: 0; }
@media (max-width: 860px) { .roi-cta { grid-template-columns: 1fr; gap: var(--space-3); } }
@media (max-width: 900px) { .roi-calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .roi-inputs, .roi-results { padding: 1.4rem; } .roi-field input[type="number"] { width: 6.5rem; } .roi-field-top { flex-wrap: wrap; } }

/* resources */
.res-filters { display: flex; flex-wrap: wrap; gap: var(--space-1); align-items: center; }
.res-filters .tab-btn { padding: 0.5rem 1rem; }
.res-filters select { font: inherit; font-size: 0.875rem; font-weight: 600; padding: 0.5rem 0.9rem; border-radius: 100px; border: 1.5px solid var(--border-strong); background: var(--panel); margin-left: auto; }
@media (max-width: 640px) { .res-filters select { margin-left: 0; width: 100%; } }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); margin-top: var(--space-head); }
@media (max-width: 960px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.2s; }
.res-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--brand-accent); }
.res-card[hidden] { display: none; }
.res-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--canvas); }
.res-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.res-card:hover .res-card-img img { transform: scale(1.04); }
.res-card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.res-card h3 { font-size: var(--text-card-title); line-height: 1.35; }
.res-card p { font-size: var(--text-body); line-height: 1.55; }
.res-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 0.6rem; font-size: 0.78rem; color: var(--text-muted); }
.res-empty { margin-top: var(--space-4); text-align: center; color: var(--text-muted); }

/* article / resource detail */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 0.75rem + 2.5vw, 3rem); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { max-width: 78ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8rem; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.8; color: var(--text-secondary); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose strong { color: var(--text-primary); }
.prose a { color: var(--brand-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-support); }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--canvas); color: var(--text-primary); }
.prose .rounded-img { margin: 0 0 1.5rem; aspect-ratio: 16 / 9; }
.prose .rounded-img--portrait { background: var(--brand-accent-2); }
.prose .rounded-img--portrait img { object-fit: contain; }
.takeaways { background: rgba(221,88,2,0.06); border-left: 4px solid var(--brand-accent); border-radius: var(--radius-md); padding: 1.4rem 1.5rem; }
.prose .takeaways h2 { font-size: 1.05rem; margin: 0 0 0.75rem; }
.prose .takeaways ul { list-style: none; padding: 0; }
.takeaways li { position: relative; padding-left: 1.4rem; font-size: var(--text-body); }
.takeaways li::before { content: '\2192'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }
.status-banner { background: rgba(1,31,66,0.05); border: 1px solid rgba(1,31,66,0.14); border-radius: var(--radius-md); padding: 1rem 1.2rem; font-size: var(--text-body); color: var(--text-secondary); line-height: 1.6; }
.status-banner b { color: var(--brand-accent-2); }
.aside-card { position: sticky; top: 88px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: var(--text-card-title); margin-bottom: 0.5rem; }
.aside-card > p { font-size: var(--text-support); margin-bottom: 1rem; }
.aside-card .btn { width: 100%; white-space: normal; }
.aside-card .btn + .btn { margin-top: 0.6rem; }
.aside-card .form-group { margin-bottom: 0.75rem; }
@media (max-width: 960px) { .aside-card { position: static; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* final CTA band */
.final-cta { background: linear-gradient(120deg, var(--brand-accent-2) 0%, #022660 100%); padding: var(--section-y) 0; text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 24ch; margin: 0 auto 1rem; }
.final-cta p { color: rgba(255,255,255,0.75); max-width: 56ch; margin: 0 auto; }
.final-cta .section-cta-row { justify-content: center; }

/* ═══════════════════════════════════════════════════
   CHAT ASSISTANT
═══════════════════════════════════════════════════ */
.sc-launcher {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1100; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.15rem; border-radius: 100px; border: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 0.9rem;
  background: var(--brand-accent); color: #fff; box-shadow: 0 10px 30px rgba(221,88,2,0.35); transition: transform 0.2s var(--ease-out);
}
.sc-launcher:hover { transform: translateY(-2px); }
.sc-launcher:focus-visible { outline: 3px solid var(--brand-accent-2); outline-offset: 3px; }
.sc-launcher svg { width: 20px; height: 20px; }
.sc-panel {
  position: fixed; right: 1.25rem; bottom: 5.25rem; z-index: 1100; width: min(390px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 7rem));
  display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(1,31,66,0.28); border: 1px solid var(--border);
}
.sc-panel[hidden] { display: none; }
.sc-head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; background: var(--brand-accent-2); color: #fff; }
.sc-head-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-head-avatar svg { width: 18px; height: 18px; }
.sc-head b { display: block; font-size: 0.9rem; line-height: 1.3; }
.sc-head small { font-size: 0.72rem; opacity: 0.75; }
.sc-close { margin-left: auto; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 0.25rem 0.4rem; border-radius: 4px; }
.sc-close:focus-visible { outline: 2px solid #fff; }
.sc-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--canvas); }
.sc-msg { max-width: 88%; padding: 0.7rem 0.9rem; border-radius: 14px; font-size: 0.875rem; line-height: 1.55; }
.sc-msg p { font-size: inherit; line-height: inherit; color: inherit; }
.sc-msg p + p, .sc-msg p + ul, .sc-msg ul + p { margin-top: 0.4rem; }
.sc-msg ul { list-style: disc; padding-left: 1.1rem; }
.sc-msg li + li { margin-top: 0.2rem; }
.sc-typing { color: var(--text-muted); font-style: italic; }
.sc-bot { background: var(--panel); border: 1px solid var(--border); color: var(--text-primary); border-bottom-left-radius: 4px; }
.sc-user { align-self: flex-end; background: var(--brand-accent-2); color: #fff; border-bottom-right-radius: 4px; }
.sc-links { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.6rem; }
.sc-links a { color: var(--brand-accent); font-weight: 700; font-size: 0.82rem; }
.sc-links a:hover { text-decoration: underline; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sc-chip { font: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.45rem 0.75rem; border-radius: 100px; border: 1.5px solid var(--brand-accent); background: var(--panel); color: var(--brand-accent); cursor: pointer; text-align: left; }
.sc-chip:hover { background: var(--brand-accent); color: #fff; }
.sc-form { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border); background: var(--panel); }
.sc-form input { flex: 1; font: inherit; font-size: 0.875rem; padding: 0.6rem 0.8rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); outline: none; min-width: 0; }
.sc-form input:focus { border-color: var(--brand-accent); }
.sc-form button { font: inherit; font-weight: 700; font-size: 0.85rem; padding: 0 1rem; border: none; border-radius: var(--radius-md); background: var(--brand-accent); color: #fff; cursor: pointer; }
.sc-foot { font-size: 0.68rem; color: var(--text-muted); text-align: center; padding: 0 0.75rem 0.6rem; background: var(--panel); }
@media (max-width: 480px) { .sc-launcher span { display: none; } .sc-launcher { padding: 0.9rem; } .sc-panel { right: 1rem; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tab-visual { width: 100%; max-width: 440px; justify-self: center; }
.tab-visual img { aspect-ratio: 4 / 3; }
#panel-detect .tab-visual img { object-position: center 22%; }
#panel-alert .tab-visual img { object-position: center 36%; }
#panel-integrate .tab-visual img { object-position: center 50%; }

.industries-image-row + .industries-grid { margin-top: var(--grid-gap); }

/* spacing helpers (replace inline margins) */
.section-more { margin-top: var(--space-3); }
.offer-cta { margin-top: var(--space-4); }
.heritage-specs { margin-top: var(--space-4); }
.check-list + .link-arrow { margin-top: var(--space-3); }
.health-note { margin-top: var(--space-2); color: rgba(255,255,255,0.55); }
.scenario .note { margin-top: var(--space-3); }
.aside-card .aside-more { margin-top: var(--space-2); margin-bottom: 0; }
/* filter/picker bars sit directly above what they control */
.res-filters + .res-grid, .roi-picker + [data-roi-target] .roi-calc { margin-top: var(--space-3); }

/* industry pages: titled groups of asset cards (e.g. Thermal Power / Wind Energy) */
.asset-group-title { font-size: 1.1rem; font-weight: 700; color: var(--brand-accent-2); margin-top: var(--space-head); }
.asset-group-title + .card-grid { margin-top: var(--space-2); }

/* platform: standards & references */
.std-card .std-title { font-size: var(--text-support); font-style: italic; color: var(--text-primary); }
.std-card .std-status { margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }
.std-types { margin-top: var(--space-head); padding: var(--space-3) var(--space-4); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.std-types h3 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.std-types dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-4); }
.std-types dt { font-weight: 700; color: var(--brand-accent-2); font-size: var(--text-body); }
.std-types dd { margin: 0.25rem 0 0; font-size: var(--text-body); line-height: 1.6; color: var(--text-secondary); }
.std-types .note { margin-top: var(--space-3); }
@media (max-width: 700px) { .std-types { padding: var(--space-3); } .std-types dl { grid-template-columns: 1fr; } }

/* forms: privacy notice under the submit button */
.form-privacy { margin-top: 0.75rem; font-size: 0.8rem; line-height: 1.5; color: var(--text-muted); }
.form-privacy a, .link-button { color: var(--brand-accent); text-decoration: underline; text-underline-offset: 2px; }
.link-button { font: inherit; background: none; border: none; padding: 0; cursor: pointer; }

/* cookie consent banner: bottom-left, clear of the chat launcher on wide screens */
.cookie-banner {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1200; width: min(520px, calc(100vw - 2.5rem));
  padding: 1.25rem; background: var(--brand-accent-2); color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(1,31,66,0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.875rem; line-height: 1.6; color: inherit; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.cookie-actions .btn { flex: 1 1 auto; }
@media (max-width: 480px) { .cookie-banner { left: 0.75rem; bottom: 0.75rem; width: calc(100vw - 1.5rem); } }

/* home: industry cards (icon-led, no photos) */
.ind-card { gap: var(--space-2); }
.ind-card-head { display: flex; align-items: center; gap: 0.9rem; }
.ind-card .icon { width: 48px; height: 48px; flex-shrink: 0; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.ind-card .icon svg { width: 24px; height: 24px; }
.ind-card h3 { font-size: var(--text-card-title); line-height: 1.3; }
a.ind-card:hover .icon { background: var(--brand-accent); color: #fff; }
.ind-apps { display: grid; gap: 0.45rem; padding-top: var(--space-2); border-top: 1px solid var(--border); }
.ind-apps li { position: relative; padding-left: 1.1rem; font-size: var(--text-body); line-height: 1.45; color: var(--text-secondary); }
.ind-apps li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); }
.ind-apps b { color: var(--brand-accent-2); font-weight: 600; }
.ind-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: var(--space-2); font-size: 0.8rem; color: var(--text-muted); }
.ind-card-foot .link-arrow { padding-top: 0; }

/* forms: spam trap field, hidden from people and screen readers (bots fill it in) */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-group input[aria-invalid="true"], .form-group textarea[aria-invalid="true"], .form-group select[aria-invalid="true"] { border-color: #dc2626; }

/* home: SignaTE vs traditional monitoring. A table on wide screens; each row becomes a stacked card on phones. */
.compare { margin-top: var(--space-head); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table th { padding: 1rem 1.25rem; text-align: left; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); background: var(--canvas); border-bottom: 1px solid var(--border); }
.compare-table th.compare-signate { background: var(--brand-accent); color: #fff; }
.compare-table td { padding: 0.95rem 1.25rem 0.95rem 3rem; position: relative; vertical-align: top; font-size: var(--text-body); line-height: 1.55; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text-muted); }
.compare-table td:last-child { color: var(--text-primary); font-weight: 600; background: rgba(221,88,2,0.05); border-left: 2px solid rgba(221,88,2,0.35); }
/* markers: a neutral dash for traditional methods, the site's check for SignaTE */
.compare-table td::before { position: absolute; left: 1.25rem; top: 1.05rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.compare-table td:first-child::before { content: '\2013'; background: var(--canvas); color: var(--text-muted); border: 1px solid var(--border-strong); }
.compare-table td:last-child::before { content: '\2713'; background: rgba(221,88,2,0.14); color: var(--brand-accent); }
.compare-note { margin-top: var(--space-2); }
@media (max-width: 640px) {
  .compare { border: none; background: none; box-shadow: none; overflow: visible; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table tr { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-2); }
  .compare-table td { padding: 1.85rem 1rem 0.85rem 2.75rem; border-bottom: none; }
  /* small "Traditional" / "SignaTE" label above each half of the card */
  .compare-table td::after { content: attr(data-label); position: absolute; left: 1rem; top: 0.7rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
  .compare-table td:last-child::after { color: var(--brand-accent); }
  .compare-table td::before { left: 1rem; top: 1.95rem; }
  .compare-table td:last-child { border-left: none; border-top: 1px solid rgba(221,88,2,0.25); }
}
