/* Components. Components never set section backgrounds (see layout.css). */

/* ---------- Icons ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .fill { fill: currentColor; stroke: none; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cyan-100);
  color: var(--navy-700);
}
.icon-badge .icon { width: 22px; height: 22px; }
.theme-dark .icon-badge { background: rgba(77, 207, 255, 0.12); color: var(--cyan-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--cyan-500); color: var(--ink-950); }
.btn--primary:hover { background: var(--cyan-300); color: var(--ink-950); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--outline { border-color: var(--grey-300); color: var(--navy-900); background: #fff; }
.btn--outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--cyan-100); color: var(--navy-900); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--lg { min-height: 52px; padding: 0.85rem 1.5rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 639px) {
  .btn-row--stack-mobile { flex-direction: column; }
  .btn-row--stack-mobile .btn { width: 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-700);
}
.text-link .icon { transition: transform 0.2s var(--ease); width: 1.1em; height: 1.1em; }
.text-link:hover { color: var(--navy-900); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: var(--grey-100);
  color: var(--grey-700);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
}
.theme-dark .chip { background: rgba(255, 255, 255, 0.08); color: var(--on-dark); }
.chip--ai { background: var(--cyan-100); color: var(--navy-800); }

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--grey-200); box-shadow: 0 6px 24px -18px rgba(2, 11, 31, 0.4); }

.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.brand img { height: 42px; width: auto; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--navy-900);
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn__close { display: none; }

.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: var(--grey-700);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy-900); background: var(--grey-100); }
.nav-link[aria-current="page"] { color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--cyan-500); border-radius: 0; }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.primary-nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-item { position: relative; }

.mega__list { display: grid; gap: 0.25rem; }
.mega__link {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}
.mega__link > .icon { width: 20px; height: 20px; color: var(--navy-700); margin-top: 2px; }
.mega__link strong { display: block; font-size: 0.9375rem; color: var(--navy-900); }
.mega__link small { display: block; color: var(--grey-500); font-size: 0.8125rem; line-height: 1.4; }
.mega__link:hover { background: var(--grey-50); color: var(--text); }

@media (min-width: 1080px) {
  .mega {
    position: absolute;
    top: calc(100% + 10px);
    left: -0.5rem;
    width: 380px;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  }
  .mega--small { width: 320px; }
  .no-js .has-menu:hover .mega,
  .no-js .has-menu:focus-within .mega,
  .nav-trigger[aria-expanded="true"] + .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 1079px) {
  /* backdrop-filter would trap the fixed menu panel inside the header box */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .js .menu-btn { display: grid; }
  .js .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--gutter) var(--space-7);
    overflow-y: auto;
    border-top: 1px solid var(--grey-200);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s var(--ease), visibility 0.2s;
  }
  .js .site-header.is-open .primary-nav { visibility: visible; opacity: 1; }
  .js .site-header.is-open .menu-btn__open { display: none; }
  .js .site-header.is-open .menu-btn__close { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-item { border-bottom: 1px solid var(--grey-100); }
  .js .nav-link { width: 100%; justify-content: space-between; padding: 0.95rem 0.25rem; font-size: 1.0625rem; color: var(--navy-900); }
  .js .nav-link[aria-current="page"] { box-shadow: none; color: var(--cyan-700); }
  .js .mega { display: none; padding: 0 0 0.75rem; }
  .js .nav-trigger[aria-expanded="true"] + .mega { display: block; }
  .js .nav-cta { margin-top: var(--space-5); min-height: 52px; }
  .no-js .header-bar { flex-wrap: wrap; padding-block: 0.75rem; }
  .no-js .mega { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-8); } }
.hero h1 { max-width: 17ch; font-size: clamp(2.375rem, 1.7rem + 2.9vw, 3.75rem); }
.hero .lead { margin-top: var(--space-5); font-size: var(--step-1); }
.hero .btn-row { margin-top: var(--space-6); }
.hero__origin {
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
  margin-bottom: var(--space-5);
}

