/* ==========================================================================
   Impaxive Solutions — design system
   Source of truth: website brief, section 2. Light, single-theme by design
   (white page background everywhere, per brief 2.2).
   Layout concept: calm white canvas, 1200px 12-col grid, burgundy used as ink
   rather than paint, line-art illustrations cropped at section edges.
   ========================================================================== */

:root {
  /* Colour (2.2) */
  --primary: #490c18;
  --primary-hover: #5e1121;
  --primary-pressed: #360812;
  --primary-tint-50: #fbf6f7;
  --primary-tint-100: #f5ebed;
  --primary-tint-200: #e9d3d7;
  --accent-gold: #b8925f;
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #ece7e8;
  --text-strong: #1c1416;
  --text: #3a3134;
  --text-muted: #6e6266;
  --success: #1f7a4d;
  --error: #b42318;
  --dark: #2a070e;
  --on-dark: #ffffff;
  --on-dark-muted: #d9c7cb;
  --whatsapp: #490c18; /* brand burgundy, owner decision: no WhatsApp green */
  --whatsapp-dark: #5e1121;

  /* Type (2.3) */
  --font:
    "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --fs-display: 36px;
  --fs-h1: 32px;
  --fs-h2: 26px;
  --fs-h3: 20px;
  --fs-h4: 17px;
  --fs-lead: 17px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-eyebrow: 13px;
  --fs-button: 15px;
  --measure: 720px;

  /* Spacing scale (2.5) */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;
  --s-96: 96px;
  --s-128: 128px;
  --section-y: 72px;
  --gutter: 20px;
  --container: 1400px;

  /* Shape & depth (2.5) */
  --r-card: 12px;
  --r-control: 10px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(28, 20, 22, 0.04), 0 8px 24px rgba(73, 12, 24, 0.06);
  --shadow-hover:
    0 1px 2px rgba(28, 20, 22, 0.04), 0 12px 32px rgba(73, 12, 24, 0.1);
  --focus: 0 0 0 3px var(--primary-tint-200);

  /* Motion (2.8) */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-reveal: 400ms;

  --header-h: 72px;
  color-scheme: light;
}

@media (min-width: 900px) {
  :root {
    --fs-display: 56px;
    --fs-h1: 44px;
    --fs-h2: 34px;
    --fs-h3: 22px;
    --fs-h4: 18px;
    --fs-lead: 19px;
    --section-y: 112px;
    --gutter: 24px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-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);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: var(--primary-tint-200);
  color: var(--text-strong);
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
}
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
.display,
.h1,
.h2,
.h3,
.h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
  text-wrap: balance;
}
.display {
  font-size: var(--fs-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1,
.h1 {
  font-size: var(--fs-h1);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
}
h4,
.h4 {
  font-size: var(--fs-h4);
  line-height: 1.4;
  font-weight: 500;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  max-width: var(--measure);
}
.small,
small {
  font-size: var(--fs-small);
  line-height: 1.5;
}
.muted {
  color: var(--text-muted);
}
.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.prose {
  max-width: var(--measure);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-control);
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 12px;
}

/* Placeholder marker for [[values]] the Impaxive team must supply (brief: keep visible). */
.ph {
  background: #fff6e5;
  color: #7a5418;
  border: 1px dashed var(--accent-gold);
  border-radius: 6px;
  padding: 0 0.35em;
  font-weight: 500;
  font-size: 0.92em;
  white-space: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.on-dark .ph,
.section--dark .ph,
.cta-band .ph {
  background: rgba(184, 146, 95, 0.16);
  color: #f1ddbf;
  border-color: rgba(241, 221, 191, 0.6);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
}
.section--tint {
  background: var(--primary-tint-50);
}
.section--dark {
  background: var(--dark);
  color: var(--on-dark-muted);
}
.section--dark h2,
.section--dark h3 {
  color: var(--on-dark);
}
.section-head {
  display: grid;
  gap: var(--s-12);
  max-width: 760px;
  margin-bottom: var(--s-48);
  position: relative;
}
.new-section-head {
  margin-bottom: 0px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--wide {
  max-width: none;
}
.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.section-kicker__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
}
.section-kicker__link .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease);
}
.section-kicker__link:hover {
  text-decoration: none;
}

.section-kicker__link:hover .icon {
  transform: translateX(3px);
}
@media (max-width: 520px) {
  .section-kicker {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

.section-head .lead {
  color: var(--text);
}
.section-foot {
  margin-top: var(--s-32);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
  align-items: center;
}
.stack > * + * {
  margin-top: var(--s-16);
}

/* Background illustrations (2.4): decorative, cropped by edges, never under text */
.illo {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.illo--tr {
  top: -80px;
  right: -120px;
  width: min(560px, 70vw);
}
.illo--bl {
  bottom: -120px;
  left: -140px;
  width: min(520px, 70vw);
}
.illo--br {
  bottom: -100px;
  right: -100px;
  width: min(440px, 60vw);
}
.section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Buttons & links (2.6) ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  --btn-border: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-control);
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font);
  font-size: var(--fs-button);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast);
}
.btn:hover {
  text-decoration: none;
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(3px);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn--primary:hover {
  --btn-bg: var(--primary-hover);
  --btn-border: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(73, 12, 24, 0.18);
}
.btn--primary:active {
  --btn-bg: var(--primary-pressed);
  --btn-border: var(--primary-pressed);
  transform: none;
  box-shadow: none;
}
.btn--secondary {
  --btn-bg: #fff;
  --btn-fg: var(--primary);
}
.btn--secondary:hover {
  --btn-bg: var(--primary-tint-50);
}
.btn--secondary:active {
  --btn-bg: var(--primary-tint-100);
}
.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--primary);
  --btn-border: #fff;
}
.btn--white:hover {
  --btn-bg: var(--primary-tint-50);
  transform: translateY(-1px);
}
.btn--outline-white {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.7);
}
.btn--outline-white:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-border: #fff;
}
.btn--white:focus-visible,
.btn--outline-white:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-12);
}

.link {
  color: var(--primary);
  font-weight: 500;
}
.link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--primary);
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease);
}
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-arrow:hover .icon,
a:hover .link-arrow .icon {
  transform: translateX(3px);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--primary-tint-100);
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.pill--outline {
  background: transparent;
  border: 1px solid var(--primary-tint-200);
}

/* ---------- Announcement bar & header ---------- */
.announce {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}
.announce .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding-block: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.announce a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announce strong {
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition:
    background var(--t-fast),
    border-color var(--t-fast),
    backdrop-filter var(--t-fast);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-24);
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  flex: none;
}
.footer-brand .brand-logo {
  height: 48px;
}
@media (max-width: 539px) {
  .brand-logo {
    height: 36px;
  }
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}
.brand-text {
  line-height: 1.1;
}

.nav-menu {
  display: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s-12);
}
.nav-actions .btn--primary {
  display: none;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-control);
  background: #fff;
  color: var(--text-strong);
  cursor: pointer;
}

@media (min-width: 1100px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
  }
  .nav-actions .btn--primary {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-tint-50);
}
.nav-link[aria-current="page"] {
  color: var(--primary);
  box-shadow: inset 0 -2px 0 var(--primary);
  border-radius: 0;
}
.mega-link[aria-current="page"] {
  background: var(--primary-tint-50);
}
.mega-link[aria-current="page"] strong {
  color: var(--primary);
}
.nav-link .chev {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease);
}
.nav-link[aria-expanded="true"] {
  color: var(--primary);
  background: var(--primary-tint-50);
}
.nav-link[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  width: max-content;
  max-width: min(760px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  padding: var(--s-16);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t-fast),
    transform var(--t-fast) var(--ease),
    visibility var(--t-fast);
}
.mega::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.nav-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 4px;
  list-style: none;
}
.mega-grid--3 {
  grid-template-columns: repeat(3, minmax(200px, 1fr));
}
.mega-link {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}
.mega-link:hover {
  background: var(--primary-tint-50);
  text-decoration: none;
}
.mega-link .icon-box {
  width: 40px;
  height: 40px;
}
.mega-link strong {
  display: block;
  color: var(--text-strong);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}
.mega-link span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-top: 2px;
}
.mega-link span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
#mega-services .mega-link {
  align-items: center;
}
#mega-services .mega-link > span {
  margin-top: 0;
}
.mega-foot {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding: 12px 12px 4px;
  font-size: 14px;
}

/* Mobile menu: full screen with accordions, CTAs pinned bottom */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
}
.mobile-menu__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px var(--gutter);
  border-top: 1px solid var(--border);
  background: #fff;
}
.m-acc {
  border-bottom: 1px solid var(--border);
}
.m-acc > button,
.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.m-link {
  border-bottom: 1px solid var(--border);
}
.m-link[aria-current="page"],
.m-acc > button[aria-current="page"] {
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}
.m-acc li a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}
.m-acc > button .chev {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--t-fast);
}
.m-acc > button[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}
.m-acc ul {
  list-style: none;
  padding-bottom: 12px;
}
.m-acc li a {
  display: block;
  padding: 10px 0 10px 4px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}
.m-acc li a span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Cards (2.6) ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast);
}
.card--link:hover,
.card--link:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint-200);
}
/* Whole-card click target via the heading link */
.card--link .stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card--link .stretched:focus-visible {
  outline: none;
}
.card--link:has(.stretched:focus-visible) {
  box-shadow: var(--focus);
  border-color: var(--primary);
}

