/* ==========================================================================
   AI-Helper — "Luminous Precision" design system
   Mobile-first. Tokens mirror DESIGN.md.
   ========================================================================== */

:root {
  /* Brand */
  --primary: #0050cb;
  --primary-container: #0066ff;
  --primary-hover: #0052cc;
  --secondary: #006398;
  --tertiary: #4345d1;
  --telemetry: #00c2ff;

  /* Surfaces */
  --bg: #faf9ff;
  --surface: #ffffff;
  --surface-low: #f1f3ff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --console: #0e1320;

  --text: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;

  /* Lines */
  --line: rgba(226, 232, 240, 0.9);
  --line-soft: #f1f5f9;
  --hairline: rgba(15, 23, 42, 0.06);

  /* Status */
  --emerald: #059669;
  --emerald-700: #047857;
  --rose: #e11d48;
  --amber: #d97706;

  /* Type */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-nav: "Nunito Sans", "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 12px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-blue: 0 4px 6px -1px rgba(59, 130, 246, 0.25), 0 2px 4px -2px rgba(59, 130, 246, 0.25);
  --shadow-blue-lg: 0 20px 25px -5px rgba(59, 130, 246, 0.35), 0 8px 10px -6px rgba(59, 130, 246, 0.35);
  --focus-ring: 0 0 0 3px rgba(0, 102, 255, 0.18);

  /* Layout — rem gutters (never cm: Edge/zoom + mobile break with absolute units) */
  --container: 1280px;
  --gutter: 1rem;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 1.5rem;
    --header-h: 72px;
  }
}

@media (min-width: 1024px) {
  :root { --gutter: 2rem; }
}

@media (min-width: 1280px) {
  :root {
    --gutter: 2.5rem;
    --header-h: 78px;
  }
}