.proof-list {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem;
  max-width: 520px;
}
.proof-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--on-dark); }
.proof-list .icon { color: var(--cyan-300); width: 18px; height: 18px; }

/* Agent console: the signature element */
.console {
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, #0b1d3d 0%, #071330 100%);
  border: 1px solid rgba(148, 186, 230, 0.22);
  box-shadow: 0 40px 80px -40px rgba(0, 174, 239, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #cfe0f3;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148, 186, 230, 0.16);
  color: var(--on-dark-muted);
  font-size: 0.75rem;
}
.console__dots { display: flex; gap: 6px; margin-right: 0.5rem; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3c5e; }
.console__body { padding: 1rem 1.1rem 1.2rem; min-height: 340px; }
.console__line { display: flex; gap: 0.6rem; padding: 0.18rem 0; }
.console__line .p { color: var(--cyan-300); flex: none; }
.console__line .ok { color: #4ade80; flex: none; }
.console__line .dim { color: #8ea3bf; }
.console__line .str { color: #fbd38d; }
.console__gate {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.55rem 0;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px dashed rgba(77, 207, 255, 0.55);
  background: rgba(77, 207, 255, 0.07);
  color: #fff;
}
.console__gate .icon { color: var(--cyan-300); width: 18px; height: 18px; }
.console__gate .tag {
  margin-left: auto;
  padding: 0.05rem 0.5rem;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
  font-size: 0.75rem;
}
.console__caption { margin-top: var(--space-3); font-size: 0.8125rem; color: var(--on-dark-muted); text-align: right; }
.js .console.is-armed .console__step { opacity: 0; transform: translateY(4px); }
.js .console .console__step { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.js .console .console__step.is-shown { opacity: 1; transform: none; }
.console__cursor { display: inline-block; width: 8px; height: 1em; background: var(--cyan-300); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Tech strip ---------- */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding-block: var(--space-5);
  color: var(--grey-500);
  font-size: 0.9375rem;
}
.tech-strip strong { color: var(--navy-900); font-weight: 600; margin-right: 0.5rem; }
.tech-strip span { white-space: nowrap; font-weight: 500; color: var(--grey-700); }

/* ---------- Pillars (ruled columns, not cards) ---------- */
.pillars { display: grid; border-top: 1px solid var(--grey-200); }
.pillar { padding: var(--space-6) 0; border-bottom: 1px solid var(--grey-200); display: grid; gap: var(--space-3); align-content: start; }
.pillar h3 { font-size: var(--step-2); }
.pillar p { color: var(--grey-500); }
.pillar ul { display: grid; gap: 0.35rem; margin-top: var(--space-2); font-size: 0.9375rem; color: var(--grey-700); }
.pillar li { display: flex; gap: 0.5rem; align-items: center; }
.pillar li .icon { width: 16px; height: 16px; color: var(--cyan-700); }
.pillar .text-link { margin-top: var(--space-3); }
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { padding: var(--space-6) var(--space-5); border-left: 1px solid var(--grey-200); }
  .pillar:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1100px) {
  .pillars { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--grey-200); }
  .pillar { border-bottom: 0; padding: var(--space-6) var(--space-5) var(--space-6); }
  .pillar:nth-child(odd) { border-left: 1px solid var(--grey-200); padding-left: var(--space-5); }
  .pillar:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Lifecycle timeline with approval gates ---------- */
.lifecycle { display: grid; gap: 0; counter-reset: phase; }
.phase {
  position: relative;
  padding: var(--space-6);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.03);
}
.phase__num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--cyan-300); }
.phase h3 { margin-top: 0.35rem; }
.phase p { margin-top: var(--space-3); color: var(--on-dark-muted); }
.phase ul { margin-top: var(--space-4); display: grid; gap: 0.4rem; font-size: 0.9375rem; }
.phase li { display: flex; gap: 0.5rem; }
.phase li .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--cyan-300); }
.phase__tools { margin-top: var(--space-4); }

.gate {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0 0.9rem 1.4rem;
  margin-left: 1.4rem;
  border-left: 2px dashed rgba(77, 207, 255, 0.5);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}