.font-styles-new{
  color: var(--text);
  text-decoration: none;
}
.font-styles-new:hover{
  text-decoration: none;
}
.color-text.color-text{
  color: var(--primary);
}
.card h3 a {
  color: inherit;
}
.card h3 a:hover {
  text-decoration: none;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  background: var(--primary-tint-50);
  color: var(--primary);
  border: 1px solid var(--primary-tint-100);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  padding: var(--s-32);
}
.service-card p {
  color: var(--text);
}
.service-card .link-arrow {
  margin-top: auto;
  padding-top: var(--s-8);
}
.agent-fixes {
  display: grid;
  gap: var(--s-16);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent-fix {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: var(--s-24);
}
.agent-fix h3 {
  margin-top: 4px;
}
.agent-fix p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}
.agent-fix__result.agent-fix__result{
  color: var(--primary) ;
}
.new-agent-result-fix{
  background-color: var(--primary-tint-50);
  padding: 10px;
  border-radius: 10px;
}
.agent-fix__result strong {
  font-weight: 600;
}
.audit-check__head {
  margin-bottom: var(--s-24);
}
.audit-check__head .lead {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.audit-check__grid {
  display: grid;
  gap: var(--s-24);
  min-width: 0;
}
.audit-pick {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.audit-pick input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.audit-pick__icon {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.audit-pick__icon .icon {
  width: 18px;
  height: 18px;
}
.audit-pick__box {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--primary-tint-200);
  border-radius: 3px;
  background: #fff;
}
.audit-pick__box .icon {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
}
.audit-pick__body {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0;
}
.audit-pick__body strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-strong);
}
.audit-pick__body > span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}
.audit-pick__body .audit-pick__fix {
  display: none;
  color: var(--primary);
}
.audit-pick__fix b {
  font-weight: 600;
}
.audit-pick:hover {
  border-color: var(--primary-tint-200);
}
.audit-pick:has(input:checked) {
  border-color: var(--primary);
  
}
.audit-pick:has(input:checked) .audit-pick__box {
  border-color: var(--primary);
  background: var(--primary);
}
.audit-pick:has(input:checked) .audit-pick__box .icon {
  opacity: 1;
}
.audit-pick:has(input:checked) .audit-pick__fix {
  display: block;
}
.audit-pick:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.audit-check__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: var(--s-16);
  padding: 18px 22px;
  border-radius: var(--r-card);
  background: var(--primary);
  color: #fff;
}
.audit-check__count,
.audit-check__msg {
  margin: 0;
}
.audit-check__count {
  font-size: 13px;
  color: #f3e6e9;
}
.audit-check__msg {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
@media (max-width: 640px) {
  .audit-check__bar .btn {
    width: 100%;
  }
}
@media (min-width: 720px) {
  .audit-check__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .audit-check__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .agent-fixes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .agent-fixes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-24);
  }
}
.agent-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: 100%;
  min-width: 0;
  margin-top: var(--s-24);
  padding: var(--s-16) var(--s-24);
  background: var(--primary-tint-50);
  border-radius: var(--r-card);
}
.agent-note p {
  margin: 0;
  color: var(--text);
}
.agent-note strong {
  color: var(--text-strong);
  font-weight: 600;
}
.agent-note__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.agent-note__link:hover {
  color: var(--primary);
  text-decoration: none;
}
.agent-note__link .icon {
  width: 16px;
  height: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  padding: var(--s-32) var(--s-32) var(--s-24);
  flex: 1;
}
.product-card__body .link-arrow {
  margin-top: auto;
  padding-top: var(--s-8);
}
.product-card__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.product-card__shot {
  padding: var(--s-24);
  padding-top: 0px;
}
.product-card__shot .frame {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
  transform: translateY(1px);
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.case-card__thumb {
  aspect-ratio: 16 / 10;
  max-width: 100%;
  position: relative;
  background: var(--primary-tint-50);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.case-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  padding: var(--s-24) var(--s-24) var(--s-32);
  flex: 1;
}
.case-card__metric {
  display: grid;
  gap: 2px;
  padding-top: var(--s-16);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.case-card__metric b {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.case-card__metric span {
  font-size: var(--fs-small);
  color: var(--text-muted);
}
/* Phones: compact cards so lists scan in a screen or two */
@media (max-width: 640px) {
  .service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--s-16);
    row-gap: 4px;
    padding: var(--s-16) var(--s-20, 20px);
    align-items: start;
  }
  .service-card .icon-box {
    grid-row: span 2;
  }
  .service-card h3 {
    font-size: 17px;
  }
  .service-card p {
    font-size: 15px;
  }
  .service-card .link-arrow {
    display: none;
  }
  .product-card__shot {
    display: none;
  }
  .product-card__body {
    padding: var(--s-20, 20px);
    gap: var(--s-8);
  }
  /* .case-card__thumb {
    display: none;
  } */
  .case-card__body {
    padding: var(--s-20, 20px);
    gap: var(--s-8);
  }
  .grid:has(> .service-card),
  .grid:has(> .product-card),
  .grid:has(> .case-card) {
    gap: var(--s-12);
  }
}

.metric {
  display: grid;
  gap: 6px;
  align-content: start;
}
.metric b {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.metric b::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 14px;
  border-radius: 2px;
}
.metric span {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
}
.section--dark .metric b {
  color: var(--on-dark);
}
.section--dark .metric span {
  color: var(--on-dark-muted);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  padding: var(--s-32);
}
.testimonial__mark {
  width: 40px;
  height: 40px;
  color: var(--primary-tint-200);
}
.testimonial blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-strong);
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: var(--s-8);
}
.testimonial figcaption strong {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.3;
}
.testimonial figcaption span {
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.testimonial .logo-dot {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-tint-50);
  border: 1px dashed var(--primary-tint-200);
  flex: none;
}

/* ---------- Logo wall ---------- */
.logo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-12);
  list-style: none;
  align-items: center;
}
@media (min-width: 640px) {
  .logo-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .logo-row {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px 12px;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    opacity var(--t-fast),
    filter var(--t-fast);
}
.logo-slot:hover {
  filter: none;
  opacity: 1;
}
.logo-slot img {
  max-height: 40px;
  width: auto;
}
/* Text stand-in until real SVG logos are supplied */
.logo-slot--text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  border: 1px dashed var(--border);
  border-radius: 10px;
  line-height: 1.2;
}
.logo-strip {
  padding-block: var(--s-48);
  border-bottom: 1px solid var(--border);
  overflow-x: clip;
}
.logo-strip__label {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--s-24);
}
.logo-strip__note {
  text-align: center;
  margin-top: var(--s-16);
  font-size: 13px;
}

/* Homepage logo carousel: bordered cells, manual chevron navigation */
.logo-carousel {
  --logo-per-view: 2;
  --logo-line: var(--primary-tint-200);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 768px) {
  .logo-carousel {
    --logo-per-view: 3;
  }
}
@media (min-width: 900px) {
  .logo-carousel {
    --logo-per-view: 4;
  }
}
@media (min-width: 1100px) {
  .logo-carousel {
    --logo-per-view: 6;
  }
}
.logo-carousel__viewport {
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  container-type: inline-size;
  -webkit-overflow-scrolling: touch;
}
.logo-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.logo-strip .logo-carousel .logo-row {
  display: flex;
  grid-template-columns: none;
  gap: 0;
  width: max-content;
  min-width: 100%;
  align-items: stretch;
  border: none;
}
.logo-strip .logo-carousel .logo-slot {
  flex: 0 0 calc(100cqw / var(--logo-per-view));
  width: calc(100cqw / var(--logo-per-view));
  min-width: 0;
  height: 92px;
  min-height: 0;
  padding: 12px 14px;
  scroll-snap-align: start;
  filter: none;
  opacity: 1;
  background: #fff;
}
.logo-strip .logo-carousel .logo-slot:last-child {
  border-inline-end: 0;
}
.logo-strip .logo-carousel .logo-slot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 768px) {
  .logo-strip .logo-carousel .logo-slot {
    height: 108px;
    padding: 16px 18px;
  }
}
.logo-carousel__btn {
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-strong);
  cursor: pointer;
}
.logo-carousel__btn .icon {
  width: 22px;
  height: 22px;
}
.logo-carousel__btn--prev .icon {
  transform: rotate(90deg);
}
.logo-carousel__btn--next .icon {
  transform: rotate(-90deg);
}
.logo-carousel__btn:hover {
  color: var(--primary);
  background: var(--primary-tint-50);
}
.logo-carousel__btn:disabled {
  opacity: 0.28;
  cursor: default;
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .logo-carousel__viewport {
    scroll-behavior: auto;
  }
}

/* ---------- Browser frame & UI mock ---------- */
.frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 100%;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: #fcfafa;
}
.frame__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.frame__url {
  margin-left: 10px;
  height: 18px;
  flex: 1;
  max-width: 220px;
  border-radius: 6px;
  background: var(--primary-tint-50);
  border: 1px solid var(--border);
  font-size: 10px;
  line-height: 16px;
  padding: 0 8px;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.frame__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #fff;
}
.frame__label {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  font-size: 12px;
  white-space: nowrap;
  z-index: 2;
}

/* Abstract dashboard skeleton: stands in for [[screenshot]] without faking data */
.ui {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 22% 1fr;
}
.ui__side {
  background: #fcf9f9;
  border-right: 1px solid var(--border);
  padding: 12% 10%;
  display: grid;
  align-content: start;
  gap: 9px;
}
.ui__side i {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: var(--border);
}
.ui__side i:first-child {
  width: 60%;
  height: 8px;
  background: var(--primary);
  opacity: 0.8;
  margin-bottom: 8px;
}
.ui__side i.on {
  background: var(--primary-tint-200);
}
.ui__main {
  padding: 5% 5%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 6%;
  min-width: 0;
}
.ui__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ui__head i {
  display: block;
  height: 8px;
  width: 34%;
  border-radius: 4px;
  background: var(--text-strong);
  opacity: 0.75;
}
.ui__head b {
  display: block;
  height: 14px;
  width: 18%;
  border-radius: 4px;
  background: var(--primary);
}
.ui__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
}
.ui__kpis > div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9% 10%;
  display: grid;
  gap: 6px;
}
.ui__kpis i {
  display: block;
  height: 5px;
  width: 50%;
  border-radius: 3px;
  background: var(--border);
}
.ui__kpis b {
  display: block;
  height: 10px;
  width: 70%;
  border-radius: 3px;
  background: var(--primary-tint-200);
}
.ui__kpis > div:first-child b {
  background: var(--primary);
  opacity: 0.85;
}
.ui__chart {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4%;
  display: flex;
  align-items: flex-end;
  gap: 4%;
  min-height: 0;
}
.ui__chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--primary-tint-100);
}
.ui__chart span.hi {
  background: var(--primary-tint-200);
}
.ui__chart span.top {
  background: var(--accent-gold);
  opacity: 0.55;
}