/* Accent themes — components read --accent* variables. */
.accent-blue    { --accent: #0066ff; --accent-strong: #0050cb; --accent-soft: #eff6ff; --accent-border: #bfdbfe; --accent-hover: #93c5fd; }
.accent-emerald { --accent: #059669; --accent-strong: #047857; --accent-soft: #ecfdf5; --accent-border: #a7f3d0; --accent-hover: #6ee7b7; }
.accent-indigo  { --accent: #4345d1; --accent-strong: #4338ca; --accent-soft: #eef2ff; --accent-border: #c7d2fe; --accent-hover: #a5b4fc; }
.accent-sky     { --accent: #006398; --accent-strong: #006398; --accent-soft: #f0f9ff; --accent-border: #bae6fd; --accent-hover: #7dd3fc; }
.accent-rose    { --accent: #e11d48; --accent-strong: #be123c; --accent-soft: #fff1f2; --accent-border: #fecdd3; --accent-hover: #fda4af; }
.accent-amber   { --accent: #d97706; --accent-strong: #b45309; --accent-soft: #fffbeb; --accent-border: #fde68a; --accent-hover: #fcd34d; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  overflow-x: clip;
}

::selection { background: var(--primary-container); color: #fff; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary-container);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Material Symbols */
.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  flex-shrink: 0;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  overflow: hidden;
  max-width: 1em;
}
.ms--16 { font-size: 16px; }
.ms--18 { font-size: 18px; }
.ms--20 { font-size: 20px; }
.ms--24 { font-size: 24px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(896px + 2 * var(--gutter)); }

.section { position: relative; padding-block: 48px; background: var(--bg); }
.section--white { background: var(--surface); border-block: 1px solid rgba(226, 232, 240, 0.8); }
.section--white + .section--white { border-top: 0; }
.section--tint {
  background: linear-gradient(to bottom, #eef1ff, #f5f6ff);
  border-top: 1px solid rgba(191, 219, 254, 0.7);
}
.section--tint::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  width: min(480px, 60%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--primary-container), transparent);
}
.section--tight { padding-block: 40px; }
.section > .container { display: flex; flex-direction: column; gap: 1.5rem; }

.stack-sm { display: flex; flex-direction: column; gap: 0.5rem; }
.stack-md { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }

.grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.grid--tight { gap: 1rem; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.eyebrow--dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.h-section {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.h-card { font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.h-card--lg { font-size: 22px; line-height: 30px; }
.h-sub { font-size: 15px; line-height: 22px; font-weight: 700; letter-spacing: -0.005em; }

.lead { font-size: 17px; line-height: 1.65; color: var(--text-body); }
.body { color: var(--text-body); line-height: 1.65; }
.body-sm { font-size: 13px; line-height: 20px; color: var(--text-body); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: -0.01em; }
.mono-11 { font-family: var(--font-mono); font-size: 11px; line-height: 16px; }
.caps { text-transform: uppercase; letter-spacing: 0.06em; }
.tabular { font-variant-numeric: tabular-nums; }
.text-accent { color: var(--accent); }
.text-strong { color: var(--text); font-weight: 700; }

.text-gradient {
  background: linear-gradient(90deg, var(--primary-container), var(--tertiary) 50%, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section header: copy left, action right on desktop. */
.section-head { display: flex; flex-direction: column; gap: 1rem; }
.section-head__copy { display: flex; flex-direction: column; gap: 0.5rem; max-width: 50rem; }
.section-head__copy .body { max-width: 42rem; }
.section-head__copy--wide { max-width: 60rem; }
.section-head__copy--wide .body { max-width: 48rem; }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .section-head__copy { align-items: center; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.99); }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.btn--primary {
  background: linear-gradient(180deg, #1a75ff, var(--primary-container) 55%, #005ae6);
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover { background: linear-gradient(180deg, #0a6bff, var(--primary)); box-shadow: var(--shadow-blue-lg), 0 0 20px rgba(0, 102, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.btn .ms { transition: transform 0.2s var(--ease); }
.btn:hover .ms { transform: translateX(2px); }

.btn--secondary {
  background: #fff;
  color: var(--slate-800);
  border-color: rgba(226, 232, 240, 0.9);
  font-family: var(--font-body);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { background: var(--slate-50); border-color: #93c5fd; color: var(--primary); }

.btn--soft {
  background: #fff;
  color: var(--primary);
  border-color: rgba(226, 232, 240, 0.9);
  font-family: var(--font-body);
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  padding: 10px 20px;
}
.btn--soft:hover { background: #eff6ff; }

.btn--sm { padding: 10px 20px; font-size: 13px; line-height: 20px; }
.btn--lg { padding: 14px 28px; }
.btn--xl { padding: 16px 32px; font-weight: 700; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s, gap 0.2s;
}
.link-arrow:hover { color: var(--primary-container); gap: 0.7rem; }

/* --------------------------------------------------------------------------
   Pills, dots, chips
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--accent-border, #bfdbfe);
  background: var(--accent-soft, #eff6ff);
  color: var(--accent, var(--primary));
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.pill--sm { padding: 2px 10px; font-size: 12px; }
.pill--caps { text-transform: uppercase; letter-spacing: 0.08em; }
.pill--white {
  background: rgba(255, 255, 255, 0.9);
  border-color: #dbeafe;
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: normal;
}

.dot {
  position: relative;
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--primary-container));
  flex-shrink: 0;
}
.dot--sm { width: 6px; height: 6px; }
.dot--pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.dot--ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot--glow { box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: var(--slate-100);
  color: var(--slate-700);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.chip-row__label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--slate-500); text-transform: uppercase; }

@keyframes pulse { 50% { opacity: 0.5; } }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 12px rgba(0, 102, 255, 0.06);
  overflow: visible;
}
.site-header__inner {
  height: var(--header-h);
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}
.site-header__left, .site-header__right { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.site-header__left { flex: 1 1 auto; }
.site-header__right { flex: 0 0 auto; }

.brand { display: flex; align-items: center; min-width: 0; max-width: 100%; }
.brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 52vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .brand img { height: 52px; max-width: 240px; }
}

.nav {
  display: none;
  margin-left: auto;
  margin-right: 0.75rem;
  min-width: 0;
  max-width: 100%;
}
.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav__list > li { display: flex; align-items: center; flex-shrink: 0; }
.nav__list > li + li::before {
  content: "|";
  padding-inline: 0.55rem;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 300;
  color: var(--slate-300);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 4px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  color: var(--slate-700);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--primary); }
.nav__link[aria-current="page"] { color: var(--primary-container); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-container);
}
.nav__badge { --accent: var(--tertiary); --accent-soft: #eef2ff; --accent-border: rgba(199, 210, 254, 0.8); font-size: 10px; padding: 1px 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.nav__badge .dot { width: 6px; height: 6px; }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: var(--primary);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s, top 0.25s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Language switcher */
.flag {
  display: block;
  width: 20px; height: 14px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 8px 0 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate-700);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.lang-switch__btn:hover { border-color: #bfdbfe; color: var(--primary); box-shadow: 0 2px 10px rgba(0, 102, 255, 0.08); }
.lang-switch__btn:focus-visible { outline: none; border-color: var(--primary-container); box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15); }
.lang-switch__caret { font-size: 18px !important; color: var(--slate-400); transition: transform 0.2s var(--ease); }
.lang-switch.is-open .lang-switch__caret { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 170px;
  padding: 6px;
  list-style: none;
  border-radius: var(--r-lg, 12px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.no-js .lang-switch:hover .lang-switch__menu,
.no-js .lang-switch:focus-within .lang-switch__menu,
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-switch__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}
.lang-switch__item:hover, .lang-switch__item:focus-visible { outline: none; background: #eff6ff; color: var(--primary); }
.lang-switch__item[aria-current] { color: var(--primary-container); font-weight: 600; }
.lang-switch__check { margin-left: auto; font-size: 18px !important; }

.mobile-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.mobile-lang__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-700);
}
.mobile-lang__item[aria-current] { border-color: var(--primary-container); color: var(--primary-container); box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1); }

.input--file { padding: 9px 12px; cursor: pointer; }
.input--file::file-selector-button {
  margin-right: 12px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--primary);
  font: 600 13px var(--font-body);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: 49;
  padding: 1.25rem var(--gutter) 2rem;
  background: rgba(250, 249, 255, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-nav);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--slate-900);
}
.mobile-menu__link[aria-current="page"] { color: var(--primary-container); }
.mobile-menu__link .ms { color: var(--slate-400); }
.mobile-menu__foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
body.menu-open { overflow: hidden; }

.site-main { padding-top: var(--header-h); min-height: 100vh; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 12px 0 72px;
  background: linear-gradient(to bottom, #fff, rgba(241, 243, 255, 0.4), var(--bg));
}
.bg-glow {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 12% 0%, rgba(0, 102, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 55% at 85% 35%, rgba(0, 194, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 40% at 60% 100%, rgba(67, 69, 209, 0.08), transparent 70%);
}
.bg-dots {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#0066ff 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  opacity: 0.05;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.net-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.9;
}
.hero > .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2.5rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero__copy { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 28px; }
.hero__title {
  font-size: 40px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.022em;
  word-spacing: 0.04em;
  color: #0b1530;
  text-wrap: balance;
}
.hero__lead { max-width: 36rem; color: var(--slate-600); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem; padding-top: 0.25rem; }

.hero--home {
  padding-bottom: 36px;
  background:
    linear-gradient(to bottom, transparent 85%, var(--bg)),
    radial-gradient(ellipse 38% 55% at 20% 55%, rgba(255, 255, 255, 0.45), transparent 75%),
    url("../images/hero-bg-ai.webp") center / cover no-repeat,
    #e9f1ff;
}
.hero--home .bg-glow { opacity: 0.4; }
.hero--home .bg-dots { display: none; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  padding-top: 0.75rem;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .ms { color: var(--primary-container); }

@media (max-width: 479px) {
  .hero--home .hero__copy { gap: 1rem; margin-top: 16px; }
  .hero--home .hero__title { font-size: 34px; }
  .hero--home .hero__lead { font-size: 16px; line-height: 1.6; }
  .hero--home .hero__actions { gap: 0.625rem; }
  .hero--home .hero__actions .btn--lg { padding: 12px 18px; }
  .hero--home .hero__facts { gap: 0.375rem 1rem; padding-top: 0.25rem; font-size: 13px; }
}
/* Telemetry console */
.console {
  width: 100%;
  border-radius: var(--r-xl);
  background: var(--console);
  border: 1px solid rgba(51, 65, 85, 0.6);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #f1f5f9;
  font-family: var(--font-mono);
}
.console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 10px 1rem;
  border-radius: var(--r-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--slate-800);
}
.console__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.console__lights { display: flex; gap: 6px; }
.console__lights span { width: 12px; height: 12px; border-radius: 50%; }
.console__lights span:nth-child(1) { background: rgba(244, 63, 94, 0.9); }
.console__lights span:nth-child(2) { background: rgba(245, 158, 11, 0.9); }
.console__lights span:nth-child(3) { background: rgba(16, 185, 129, 0.9); }
.console__path { font-size: 12px; color: var(--slate-400); margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console__tag {
  font-size: 11px; font-weight: 600;
  color: #67e8f9;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: rgba(6, 182, 212, 0.2);
  white-space: nowrap;
}
.console__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.console__metric {
  padding: 12px;
  border-radius: var(--r-md);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(30, 41, 59, 0.8);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.console__label { font-size: 10px; line-height: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-400); font-weight: 500; }
.console__value {
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 18px; line-height: 26px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.console__value small { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--slate-400); }
.console__hint { font-size: 11px; color: var(--slate-400); }
.console__track { width: 100%; height: 4px; margin-top: 4px; border-radius: 4px; background: var(--slate-800); overflow: hidden; }
.console__track span { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: currentColor; transition: width 1.2s var(--ease); }
.c-cyan { color: #67e8f9; }
.c-emerald { color: #34d399; }
.c-sky { color: #7dd3fc; }
.c-indigo { color: #a5b4fc; }
.c-amber { color: #fcd34d; }
.console__log {
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-md);
  background: var(--slate-950);
  border: 1px solid var(--slate-800);
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-300);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
}
.console__log-head {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.6);
  color: var(--slate-400);
}
.console__log-head b { color: #34d399; font-weight: 600; white-space: nowrap; }
.console__line { margin: 0; animation: logIn 0.5s var(--ease) both; }
.console__line b { font-weight: 700; margin-right: 4px; }
.console__status {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap;
  padding: 4px 4px 0;
  font-size: 11px;
  color: var(--slate-400);
}
.console__status span { display: inline-flex; align-items: center; gap: 6px; }
.console__status strong { color: #22d3ee; font-weight: 600; }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Trust strip */
.strip { background: #fff; border-block: 1px solid rgba(226, 232, 240, 0.8); padding-block: 2rem; }
.strip__inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
.strip__lead { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; }
.strip__items {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem;
  list-style: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-600);
}
.strip__items li { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.strip__items li:hover { color: var(--primary); }
.strip__items .ms { color: var(--accent); font-size: 19px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background: linear-gradient(to bottom, #fff, rgba(241, 243, 255, 0.45), var(--bg));
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero--compact { padding: 32px 0 28px; }
.page-hero--compact .page-hero__copy { gap: 0.875rem; max-width: 52rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; font-size: 14px; color: var(--slate-600); }
.page-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.page-hero__meta .ms { color: var(--primary-container); }
.page-hero__meta a { color: var(--slate-800); font-weight: 600; }
.page-hero__meta a:hover { color: var(--primary); text-decoration: underline; }
.page-hero__grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.page-hero__copy { display: flex; flex-direction: column; gap: 1.25rem; max-width: 46rem; }
.page-hero__title { font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; font-family: var(--font-mono); font-size: 12px; color: var(--slate-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li + li::before { content: "//"; color: var(--slate-300); margin-right: 6px; }
.breadcrumb [aria-current] { color: var(--primary); font-weight: 600; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card--hover::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--primary-container)), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.card--hover:hover { box-shadow: 0 24px 40px -18px rgba(15, 23, 42, 0.18), 0 0 0 1px var(--accent-border, #bfdbfe); border-color: var(--accent-hover, #93c5fd); transform: translateY(-4px); }
.card--hover:hover::before { opacity: 1; }
.card--flat { box-shadow: none; }
.card--muted { background: var(--slate-50); border-color: rgba(226, 232, 240, 0.8); }
.card--lg { padding: 1.5rem; }
.card__body { display: flex; flex-direction: column; gap: 1rem; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.card__id { display: flex; align-items: center; gap: 12px; }
.card__kicker { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--slate-500); }
.card__title { transition: color 0.2s; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card__title a:focus-visible::after { box-shadow: var(--focus-ring); border-radius: var(--r-xl); }
.card--hover:hover .card__title { color: var(--accent); }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}
.card__foot strong { color: var(--accent); font-weight: 600; }
a.card { color: inherit; }

.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, #fff 0%, var(--accent-soft) 55%, color-mix(in srgb, var(--accent-soft) 70%, var(--accent-border)) 100%);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), inset 0 1px 0 #fff;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.icon-box .ms { font-size: 24px; }
.card--hover:hover .icon-box { transform: scale(1.06) rotate(-3deg); box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--accent) 45%, transparent); }
.icon-box--sm { width: 36px; height: 36px; }
.icon-box--sm .ms { font-size: 20px; }

/* Visualisation panels within cards */
.viz {
  width: 100%;
  padding: 1rem;
  border-radius: var(--r-lg);
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}
.viz--center { position: relative; overflow: hidden; align-items: center; justify-content: center; min-height: 112px; }
.viz--center::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.15;
}
.viz__row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.viz__row b { font-weight: 700; color: var(--slate-900); }
.viz__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.viz__head span:first-child { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.viz__head span:last-child { font-weight: 700; color: var(--primary); }
.viz__stats { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem; }
.viz__stat b { display: block; font-family: var(--font-display); font-size: 18px; line-height: 26px; color: var(--slate-900); }
.viz svg { width: 100%; height: 96px; overflow: visible; }
.viz__legend { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }

.label-card {
  position: relative;
  width: 14rem;
  max-width: 100%;
  padding: 10px 12px;
  white-space: nowrap;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.label-card__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--accent-strong); }
.label-card__row { display: flex; align-items: center; gap: 6px; color: var(--slate-600); }
.label-card__row .ms { font-size: 15px; color: var(--accent); max-width: none; }
.label-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--accent-hover);
  border-radius: 10px;
  animation: scanBox 3.2s ease-in-out infinite;
}
@keyframes scanBox { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }

/* Progress bars */
.bar { width: 100%; height: 6px; border-radius: 999px; background: var(--slate-200); overflow: hidden; }
.bar--lg { height: 12px; background: var(--slate-100); }
.bar--md { height: 8px; background: var(--slate-100); }
.bar__fill {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: var(--accent, var(--primary-container));
  transition: width 1.4s var(--ease);
}
.bar__fill--base { background: var(--slate-300); }
html.js [data-reveal] .bar__fill,
html.js [data-reveal] .console__track span { width: 0; }
html.js [data-reveal].is-visible .bar__fill,
html.js [data-reveal].is-visible .console__track span { width: var(--w); }

/* Bento grid */
.bento { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }

/* HITL wide card */
.hitl-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}
.hitl-flow__node {
  position: relative;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
  display: flex; flex-direction: column; gap: 2px;
}
.hitl-flow__node b { font-family: var(--font-display); font-size: 13px; color: var(--slate-900); }
.hitl-flow__node--human { border-color: var(--accent-border); background: var(--accent-soft); }
.hitl-flow__node--human b { color: var(--accent-strong); }

/* Feature / value cards */
.feature { display: flex; flex-direction: column; gap: 0.75rem; }
.feature__top { display: flex; align-items: center; gap: 12px; }

/* Capabilities */
.cap { gap: 0.75rem; justify-content: flex-start; }
.cap__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 0.5rem; }

/* --------------------------------------------------------------------------
   Pipeline / steps
   -------------------------------------------------------------------------- */
.steps-wrap { position: relative; }
.steps { position: relative; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); list-style: none; counter-reset: step; }
.steps__line { display: none; }
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: var(--r-lg);
  background: var(--slate-50);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.step:hover { box-shadow: var(--shadow-md); border-color: var(--accent-hover); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-soft) 60%, var(--accent-border));
  border: 1px solid var(--accent-border);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.step__text { font-size: 13px; line-height: 1.45; color: var(--text-body); }
.step__meta { margin-top: auto; padding-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--slate-500); }
.step__meta::before { content: "• "; }
.section--white .step { background: var(--slate-50); }
.section:not(.section--white) .step { background: #fff; }

/* Signal travelling along the pipeline line */
.steps__line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 80px; height: 6px;
  border-radius: 6px;
  background: radial-gradient(closest-side, rgba(0, 194, 255, 0.9), transparent);
  animation: signal 4.5s linear infinite;
}
@keyframes signal { from { left: -80px; } to { left: 100%; } }

/* --------------------------------------------------------------------------
   Metrics & benchmarks
   -------------------------------------------------------------------------- */
.stat { gap: 0.5rem; justify-content: flex-start; }
.stat__label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-500); }
.stat__line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stat__value { font-family: var(--font-display); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--slate-900); }
.stat__delta { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); }

.legend {
  display: inline-flex; align-items: center; gap: 1rem;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 12px;
}
.legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-800); font-weight: 600; }
.legend span + span { color: var(--slate-500); font-weight: 500; }
.legend i { width: 12px; height: 12px; border-radius: var(--r-sm); background: var(--primary-container); }
.legend span + span i { background: var(--slate-300); }

.panel {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.panel__head {
  display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.code-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--slate-100);
  border: 1px solid rgba(226, 232, 240, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}
.bench-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: minmax(0, 1fr); }
.bench { display: flex; flex-direction: column; gap: 8px; }
.bench__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.bench__score { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.bench__score span { color: var(--slate-400); font-weight: 400; }
.bench__bars { display: flex; flex-direction: column; gap: 6px; }
.bench__note { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--slate-500); }

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}
.compare { width: 100%; min-width: 720px; text-align: left; font-size: 13px; line-height: 20px; color: var(--text-body); }
.compare th {
  padding: 16px 24px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-600);
}
.compare th.is-ours { color: var(--primary); font-weight: 700; background: rgba(239, 246, 255, 0.7); border-inline: 1px solid #dbeafe; }
.compare td { padding: 16px 24px; color: var(--slate-500); vertical-align: top; }
.compare tbody tr { border-top: 1px solid var(--slate-100); transition: background 0.2s; }
.compare tbody tr:nth-child(even) { background: rgba(248, 250, 252, 0.4); }
.compare tbody tr:hover { background: rgba(248, 250, 252, 0.9); }
.compare th[scope="row"] {
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--slate-900);
}
.compare td.is-ours { background: rgba(239, 246, 255, 0.4); border-inline: 1px solid #dbeafe; color: var(--slate-900); font-weight: 500; }
.compare__ours { display: flex; align-items: center; gap: 8px; color: var(--accent-strong); font-weight: 700; }
.compare__ours .ms { font-size: 18px; }
.compare__note { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--slate-500); }

/* --------------------------------------------------------------------------
   Highlight banner & role cards
   -------------------------------------------------------------------------- */
.highlight {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: linear-gradient(90deg, #eff6ff, rgba(238, 242, 255, 0.6), #f0f9ff);
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.highlight__copy { display: flex; flex-direction: column; gap: 0.5rem; max-width: 42rem; }
.highlight__kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #4338ca; }
.highlight__title { font-size: 24px; line-height: 1.3; font-weight: 700; }
.highlight .body { color: var(--slate-700); }

.role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.role:hover { border-color: #93c5fd; box-shadow: var(--shadow-lg); }
.role__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.role__title { font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: 700; color: var(--slate-900); transition: color 0.2s; }
.role__meta { font-size: 13px; color: var(--slate-500); }
.role__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.role__tags .chip { color: var(--slate-600); border-color: transparent; }
.role > .ms { color: var(--slate-400); transition: color 0.2s, transform 0.2s; }
.role:hover .role__title, .role:hover > .ms { color: var(--primary-container); }
.role:hover > .ms { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: 88px;
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.09) 0%, transparent 70%);
}
.cta .net-canvas { opacity: 0.55; }
.cta__inner {
  position: relative; z-index: 1;
  max-width: 56rem;
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.cta__title { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding-top: 0.5rem; }
.cta__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; padding-top: 1rem; list-style: none; font-family: var(--font-mono); font-size: 12px; color: var(--slate-500); }
.cta__notes li::before { content: "• "; }

/* --------------------------------------------------------------------------
   Services page: detail rows
   -------------------------------------------------------------------------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.subnav__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  list-style: none;
  padding-block: 10px;
  scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-600);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.subnav__link:hover { background: var(--slate-100); color: var(--slate-900); }
.subnav__link.is-active { background: #eff6ff; color: var(--primary); }
.subnav__link span { color: var(--slate-400); }

[data-subnav-target] { scroll-margin-top: 52px; }

.detail { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.detail__copy { display: flex; flex-direction: column; gap: 1.25rem; }
.detail__head { display: flex; align-items: center; gap: 12px; }
.checklist { list-style: none; display: grid; gap: 0.625rem; grid-template-columns: minmax(0, 1fr); }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--slate-700); }
.checklist .ms { font-size: 18px; color: var(--accent, var(--primary-container)); margin-top: 3px; }
.detail__visual { position: relative; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
}
.form { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-body); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--slate-800); }
.field__label .req { color: var(--primary-container); margin-left: 2px; }
.field__hint { font-size: 12px; color: var(--slate-500); }
.input, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--slate-900);
  font-size: 15px;
  line-height: 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--slate-400); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(15, 23, 42, 0.24); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary-container); box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12); }
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #b91c1c; }
.field__error .ms { font-size: 16px; }
.field__counter { align-self: flex-end; font-family: var(--font-mono); font-size: 11px; color: var(--slate-400); }
.form__foot { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.form__legal { font-size: 12px; line-height: 18px; color: var(--slate-500); }
.form__legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

/* Honeypot: hidden from humans and assistive tech, visible to naive bots. */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.human-check[hidden] { display: none; }
.human-check__input { max-width: 8rem; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border: 1px solid;
  font-size: 14px;
  line-height: 22px;
}
.alert .ms { font-size: 22px; margin-top: 1px; }
.alert strong { display: block; font-family: var(--font-display); font-size: 15px; color: inherit; }
.alert--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.success-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.success-panel__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--emerald);
}
.success-panel__icon .ms { font-size: 30px; }

.careers-section { padding-block: 40px 72px; background: linear-gradient(to bottom, #fff, var(--bg) 60%); }
.careers-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.careers-intro { display: flex; flex-direction: column; gap: 1.25rem; }
.careers-perks { display: grid; gap: 0.75rem; list-style: none; }
.careers-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--slate-800); }
.careers-mail { color: var(--primary); font-weight: 600; }
.careers-mail:hover { text-decoration: underline; }
.careers-section .form-card { border-top: 3px solid var(--primary-container); }

.contact-section { padding-block: 28px 72px; }
.contact-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.contact-section .form-card { border-top: 3px solid var(--primary-container); }

.info-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.social-links { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.social-links__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.social-links__item {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--slate-700);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.social-links__item:hover { transform: translateY(-2px); border-color: #93c5fd; color: var(--primary); background: #eff6ff; }
.social-links__item .social-icon { fill: currentColor; }
.social-links__item--linkedin:hover { color: #0a66c2; border-color: #0a66c2; background: #eef5fb; }
.social-links__item--facebook:hover { color: #1877f2; border-color: #1877f2; background: #eef4ff; }
.social-links__item--instagram:hover { color: #e4405f; border-color: #e4405f; background: #fff0f3; }
.social-links__item--x:hover { color: #111; border-color: #111; background: #f4f4f5; }
.social-links__item--youtube:hover { color: #ff0000; border-color: #ff0000; background: #fff1f1; }
.social-links__item--tiktok:hover { color: #111; border-color: #111; background: #f4f4f5; }
.social-links__item--whatsapp:hover { color: #25d366; border-color: #25d366; background: #effaf3; }
.info-item { display: flex; gap: 12px; align-items: flex-start; }
.info-item a { color: var(--primary); font-weight: 600; }
.info-item a:hover { text-decoration: underline; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: #bfdbfe; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ms { color: var(--slate-400); transition: transform 0.25s var(--ease); }
.faq details[open] summary .ms { transform: rotate(45deg); color: var(--primary-container); }
.faq__answer { padding: 0 20px 20px; color: var(--text-body); line-height: 1.65; }

/* Prose (legal pages) */
.prose { max-width: 48rem; color: var(--text-body); line-height: 1.75; }
.prose h2 { font-size: 22px; line-height: 30px; margin: 2rem 0 0.75rem; }
.prose p, .prose ul { margin-bottom: 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose a { color: var(--primary); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(0, 102, 255, 0.14), transparent 70%), #070d1f;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--slate-300, #cbd5e1);
}
.site-footer .muted, .site-footer .body-sm { color: #94a3b8; }
.site-footer__inner { padding: 2rem var(--gutter) 1.25rem; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.footer-top {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; max-width: 22rem; }
.footer-brand__logo {
  align-self: flex-start;
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.footer-brand__logo img { display: block; height: 52px; width: auto; max-width: 100%; }
.footer-owner { font-size: 13px; line-height: 1.5; color: #e2e8f0; }
.site-footer .status-chip { background: rgba(255, 255, 255, 0.04); border-color: rgba(148, 163, 184, 0.18); box-shadow: none; }
.site-footer .status-chip__ok { color: #34d399; }
.site-footer .status-chip__tag { background: rgba(255, 255, 255, 0.06); border-color: rgba(148, 163, 184, 0.16); color: #94a3b8; }
.status-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 8px 14px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 12px;
}
.status-chip__ok { color: var(--emerald-700); font-weight: 600; }
.status-chip__tag { padding: 1px 8px; border-radius: var(--r-sm); background: var(--slate-100); border: 1px solid rgba(226, 232, 240, 0.7); color: var(--slate-500); }
.footer-min {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  padding-bottom: 1.75rem;
  text-align: center;
}
.footer-min .footer-brand__logo { align-self: center; padding: 4px 12px; }
.footer-min .footer-brand__logo img { height: 40px; }
.footer-min__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; }
.footer-min__nav a { font-size: 14px; font-weight: 500; color: #cbd5e1; transition: color 0.2s; }
.footer-min__nav a:hover { color: #fff; }
.footer-min__mail { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #7cc4ff; }
.footer-min__mail:hover { color: #fff; }
@media (min-width: 1024px) {
  .footer-min { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-min .footer-brand__logo { align-self: auto; }
}
.footer-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 2.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; }
.footer-col__heading { margin-bottom: 4px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.footer-col a { font-size: 13px; line-height: 20px; color: #94a3b8; transition: color 0.2s; }
.footer-col a:hover { color: #7cc4ff; }
.footer-badge { display: flex; align-items: center; gap: 6px; padding-block: 4px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #e2e8f0; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; font-size: 13px; }
.footer-bottom__links a { color: #cbd5e1; transition: color 0.2s; }
.footer-bottom__links a:hover { color: #7cc4ff; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { text-align: center; align-items: center; }
.not-found__code { font-family: var(--font-mono); font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }

/* --------------------------------------------------------------------------
   Reveal animations (only when JS is available)
   -------------------------------------------------------------------------- */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0s); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .hitl-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .hero__title { font-size: 54px; }
  .page-hero__title { font-size: 44px; }
  .h-section { font-size: 36px; }
  .stat__value { font-size: 36px; }
  .cta__title { font-size: 48px; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .field--full, .form__foot, .form > .alert { grid-column: 1 / -1; }
  .form__foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .form__foot .btn { flex-shrink: 0; }
  .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .section { padding-block: 80px; }
  .section--tight { padding-block: 56px; }
  .section > .container { gap: 2.5rem; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head--center { flex-direction: column; align-items: center; }
  .strip__inner { flex-direction: row; }
  .strip__lead { flex-shrink: 0; flex-wrap: nowrap; }
  .strip__items { justify-content: flex-end; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps__line {
    display: block;
    position: absolute;
    left: 0; right: 0;
    top: 37px;
    height: 2px;
    z-index: 0;
    background: linear-gradient(90deg, #93c5fd, #a5b4fc, #7dd3fc);
  }
  .panel { padding: 2.5rem; }
  .panel__head { flex-direction: row; align-items: center; }
  .bench-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; text-align: left; }
  .card--lg, .form-card { padding: 2rem; }
  .highlight { padding: 2.5rem; }
}

@media (min-width: 1024px) {
  .hero { padding: 16px 0 104px; }
  .hero__copy { align-self: start; margin-top: 28px; }
  .page-hero { padding: 64px 0 88px; }
  .page-hero--compact { padding: 40px 0 32px; }
  .page-hero--compact .page-hero__title { font-size: 46px; }
  .contact-section { padding-top: 32px; }
  .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .careers-section { padding-top: 56px; }
  .careers-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
  .careers-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero__copy { grid-column: span 7; }
  .hero__aside { grid-column: span 5; }
  .hero__title { font-size: 68px; line-height: 1.03; }
  .h-section { font-size: 42px; line-height: 1.12; }
  .page-hero__grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .page-hero__title { font-size: 52px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--1-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid--2-1 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento__wide { grid-column: span 2; }
  .bento__full { grid-column: 1 / -1; }
  .bento__full .card__body { flex-direction: row; align-items: center; gap: 2rem; }
  .bento__full .card__body > * { flex: 1 1 0; }
  .detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .detail--flip .detail__visual { order: -1; }
  .highlight { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .footer-grid--no-brand { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .mobile-menu { display: none; }
}

@media (min-width: 1280px) {
  .nav { margin-right: 1.25rem; }
  .nav__link { font-size: 14px; }
  .nav__list > li + li::before { padding-inline: 0.85rem; }
  .brand img { height: 58px; max-width: 280px; }
}

/* --------------------------------------------------------------------------
   Visual emphasis: hero visual, marquee, dark sections, banners
   -------------------------------------------------------------------------- */
.hero__lead { font-size: 18px; line-height: 1.7; }

.page-hero__aside { position: relative; isolation: isolate; }
.page-hero__aside::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 102, 255, 0.22), rgba(0, 194, 255, 0.08) 60%, transparent);
  filter: blur(24px);
}
.net-canvas--brain { opacity: 1; z-index: 2; }
.hero__brain { position: relative; height: 300px; }
.hero__brain::before {
  content: "";
  position: absolute;
  inset: 4% 6% 14% 22%;
  background: radial-gradient(closest-side, rgba(0, 140, 255, 0.28), rgba(0, 194, 255, 0.08) 65%, transparent);
  filter: blur(30px);
}
.hero__robot {
  position: absolute;
  top: 0; left: 50%;
  height: 100%; width: auto;
  max-width: none;
  aspect-ratio: 1;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
  filter: drop-shadow(0 24px 40px rgba(0, 60, 180, 0.16));
  user-select: none;
}
@media (min-width: 640px) {
  .hero__brain { height: 400px; }
}
/* Below desktop the robot becomes the hero background, text on top. */
@media (max-width: 1023px) {
  .hero > .container { z-index: auto; }
  .hero .net-canvas--brain { z-index: 1; opacity: 0.75; }
  .hero__grid { position: relative; }
  .hero__copy { position: relative; z-index: 2; }
  .hero__aside { position: absolute; inset: -12px -24px 0; z-index: 0; }
  .hero__brain { position: absolute; inset: 0; height: auto; }
  .hero__brain::before { inset: 0 10% 30% 10%; }
  .hero__brain::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(248, 250, 255, 0.7) 0%, rgba(248, 250, 255, 0.35) 55%, rgba(248, 250, 255, 0.05) 100%);
  }
  .hero__robot {
    top: 0;
    height: auto;
    width: min(125%, 620px);
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 82%);
    mask-image: linear-gradient(to bottom, #000 40%, transparent 82%);
  }
}
@media (min-width: 1024px) {
  .hero__brain { height: 470px; margin-top: -9px; }

  /* The whole hero fits in the first screen: height follows the viewport. */
  .hero--home {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    padding: 16px 0 28px;
  }
  .hero--home > .container { width: 100%; }
  .hero--home .hero__copy { align-self: center; margin-top: 0; }
  .hero--home .hero__title { font-size: clamp(44px, 8.4vh, 68px); }
  .hero--home .hero__brain { height: min(470px, calc(100vh - var(--header-h) - 60px)); margin-top: 0; }
}
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 20px;
  background: #fff;
  border-block: 1px solid rgba(226, 232, 240, 0.8);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; list-style: none; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--slate-600);
}
.marquee__list .ms { color: var(--primary-container); font-size: 20px; }
.marquee__list li + li::before {
  content: "";
  width: 5px; height: 5px;
  margin-right: 2rem;
  border-radius: 50%;
  background: var(--slate-300);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section-head .eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.section-head--center .eyebrow::before { display: none; }

/* Dark band — same palette as the telemetry console. */
.section--dark {
  overflow: hidden;
  border: 0;
  color: var(--slate-300);
  background:
    radial-gradient(ellipse 55% 70% at 10% 0%, rgba(0, 102, 255, 0.28), transparent 65%),
    radial-gradient(ellipse 50% 70% at 95% 100%, rgba(67, 69, 209, 0.3), transparent 65%),
    #0a0f1e;
}
.section--dark::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000, transparent);
}
.section--dark .net-canvas { opacity: 0.6; }
.section--dark > .container { position: relative; z-index: 1; }
.section--dark .h-section { color: #fff; }
.section--dark .section-head .body { color: var(--slate-400); }
.section--dark .eyebrow { color: #67e8f9; }
.section--dark .link-arrow { color: #7dd3fc; }
.section.section--dark .step {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.section.section--dark .step:hover { transform: translateY(-4px); border-color: var(--accent-hover); background: rgba(15, 23, 42, 0.8); }
.section--dark .step .h-sub { color: #fff; font-size: 17px; }
.section--dark .step__text { color: var(--slate-400); }
.section--dark .step__meta { color: var(--accent-hover); }
.section--dark .step__num {
  background: color-mix(in srgb, var(--accent) 22%, #0a0f1e);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 0 4px #0d1325, 0 0 22px -2px var(--accent);
}
.section--dark .steps__line { background: linear-gradient(90deg, rgba(147, 197, 253, 0.6), rgba(165, 180, 252, 0.6), rgba(125, 211, 252, 0.6)); }

/* Stat cards */
.stat {
  overflow: hidden;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 55%), #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent));
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

/* Comparison: emphasise our column */
.compare th.is-ours {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-container), var(--tertiary));
  border-inline-color: transparent;
}
.compare td.is-ours { background: rgba(239, 246, 255, 0.65); }

/* Highlight banner */
.highlight {
  position: relative;
  overflow: hidden;
  border: 0;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 120% at 100% 0%, rgba(0, 194, 255, 0.35), transparent 60%),
    linear-gradient(120deg, #0050cb, #0066ff 45%, #4345d1);
  box-shadow: 0 30px 60px -25px rgba(0, 80, 203, 0.55);
}
.highlight::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.highlight > * { position: relative; z-index: 1; }
.highlight__kicker { color: #bae6fd; }
.highlight__kicker .dot { --accent: #67e8f9 !important; }
.highlight__title { color: #fff; }
.highlight .body { color: rgba(239, 246, 255, 0.85); }
.highlight .btn--primary { background: #fff; color: var(--primary); border-color: #fff; box-shadow: 0 10px 20px -8px rgba(2, 6, 23, 0.4); }
.highlight .btn--primary:hover { background: #eff6ff; }

/* Closing CTA on a dark band */
.cta {
  border-top: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 102, 255, 0.35), transparent 65%),
    radial-gradient(ellipse 40% 60% at 90% 100%, rgba(67, 69, 209, 0.3), transparent 65%),
    #0a0f1e;
}
.cta::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent);
}
.cta .net-canvas { opacity: 0.7; }
.cta__title { color: #fff; }
.cta .lead { color: var(--slate-400); }
.cta .pill { --accent: #67e8f9; --accent-soft: rgba(103, 232, 249, 0.08); --accent-border: rgba(103, 232, 249, 0.3); }
.cta .btn--secondary { background: rgba(255, 255, 255, 0.06); border-color: rgba(148, 163, 184, 0.35); color: #fff; }
.cta .btn--secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #7dd3fc; color: #fff; }
.cta__notes { color: var(--slate-400); }

@media (min-width: 768px) {
  .cta { padding-block: 120px; }
}
/* Back-to-top button: centred, with a ring that fills as the page scrolls. */
.to-top {
  position: fixed;
  left: 50%; bottom: 20px;
  z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  color: var(--primary-container);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -8px rgba(0, 60, 180, 0.35), 0 0 0 1px rgba(0, 102, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s, box-shadow 0.25s, color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__track, .to-top__progress { fill: none; stroke-width: 3; }
.to-top__track { stroke: rgba(0, 102, 255, 0.12); }
.to-top__progress {
  stroke: var(--primary-container);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.12s linear;
}
.to-top .ms { position: relative; font-size: 22px; transition: transform 0.2s var(--ease); }
.to-top:hover { color: #fff; background: var(--primary-container); box-shadow: 0 14px 28px -8px rgba(0, 102, 255, 0.55); }
.to-top:hover .to-top__track { stroke: rgba(255, 255, 255, 0.25); }
.to-top:hover .to-top__progress { stroke: #fff; }
.to-top:hover .ms { transform: translateY(-2px); }
.to-top:focus-visible { outline: none; box-shadow: var(--focus-ring), 0 10px 24px -8px rgba(0, 60, 180, 0.35); }
body.menu-open .to-top, body.chat-open .to-top { opacity: 0; visibility: hidden; }

@media (min-width: 768px) {
  .to-top { bottom: 28px; }
}

/* Chat assistant */
.chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chatbot__fab {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2b8cff, var(--primary-container) 50%, #4f46e5);
  box-shadow: 0 14px 30px -10px rgba(0, 80, 220, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: chat-pop 0.6s var(--ease) 0.8s both;
}
.chatbot__fab::before, .chatbot__fab::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 102, 255, 0.45);
  animation: chat-ring 2.8s ease-out infinite;
  pointer-events: none;
}
.chatbot__fab::after { animation-delay: 1.4s; }
.chatbot__fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -10px rgba(0, 80, 220, 0.7); }
.chatbot__fab:focus-visible { outline: none; box-shadow: var(--focus-ring), 0 14px 30px -10px rgba(0, 80, 220, 0.6); }
.chatbot__fab-icon { display: inline-flex; animation: chat-wiggle 5s ease-in-out 2s infinite; }
.chatbot__fab-icon .ms { font-size: 28px; }
.chatbot.is-open .chatbot__fab, .chatbot.is-open .chatbot__teaser { display: none; }

.chatbot__teaser {
  position: relative;
  max-width: 220px;
  padding: 10px 34px 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  animation: chat-teaser 0.4s var(--ease) both;
  cursor: pointer;
}
.chatbot__teaser-close {
  position: absolute; top: 6px; right: 6px;
  display: inline-flex; padding: 2px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--slate-400);
  cursor: pointer;
}
.chatbot__teaser-close:hover { color: var(--slate-700); background: var(--slate-100); }

.chatbot__panel {
  display: flex; flex-direction: column;
  width: min(370px, calc(100vw - 40px));
  height: min(540px, calc(100vh - var(--header-h) - 40px));
  height: min(540px, calc(100dvh - var(--header-h) - 40px));
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 102, 255, 0.04);
  transform-origin: bottom right;
  animation: chat-open 0.28s var(--ease) both;
}
.chatbot__panel[hidden] { display: none; }
.chatbot__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, #2b8cff, var(--primary-container) 55%, #4f46e5);
}
.chatbot__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.chatbot__title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chatbot__title strong { font-family: var(--font-display); font-size: 15px; }
.chatbot__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.9; }
.chatbot__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.chatbot__status-dot.is-offline { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.3); }
.chatbot.is-offline .chatbot__head { background: linear-gradient(135deg, #475569, #334155); }
.chatbot__close { display: inline-flex; padding: 6px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.chatbot__close:hover { background: rgba(255, 255, 255, 0.18); }

.chatbot__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #f7f9ff; overscroll-behavior: contain; }
.chatbot__msg { max-width: 85%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: chat-msg 0.25s var(--ease) both; overflow-wrap: anywhere; }
.chatbot__msg--bot { align-self: flex-start; background: #fff; color: var(--slate-800); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chatbot__msg--admin { align-self: flex-start; background: #ecfdf5; color: var(--slate-800); border: 1px solid #a7f3d0; border-bottom-left-radius: 4px; }
.chatbot__msg--user { align-self: flex-end; color: #fff; background: var(--primary-container); border-bottom-right-radius: 4px; }
.chatbot__lead { display: flex; gap: 8px; padding: 12px 16px 16px; background: #fff; border-top: 1px solid var(--line); }
.chatbot__lead[hidden], .chatbot__form[hidden] { display: none !important; }
.chatbot__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chatbot__link {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
}
.chatbot__link:hover { background: var(--primary-container); border-color: var(--primary-container); color: #fff; }
.chatbot__typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chatbot__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); animation: chat-typing 1s ease-in-out infinite; }
.chatbot__typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.3s; }

.chatbot__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: #fff; }
.chatbot__quick:empty { display: none; }
.chatbot__chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: 600 13px var(--font-body);
  color: var(--slate-700);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chatbot__chip:hover { border-color: #93c5fd; color: var(--primary); background: #eff6ff; }
.chatbot__form { display: flex; gap: 8px; padding: 12px 16px 16px; background: #fff; }
.chatbot__input {
  flex: 1; min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  font-size: 14px;
}
.chatbot__input:focus { outline: none; border-color: var(--primary-container); box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12); }
.chatbot__send {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border: 0; border-radius: 50%;
  color: #fff; background: var(--primary-container);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.chatbot__send:hover { background: var(--primary); transform: scale(1.05); }
body.menu-open .chatbot { opacity: 0; visibility: hidden; }

@keyframes chat-pop { from { opacity: 0; transform: scale(0.4); } 70% { transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes chat-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes chat-wiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } 97% { transform: rotate(-6deg); } }
@keyframes chat-teaser { from { opacity: 0; transform: translateY(8px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes chat-open { from { opacity: 0; transform: translateY(12px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes chat-msg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes chat-typing { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }

@media (min-width: 768px) {
  .chatbot { right: 28px; bottom: 28px; }
}
@media (max-width: 479px) {
  .chatbot.is-open { left: 12px; right: 12px; bottom: 12px; }
  .chatbot__panel { width: 100%; height: min(560px, calc(100dvh - 24px)); }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot__fab, .chatbot__fab::before, .chatbot__fab::after, .chatbot__fab-icon,
  .chatbot__panel, .chatbot__msg, .chatbot__teaser, .chatbot__typing span { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .net-canvas:not([data-brain]) { display: none; }
}

@media print {
  .site-header, .mobile-menu, .net-canvas, .subnav, .cta, .site-footer, .to-top, .chatbot { display: none !important; }
  .site-main { padding-top: 0; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