.gate .icon { width: 22px; height: 22px; color: var(--cyan-300); }
.gate small { display: block; color: var(--on-dark-muted); font-weight: 400; font-size: 0.8125rem; }

@media (min-width: 1024px) {
  .lifecycle { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .gate {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 128px;
    margin: 0;
    padding: 0 0.75rem;
    border-left: 0;
    position: relative;
  }
  .gate::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 50%;
    border-top: 2px dashed rgba(77, 207, 255, 0.5);
    z-index: -1;
  }
  .gate > span { background: var(--ink-950); padding: 0.4rem 0.25rem; }
  .gate .icon { width: 28px; height: 28px; background: var(--ink-950); }
}
.lifecycle__end { margin-top: var(--space-5); display: flex; align-items: center; gap: 0.6rem; color: var(--on-dark-muted); font-size: 0.9375rem; }
.lifecycle__end .icon { color: var(--cyan-300); }

/* Light-background gate marker used in lists */
.gate-mark { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--navy-700); font-weight: 600; font-size: 0.875rem; }
.gate-mark .icon { width: 18px; height: 18px; color: var(--cyan-700); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: var(--space-4); }
.tile {
  padding: var(--space-6);
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--grey-500); font-size: 0.9375rem; }
.tile .chips { margin-top: auto; padding-top: var(--space-3); }
.tile--feature { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.tile--feature h3 { color: #fff; font-size: var(--step-2); }
.tile--feature p { color: var(--on-dark-muted); font-size: var(--step-0); }
.tile--feature .chip { background: rgba(255, 255, 255, 0.1); color: var(--on-dark); }
.tile--feature .icon-badge { background: rgba(77, 207, 255, 0.14); color: var(--cyan-300); }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--feature { grid-row: span 2; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento--4 { grid-template-columns: repeat(4, 1fr); }
  .bento--4 .tile--feature { grid-column: span 2; grid-row: span 2; }
  .tile--wide { grid-column: span 2; }
}

/* Extraction illustration inside the feature tile */
.extract { margin-top: var(--space-4); display: grid; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.8125rem; }
.extract__doc { padding: 0.8rem; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); display: grid; gap: 0.35rem; }
.extract__doc i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.extract__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.7rem; border-radius: 8px; background: rgba(77, 207, 255, 0.08); color: var(--on-dark); }
.extract__row span:first-child { color: var(--on-dark-muted); }

/* ---------- Tabs (tech matrix) ---------- */
.tabs__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: var(--space-6);
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: none;
  padding: 0.75rem 1rem;
  border: 0;
  background: none;
  color: var(--grey-500);
  font-weight: 600;
  font-size: 0.9375rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs__tab[aria-selected="true"] { color: var(--navy-900); border-bottom-color: var(--cyan-500); }
.tabs__tab:hover { color: var(--navy-900); }
.no-js .tabs__list { display: none; }
.no-js .tabs__panel + .tabs__panel { margin-top: var(--space-6); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3.panel-title { font-size: var(--step-1); margin-bottom: var(--space-4); }
.js .tabs__panel h3.panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tech-list { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .tech-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tech-list { grid-template-columns: repeat(3, 1fr); } }
.tech-item {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m);
  border: 1px solid var(--grey-200);
  background: #fff;
}
.tech-item strong { display: block; color: var(--navy-900); font-size: 1rem; }
.tech-item span { display: block; margin-top: 0.2rem; color: var(--grey-500); font-size: 0.875rem; line-height: 1.5; }