.ui--list .ui__main {
  grid-template-rows: auto 1fr;
}
.ui__rows {
  display: grid;
  gap: 8px;
  align-content: start;
}
.ui__rows > div {
  display: grid;
  grid-template-columns: 14px 1fr 22% 16%;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.ui__rows u {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-tint-100);
}
.ui__rows i {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}
.ui__rows b {
  height: 12px;
  border-radius: 99px;
  background: var(--primary-tint-100);
}
.ui__rows b.ok {
  background: #dcefe5;
}
.ui__rows em {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

/* Hero composition */
.hero-visual {
  position: relative;
  padding: 0 0 150px 56px;
}
.hero-visual .frame__label {
  left: auto;
  right: 14px;
  bottom: auto;
  top: 14px;
  transform: none;
}
.chat {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(272px, 80%);
  z-index: 3;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
}
.chat__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  flex: none;
}
.chat__avatar .icon {
  width: 17px;
  height: 17px;
}
.chat__head strong {
  display: block;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
}
.chat__head span {
  font-size: 11px;
  opacity: 0.8;
}
.chat__body {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fbf8f6;
}
.bubble {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 12px;
  color: var(--text-strong);
}
.bubble--in {
  background: #fff;
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}
.bubble--out {
  justify-self: end;
  background: var(--primary-tint-100);
  border-top-right-radius: 4px;
}
.bubble time {
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}
.bubble--action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary-tint-200);
}
.bubble--action .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 72px;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-48);
  align-items: center;
}
.hero__copy {
  display: grid;
  gap: var(--s-24);
  min-width: 0;
}
.hero__copy .lead {
  color: var(--text);
}
.hero__trust {
  font-size: var(--fs-small);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.hero__trust .sep {
  color: var(--primary-tint-200);
}
.hero__illo {
  position: absolute;
  top: -40px;
  right: -160px;
  width: 760px;
  max-width: none;
  z-index: 0;
  pointer-events: none;
  animation: drift 26s ease-in-out infinite alternate;
}
@media (min-width: 1024px) {
  .hero {
    padding-block: 88px 112px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--s-64);
  }
}
@media (max-width: 1023px) {
  .hero__illo {
    width: 520px;
    top: auto;
    bottom: -120px;
    right: -220px;
  }
  .hero-visual {
    padding: 0 0 170px 0;
  }
  .chat {
    left: auto;
    right: 0;
  }
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-18px, 14px, 0) rotate(1.5deg);
  }
  100% {
    transform: translate3d(10px, -12px, 0) rotate(-1deg);
  }
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: var(--s-24);
}
.grid > * {
  min-width: 0;
}
@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .grid--3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
/* Homepage card rows: swipe sideways on small screens */
@media (max-width: 992px) {
  .grid.service-scroll {
    display: flex;
    align-items: stretch;
    gap: var(--s-16);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-block: 6px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .grid.service-scroll::-webkit-scrollbar {
    display: none;
  }
  .grid.service-scroll > * {
    flex: 0 0 min(78%, 300px);
    width: min(78%, 300px);
    min-width: min(78%, 300px);
    scroll-snap-align: start;
  }
}

/* Industries tiles */
.tiles {
  display: grid;
  gap: var(--s-12);
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
}
@media (min-width: 640px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.tile {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  padding: var(--s-24);
  height: 100%;
}
.tile h3 {
  font-size: 17px;
  line-height: 1.35;
}
.tile p {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-muted);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tiles > li:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-16);
  padding-bottom: var(--s-32);
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: 23.5px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--primary);
  opacity: 0.35;
}
.step:last-child::before {
  display: none;
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: 4px;
  padding-top: 10px;
}
.step p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s-24);
  }
  .new-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .step {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .step::before {
    left: 56px;
    right: -24px;
    top: 23.5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .step h3 {
    padding-top: 0;
  }
}

/* ---------- Why list ---------- */
.why {
  display: grid;
  gap: var(--s-32);
  list-style: none;
}
@media (min-width: 720px) {
  .why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-48) var(--s-48);
  }
}
.why li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-16);
  align-items: start;
}
.why h3 {
  margin-bottom: 6px;
}
.why p {
  color: var(--text);
}

/* ---------- FAQ accordion ---------- */
.faq {
  border-top: 1px solid var(--border);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  margin: 0;
  font-size: var(--fs-h4);
}
.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
  width: 100%;
  min-height: 64px;
  padding: var(--s-16) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--text-strong);
  font-size: inherit;
  font-weight: 600;
  line-height: 1.4;
}
.faq__btn:hover {
  color: var(--primary);
}
.faq__btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--primary-tint-200);
  color: var(--primary);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast) var(--ease);
}
.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__btn[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__btn[aria-expanded="true"] .faq__icon {
  background: var(--primary-tint-50);
}
.faq__a {
  padding: 0 48px var(--s-24) 0;
  color: var(--text);
  max-width: var(--measure);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: "/";
  color: var(--primary-tint-200);
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs [aria-current] {
  color: var(--text-strong);
}

/* ---------- Final CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #f3e6e9;
  padding-block: var(--section-y);
}
.cta-band h2 {
  color: #fff;
}
.cta-band .lead {
  color: #f3e6e9;
}
.cta-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-48);
  align-items: center;
}
.cta-band__copy {
  display: grid;
  gap: var(--s-24);
}
@media (min-width: 1024px) {
  .cta-band__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-96);
  }
}
.cta-band--center .container {
  position: relative;
  z-index: 1;
}
.cta-band__center {
  display: grid;
  justify-items: center;
  gap: var(--s-24);
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}
.cta-band__center > * {
  min-width: 0;
  max-width: 100%;
}
.cta-band--center .eyebrow {
  color: #f3e6e9;
}
.cta-band--center .btn-row {
  justify-content: center;
  width: 100%;
}
.cta-band__email {
  margin: 0;
  font-size: var(--fs-small);
  color: #f3e6e9;
}
.cta-band__email a {
  color: #fff;
}
.cta-band__email a:hover {
  color: #fff;
}
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: var(--fs-small);
  color: #e7d3d8;
}
.contact-lines a {
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: #fff;
  padding-top: 0;
  font-size: 15px;
}
.footer-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-24);
  align-items: center;
  margin: 0;
  padding: var(--s-48) 0 var(--s-32);
  text-align: center;
}
.footer-contacts__card {
  max-width: 100%;
  min-width: 0;
}
.footer-contacts__card:first-child {
  justify-self: start;
}
.footer-contacts__card:nth-child(2) {
  justify-self: center;
}
.footer-contacts__card:last-child {
  justify-self: end;
}
.footer-contacts a,
.footer-contacts__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.footer-contacts a:hover {
  text-decoration: none;
}
.footer-contacts a:hover .footer-contacts__value {
  color: var(--primary);
}
.footer-contacts__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--primary-tint-100);
  color: var(--primary);
}
.footer-contacts__icon .icon {
  width: 22px;
  height: 22px;
  margin: 0;
}
.footer-contacts__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-contacts__value {
  max-width: min(280px, 100%);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .footer-contacts {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--s-32);
    padding-block: var(--s-32);
  }
  .footer-contacts__card:first-child,
  .footer-contacts__card:nth-child(2),
  .footer-contacts__card:last-child {
    justify-self: center;
  }
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-48) var(--s-32);
  padding-bottom: var(--s-48);
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}
.footer-brand {
  display: grid;
  gap: var(--s-16);
  align-content: start;
  max-width: 380px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}
.site-footer h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: var(--s-16);
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 4px;
}
.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: var(--text);
  line-height: 1.45;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-links .sub {
  margin-top: var(--s-16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 0;
}
.footer-contact {
  display: grid;
  gap: var(--s-12);
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  margin-top: var(--s-16);
}
.footer-contact-desktop {
  flex-direction: column;
  justify-content: space-between;
}
.footer-contact a {
  color: var(--text);
}
.footer-contact a:hover {
  color: var(--primary);
}
.footer-contact div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}
.footer-contact .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 3px;
}
.footer-member {
  font-size: 13px;
  color: var(--text-muted);
}
.social {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--primary);
}
.social:hover {
  background: var(--primary-tint-50);
}
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--primary-tint-50);
  padding-block: 0;
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px 24px;
  padding-block: var(--s-16);
}
.footer-bottom p {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  justify-self: flex-end;
  text-align: center;
  overflow-wrap: break-word;
}
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}
.footer-bottom a.footer-linkedin {
  color: var(--text-strong);
}
.footer-linkedin:hover,
.footer-bottom a.footer-linkedin:hover {
  color: var(--primary);
  text-decoration: none;
}
.footer-linkedin__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.footer-linkedin .icon {
  width: 16px;
  height: 16px;
  margin: 0;
}
.footer-legal {
  justify-self: end;
  font-weight: 500;
  text-decoration: none;
}
.footer-legal:hover {
  text-decoration: none;
}
@media (max-width: 720px) {
  .footer-bottom .container {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .footer-linkedin,
  .footer-legal {
    justify-self: center;
  }
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
}
.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--primary);
}

/* ---------- Floating WhatsApp & consent ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow:
    0 0 0 2px #fff,
    0 10px 28px rgba(73, 12, 24, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.12);
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-fast),
    bottom var(--t-fast) var(--ease);
}
.wa-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  text-decoration: none;
}
.wa-float:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.wa-float .icon {
  width: 30px;
  height: 30px;
}
.wa-float__label {
  display: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
@media (min-width: 900px) {
  .wa-float {
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 0 22px 0 16px;
  }
  .wa-float__label {
    display: inline;
  }
  .wa-float::before {
    animation-iteration-count: 3;
  }
}

body.has-consent-bar .wa-float {
  bottom: calc(
    var(--consent-h, 96px) + 12px + env(safe-area-inset-bottom, 0px)
  );
}
body.menu-open .wa-float {
  display: none;
}

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(73, 12, 24, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.consent .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 14px;
  justify-content: space-between;
}
.consent p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 420px;
  color: var(--text);
}
@media (max-width: 639px) {
  .consent .container {
    padding-block: 10px;
    gap: 8px;
  }
  .consent p {
    font-size: 13px;
    flex-basis: 100%;
  }
  .consent .btn-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
.consent .btn-row {
  flex: none;
}

/* ---------- Reveal motion (2.8) ----------
   Only elements below the fold at load get .will-reveal; everything is visible at rest. */
.will-reveal {
  opacity: 0;
  transform: translateY(12px);
}
.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--t-reveal) ease-out,
    transform var(--t-reveal) ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}
.contact-lines span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-lines .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Design system page (internal, noindex) ---------- */
.ds-nav {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.ds-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: none;
}
.ds-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.ds-nav a:hover {
  background: var(--primary-tint-50);
  color: var(--primary);
  text-decoration: none;
}
.ds-section {
  padding-block: var(--s-64);
  border-bottom: 1px solid var(--border);
}
.ds-section > .container > h2 {
  margin-bottom: 8px;
}
.ds-section > .container > .ds-intro {
  color: var(--text-muted);
  max-width: var(--measure);
  margin-bottom: var(--s-32);
}
.ds-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.ds-block {
  display: grid;
  gap: var(--s-16);
  margin-bottom: var(--s-48);
}
.ds-block:last-child {
  margin-bottom: 0;
}
.swatches {
  display: grid;
  gap: var(--s-16);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  list-style: none;
}
.swatch {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
}
.swatch__chip {
  height: 88px;
  border-bottom: 1px solid var(--border);
}
.swatch__meta {
  padding: 12px 14px;
  display: grid;
  gap: 2px;
}
.swatch__meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--text-strong);
}
.swatch__meta span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}
.type-row {
  display: grid;
  gap: 8px 32px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
@media (min-width: 900px) {
  .type-row {
    grid-template-columns: 200px 1fr;
  }
}
.type-row:first-child {
  border-top: 1px solid var(--border);
}
.type-row__spec {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.type-row__spec strong {
  display: block;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
}
.spacing-scale {
  display: grid;
  gap: 10px;
  list-style: none;
}
.spacing-scale li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.spacing-scale i {
  display: block;
  height: 12px;
  background: var(--primary-tint-200);
  border-radius: 3px;
}
.shape-demo {
  display: grid;
  gap: var(--s-24);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.shape-demo > div {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 120px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.ds-demo {
  padding: var(--s-32);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ds-demo--tint {
  background: var(--primary-tint-50);
}
.ds-demo--dark {
  background: var(--dark);
  border-color: var(--dark);
}
.ds-demo--primary {
  background: var(--primary);
  border-color: var(--primary);
}
.ds-demo--col {
  flex-direction: column;
  align-items: stretch;
}
.ds-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: var(--measure);
}
.illo-grid {
  display: grid;
  gap: var(--s-16);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  list-style: none;
}
.illo-grid li {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
}
.illo-grid figure {
  margin: 0;
}
.illo-grid .illo-box {
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.illo-grid .illo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.illo-grid figcaption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.illo-grid figcaption strong {
  display: block;
  color: var(--text-strong);
  font-weight: 600;
}
.icon-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  list-style: none;
}
.icon-list li {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.icon-list .icon {
  color: var(--primary);
}
.mega-static {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  max-width: 100%;
  box-shadow: var(--shadow);
}
.mega-static .mega-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.ds-demo .consent,
.ds-demo .wa-float {
  position: static;
}
.ds-demo .wa-float .wa-float__label {
  display: inline;
}
.ds-demo .wa-float {
  width: auto;
  padding: 0 22px 0 16px;
}
.ds-demo .consent {
  box-shadow: none;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  width: 100%;
}
.state-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
  text-align: center;
}
.btn-states {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  width: 100%;
}
.btn-states > div {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.btn-states .state-label {
  text-align: left;
  margin: 0;
}
.is-hover.btn--primary {
  --btn-bg: var(--primary-hover);
  --btn-border: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(73, 12, 24, 0.18);
}
.is-pressed.btn--primary {
  --btn-bg: var(--primary-pressed);
  --btn-border: var(--primary-pressed);
}
.is-hover.btn--secondary {
  --btn-bg: var(--primary-tint-50);
}
.is-focus {
  box-shadow: var(--focus);
}
.input.is-focus {
  border-color: var(--primary);
}

/* ---------- Instant contact (replaces forms: WhatsApp-first) ---------- */
.reach {
  display: grid;
  gap: 12px;
  list-style: none;
}
.new-style li {
  width: 100%;
}
.reach__item {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(28, 20, 22, 0.04);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast);
}
.reach__item:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint-200);
}
.reach__item:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.reach__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-tint-50);
  color: var(--primary);
}
.reach__icon .icon {
  width: 26px;
  height: 26px;
}
.reach__item--wa .reach__icon {
  background: var(--whatsapp);
  color: #fff;
}
.reach__text {
  min-width: 0;
}
.reach__title {
  display: block;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.reach__sub {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 2px;
}
.reach-email {
  font-size: 14px;
  color: #e7d3d8;
}
.reach-email a {
  color: #fff;
}
.reach__item > .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.reach-note {
  font-size: 14px;
  color: #e7d3d8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn--wa {
  --btn-bg: var(--whatsapp);
  --btn-fg: #fff;
  --btn-border: var(--whatsapp);
}
.btn--wa:hover {
  --btn-bg: var(--whatsapp-dark);
  --btn-border: var(--whatsapp-dark);
  transform: translateY(-1px);
}
.btn--wa .icon {
  width: 20px;
  height: 20px;
}

/* Mobile header quick actions (call + WhatsApp next to the menu) */
.nav-quick {
  display: inline-flex;
  gap: 8px;
}
.nav-quick a {
  width: 44px;
  height: 44px;
  border-radius: var(--r-control);
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--primary);
}
.nav-quick a.is-wa {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}
.nav-quick .icon {
  width: 20px;
  height: 20px;
}
@media (min-width: 1100px) {
  .nav-quick {
    display: none;
  }
}
@media (max-width: 359px) {
  .nav-quick a:not(.is-wa) {
    display: none;
  }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 40px 64px;
}
.page-hero .breadcrumbs {
  margin-bottom: var(--s-32);
}
.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-48);
  align-items: center;
}
.page-hero__copy {
  display: grid;
  gap: var(--s-24);
  min-width: 0;
}
.page-hero__copy .lead {
  color: var(--text);
}
.page-hero__intro {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: var(--s-24);
  width: 100%;
  min-width: 0;
  text-align: center;
}
.page-hero__intro h1 {
  max-width: min(14em, 100%);
  min-width: 0;
  overflow-wrap: break-word;
}
.page-hero__intro p {
  max-width: min(36em, 100%);
  min-width: 0;
  overflow-wrap: break-word;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text);
}
.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-12);
  width: 100%;
}
.case-study-meta__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-16);
  max-width: 100%;
  padding: 10px 24px 10px 12px;
  border: 1px solid var(--primary-tint-200);
  border-radius: var(--r-pill);
  text-align: left;
}
.case-study-meta__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--primary-tint-100);
  color: var(--primary);
}
.case-study-meta__icon .icon {
  width: 24px;
  height: 24px;
}
.case-study-meta__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px var(--s-12);
}
.case-study-meta__label {
  color: var(--text-muted);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-study-meta__value {
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 539px) {
  .case-study-meta__item {
    width: 100%;
  }
  .case-study-meta__text {
    min-width: 0;
  }
  .case-study-meta__value {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 768px) {
  .case-study-meta__text {
    min-width: 0;
    flex-direction: column;
  }
}
.page-hero__intro .btn-row {
  justify-content: center;
}
.hero-facts {
  width: min(920px, 100%);
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--primary-tint-50);
  border-radius: 16px;
}
.hero-facts > div {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: var(--s-32) var(--s-16);
}
.hero-facts > div + div {
  border-left: 1px solid var(--border);
}
.hero-facts strong {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.hero-facts span {
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .hero-facts {
    grid-template-columns: 1fr;
  }
  .hero-facts > div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}
@media (min-width: 1024px) {
  .page-hero {
    padding-block: 48px 104px;
  }
  .page-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--s-64);
  }
}
.answer {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text);
  max-width: var(--measure);
  border-left: 2px solid var(--accent-gold);
  padding-left: 18px;
}

/* Agent flow visual (service hero) */
.flow-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  padding: 20px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.flow-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.flow-card__head strong {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flow-card__head strong .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.flow-step {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--primary-tint-50);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-strong);
}
.flow-step .icon {
  width: 18px;
  height: 18px;
}
.flow-step > span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--primary-tint-200);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.flow-step small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.flow-step em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e3f2ea;
  color: var(--success);
  white-space: nowrap;
}
.flow-step em.wait {
  background: #fff3dd;
  color: #8a5a12;
}
.flow-step--human {
  background: #fff;
  border: 1px dashed var(--primary-tint-200);
}

/* Chips (tech stack) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
}
.chip-group {
  display: grid;
  gap: 12px;
}
.chip-group h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Example list ("What we build") */
.examples {
  display: grid;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px) {
  .examples {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-48);
  }
}
.examples li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.examples .icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-top: 3px;
}
.examples h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.examples p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Plans / engagement cards */
.plan {
  padding: var(--s-32);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.plan__price {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
.plan ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.plan li .icon {
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 3px;
}
.plan--featured {
  border-color: var(--primary-tint-200);
  box-shadow: var(--shadow);
}

/* Related links */
.related {
  display: grid;
  gap: 12px;
  list-style: none;
}
@media (min-width: 720px) {
  .related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.related a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  color: var(--text);
  background: #fff;
}
.related a:hover {
  text-decoration: none;
  border-color: var(--primary-tint-200);
  box-shadow: var(--shadow);
}
.related small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.related strong {
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.4;
}

/* Proof strip (product pages) */
.proof-strip {
  border-block: 1px solid var(--border);
  background: #fff;
}
.proof-strip .container {
  display: grid;
  gap: var(--s-24);
  padding-block: var(--s-32);
  align-items: center;
}
@media (min-width: 1024px) {
  .proof-strip .container {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-48);
  }
}
.proof-strip blockquote {
  margin: 0;
  font-size: 16px;
  color: var(--text-strong);
}
.proof-strip .logo-slot {
  min-width: 160px;
}

/* Pain ("before") cards */
.pain {
  padding: var(--s-24);
  display: grid;
  gap: 12px;
  align-content: start;
}
.pain__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--error);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pain__tag .icon {
  width: 16px;
  height: 16px;
}
.pain p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-strong);
  font-weight: 500;
}

/* Workflow (6 steps, icons) */
.workflow {
  display: grid;
  gap: 0;
  list-style: none;
  position: relative;
}
.workflow li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  position: relative;
}
.workflow li::before {
  content: "";
  position: absolute;
  left: 25.5px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: var(--primary);
  opacity: 0.35;
}
.workflow li:last-child::before {
  display: none;
}
.workflow li:last-child {
  padding-bottom: 0;
}
.workflow__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.workflow__icon .icon {
  width: 22px;
  height: 22px;
}
.workflow strong {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.4;
  display: block;
}
.workflow small {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.workflow-caption {
  margin-top: var(--s-24);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.workflow-caption .icon {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
}
@media (min-width: 900px) {
  .workflow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
  .workflow li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-bottom: 0;
    align-items: start;
  }
  .workflow li::before {
    left: calc(50% + 34px);
    right: calc(-50% + 26px);
    top: 25.5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* Numbered workflow: filled steps, dotted connector */
.workflow--steps .workflow__icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.workflow--steps strong {
  font-weight: 400;
  font-size: 14px;
  color: var(--text);
}
.workflow--steps li::before {
  background: none;
  width: 0;
  border-left: 1px dashed var(--primary-tint-200);
  opacity: 1;
}
.workflow-caption--center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: var(--s-32);
}
.workflow-caption__box {
  width: 14px;
  height: 14px;
  flex: none;
  border: 1.5px solid var(--primary-tint-200);
  border-radius: 3px;
}
@media (min-width: 900px) {
  .workflow--steps li::before {
    border-left: 0;
    width: auto;
    height: 0;
    border-top: 1px dashed var(--primary-tint-200);
  }
}

/* You / auto tags on a numbered workflow */
.workflow--roles li > span:not(.workflow__icon) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.workflow--roles .workflow__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.workflow--roles .is-you .workflow__icon {
  background: #fff;
  color: var(--primary);
}
.workflow--roles .is-you .workflow__tag {
  background: var(--primary-tint-100);
  color: var(--primary);
}
.workflow--roles .is-auto .workflow__tag {
  background: var(--primary);
  color: #fff;
}
@media (min-width: 900px) {
  .workflow--roles li > span:not(.workflow__icon) {
    align-items: center;
  }
}


/* What we built */
.built .section-head {
  margin-bottom: var(--s-24);
}
.built .section-head .lead {
  max-width: 760px;
  color: var(--text-muted);
}
.built-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 var(--s-32);
  padding: 0;
}
.built-roles .pill {
  padding: 8px 16px;
  background: var(--primary-tint-50);
  border: 1px solid var(--primary-tint-100);
  color: var(--text);
}
.built-roles .pill .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.built-list {
  display: grid;
  gap: 28px 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.built-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
}
.built-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
}
.built-list__icon .icon {
  width: 18px;
  height: 18px;
}
.built-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.4;
}
.built-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
@media (min-width: 720px) {
  .built-list {
    grid-template-columns: 1fr 1fr;
  }
}
.built-flow {
  align-items: center;
}
.built-flow__step {
  display: grid;
  place-items: center;
  color: var(--text-muted);
}
.built-flow__step .icon {
  width: 16px;
  height: 16px;
}
.built-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--s-24) 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.built-note .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Feature rows */
.feature-rows {
  display: grid;
  gap: var(--s-64);
}
.feature-row {
  display: grid;
  gap: var(--s-32);
  align-items: center;
}
.feature-row > * {
  min-width: 0;
}
@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-64);
  }
  .feature-row:nth-child(even) .feature-row__media {
    order: -1;
  }
}
.feature-row__copy {
  display: grid;
  gap: var(--s-16);
}
.feature-row__copy h3 {
  font-size: var(--fs-h3);
}
.wiifm {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .wiifm {
    grid-template-columns: 1fr 1fr;
  }
}
.wiifm div {
  padding: 16px;
  border-radius: 10px;
  background: var(--primary-tint-50);
}
.wiifm div:last-child {
  background: #fff;
  border: 1px solid var(--primary-tint-200);
}
.wiifm small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.wiifm p {
  font-size: 15px;
  line-height: 1.6;
}
.more-features {
  display: grid;
  gap: var(--s-16);
  list-style: none;
}
@media (min-width: 720px) {
  .more-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .more-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.more-features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px;
}
.more-features .icon-box {
  width: 44px;
  height: 44px;
}
.more-features h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 2px;
}
.more-features p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--r-card);
  background: var(--primary-tint-50);
  border: 1px solid var(--primary-tint-100);
  color: var(--text-strong);
  font-weight: 500;
}
.callout .icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-top: 2px;
}