/* ---------- Case study cards ---------- */
.cases { display: grid; gap: var(--space-5); }
@media (min-width: 720px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cases--3 { grid-template-columns: repeat(3, 1fr); } }
.case {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-m);
  border: 1px solid var(--grey-200);
  background: #fff;
  overflow: hidden;
}
.case__head {
  padding: var(--space-5) var(--space-5) var(--space-6);
  background: var(--navy-900);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.case__head::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(77, 207, 255, 0.25);
  box-shadow: 0 0 0 28px rgba(77, 207, 255, 0.05), 0 0 0 56px rgba(77, 207, 255, 0.03);
}
.case__sector { font-size: 0.8125rem; color: var(--cyan-300); font-family: var(--font-mono); }
.case__head h2, .case__head h3 { color: #fff; margin-top: 0.35rem; font-size: var(--step-2); }
.case__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); flex: 1; }
.case__body p { color: var(--grey-500); font-size: 0.9375rem; }
.case__result {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-600);
  font-weight: 600;
  font-size: 0.9375rem;
}
.case__result .icon { width: 18px; height: 18px; margin-top: 2px; }
.case .chips { margin-top: auto; }
.case[hidden] { display: none; }

/* ---------- Metrics strip ---------- */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-4); }
@media (min-width: 840px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric { border-top: 2px solid var(--navy-900); padding-top: var(--space-4); }
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  font-feature-settings: "tnum";
}
.metric span { display: block; margin-top: 0.5rem; color: var(--grey-500); font-size: 0.9375rem; }
.theme-dark .metric { border-top-color: var(--cyan-300); }
.theme-dark .metric strong { color: #fff; }
.theme-dark .metric span { color: var(--on-dark-muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--grey-200);
}
.quote blockquote { font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--cyan-500); margin-bottom: 0.6rem; }
.quote figcaption { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--grey-200); font-size: 0.9375rem; }
.quote figcaption strong { display: block; color: var(--navy-900); }
.quote figcaption span { color: var(--grey-500); }

/* ---------- Industries ---------- */
.industries { display: grid; gap: 0; border-top: 1px solid var(--grey-200); }
@media (min-width: 720px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .industries { grid-template-columns: repeat(3, 1fr); } }
.industry { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); padding: var(--space-5) var(--space-4) var(--space-5) 0; border-bottom: 1px solid var(--grey-200); }
.industry h3 { font-size: var(--step-1); }
.industry p { margin-top: 0.3rem; color: var(--grey-500); font-size: 0.9375rem; }
.industry p em { font-style: normal; color: var(--navy-700); font-weight: 500; }

/* ---------- Product mini cards (home) ---------- */
.product-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .product-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .product-row { grid-template-columns: repeat(4, 1fr); } }
.product-mini {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-m);
  border: 1px solid var(--grey-200);
  background: #fff;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}
.product-mini:hover { border-color: var(--navy-700); color: var(--text); }
.product-mini h3 { font-size: var(--step-1); }
.product-mini p { color: var(--grey-500); font-size: 0.9375rem; }
.product-mini .chip { align-self: flex-start; margin-top: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); max-width: 20ch; }
.page-hero .lead { margin-top: var(--space-5); }
.page-hero .btn-row { margin-top: var(--space-6); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.875rem; color: var(--on-dark-muted); margin-bottom: var(--space-5); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }

/* ---------- Service rows ---------- */
.service-group + .service-group { margin-top: var(--space-9); }
.service-group__head { display: flex; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-5); padding-bottom: var(--space-4); border-bottom: 2px solid var(--navy-900); }
.service-group__head h2 { font-size: var(--step-3); }
.service-group__head p { color: var(--grey-500); margin-left: auto; max-width: 46ch; text-align: right; font-size: 0.9375rem; }
@media (max-width: 839px) { .service-group__head { flex-direction: column; gap: 0.5rem; } .service-group__head p { margin-left: 0; text-align: left; } }
.service {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--grey-200);
}
@media (min-width: 960px) { .service { grid-template-columns: 1.15fr 1fr; gap: var(--space-8); } }
.service__title { display: flex; gap: var(--space-4); align-items: flex-start; }
.service__title h3 { font-size: var(--step-3); }
.service__copy p { margin-top: var(--space-4); color: var(--grey-500); }
.service__copy .text-link { margin-top: var(--space-4); }
.service__panel { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5); border-radius: var(--radius-m); background: var(--grey-50); }
.service__panel h4 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; color: var(--grey-500); letter-spacing: 0; }