/* Before / after table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: #fff;
}
.ba-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 15px;
}
.ba-table th,
.ba-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.ba-table thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #fcfafa;
}
.ba-table thead th:last-child {
  color: var(--primary);
  background: var(--primary-tint-50);
}
.ba-table tbody th {
  font-weight: 600;
  color: var(--text-strong);
  width: 22%;
}
.ba-table td:last-child {
  background: var(--primary-tint-50);
  color: var(--text-strong);
}
.ba-table tr:last-child th,
.ba-table tr:last-child td {
  border-bottom: 0;
}
.ba-table--deal thead th:last-child {
  background: var(--primary);
  font-weight: 600;
}
.ba-table__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ba-table__label .icon {
  width: 16px;
  height: 16px;
}
.ba-table__label--deal.ba-table__label--deal{
  color: #fff;
}
.table-wrap--deal {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Security list */
.sec-list {
  display: grid;
  gap: var(--s-16);
  list-style: none;
}
@media (min-width: 720px) {
  .sec-list {
    grid-template-columns: 1fr 1fr;
  }
}
.sec-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}
.sec-list .icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-top: 2px;
}
.sec-list strong {
  display: block;
  color: var(--text-strong);
  font-weight: 600;
}
.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
@media (min-width: 640px) {
  .roles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.roles li {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.roles strong {
  display: block;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* About page */
.founder {
  display: grid;
  gap: var(--s-32);
  align-items: start;
}
@media (min-width: 900px) {
  .founder {
    grid-template-columns: 340px 1fr;
    gap: var(--s-64);
  }
}
.photo-ph {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--r-card);
  background: var(--primary-tint-50);
  border: 1px dashed var(--primary-tint-200);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.photo-ph--wide {
  aspect-ratio: 16 / 10;
}
.photo-ph--sq {
  aspect-ratio: 1;
}
.photo-ph .icon {
  width: 40px;
  height: 40px;
  color: var(--primary-tint-200);
}
.photo-ph > div {
  display: grid;
  gap: 10px;
  justify-items: center;
  font-size: 13px;
}
.founder__copy {
  display: grid;
  gap: var(--s-16);
}
.founder__copy .role {
  color: var(--primary);
  font-weight: 500;
}
.team {
  display: grid;
  gap: var(--s-24);
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .team {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.team li {
  display: grid;
  gap: 12px;
}
.team strong {
  display: block;
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.35;
}
.team span {
  font-size: 14px;
  color: var(--text-muted);
}
.values {
  display: grid;
  gap: var(--s-24);
  list-style: none;
  counter-reset: v;
}
@media (min-width: 720px) {
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.values li {
  padding: var(--s-32);
  display: grid;
  gap: 10px;
  align-content: start;
}
.values li::before {
  counter-increment: v;
  content: "0" counter(v);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}
.office {
  display: grid;
  gap: var(--s-32);
  align-items: center;
}
@media (min-width: 900px) {
  .office {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-64);
  }
}
.office address {
  font-style: normal;
  display: grid;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
}
.office address div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}
.office address .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 3px;
}
.story {
  display: grid;
  gap: var(--s-32);
}
@media (min-width: 900px) {
  .story {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--s-64);
  }
}
.story__body {
  display: grid;
  gap: var(--s-16);
  max-width: var(--measure);
}

/* ---------- Responsive refinements ---------- */
.btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding-block: 12px;
}
@media (max-width: 539px) {
  .hero .btn-row .btn,
  .page-hero .btn-row .btn,
  .cta-band .btn-row .btn {
    width: 100%;
  }
}
.announce a {
  display: inline-block;
  padding: 10px 4px;
  margin-block: -10px;
}
.mega-foot .link-arrow {
  padding-block: 8px;
}
.mega-static {
  width: auto;
}
@media (max-width: 899px) {
  .founder .photo-ph {
    max-width: 280px;
  }
}

/* ==========================================================================
   Interactive layer
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: var(--primary);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
.scroll-progress::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 100%;
  background: var(--accent-gold);
}

/* Cursor spotlight on cards (pointer devices only) */
@media (hover: hover) {
  .card {
    background-image: radial-gradient(
      420px circle at var(--mx, -999px) var(--my, -999px),
      rgba(73, 12, 24, 0.06),
      transparent 45%
    );
  }
}

/* Live hero network */
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.has-net .hero__illo {
  display: none;
}

/* Tilt */
[data-tilt] {
  transition: transform 0.25s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Chat demo */
.chat__body {
  min-height: 236px;
  align-content: start;
}
.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.chat__chip {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--primary-tint-200);
  background: #fff;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.chat__chip:hover {
  background: var(--primary-tint-50);
}
.chat__chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.chat__chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.bubble {
  animation: bubble-in 0.32s var(--ease) both;
}
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-top-left-radius: 4px;
  width: max-content;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
  animation: typing 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@media (max-width: 1023px) {
  .chat {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    margin: -64px 0 0 auto;
  }
  .hero-visual {
    padding-bottom: 0;
  }
}

/* Sequenced steps (process + workflow) */
.step__num,
.workflow__icon {
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.step.is-on .step__num,
.workflow li.is-on .workflow__icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 6px var(--primary-tint-100);
}
.step.is-on::before,
.workflow li.is-on::before {
  opacity: 1;
}
.step::before,
.workflow li::before {
  transition: opacity 0.4s;
}
.step {
  cursor: default;
}
.step:hover .step__num {
  box-shadow: 0 0 0 6px var(--primary-tint-100);
}

/* Solution finder */
.section--finder {
  background: linear-gradient(180deg, #fff 0%, var(--primary-tint-50) 100%);
}
.finder {
  display: grid;
  gap: var(--s-24);
  align-items: start;
}
@media (min-width: 1024px) {
  .finder {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--s-48);
  }
}
.finder__options {
  display: grid;
  gap: 10px;
}
.finder__opt {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-fast) var(--ease),
    background var(--t-fast);
}
.finder__opt .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--primary-tint-50);
  color: var(--primary);
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.finder__opt:hover {
  border-color: var(--primary-tint-200);
  transform: translateX(3px);
}
.finder__opt[aria-checked="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint-100);
}
.finder__opt[aria-checked="true"] .icon {
  background: var(--primary);
  color: #fff;
}
.finder__opt:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
@media (max-width: 1023px) {
  .finder__options {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .finder__opt {
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: start;
  }
}
.finder__result {
  padding: var(--s-32);
  display: grid;
  gap: var(--s-16);
  animation: bubble-in 0.35s var(--ease) both;
}
@media (min-width: 1024px) {
  .finder__panels {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  .finder__result {
    padding: var(--s-48);
  }
}
.finder__list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.finder__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
}
.finder__list .icon {
  width: 20px;
  height: 20px;
  color: var(--success);
  margin-top: 3px;
}

/* Agent run (service hero) */
.flow-step {
  transition:
    background 0.3s,
    opacity 0.3s;
  position: relative;
}
.flow-step[data-state="pending"] {
  opacity: 0.45;
}
.flow-step[data-state="pending"] em {
  visibility: hidden;
}
.flow-step[data-state="running"] em {
  background: var(--primary-tint-100);
  color: var(--primary);
}
.flow-step[data-state="running"] > span:first-child {
  animation: pulse-ring 1.2s infinite;
}
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(73, 12, 24, 0.25);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(73, 12, 24, 0);
  }
}
.flow-step[data-state="waiting"] {
  background: #fff8ec;
  border-color: var(--accent-gold);
}
.flow-step[data-state="waiting"] em {
  display: none;
}
.flow-approve {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  animation: bubble-in 0.3s both;
}
.flow-approve:hover {
  background: var(--primary-hover);
}
.flow-replay {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
}
.flow-replay:hover {
  background: var(--primary-tint-50);
}
.flow-replay .icon {
  width: 18px;
  height: 18px;
}

/* Estimator */
.calc {
  display: grid;
  gap: var(--s-24);
  align-items: stretch;
}
@media (min-width: 900px) {
  .calc {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}
.calc__inputs {
  padding: var(--s-32);
  display: grid;
  gap: var(--s-32);
}
.calc__field label {
  display: block;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 10px;
  line-height: 1.4;
}
.calc__row {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 16px;
  align-items: center;
}
.calc__row output {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  cursor: pointer;
  --pct: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    var(--primary) var(--pct),
    var(--primary-tint-100) var(--pct)
  );
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: var(--primary-tint-100);
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--primary);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(73, 12, 24, 0.25);
  transition: transform var(--t-fast);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}
input[type="range"]:focus-visible {
  outline: none;
}
input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px var(--primary-tint-200);
}
.calc__result {
  padding: var(--s-32);
  border-radius: var(--r-card);
  background: var(--dark);
  color: var(--on-dark-muted);
  display: grid;
  gap: var(--s-24);
  align-content: start;
}
.calc__result .metric b {
  color: #fff;
  font-size: 48px;
}
.calc__result .metric span {
  color: var(--on-dark-muted);
}
.calc__result .small {
  color: var(--on-dark-muted);
}
.bump {
  animation: bump 0.3s var(--ease);
}
@keyframes bump {
  50% {
    transform: scale(1.05);
  }
}

/* DealDesk demo */
.dd-demo {
  display: grid;
  gap: var(--s-24);
  align-items: start;
}
@media (min-width: 1024px) {
  .dd-demo {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}
.dd-demo__main {
  padding: var(--s-24);
  display: grid;
  gap: var(--s-16);
}
@media (min-width: 640px) {
  .dd-demo__main {
    padding: var(--s-32);
  }
}
.dd-deal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
.dd-deal h3 {
  margin-top: 8px;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--primary-tint-50);
  border: 1px solid var(--primary-tint-100);
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.seg button .icon {
  width: 16px;
  height: 16px;
}
.seg button[aria-checked="true"] {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(28, 20, 22, 0.12);
}
.dd-hint {
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fcfafa;
  border: 1px dashed var(--border);
}
.dd-investors {
  list-style: none;
  display: grid;
  gap: 8px;
}
.dd-investors li {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition:
    opacity 0.25s,
    background 0.25s;
}
.dd-investors li.is-hidden {
  opacity: 0.45;
  background: #fcfafa;
}
.dd-pick input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  margin: 0;
}
.dd-name strong {
  display: block;
  font-size: 15px;
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.3;
}
.dd-name small {
  font-size: 12.5px;
  color: var(--text-muted);
}
.dd-nda,
.dd-eoi {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--primary-tint-200);
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.dd-nda:hover:not(:disabled),
.dd-eoi:hover:not(:disabled) {
  background: var(--primary-tint-50);
}
.dd-nda[data-step="1"] {
  background: #fff3dd;
  border-color: #ebcb94;
  color: #8a5a12;
}
.dd-nda[data-step="2"] {
  background: var(--primary-tint-100);
}
.dd-nda[data-step="3"] {
  background: #e3f2ea;
  border-color: #bfe0cd;
  color: var(--success);
  cursor: default;
}
.dd-eoi:disabled,
.dd-nda:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.dd-eoi.is-done {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  opacity: 1;
  cursor: default;
}
@media (max-width: 559px) {
  .dd-investors li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .dd-name {
    flex: 1 1 calc(100% - 44px);
  }
  .dd-investors li > .dd-nda {
    margin-left: 38px;
  }
}
.dd-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.dd-stats b {
  color: var(--primary);
  font-size: 20px;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}
.dd-demo__log {
  padding: var(--s-24);
  display: grid;
  gap: 12px;
  align-content: start;
}
.dd-demo__log h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}
.dd-demo__log h3 .icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
}
.dd-log {
  list-style: none;
  display: grid;
  gap: 0;
  max-height: 360px;
  overflow-y: auto;
}
.dd-log li {
  display: grid;
  gap: 2px;
  padding: 10px 0 10px 16px;
  border-left: 2px solid var(--primary-tint-100);
  position: relative;
  font-size: 14px;
  color: var(--text-strong);
  animation: bubble-in 0.3s both;
}
.dd-log li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.dd-log time {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.dd-reset {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px 0;
  font-size: 14px;
  justify-self: start;
}

@media (prefers-reduced-motion: reduce) {
  [data-tilt] {
    transform: none !important;
  }
}

/* ==========================================================================
   Mobile-first interaction layouts: results appear where you tap
   ========================================================================== */
/* Finder: accordion on phones/tablets (panel opens under the tapped option) */
@media (max-width: 1023px) {
  .finder__options {
    display: grid;
    gap: 10px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    scroll-snap-type: none;
  }
  .finder__opt {
    flex: none;
  }
  .finder__opt[aria-checked="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
    background: var(--primary-tint-50);
  }
  .finder__options .finder__result {
    margin-top: -11px;
    border: 1px solid var(--primary);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    gap: 12px;
    box-shadow: var(--shadow);
  }
  .finder__options .finder__result .eyebrow {
    display: none;
  }
  .finder__options .finder__result h3 {
    font-size: 20px;
  }
  .finder__options .finder__result .btn-row .btn {
    width: 100%;
  }
  .finder__panels:empty {
    display: none;
  }
}

/* Estimator: live numbers pinned on top while sliders move */
.calc__nums {
  display: grid;
  gap: var(--s-24);
}
.calc__foot {
  display: grid;
  gap: var(--s-16);
}
.calc__foot--mobile {
  display: none;
}
@media (max-width: 899px) {
  .calc__result {
    order: -1;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px);
    z-index: 5;
    padding: 14px 18px;
    gap: 0;
    box-shadow: 0 12px 28px rgba(42, 7, 14, 0.28);
  }
  .calc__nums {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .calc__result .metric b {
    font-size: 30px;
  }
  .calc__result .metric b::after {
    display: none;
  }
  .calc__result .metric span {
    font-size: 12.5px;
  }
  .calc__result .calc__foot {
    display: none;
  }
  .calc__foot--mobile {
    display: grid;
    gap: 12px;
  }
  .calc__inputs {
    padding: var(--s-24);
    gap: var(--s-24);
  }
}

/* DealDesk demo: per-row status, instant toast, log on demand (phones) */
.dd-status {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--success);
  line-height: 1.4;
  margin-top: 2px;
}
.dd-status:empty {
  display: none;
}
.dd-status.flash {
  animation: flash 1s var(--ease);
}
@keyframes flash {
  0% {
    background: #fff3c4;
  }
  100% {
    background: transparent;
  }
}
.dd-log-toggle {
  display: none;
}
.dd-log-body {
  display: grid;
  gap: 12px;
}
.dd-toast {
  position: fixed;
  left: 16px;
  right: 88px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 96;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--text-strong);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: bubble-in 0.25s var(--ease) both;
}
.dd-toast .icon {
  width: 18px;
  height: 18px;
  color: #7dd3a8;
  flex: none;
}
@media (min-width: 1024px) {
  .dd-toast {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .dd-demo__main .dd-deal {
    order: 0;
  }
  .dd-hint {
    order: 1;
  }
  .dd-stats {
    order: 2;
    border-top: 0;
    padding-top: 0;
  }
  .dd-investors {
    order: 3;
  }
  .dd-stats {
    position: sticky;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    z-index: 4;
    background: #fff;
    padding-block: 10px;
    margin-inline: -4px;
    padding-inline: 4px;
    border-bottom: 1px solid var(--border);
  }
  .dd-log-title {
    display: none;
  }
  .dd-log-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--text-strong);
    cursor: pointer;
    text-align: left;
  }
  .dd-log-toggle .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
  }
  .dd-log-toggle .chev {
    margin-left: auto;
    color: var(--primary);
    transition: transform var(--t-fast);
  }
  .dd-log-toggle b {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    display: inline-grid;
    place-items: center;
  }
  .dd-demo__log.is-open .dd-log-toggle .chev {
    transform: rotate(180deg);
  }
  .dd-demo__log:not(.is-open) .dd-log-body {
    display: none;
  }
}

/* ---------- Workload check: task-type chips ---------- */
.calc__types {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.calc__types legend {
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 10px;
  padding: 0;
}
.calc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc__chips label {
  position: relative;
  cursor: pointer;
}
.calc__chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.calc__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  transition:
    background var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast);
}
.calc__chips label:hover span {
  border-color: var(--primary-tint-200, #e9d3d7);
}
.calc__chips input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.calc__chips input:focus-visible + span {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Products area (solutions hub, PestOpsuite, FieldFlow). Merge into styles.css. */

/* Workflow with 5 or 7 steps (base .workflow assumes 6 on desktop) */
@media (min-width: 900px) {
  .workflow--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .workflow--7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
  }
  .workflow--7 strong {
    font-size: 14px;
  }
}

/* Tick list (solutions hub product rows) */
.tick-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.tick-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-strong);
}
.tick-list .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 3px;
}

/* Hierarchy strip: Customer > Site > Zone > Area > Shift */
.hier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: var(--s-32);
}
.hier ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.hier__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}
.hier li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hier b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--primary-tint-200);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.hier li:not(:last-child)::after {
  content: "\2192";
  color: var(--accent-gold);
  font-weight: 600;
}

/* "The audit question" callout */
.audit-q {
  display: grid;
  gap: var(--s-16);
  padding: var(--s-32);
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--primary-tint-200);
  border-left: 3px solid var(--accent-gold);
  box-shadow: var(--shadow);
}
.audit-q blockquote {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-strong);
}
.audit-q p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
}
.audit-q .icon {
  width: 20px;
  height: 20px;
}

/* Solutions hub: "build something similar" strip */
.similar-strip {
  display: grid;
  gap: var(--s-24);
  align-items: center;
  padding: var(--s-32);
  border-radius: var(--r-card);
  background: var(--primary);
  color: #fff;
}
.similar-strip h2 {
  color: #fff;
  font-size: var(--fs-h3);
  line-height: 1.35;
}
.similar-strip p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 6px;
}
@media (min-width: 900px) {
  .similar-strip {
    grid-template-columns: 1fr auto;
    gap: var(--s-48);
    padding: var(--s-48);
  }
}

/* Case studies (hub filter, snapshot box, results band). Merge into styles.css. */
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cs-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-32);
}
.cs-filter .chip {
  cursor: pointer;
  font-family: inherit;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast);
}
.cs-filter .chip:hover {
  border-color: var(--primary-tint-200);
}
.cs-filter .chip[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.cs-filter .chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.cs-filter__count {
  flex-basis: 100%;
}
.cs-snap {
  padding: var(--s-24);
  display: grid;
  gap: var(--s-16);
}
.cs-snap dl {
  display: grid;
  gap: var(--s-16) var(--s-24);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: 0;
}
.cs-snap dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cs-snap dd {
  margin: 4px 0 0;
  color: var(--text-strong);
  font-weight: 500;
  line-height: 1.5;
}
/* Case study hero panel: outcome and services, no screenshots */
.cs-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--s-16);
  align-content: start;
  padding: var(--s-32);
  border-radius: var(--r-card);
  background: var(--primary) url("/assets/img/illo-network-dark.svg")
    right -80px bottom -80px / 340px no-repeat;
  color: var(--on-dark);
  box-shadow: var(--shadow);
}
.cs-panel__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.cs-panel__result {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
}
.cs-panel__services {
  list-style: none;
  margin: var(--s-8) 0 0;
  padding: var(--s-16) 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cs-panel__services li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
}
.cs-panel__services .icon {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  flex: none;
}
.cs-panel .ph {
  color: var(--text-strong);
}
.cs-visual {
  display: grid;
}
.cs-visual__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  background: var(--dark);
}
.cs-visual .cs-panel {
  position: relative;
  margin: -64px var(--s-24) 0;
  padding: var(--s-24);
}
.cs-results .metric b .ph {
  font-size: 18px;
  letter-spacing: 0;
}
.cs-results p {
  color: var(--on-dark-muted);
}
@media (min-width: 1024px) {
  .cs-featured .case-card h3 {
    font-size: var(--fs-h3);
  }
}

/* Insights hub + article template. To be merged into styles.css. Uses existing tokens only. */

/* Hub: category filter pills (buttons with aria-pressed; revealed by the inline script) */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-32);
}
.filter-pills button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--primary-tint-200);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.filter-pills button:hover {
  background: var(--primary-tint-50);
}
.filter-pills button[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.insights-list {
  padding-top: 0;
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  padding: var(--s-24);
  height: 100%;
}
.insight-card h3 {
  font-size: 19px;
  line-height: 1.35;
}
.insight-card p {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-muted);
}
.insight-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  margin-top: auto;
  padding-top: var(--s-8);
  font-size: 13px;
}
.insight-card__meta .icon,
.article-meta .icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
}
.insight-empty {
  padding: var(--s-24);
  max-width: var(--measure);
}