/* ---------- Check list ---------- */
.checklist { display: grid; gap: 0.55rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checklist .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--cyan-700); }
.theme-dark .checklist .icon { color: var(--cyan-300); }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 0.6rem var(--space-6); } }

/* ---------- Flow diagram ---------- */
.flow {
  display: grid;
  gap: 0;
  padding: var(--space-5);
  border-radius: var(--radius-l);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
}
.flow__node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-1);
}
.flow__node .icon { width: 20px; height: 20px; color: var(--navy-700); }
.flow__node strong { display: block; color: var(--navy-900); font-size: 0.9375rem; }
.flow__node small { display: block; color: var(--grey-500); font-size: 0.8125rem; line-height: 1.4; }
.flow__node--accent { background: var(--navy-900); border-color: var(--navy-900); }
.flow__node--accent strong { color: #fff; }
.flow__node--accent small { color: var(--on-dark-muted); }
.flow__node--accent .icon { color: var(--cyan-300); }
.flow__node--gate { border: 1px dashed var(--cyan-700); background: var(--cyan-100); box-shadow: none; }
.flow__node--gate .icon { color: var(--cyan-700); }
.flow__link { height: 22px; width: 2px; margin-left: 1.6rem; background: var(--grey-300); }
.flow__caption { margin-top: var(--space-3); font-size: 0.8125rem; color: var(--grey-500); }

/* Chat mock */
.chat { padding: var(--space-5); border-radius: var(--radius-l); background: var(--grey-50); border: 1px solid var(--grey-200); display: grid; gap: 0.75rem; font-size: 0.9375rem; }
.chat__msg { max-width: 85%; padding: 0.7rem 0.95rem; border-radius: 14px; background: #fff; border: 1px solid var(--grey-200); }
.chat__msg--user { justify-self: end; background: var(--navy-900); color: #fff; border-color: var(--navy-900); border-bottom-right-radius: 4px; }
.chat__msg--bot { border-bottom-left-radius: 4px; }
.chat__src { display: block; margin-top: 0.4rem; font-size: 0.8125rem; color: var(--cyan-700); }

/* ---------- Generic card ---------- */
.card {
  padding: var(--space-6);
  border-radius: var(--radius-m);
  border: 1px solid var(--grey-200);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card p { color: var(--grey-500); }
.card h3 { font-size: var(--step-1); }
.theme-dark .card { background: rgba(255, 255, 255, 0.03); border-color: var(--line-dark); }
.theme-dark .card p { color: var(--on-dark-muted); }
.card__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--cyan-700); }
.theme-dark .card__meta { color: var(--cyan-300); }
.card .checklist { font-size: 0.9375rem; margin-top: var(--space-2); }
.card .text-link { margin-top: auto; padding-top: var(--space-3); }

/* ---------- Steps (numbered sequences) ---------- */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 840px) { .steps--row { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.step { position: relative; padding-top: var(--space-5); border-top: 2px solid var(--grey-200); counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute;
  top: -15px; left: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}
.step h3 { font-size: var(--step-1); margin-top: var(--space-2); }
.step p { margin-top: 0.4rem; color: var(--grey-500); font-size: 0.9375rem; }
.theme-dark .step { border-top-color: var(--line-dark); }
.theme-dark .step::before { background: var(--cyan-500); color: var(--ink-950); }
.theme-dark .step p { color: var(--on-dark-muted); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: var(--radius-m); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.9375rem; }
.compare th, .compare td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey-200); }
.compare thead th { background: var(--grey-50); color: var(--navy-900); font-family: var(--font-display); font-size: 1rem; }
.compare tbody th { color: var(--navy-900); font-weight: 600; width: 18%; }
.compare td { color: var(--grey-700); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-featured { background: var(--cyan-100); }
.compare thead .is-featured { background: var(--navy-900); color: #fff; }

/* ---------- Roles ---------- */
.roles { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { padding: var(--space-5); border-radius: var(--radius-m); border: 1px solid var(--grey-200); background: #fff; display: grid; gap: var(--space-3); align-content: start; }
.role h3 { font-size: 1.0625rem; display: flex; gap: 0.6rem; align-items: center; }
.role h3 .icon { color: var(--navy-700); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--grey-200); }
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--cyan-700); transition: transform 0.2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding-bottom: var(--space-5); color: var(--grey-500); max-width: 72ch; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-6); }
.no-js .filters { display: none; }
.filter {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--grey-300);
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-700);
}
.filter[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------- Product blocks + browser frame mock ---------- */
.product {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--grey-200);
  align-items: center;
}
.product:first-child { padding-top: 0; }
@media (min-width: 1024px) {
  .product { grid-template-columns: 1fr 1.1fr; gap: var(--space-8); }
  .product:nth-child(even) .product__media { order: -1; }
}
.product__copy h2 { font-size: var(--step-4); }
.product__copy > p { margin-top: var(--space-4); color: var(--grey-500); font-size: var(--step-1); }
.product__cols { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 640px) { .product__cols { grid-template-columns: 1fr 1fr; } }
.product__cols h3 { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: var(--grey-500); margin-bottom: var(--space-3); letter-spacing: 0; }
.product__copy .btn-row { margin-top: var(--space-6); }

.frame { border-radius: var(--radius-m); border: 1px solid var(--grey-200); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.frame__bar { display: flex; gap: 6px; align-items: center; padding: 0.6rem 0.85rem; background: var(--grey-50); border-bottom: 1px solid var(--grey-200); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-300); }
.frame__bar span { margin-left: 0.75rem; font-size: 0.75rem; color: var(--grey-500); font-family: var(--font-mono); }
.mock { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; font-size: 0.75rem; }
.mock__side { background: var(--navy-900); padding: 0.85rem 0.7rem; display: grid; gap: 0.35rem; align-content: start; color: var(--on-dark-muted); }
.mock__side b { color: #fff; font-weight: 600; font-size: 0.8125rem; margin-bottom: 0.4rem; }
.mock__side span { padding: 0.3rem 0.45rem; border-radius: 5px; }
.mock__side span.on { background: rgba(77, 207, 255, 0.16); color: #fff; }
.mock__main { padding: 0.9rem; display: grid; gap: 0.7rem; align-content: start; background: var(--grey-50); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.mock__kpi { background: #fff; border: 1px solid var(--grey-200); border-radius: 8px; padding: 0.55rem 0.6rem; color: var(--grey-500); }
.mock__kpi b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); }
.mock__panel { background: #fff; border: 1px solid var(--grey-200); border-radius: 8px; padding: 0.7rem; display: grid; gap: 0.45rem; }
.mock__panel b { color: var(--navy-900); font-size: 0.8125rem; }
.mock__bar { height: 7px; border-radius: 4px; background: var(--grey-100); position: relative; overflow: hidden; }
.mock__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 60%); background: var(--cyan-500); border-radius: inherit; }
.mock__row { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--grey-700); }
.mock__ai { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.55rem 0.65rem; border-radius: 8px; background: var(--cyan-100); color: var(--navy-800); }
.mock__ai .icon { width: 16px; height: 16px; color: var(--cyan-700); }
@media (max-width: 479px) { .mock { grid-template-columns: 1fr; } .mock__side { display: none; } }
.frame__note { margin-top: var(--space-3); font-size: 0.8125rem; color: var(--grey-500); }

/* ---------- Timeline (about) ---------- */
.history { display: grid; gap: 0; border-left: 2px solid var(--grey-200); margin-left: 0.5rem; }
.history li { position: relative; padding: 0 0 var(--space-6) var(--space-6); }
.history li::before { content: ""; position: absolute; left: -7px; top: 0.45rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-900); }
.history li:last-child { padding-bottom: 0; }
.history li:last-child::before { background: var(--cyan-500); border-color: var(--cyan-500); }
.history time, .history .when { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--cyan-700); }
.history h3 { font-size: var(--step-1); margin-top: 0.2rem; }
.history p { margin-top: 0.35rem; color: var(--grey-500); }