/* Article header */
.article-hero {
  padding-bottom: var(--s-48);
}
@media (min-width: 900px) {
  .article-hero {
    padding-bottom: var(--s-64);
  }
}
.article-hero__copy {
  display: grid;
  gap: var(--s-16);
  justify-items: start;
  max-width: 820px;
  position: relative;
}
.article-hero__copy .pill:hover {
  text-decoration: none;
  background: var(--primary-tint-200);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.key-answer {
  margin-top: var(--s-8);
  padding: 20px 24px;
  max-width: var(--measure);
  border-radius: var(--r-card);
  background: var(--primary-tint-50);
  border: 1px solid var(--primary-tint-100);
  border-left: 3px solid var(--primary);
  color: var(--text-strong);
}
.key-answer__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px !important;
}

/* Article layout: TOC + prose column */
.article-wrap {
  padding-block: var(--s-48) var(--s-64);
}
.article-layout {
  display: grid;
  gap: var(--s-32);
}
@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 240px minmax(0, var(--measure));
    gap: var(--s-64);
  }
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
}
.toc {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: #fff;
}
.toc__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.toc a {
  color: var(--text);
}
.toc a:hover {
  color: var(--primary);
}

.article-body {
  min-width: 0;
  max-width: var(--measure);
}
.article-sec + .article-sec,
.article-sec + .inline-cta,
.inline-cta + .article-sec {
  margin-top: var(--s-48);
}
.article-sec h2 {
  margin-bottom: var(--s-16);
}
.article-sec h3 {
  font-size: var(--fs-h4);
  margin: var(--s-24) 0 var(--s-8);
}
.article-sec p + p,
.article-sec p + ul,
.article-sec p + ol,
.article-sec ul + p,
.article-sec ol + p,
.article-sec p + .table-wrap,
.article-sec .table-wrap + p {
  margin-top: var(--s-16);
}
.article-sec ul:not(.checklist),
.article-sec ol {
  padding-left: 1.3em;
  display: grid;
  gap: 8px;
}
.article-sec li::marker {
  color: var(--primary);
}
.article-sec strong {
  color: var(--text-strong);
  font-weight: 600;
}
.article-sec .faq {
  margin-top: var(--s-8);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}
.checklist .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 4px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}
.article-table th,
.article-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.article-table thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--primary-tint-50);
}
.article-table tbody th {
  font-weight: 600;
  color: var(--text-strong);
  width: 22%;
}
.article-table tr:last-child th,
.article-table tr:last-child td {
  border-bottom: 0;
}

/* Mid-article WhatsApp prompt */
.inline-cta {
  display: grid;
  gap: var(--s-16);
  padding: var(--s-24);
  border-radius: var(--r-card);
  background: var(--primary-tint-50);
  border: 1px solid var(--primary-tint-200);
}
.inline-cta__title {
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 4px !important;
}
.inline-cta p {
  font-size: 15px;
}
.inline-cta .btn {
  justify-self: start;
}
@media (max-width: 599px) {
  .inline-cta .btn {
    justify-self: stretch;
  }
}

/* Author box */
.author-box {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s-16);
  align-items: start;
  margin-top: var(--s-48);
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: #fff;
}
@media (min-width: 600px) {
  .author-box {
    grid-template-columns: 112px 1fr;
    gap: var(--s-24);
  }
}
.author-box__photo {
  padding: 8px;
}
.author-box__photo .icon {
  width: 28px;
  height: 28px;
}
.author-box__copy {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.author-box__copy .link-arrow .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Home hero: fits the first screen; Ask / Action agent card ---------- */
.hero--home .display {
  font-size: clamp(34px, min(4.4vw, 6.6vh), 56px);
}
.hero--home .hero__copy {
  gap: clamp(14px, 2.6vh, 24px);
}
@media (min-width: 1024px) {
  .hero--home {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    padding-block: clamp(24px, 5vh, 64px);
  }
  .hero--home > .container {
    width: 100%;
  }
  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--s-48);
  }
  .hero--home .lead {
    font-size: clamp(16px, 2.3vh, 20px);
  }
}
@media (max-width: 1023px) {
  .hero--home {
    padding-block: 32px 48px;
  }
}
.agent {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
}
.agent__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
}
.agent__head strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}
.agent__head span span {
  font-size: 12px;
  opacity: 0.8;
}
.agent__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.agent__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--primary-tint-200);
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.agent__tab .icon {
  width: 16px;
  height: 16px;
}
.agent__tab:hover {
  background: var(--primary-tint-50);
}
.agent__tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.agent__tab:focus-visible,
.agent__next:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.agent__body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  background: #fbf8f6;
  min-height: clamp(220px, 30vh, 260px);
}
.agent__body .bubble {
  max-width: 90%;
}
.agent__body .bubble--action {
  font-size: 12.5px;
}
.agent__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 16px 8px 6px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}
.agent__next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
}
.agent__next .icon {
  width: 14px;
  height: 14px;
}
.agent__next:hover {
  background: var(--primary-tint-50);
}
@media (max-width: 1023px) {
  .agent {
    justify-self: stretch;
    max-width: 560px;
  }
}

/* Home FAQ spans the container like the other home sections */
.faq--wide {
  max-width: none;
}
.faq--wide .faq__a {
  max-width: none;
}

/* Home hero: dashboard frame behind the Ask / Action card */
.hero-visual--agent {
  position: relative;
  padding: 0;
}
.hero-visual--agent .agent {
  justify-self: auto;
}
@media (min-width: 1024px) {
  .hero-visual--agent {
    padding-top: clamp(28px, 6vh, 80px);
  }
  .hero-visual--agent .hero-visual__frame {
    position: absolute;
    top: 0;
    right: 0;
    width: 92%;
  }
  .hero-visual--agent .agent {
    width: min(370px, 70%);
    max-width: none;
  }
  .hero--home .agent__body {
    min-height: clamp(170px, 24vh, 240px);
    padding: 12px 14px;
    gap: 8px;
  }
  .hero--home .agent__tabs {
    padding: 8px 10px;
  }
  .hero--home .agent__tab {
    min-height: 38px;
  }
  .hero--home .agent {
    font-size: 13.5px;
  }
}
@media (max-width: 1023px) {
  .hero-visual--agent .hero-visual__frame {
    width: 88%;
    margin-left: auto;
  }
  .hero-visual--agent .agent {
    margin-top: -96px;
    max-width: 460px;
  }
}
@media (max-width: 992px) {
  .wa-float {
    display: none;
  }
}
@media (max-width: 992px) {
  /* .container .btn-row {
    display: none;
  } */
  /* Keep hero CTAs visible on mobile (About, Services, Solutions, Case Studies) */
  .page-hero .btn-row,
  .page-hero__intro .btn-row {
    display: flex;
  }
}
@media (max-width: 992px) {
  .button-content {
    display: none;
  }
}
.new-style {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
@media (min-width: 900px) {
  .new-style {
    display: flex;
    flex-direction: row;
    gap: 12px;
    list-style: none;
  }
}

/* ---------- AI agents page: dark hero, agent feed, 2-minute leak check, audit CTA ---------- */
.page-hero--dark {
  background: radial-gradient(
    120% 90% at 80% 0%,
    #4a0f1c 0%,
    var(--dark) 55%,
    #14040a 100%
  );
  color: var(--on-dark-muted);
}
.page-hero--dark h1 {
  color: #fff;
}
.page-hero--dark .eyebrow {
  color: var(--accent-gold);
}
.page-hero--dark .answer {
  color: var(--on-dark-muted);
}
.page-hero--dark .breadcrumbs ol,
.page-hero--dark .breadcrumbs a {
  color: var(--on-dark-muted);
}
.page-hero--dark .breadcrumbs [aria-current] {
  color: #fff;
}
.page-hero--dark .hero__illo {
  opacity: 0.5;
}
.audit-hero {
  padding-bottom: var(--s-96);
}

.agent-live {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 420px);
  border-radius: var(--r-card);
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.agent-live__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--primary-tint-50);
  border-bottom: 1px solid var(--border);
}
.agent-live__head strong {
  display: block;
  color: var(--text-strong);
  font-size: 16px;
}
.agent-live__head span span {
  font-size: 13px;
  color: var(--success, #2e7d4f);
}
.agent-live__avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary);
}
.agent-live__avatar .icon {
  width: 22px;
  height: 22px;
  color: #fff;
}
.agent-live__dot {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success, #2e7d4f);
  box-shadow: 0 0 0 0 rgba(46, 125, 79, 0.5);
  animation: agentPulse 2s infinite;
}
@keyframes agentPulse {
  70% {
    box-shadow: 0 0 0 10px rgba(46, 125, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 79, 0);
  }
}
.agent-live__feed {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  display: grid;
}
.agent-live__feed li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  animation: feedIn 0.5s ease forwards;
}
.agent-live__feed li:last-child {
  border-bottom: 0;
}
.agent-live__feed li:nth-child(1) {
  animation-delay: 0.2s;
}
.agent-live__feed li:nth-child(2) {
  animation-delay: 0.6s;
}
.agent-live__feed li:nth-child(3) {
  animation-delay: 1s;
}
.agent-live__feed li:nth-child(4) {
  animation-delay: 1.4s;
}
.agent-live__feed li:nth-child(5) {
  animation-delay: 1.8s;
}
@keyframes feedIn {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agent-live__feed li {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .agent-live__dot {
    animation: none;
  }
}
.agent-live__ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-tint-50);
}
.agent-live__ic .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.agent-live__feed b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.35;
}
.agent-live__feed small {
  font-size: 12.5px;
  color: var(--text-muted);
}
.agent-live__feed em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-tint-50);
  color: var(--primary);
  white-space: nowrap;
}
.agent-live__feed li.is-you em {
  background: var(--accent-gold);
  color: var(--dark);
}
.agent-live__feed li.is-you .agent-live__ic {
  background: var(--accent-gold);
}
.agent-live__feed li.is-you .agent-live__ic .icon {
  color: var(--dark);
}
.agent-live__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
}
.agent-live__foot span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
}

/* 2-minute check: score on top, swipe cards on phones, grid with side score on desktop */
.leak-check {
  display: grid;
  gap: var(--s-16);
  align-items: start;
}
.leak-score {
  display: grid;
  gap: var(--s-12);
  padding: var(--s-16) var(--s-20, 20px);
  border-radius: var(--r-card);
  background: var(--dark);
  color: var(--on-dark-muted);
  box-shadow: var(--shadow);
}
.leak-score__top {
  display: flex;
  align-items: center;
  gap: var(--s-16);
}
.leak-score__num {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: none;
  color: var(--on-dark-muted);
  font-size: 16px;
}
.leak-score__num b {
  font-size: 48px;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.leak-score__msg {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--on-dark);
}
.leak-score .btn--primary {
  --btn-bg: var(--accent-gold);
  --btn-border: var(--accent-gold);
  --btn-fg: var(--dark);
}
.leak-score__alt {
  font-size: 13px;
  color: var(--on-dark-muted);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.leak-score__alt:hover {
  color: #fff;
}

.leak-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter, 16px) * -1);
  padding: 4px var(--gutter, 16px) 12px;
  scroll-padding-inline: var(--gutter, 16px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.leak-grid::-webkit-scrollbar {
  display: none;
}
.leak {
  position: relative;
  flex: 0 0 84%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: start;
  gap: 6px 14px;
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.leak:hover {
  border-color: var(--primary-tint-200);
}
.leak input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.leak__box {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 7px;
  border: 2px solid var(--primary-tint-200);
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.leak__box .icon {
  width: 16px;
  height: 16px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}
.leak__num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary-tint-200);
}
.leak__body {
  display: grid;
  gap: 6px;
  padding-right: 24px;
}
.leak__body strong {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-strong);
  font-weight: 600;
}
.leak__when {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.leak__tap {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.leak__tap-off {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed var(--primary-tint-200);
}
.leak__tap-on {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}
.leak__tap-on .icon {
  width: 14px;
  height: 14px;
}
.leak__more {
  display: none;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--primary-tint-200);
}
.leak__cost {
  font-size: 14px;
  line-height: 1.5;
  color: var(--primary);
  font-weight: 500;
}
.leak__fix {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--primary-tint-50);
}
.leak__fix .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  margin-top: 2px;
}
.leak__fix b {
  color: var(--text-strong);
}
.leak:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(73, 12, 24, 0.12);
}
.leak:has(input:checked) .leak__box {
  background: var(--primary);
  border-color: var(--primary);
}
.leak:has(input:checked) .leak__box .icon {
  opacity: 1;
}
.leak:has(input:checked) .leak__more {
  display: grid;
}
.leak:has(input:checked) .leak__tap-off {
  display: none;
}
.leak:has(input:checked) .leak__tap-on {
  display: inline-flex;
}
.leak:has(input:focus-visible) {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.leak-swipe {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.leak-swipe .icon {
  width: 14px;
  height: 14px;
}
@media (min-width: 560px) {
  .leak {
    flex-basis: 60%;
  }
}
@media (min-width: 1024px) {
  .leak-check {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas: "grid score";
    gap: var(--s-24);
  }
  .leak-grid {
    grid-area: grid;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .leak {
    flex: none;
  }
  .leak-score {
    grid-area: score;
    position: sticky;
    top: 96px;
    padding: var(--s-24);
  }
  .leak-score__top {
    display: grid;
    gap: var(--s-8);
  }
  .leak-score__num b {
    font-size: 56px;
  }
  .leak-swipe {
    display: none;
  }
}

.audit-cta__box {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: var(--s-16);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.audit-cta .eyebrow {
  color: var(--accent-gold);
}
.audit-cta .lead {
  color: var(--on-dark-muted);
  margin: 0;
}
@media (max-width: 640px) {
  .tiles-compact {
    gap: var(--s-12);
  }
  .tiles-compact .tile {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--s-16);
    row-gap: 2px;
    padding: var(--s-16) 20px;
  }
  .tiles-compact .tile .icon-box {
    grid-row: span 2;
  }
}

/* ---------- Conversational AI & BI page ---------- */
.cbi {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  position: relative;
  z-index: 1;
}
.cbi__channels {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  justify-self: center;
}
.cbi__channels label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.cbi__channels input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cbi__channels .icon {
  width: 16px;
  height: 16px;
}
.cbi__channels label:has(input:checked) {
  background: var(--primary);
  color: #fff;
}
.cbi__channels label:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.cbi__card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  background: #fff;
  font-size: 14px;
}
.cbi__card .chat__body {
  min-height: 0;
}
.cbi__where {
  display: none;
}
.cbi:has(input[value="web"]:checked) .cbi__where[data-ch="web"],
.cbi:has(input[value="app"]:checked) .cbi__where[data-ch="app"],
.cbi:has(input[value="wa"]:checked) .cbi__where[data-ch="wa"] {
  display: inline;
}
.cbi__answer {
  display: grid;
  gap: 10px;
  max-width: 94%;
}
.cbi-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 110px;
  padding: 0 4px 18px;
  border-bottom: 1px solid var(--border);
}
.cbi-bars > span:not(.cbi-bars__target) {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.cbi-bars i {
  display: block;
  width: 100%;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: var(--primary);
  animation: cbiGrow 0.7s var(--ease) both;
}
.cbi-bars .is-low i {
  background: var(--accent-gold);
}
.cbi-bars b {
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.cbi-bars__target {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(18px + 92px * 0.7);
  border-top: 1.5px dashed var(--text-muted);
  z-index: 1;
}
.cbi-bars__target::after {
  content: "Target";
  position: absolute;
  left: 70%;
  transform: translateX(-50%);
  top: -15px;
  font-size: 10px;
  color: var(--text-muted);
}
@keyframes cbiGrow {
  from {
    height: 0;
  }
}
.cbi__file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--primary-tint-50);
  border: 1px solid var(--primary-tint-200);
  font-size: 12.5px;
  color: var(--text-strong);
  min-width: 0;
}
.cbi__file .icon {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex: none;
}
.cbi__file em {
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}
.cbi__src {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.cbi__src .icon {
  width: 13px;
  height: 13px;
}
@media (prefers-reduced-motion: reduce) {
  .cbi-bars i {
    animation: none;
  }
}

.cbi-where .card {
  padding: var(--s-24);
  display: grid;
  gap: 10px;
  align-content: start;
}
.cbi-where h3 {
  font-size: 18px;
}
.cbi-where p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.levels {
  list-style: none;
  display: grid;
  gap: var(--s-16);
  counter-reset: none;
}
@media (min-width: 720px) {
  .levels {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .levels {
    grid-template-columns: repeat(4, 1fr);
  }
}
.levels li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.levels__n {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.levels h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}
.levels h3 .icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.levels p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
.levels q {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--primary-tint-50);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-strong);
  quotes: "\201C" "\201D";
}
.levels .levels--bi {
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: var(--shadow-hover);
}
.levels--bi h3,
.levels--bi h3 .icon {
  color: #fff;
}
.levels--bi p {
  color: var(--on-dark-muted);
}
.levels--bi q {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ask {
  display: grid;
  gap: var(--s-16);
  max-width: 820px;
}
.ask__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.ask__tabs::-webkit-scrollbar {
  display: none;
}
.ask__tabs label {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--primary-tint-200);
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.ask__tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ask__tabs label:has(input:checked) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.ask__tabs label:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.ask__panel {
  display: none;
  gap: var(--s-16);
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--shadow);
  animation: bubble-in 0.3s var(--ease) both;
}
.ask:has(input[value="fin"]:checked) [data-team="fin"],
.ask:has(input[value="sales"]:checked) [data-team="sales"],
.ask:has(input[value="ops"]:checked) [data-team="ops"],
.ask:has(input[value="gov"]:checked) [data-team="gov"] {
  display: grid;
}
.ask__panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.ask__panel li {
  justify-self: start;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 12px 12px 4px 12px;
  background: var(--primary-tint-100);
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.5;
}
.ask__get {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: var(--s-16);
}
.ask__get .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: none;
  margin-top: 2px;
}
@media (min-width: 1024px) {
  .ask__tabs {
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* Wide closing card in a 3-column service grid with 5 items */
@media (min-width: 1024px) {
  .grid--3 > .service-card--wide:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }
}

/* Home: four services as two rows of two, "See all services" beside the heading */
.section-head--split {
  max-width: none;
}
.section-head--split > div {
  display: grid;
  gap: var(--s-12);
  max-width: 760px;
}
.section-head--split > .link-arrow {
  justify-self: start;
}
@media (min-width: 720px) {
  .section-head--split {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: var(--s-32);
  }
  .section-head--split > .link-arrow {
    padding-bottom: 6px;
  }
}
@media (min-width: 1024px) {
  .services-2x2 {
    gap: var(--s-24);
  }
  .services-2x2 .service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--s-24);
    row-gap: var(--s-8);
    align-content: start;
  }
  .services-2x2 .service-card .icon-box {
    grid-row: span 3;
  }
  .services-2x2 .service-card .link-arrow {
    margin-top: var(--s-8);
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .mobile-hide.mobile-hide {
    display: none;
  }
  .site-footer {
    padding-top: 0;
    margin-top: 0;
    border-top: 1px solid var(--border);
    background: #fff;
    background-color: #fff;
  }
  .mobile-footer-bg {
    background-color: #fff;
  }
  .site-footer .footer-bottom,
  .footer-bottom {
    border-top: 1px solid var(--border);
    box-shadow: none;
    background: var(--primary-tint-50);
  }
  .mobile-font {
    color: var(--text-muted);
    font-weight: 400;
  }
}

.second-icon-box{
  border : none;
  box-shadow: none;
  background: none;
  margin-bottom: 0px;
  height: 30px;
  width: 30px;
}
.third-icon-box{
  display: flex;
  align-items:center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  border : none;
  box-shadow: none;
  background: var(--primary);
  margin-bottom: 0px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  color: #fff;
}
.ba-table__head {
  background-color: var(--primary-tint-50);
}

/* ---------- Case studies listing (alternating feature rows) ---------- */
.cs-features {
  display: grid;
  gap: var(--s-32);
}
.cs-feature {
  display: grid;
  gap: var(--s-24);
  align-items: stretch;
  padding: var(--s-16);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.cs-feature > * {
  min-width: 0;
}
/* Mobile / default: image on top, content below */
.cs-feature__media {
  order: 1;
}
.cs-feature__body {
  order: 2;
}
@media (min-width: 900px) {
  .cs-features {
    gap: var(--s-48);
  }
  .cs-feature {
    /* Image capped; content column takes all remaining space */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-32);
    padding: var(--s-24);
  }
  /* Odd: image left, content right */
  .cs-feature:nth-child(odd) .cs-feature__media {
    order: 1;
  }
  .cs-feature:nth-child(odd) .cs-feature__body {
    order: 2;
  }
  /* Even: content left (remaining), image right */
  .cs-feature:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cs-feature:nth-child(even) .cs-feature__body {
    order: 1;
  }
  .cs-feature:nth-child(even) .cs-feature__media {
    order: 2;
  }
  .cs-feature__body {
    width: 100%;
  }
  .cs-feature__body h2,
  .cs-feature__body p {
    max-width: none;
  }
}
.cs-feature__media {
  position: relative;
  align-self: stretch;
  min-height: 55vh;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--primary-tint-100);
}
.cs-feature__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cs-feature__caption {
  /* Caption is included in the case-study artwork */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cs-feature__body {
  display: grid;
  gap: var(--s-16);
  justify-items: start;
  align-content: center;
}
.cs-feature__tags,
.cs-feature__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.cs-feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.cs-feature__tag .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.cs-feature__body h2 {
  margin: 0;
  width: 100%;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.28;
  color: var(--text-strong);
}
.cs-feature__body p {
  margin: 0;
  width: 100%;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.65;
}
.cs-feature__highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 10px;
  background: var(--primary-tint-100);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.cs-feature__highlight .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
.cs-feature__body .link-arrow {
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 899px) {
  .cs-feature {
    grid-template-columns: 1fr;
  }
  .cs-feature__media {
    order: 1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .cs-feature__body {
    order: 2;
  }
  .cs-feature__body h2 {
    max-width: none;
  }
}