/* ---------- Statement panels ---------- */
.statement { padding: var(--space-6); border-radius: var(--radius-l); background: var(--navy-900); color: var(--on-dark); }
.statement h3 { color: #fff; font-size: var(--step-1); }
.statement p { margin-top: var(--space-3); font-size: var(--step-1); line-height: 1.5; }
.statement--light { background: var(--cyan-100); color: var(--navy-900); }
.statement--light h3 { color: var(--navy-900); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-5); }
.form-step { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-4); min-width: 0; }
.form-step legend { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--navy-900); margin-bottom: var(--space-2); padding: 0; }
.js .form-step[hidden] { display: none; }
.form-progress { display: flex; gap: 0.4rem; }
.form-progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--grey-200); }
.form-progress span.is-done { background: var(--cyan-500); }
.no-js .form-progress, .no-js .form-nav [data-step-next], .no-js .form-nav [data-step-back] { display: none; }
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-weight: 600; font-size: 0.9375rem; color: var(--navy-900); }
.field .hint { font-size: 0.8125rem; color: var(--grey-500); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan-500); outline-offset: 0; border-color: var(--cyan-500); }
.field [aria-invalid="true"] { border-color: #c2410c; }
.field .error { color: #c2410c; font-size: 0.8125rem; }
.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choices { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-m);
  cursor: pointer;
  background: #fff;
}
.choice label .icon { width: 20px; height: 20px; color: var(--navy-700); margin-top: 2px; }
.choice label strong { display: block; color: var(--navy-900); }
.choice label small { display: block; color: var(--grey-500); font-size: 0.8125rem; line-height: 1.4; }
.choice input:checked + label { border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); background: var(--grey-50); }
.choice input:focus-visible + label { outline: 2px solid var(--cyan-500); outline-offset: 2px; }
.form-nav { display: flex; gap: var(--space-3); justify-content: space-between; flex-wrap: wrap; }
.form-nav .btn[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--space-4); border-radius: var(--radius-s); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--green-50); color: var(--green-600); }
.form-status--err { background: #fff4ed; color: #c2410c; }

/* ---------- Contact side ---------- */
.contact-card { padding: var(--space-6); border-radius: var(--radius-l); display: grid; gap: var(--space-5); align-content: start; }
.contact-line { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.contact-line h3 { font-size: 1rem; }
.contact-line p { color: var(--on-dark-muted); margin-top: 0.15rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__title { max-width: 22ch; }
.cta-band__grid { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
@media (min-width: 840px) { .cta-band__grid { grid-template-columns: 1fr 1fr; } }
.cta-band__option {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-6);
  border-radius: var(--radius-l);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}
.cta-band__option p { color: var(--on-dark-muted); margin-bottom: var(--space-3); max-width: 46ch; }
.cta-band__option .btn { margin-top: auto; }
.cta-band__direct { margin-top: var(--space-6); color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-8) var(--space-6); border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; gap: var(--space-7) var(--space-6); }
@media (min-width: 720px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.5fr repeat(3, 0.8fr) 1.4fr; } .footer-brand { grid-column: auto; } }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: var(--space-4); color: var(--on-dark-muted); font-size: 0.9375rem; max-width: 40ch; }
.footer-tagline { color: var(--cyan-300) !important; font-weight: 500; }
.footer-heading { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: var(--space-4); }
.footer-col ul { display: grid; gap: 0.6rem; font-size: 0.9375rem; }
.site-footer .footer-col a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer .footer-col a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; color: var(--on-dark-muted); }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: var(--on-dark-muted); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(2, 11, 31, 0.45);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.whatsapp-fab .icon { width: 24px; height: 24px; }
.whatsapp-fab:hover { color: #fff; transform: translateY(-2px); }
.js .whatsapp-fab { opacity: 0; pointer-events: none; transform: translateY(8px); }
.js .whatsapp-fab.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 960px) { .whatsapp-fab { width: 54px; height: 54px; right: 24px; bottom: 24px; } }

/* Heading that keeps document order but uses h3 sizing */
.h3-size { font-size: var(--step-2); letter-spacing: -0.015em; line-height: 1.25; }
