/* ============================================================
   LEVEL UP THE STACK — design tokens
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f8f6fc;
  --color-surface: #ffffff;
  --color-surface-2: #fdfcff;
  --color-surface-offset: #f1ecfa;
  --color-surface-offset-2: #e7defa;
  --color-border: #ddd2f0;
  --color-divider: #e8e0f7;

  /* Text */
  --color-text: #150c22;
  --color-text-muted: #5f5372;
  --color-text-faint: #9a8cb3;
  --color-text-inverse: #faf7ff;

  /* Primary accent — deep violet */
  --color-primary: #7c3aed;
  --color-primary-hover: #6d28d9;
  --color-primary-active: #5b21b6;
  --color-primary-highlight: #ede9fe;

  /* Amber — used only for a single "flagship" price badge */
  --color-amber: #b5720a;
  --color-amber-highlight: #f2e2c4;

  /* Success (checklists) */
  --color-success: #9333ea;

  /* Error / warning (rare) */
  --color-error: #a13a3a;

  --radius-sm: 0.4rem;
  --radius-md: 0.7rem;
  --radius-lg: 1.1rem;
  --radius-xl: 1.6rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 300 / 0.07);
  --shadow-md: 0 8px 24px oklch(0.2 0.03 300 / 0.10);
  --shadow-lg: 0 20px 48px oklch(0.2 0.03 300 / 0.17);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;

  --font-display: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;
  --font-body: 'Inter', -apple-system, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #09060f;
  --color-surface: #0f0a1a;
  --color-surface-2: #140e22;
  --color-surface-offset: #0c0815;
  --color-surface-offset-2: #1b1330;
  --color-border: #29203f;
  --color-divider: #1f1730;

  --color-text: #f3eefd;
  --color-text-muted: #a99bc7;
  --color-text-faint: #6a5c85;
  --color-text-inverse: #0a0712;

  --color-primary: #a78bfa;
  --color-primary-hover: #c4b5fd;
  --color-primary-active: #ddd6fe;
  --color-primary-highlight: #241a3d;

  --color-amber: #f2b544;
  --color-amber-highlight: #3a2e17;

  --color-success: #d8b4fe;
  --color-error: #e08a8a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.45);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 24px 56px oklch(0 0 0 / 0.65);
}

/* Site is light-only by design (no theme toggle). Intentionally NOT following
   prefers-color-scheme, so the brand renders identically for every visitor
   regardless of OS setting. */

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  border: 1px solid color-mix(in oklab, var(--color-primary) 35%, transparent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-block: var(--space-4) var(--space-3);
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.divider-line {
  height: 1px;
  background: var(--color-divider);
  border: none;
}

/* ============================================================
   Top contact bar
   ============================================================ */

.topbar {
  background: var(--color-text);
  color: var(--color-bg);
}
[data-theme='dark'] .topbar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  padding-block: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.01em;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
}
a.topbar-item:hover {
  opacity: 1;
  color: var(--color-primary-light, var(--color-primary));
}
.topbar-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .topbar-inner {
    gap: var(--space-1) var(--space-4);
  }
  .topbar-item svg {
    width: 12px;
    height: 12px;
  }
}

/* ============================================================
   Header
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), color-mix(in oklab, var(--color-primary) 45%, var(--color-amber)));
  transition: width 60ms linear;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.brand svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.nav-links a:hover {
  color: var(--color-text);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--color-text);
}
/* .nav-links a (0,1,1) otherwise outranks .btn-primary (0,1,0), which
   flattens any primary button nested in the nav (e.g. the mega-menu's
   "View Pricing" CTA) to the muted nav text color instead of white. */
.nav-links a.btn-primary {
  color: var(--color-text-inverse);
}
.nav-links a.active::after {
  width: 100%;
}

/* Logo mark — subtle draw/lift on hover */
.brand svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover svg {
  transform: translateY(-2px) rotate(-6deg) scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .brand:hover svg { transform: none; }
}

/* Shimmer text — animated gradient sweep on the hero highlight word */
.shimmer-text {
  background: linear-gradient(100deg, var(--color-primary) 20%, color-mix(in oklab, var(--color-primary) 40%, #ffb020) 40%, var(--color-primary) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-sweep 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .shimmer-text { animation: none; background-position: 0 0; }
}
@keyframes shimmer-sweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
}
.icon-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
}

/* ============================================================
   Services mega-menu
   ============================================================ */
.nav-item-mega {
  position: static;
}
.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-item-mega:hover .nav-mega-trigger,
.nav-item-mega:focus-within .nav-mega-trigger {
  color: var(--color-text);
}
.nav-mega-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item-mega:hover .nav-mega-chevron,
.nav-item-mega:focus-within .nav-mega-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translate(-50%, 6px);
  width: min(800px, 90vw);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Closing is instant (no transition) so that two adjacent mega-menus
     (e.g. Services and Industries) can never both be partially visible
     at once and overlap - both are centered on the same shared header
     ancestor, so any crossfade window would stack their content. Opening
     still animates smoothly via the :hover/:focus-within rule below. */
  transition: none;
  z-index: 60;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-item-mega:hover .mega-menu,
.nav-item-mega:focus-within .mega-menu,
.nav-item-mega.js-mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--space-6);
}
/* Industries has 21 items across 4 even columns (no feature panel), so it
   needs a wider box than the 3-col + feature Services layout. */
.mega-menu.mega-menu-wide {
  width: min(1000px, 94vw);
}
.mega-menu-wide .mega-menu-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mega-menu-footnote {
  grid-column: 1 / -1;
  margin: var(--space-2) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-size: 13px;
  color: var(--color-text-muted);
}
.mega-menu-footnote a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.mega-menu-footnote a:hover {
  text-decoration: underline;
}
.mega-col {
  min-width: 0;
}
.mega-col-title {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.mega-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: none;
}
.mega-link {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-2);
  margin-inline: calc(var(--space-2) * -1);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  min-width: 0;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
/* .nav-links a sets white-space: nowrap (specificity 0,1,1) for top-level nav
   labels; .mega-link is an <a> nested inside .nav-links in the DOM, so it
   inherits that nowrap and its industry/service names render as one unbroken
   line that overflows the 167px column into the next column, producing
   garbled overlapping text. ".mega-menu .mega-link" (0,2,0) outranks
   ".nav-links a" (0,1,1) so this reliably wins and lets labels wrap. */
.mega-menu .mega-link {
  white-space: normal;
}
.mega-link-icon + span {
  min-width: 0;
  overflow-wrap: break-word;
}
.mega-link:hover,
.mega-link:focus-visible {
  background: var(--color-primary-highlight);
  border-left-color: var(--color-primary);
  transform: translateX(2px);
}
.mega-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.mega-link:hover .mega-link-icon,
.mega-link:focus-visible .mega-link-icon {
  background: var(--color-primary);
  color: #fff;
}
.mega-link:hover strong,
.mega-link:focus-visible strong {
  color: var(--color-primary);
}
.mega-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.mega-link-icon svg {
  width: 16px;
  height: 16px;
}
.mega-link strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.15s ease;
}
.mega-link small {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
  line-height: 1.4;
}
.mega-feature {
  background: linear-gradient(160deg, var(--color-primary-highlight), var(--color-surface-offset));
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mega-feature-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}
.mega-feature h4 {
  font-size: var(--text-base);
  line-height: 1.3;
}
.mega-feature p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.mega-feature .btn {
  margin-top: auto;
  /* Column is ~135px wide - the default .btn horizontal padding (24px a
     side) leaves too little room for the label, so it's tightened here.
     white-space stays "normal" as a guard against any future longer
     label wrapping instead of clipping. */
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  white-space: normal;
  text-align: center;
}
@media (max-width: 960px) {
  .mega-menu {
    width: min(640px, 92vw);
  }
  .mega-menu.mega-menu-wide {
    width: min(640px, 92vw);
  }
  .mega-menu-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: var(--space-6);
  }
  .mega-menu-wide .mega-menu-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .mega-feature {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .mega-menu {
    display: none !important;
  }
  .nav-mega-trigger {
    justify-content: space-between;
    width: 100%;
  }
  .nav-mega-chevron {
    cursor: pointer;
    padding: 10px;
    margin: -10px;
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  }
  .nav-item-mega.mobile-mega-open .nav-mega-chevron {
    transform: rotate(180deg) !important;
    background: var(--color-primary-highlight);
    color: var(--color-primary);
  }
  .nav-item-mega.mobile-mega-open .mega-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: none;
    border-radius: var(--radius-md);
    background: var(--color-surface-offset);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-2);
  }
  .nav-item-mega.mobile-mega-open .mega-menu-inner {
    display: flex !important;
    flex-direction: column;
    gap: var(--space-5);
  }
  .nav-item-mega.mobile-mega-open .mega-col-title {
    margin-bottom: var(--space-2);
  }
  .nav-item-mega.mobile-mega-open .mega-link {
    padding: var(--space-2) 0;
    margin-inline: 0;
  }
  .nav-item-mega.mobile-mega-open .mega-link-icon {
    width: 26px;
    height: 26px;
  }
  .nav-item-mega.mobile-mega-open .mega-link-icon svg {
    width: 13px;
    height: 13px;
  }
  .nav-item-mega.mobile-mega-open .mega-feature {
    margin-top: var(--space-2);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 20px color-mix(in oklab, var(--color-primary) 45%, transparent);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  z-index: 1;
}
.btn-primary:hover::before {
  left: 130%;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px color-mix(in oklab, var(--color-primary) 55%, transparent);
}
.btn-primary:active {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { transition: none; display: none; }
}
.btn-ghost {
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-surface);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.btn-block {
  width: 100%;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-block-start: clamp(var(--space-16), 10vw, var(--space-24));
  padding-block-end: clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 1.5px 1.5px, color-mix(in oklab, var(--color-text) 12%, transparent) 1.5px, transparent 0);
  background-size: 26px 26px;
  background-position: -13px -13px;
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

/* Cursor-follow glow — desktop only, tracks the pointer inside the hero */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(320px circle at var(--glow-x, 50%) var(--glow-y, 30%), color-mix(in oklab, var(--color-primary) 20%, transparent), transparent 70%);
}
.hero-glow.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .hero-glow { display: none; }
}
[data-theme='light'] .hero {
  background-image:
    radial-gradient(circle at 1.5px 1.5px, color-mix(in oklab, var(--color-text) 8%, transparent) 1.5px, transparent 0);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(ellipse at top, color-mix(in oklab, var(--color-primary) 16%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-block: var(--space-5) var(--space-6);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-copy p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.cta-microcopy {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.cta-microcopy-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-primary) 20%, transparent);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-microcopy-dot { animation: none; }
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.hero-stat span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Terminal mockup */
.terminal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}
.terminal-title {
  margin-left: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.terminal-body {
  padding: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  min-height: 300px;
}

.terminal-line {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  opacity: 0;
  transform: translateY(4px);
  animation: term-in 0.4s ease forwards;
}
.terminal-line .prompt {
  color: var(--color-primary);
  flex-shrink: 0;
}
.terminal-line .out {
  color: var(--color-text-muted);
}
.terminal-line .ok {
  color: var(--color-success);
}
.cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--color-primary);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes term-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ============================================================
   USA banner
   ============================================================ */

.usa-banner {
  background: var(--color-primary);
  padding-block: var(--space-6);
}
.usa-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.usa-banner-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.usa-banner-badge svg {
  width: 24px;
  height: 24px;
  color: var(--color-text-inverse);
}
.usa-banner-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  color: var(--color-text-inverse);
}
.usa-banner-text strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}
.usa-banner-text span {
  font-size: var(--text-sm);
  color: rgba(244, 250, 249, 0.85);
}

/* ============================================================
   Trust bar
   ============================================================ */

.trust-bar {
  padding-block: var(--space-10);
  border-block: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.trust-item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transition: none;
  }
}

/* ============================================================
   Skills
   ============================================================ */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.skill-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--color-primary) 35%, var(--color-border));
}
.skill-card:hover .icon svg {
  transform: scale(1.15) rotate(-4deg);
}
.skill-card .icon svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (prefers-reduced-motion: reduce) {
  .skill-card, .skill-card .icon svg { transition: none; }
  .skill-card:hover { transform: none; }
}

/* Staggered entrance — cards cascade in one after another instead of popping together.
   Delay is baked only into the opacity leg of the transition list so hover feedback
   (transform/box-shadow/border-color) always stays instant, never inheriting the stagger. */
.skills-grid .reveal:nth-child(1) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0ms; }
.skills-grid .reveal:nth-child(2) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 60ms; }
.skills-grid .reveal:nth-child(3) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 120ms; }
.skills-grid .reveal:nth-child(4) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 180ms; }
.skills-grid .reveal:nth-child(5) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 240ms; }
.skills-grid .reveal:nth-child(6) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 300ms; }
.pricing-grid .reveal:nth-child(1),
.pricing-grid-2col .reveal:nth-child(1) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0ms; }
.pricing-grid .reveal:nth-child(2),
.pricing-grid-2col .reveal:nth-child(2) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 80ms; }
.pricing-grid .reveal:nth-child(3) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 160ms; }
.pricing-grid .reveal:nth-child(4) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 240ms; }
@media (prefers-reduced-motion: reduce) {
  .skills-grid .reveal, .pricing-grid .reveal, .pricing-grid-2col .reveal { transition-delay: 0ms !important; }
}

.skill-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.skill-card .icon svg {
  width: 20px;
  height: 20px;
}

.skill-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.skill-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* ============================================================
   Services
   ============================================================ */

.services {
  background: var(--color-surface-offset);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
}

.service-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
}

.service-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   Paid Media / Ads section
   ============================================================ */

.ads-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.ads-copy-block h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.ads-copy-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.compare-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.compare-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.compare-top h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
}

.compare-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.compare-tag-fast {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}

.compare-tag-slow {
  background: var(--color-amber-highlight);
  color: var(--color-amber);
}

.compare-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.ads-verdict {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 840px;
  padding: var(--space-6);
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.ads-verdict strong {
  color: var(--color-text);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

/* ============================================================
   Industries section
   ============================================================ */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover,
.industry-card:focus-within {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -16px rgba(124, 58, 237, 0.35);
}
.industry-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-sm, 6px);
  padding: 2px 2px;
}
.industry-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.industry-card-link:hover svg,
.industry-card-link:focus-visible svg {
  transform: translateX(3px);
}
.industry-card-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.industry-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.industry-card .icon svg {
  width: 20px;
  height: 20px;
}
.industry-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.industry-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* ============================================================
   Pricing
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.pricing-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin-inline: auto;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:not(.featured):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--color-primary) 35%, var(--color-border));
}
@media (prefers-reduced-motion: reduce) {
  .price-card:not(.featured):hover { transform: none; }
}

.price-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-primary) 30%, transparent), 0 16px 40px color-mix(in oklab, var(--color-primary) 28%, transparent);
  transform: scale(1.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
@media (max-width: 720px) {
  .price-card.featured {
    transform: none;
  }
}

.price-badge {
  position: absolute;
  top: -12px;
  left: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.price-amount span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
  font-family: var(--font-body);
  white-space: nowrap;
}

.price-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.price-features svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-note {
  margin-top: var(--space-10);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-note strong {
  color: var(--color-text);
}

/* ============================================================
   Process
   ============================================================ */

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-3);
}

.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   Local presence
   ============================================================ */

.local {
  background: var(--color-surface-offset);
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.local-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.local-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.local-card .icon svg {
  width: 22px;
  height: 22px;
}

.local-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
}
.local-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.local-card a.btn {
  margin-top: auto;
}

/* ============================================================
   Contact CTA
   ============================================================ */

.contact-cta {
  text-align: center;
}

.contact-box {
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-12), 8vw, var(--space-20));
  position: relative;
  overflow: hidden;
}
[data-theme='dark'] .contact-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.contact-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, color-mix(in oklab, var(--color-primary) 30%, transparent), transparent 60%);
}

.contact-box > * {
  position: relative;
}

.contact-box h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: var(--color-text-inverse);
}
[data-theme='dark'] .contact-box h2 {
  color: var(--color-text);
}

.contact-box p {
  font-size: var(--text-lg);
  opacity: 0.75;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.contact-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.contact-trust-row span {
  position: relative;
  padding-left: var(--space-4);
}
.contact-trust-row span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}
.contact-trust-row span:first-child {
  padding-left: 0;
}
.contact-trust-row span:first-child::before {
  display: none;
}

.contact-box .btn-ghost {
  background: transparent;
  border-color: color-mix(in oklab, var(--color-text-inverse) 30%, transparent);
  color: var(--color-text-inverse);
}
[data-theme='dark'] .contact-box .btn-ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}
.contact-box .btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding-block: var(--space-12);
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer .brand {
  font-size: var(--text-sm);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  list-style: none;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--color-primary);
}
.footer-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-6);
  margin-inline: auto;
  text-align: center;
  max-width: 60ch;
  padding-inline: var(--space-4);
}
.footer-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-meta a:hover {
  color: var(--color-primary);
}

.contact-address {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-inverse);
  opacity: 0.75;
  margin-top: var(--space-4);
}
[data-theme='dark'] .contact-address {
  color: var(--color-text-muted);
  opacity: 1;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .local-grid {
    grid-template-columns: 1fr;
  }
  .ads-copy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .usa-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .usa-banner-text {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  .nav-links,
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .brand span {
    display: none;
  }
  .header-inner {
    padding-block: var(--space-3);
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: var(--text-2xl);
  }
  .hero-stats {
    gap: var(--space-5);
  }
  .terminal-body {
    min-height: 260px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .compare-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Finishing touches — grain texture, back-to-top, footer stamp
   ============================================================ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.back-to-top {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease;
  z-index: 60;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px) scale(1.05);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

.footer-fingerprint {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  letter-spacing: 0.02em;
  margin-block-start: var(--space-2);
}

@media (max-width: 640px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    right: var(--space-4);
    bottom: var(--space-4);
  }
}

/* ============================================================
   Service area tags (SEO local section)
   ============================================================ */

.service-area-tags {
  justify-content: center;
  margin-bottom: var(--space-8);
}
.service-area-tags .tag {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-color: transparent;
  font-weight: 600;
}

/* ============================================================
   Competitor comparison panel
   ============================================================ */

.compare-panel {
  margin-top: var(--space-9);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.compare-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}
.compare-head h3 {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  margin-top: var(--space-2);
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.compare-col {
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
}
.compare-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}
.compare-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.compare-col li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}
.compare-col li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-error);
  font-size: 0.75em;
}
.compare-col-highlight {
  background: var(--color-primary-highlight);
  border-color: var(--color-primary);
}
.compare-col-highlight h4 {
  color: var(--color-primary);
}
.compare-col-highlight li {
  color: var(--color-text);
}
.compare-col-highlight li::before {
  content: "\2713";
  color: var(--color-primary);
  font-size: 0.85em;
}

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

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

/* ============================================================
   Missed-revenue stat panel (industry pages)
   ============================================================ */

.stat-panel {
  margin-top: var(--space-9);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-primary-highlight), var(--color-surface));
  border: 1px solid var(--color-primary);
}
.stat-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.stat-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
}
.stat-box .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl, 2.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.stat-box .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.stat-panel-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}
.stat-panel-note strong {
  color: var(--color-text);
}
.stat-panel-note a {
  color: var(--color-primary);
}
@media (max-width: 640px) {
  .stat-panel-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}
.faq-item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.faq-item p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}

/* ============================================================
   WHY HIRE ME
   ============================================================ */
.why-hire {
  background: var(--color-surface-offset);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--color-primary) 35%, var(--color-border));
}
.why-card:hover .why-icon svg {
  transform: scale(1.15) rotate(-4deg);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.why-icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.why-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  .why-card, .why-icon svg { transition: none; }
  .why-card:hover { transform: none; }
}

.why-grid .reveal:nth-child(1) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0ms; }
.why-grid .reveal:nth-child(2) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 60ms; }
.why-grid .reveal:nth-child(3) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 120ms; }
.why-grid .reveal:nth-child(4) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 180ms; }
.why-grid .reveal:nth-child(5) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 240ms; }
.why-grid .reveal:nth-child(6) { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 300ms; }

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.why-grid-4col {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .why-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .why-grid-4col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Industries served (proof-of-breadth pill wall)
   ============================================================ */
.industries-served-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-8);
}
@media (max-width: 720px) {
  .industries-served-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}
.industries-served-group h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

/* ============================================================
   Case study callout
   ============================================================ */
.case-study-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-8);
}
.case-study-panel .eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
}
.case-study-panel h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.case-study-panel p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.case-study-panel p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   MID-PAGE CLOSING BANNERS
   ============================================================ */
.cta-banner {
  padding-block: clamp(var(--space-10), 6vw, var(--space-14));
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}
.cta-banner-alt .cta-banner-inner {
  background: var(--color-text);
}
.cta-banner-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
  max-width: 46ch;
}
.cta-banner-text p {
  color: color-mix(in oklab, #fff 82%, transparent);
  font-size: var(--text-sm);
  max-width: 52ch;
}
.cta-banner .btn-lg {
  flex-shrink: 0;
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.cta-banner .btn-lg:hover {
  background: color-mix(in oklab, #fff 88%, var(--color-primary));
}
.btn-lg {
  padding: var(--space-4) var(--space-7);
  font-size: var(--text-base);
}

@media (max-width: 720px) {
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .cta-banner .btn-lg {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   STICKY MOBILE CALL / QUOTE BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 720px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: transparent;
    border-top: none;
    box-shadow: none;
    padding: var(--space-3) var(--space-4);
    padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
    gap: var(--space-3);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-cta-bar.is-hidden {
    transform: translateY(110%);
  }
  .mobile-cta-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 48px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .mobile-cta-call {
    background: var(--color-surface-offset);
    color: var(--color-text);
    border: 1px solid var(--color-border);
  }
  .mobile-cta-quote {
    background: var(--color-primary);
    color: #fff;
  }
  /* keep the footer clear of the fixed bar */
  .footer {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta-bar {
    transition: none;
  }
}

/* ============================================================
   MOBILE TOUCH-TARGET & USABILITY TUNING
   ============================================================ */
@media (max-width: 720px) {
  .btn {
    padding: var(--space-4) var(--space-6);
    min-height: 46px;
  }
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  .nav-links a {
    display: inline-block;
    padding-block: var(--space-2);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .icon-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ============================================================
   SUB-PAGE HERO (systems-modernization.html, restaurant-delivery-optimization.html)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1c1030 130%);
  padding-block: clamp(var(--space-12), 9vw, var(--space-16)) clamp(var(--space-10), 7vw, var(--space-14));
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: color-mix(in oklab, #fff 65%, transparent);
  margin-bottom: var(--space-6);
}
.page-hero .breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, #fff 40%, transparent);
}
.page-hero .breadcrumb a:hover {
  text-decoration-color: #fff;
}
.page-hero .eyebrow {
  color: #fff;
  background: color-mix(in oklab, #fff 16%, transparent);
  border-color: color-mix(in oklab, #fff 35%, transparent);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 24ch;
  margin-block: var(--space-5) var(--space-6);
}
.page-hero .page-hero-lead {
  font-size: var(--text-lg);
  color: color-mix(in oklab, #fff 88%, transparent);
  max-width: 58ch;
  margin-bottom: var(--space-8);
}
.page-hero .hero-actions {
  margin-bottom: 0;
}
.page-hero .btn-ghost {
  border-color: color-mix(in oklab, #fff 45%, transparent);
  color: #fff;
  background: transparent;
}
.page-hero .btn-ghost:hover {
  background: color-mix(in oklab, #fff 14%, transparent);
  border-color: #fff;
  color: #fff;
}
.page-hero .btn-primary {
  background: #fff;
  color: var(--color-text);
  box-shadow: none;
}
.page-hero .btn-primary:hover {
  background: color-mix(in oklab, #fff 88%, var(--color-primary));
  color: var(--color-text);
}

@media (max-width: 720px) {
  .page-hero h1 {
    font-size: var(--text-2xl);
  }
}

/* ============================================================
   Landing page: minimal header/footer + lead form (free-audit.html)
   ============================================================ */

.header.header-minimal .nav,
.header.header-minimal .nav-toggle {
  display: none;
}
.header.header-minimal .header-actions {
  gap: var(--space-3);
}

.landing-footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}
.landing-footer .brand {
  justify-content: center;
  margin-bottom: var(--space-3);
}
.landing-footer .footer-meta {
  margin: 0;
}

.audit-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1c1030 130%);
  padding-top: clamp(var(--space-16), 10vw, var(--space-24));
  padding-bottom: clamp(var(--space-14), 9vw, var(--space-20));
}
.audit-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  padding-bottom: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--color-amber) 55%, transparent) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.audit-hero::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: 50%;
  padding-bottom: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, #fff 30%, transparent) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}
.audit-hero .wrap {
  position: relative;
  z-index: 1;
}
.audit-hero .eyebrow {
  justify-content: center;
  color: #fff;
  background: color-mix(in oklab, #fff 16%, transparent);
  border-color: color-mix(in oklab, #fff 35%, transparent);
}
.audit-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-hero));
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
  max-width: 27ch;
  margin-inline: auto;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
  text-wrap: balance;
}
.audit-hero .page-hero-lead {
  max-width: 52ch;
  margin-inline: auto;
  font-size: var(--text-lg);
  color: color-mix(in oklab, #fff 85%, transparent);
  margin-bottom: var(--space-8);
  text-wrap: pretty;
}
.audit-hero .hero-actions {
  justify-content: center;
}
.audit-hero .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.audit-hero .btn-primary:hover {
  background: color-mix(in oklab, #fff 90%, var(--color-primary));
  color: var(--color-primary);
}
.audit-hero .btn-ghost {
  border-color: color-mix(in oklab, #fff 45%, transparent);
  color: #fff;
  background: transparent;
}
.audit-hero .btn-ghost:hover {
  background: color-mix(in oklab, #fff 14%, transparent);
  border-color: #fff;
  color: #fff;
}
.audit-hero .contact-trust-row {
  color: #fff;
  opacity: 0.85;
}
.audit-hero .contact-trust-row span::before {
  background: color-mix(in oklab, #fff 70%, var(--color-amber));
}
@media (max-width: 480px) {
  .audit-hero h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 7.6vw, 2.1rem);
  }
}

.audit-form-section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
}

.audit-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(var(--space-8), 6vw, var(--space-12));
  max-width: 640px;
  margin-inline: auto;
}
.audit-form-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  text-align: center;
}
.audit-form-card > p {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.audit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.audit-form .form-field {
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
}
.audit-form .form-field.full {
  grid-column: 1 / -1;
}
.audit-form label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.audit-form input,
.audit-form textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.audit-form input:focus,
.audit-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.audit-form textarea {
  resize: vertical;
  min-height: 88px;
  font-family: var(--font-body);
}
.audit-form .form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.audit-form .btn-block {
  width: 100%;
  justify-content: center;
  font-size: var(--text-base);
  padding-block: var(--space-4);
}
.audit-form-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}

.form-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}
.form-banner.form-banner-error {
  background: color-mix(in oklab, var(--color-error) 10%, var(--color-surface));
  border: 1px solid color-mix(in oklab, var(--color-error) 30%, var(--color-border));
  color: var(--color-error);
}

.audit-includes {
  padding-block: clamp(var(--space-12), 8vw, var(--space-16));
}

.audit-mini-faq {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}
.audit-mini-faq .faq-list {
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.thankyou-hero {
  text-align: center;
  padding-block: clamp(var(--space-20), 14vw, var(--space-24));
}
.thankyou-hero .check-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.thankyou-hero .check-badge svg {
  width: 32px;
  height: 32px;
}
.thankyou-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 700;
  margin-bottom: var(--space-5);
}
.thankyou-hero p {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}
.thankyou-hero .hero-actions {
  justify-content: center;
  margin-top: var(--space-8);
}

@media (max-width: 640px) {
  .audit-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Blog promo bar (lime) — sits directly below the main menu.
   Static (not sticky), no motion on scroll.
   ============================================================ */
.blogbar {
  display: block;
  background: #a3e635;
  color: #1a2e05;
  text-decoration: none;
  border-bottom: 1px solid #84cc16;
  font-size: var(--text-sm, 0.875rem);
  line-height: 1.3;
  transition: background-color 0.2s ease;
}
.blogbar:hover { background: #bef264; }
.blogbar:focus-visible { outline: 3px solid #1a2e05; outline-offset: -3px; }
.blogbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-block: 0.6rem;
  text-align: center;
}
.blogbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  background: #1a2e05;
  color: #d9f99d;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.blogbar-badge svg { width: 13px; height: 13px; }
.blogbar-text { font-weight: 500; }
.blogbar-text strong { font-weight: 800; }
.blogbar-cta {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.blogbar-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.blogbar:hover .blogbar-arrow { transform: translateX(3px); }
@media (max-width: 560px) {
  .blogbar-inner { gap: 0.5rem; padding-block: 0.55rem; }
  .blogbar-text { font-size: 0.8rem; }
  .blogbar-badge { font-size: 0.65rem; padding: 0.2rem 0.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .blogbar-arrow, .blogbar { transition: none; }
}

/* ============================================================
   SEO guide pages (category hubs + topic pages)
   ============================================================ */
.seo-guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-10, 2.5rem);
  align-items: start;
}
.seo-guide-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: var(--space-5, 1.25rem);
}
.seo-toc, .seo-takeaways {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5, 1.25rem);
}
.seo-toc-title {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3, 0.75rem);
}
.seo-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.5rem; font-size: var(--text-sm); }
.seo-toc a { color: var(--color-text); text-decoration: none; }
.seo-toc a:hover { color: var(--color-primary); text-decoration: underline; }
.seo-takeaways ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.6rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.seo-guide-body { max-width: 72ch; }
.seo-guide-body-narrow { margin-inline: auto; }
.seo-guide-section + .seo-guide-section { margin-top: var(--space-10, 2.5rem); }
.seo-guide .seo-guide-body h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 var(--space-4, 1rem);
  scroll-margin-top: 110px;
}
.seo-guide-section { scroll-margin-top: 110px; }
.seo-guide-body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  margin: 0 0 var(--space-4, 1rem);
}
.seo-checklist { list-style: none; padding: 0; margin: var(--space-4, 1rem) 0 0; display: grid; gap: 0.55rem; }
.seo-checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text);
  line-height: 1.55;
}
.seo-checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.35em;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--color-primary-highlight) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/70% no-repeat;
}
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4, 1rem);
}
.seo-link-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4, 1rem);
  align-items: start;
  padding: var(--space-5, 1.25rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.seo-link-card:hover { border-color: var(--color-primary); box-shadow: 0 6px 20px rgba(124, 58, 237, 0.10); }
.seo-link-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}
.seo-link-icon svg { width: 20px; height: 20px; }
.seo-link-body { display: grid; gap: 0.3rem; min-width: 0; }
.seo-link-body strong { font-size: var(--text-base); line-height: 1.3; }
.seo-link-body span { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
.seo-link-arrow { width: 18px; height: 18px; color: var(--color-primary); margin-top: 0.2rem; }
@media (max-width: 900px) {
  .seo-guide-layout { grid-template-columns: 1fr; gap: var(--space-6, 1.5rem); }
  .seo-guide-aside { position: static; }
}
@media (max-width: 560px) {
  .seo-link-grid { grid-template-columns: 1fr; }
  .seo-link-card { padding: var(--space-4, 1rem); gap: var(--space-3, 0.75rem); }
}
@media (min-width: 1000px) { .seo-link-grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ===== Verified credentials header button ===== */
.cred-btn {
  --g1:#4285F4; --g2:#EA4335; --g3:#FBBC05; --g4:#34A853;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 14px 3px 3px;
  border-radius: 9999px;
  text-decoration: none;
  color: #1f1147;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--cred-angle, 0deg), var(--g1), var(--g2), var(--g3), var(--g4), var(--g1)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(66,133,244,.18);
  line-height: 1.05;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cred-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(66,133,244,.28); }
.cred-btn:focus-visible { outline: 3px solid var(--g1); outline-offset: 3px; }
.cred-btn-seal {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: conic-gradient(var(--g1) 0 25%, var(--g2) 0 50%, var(--g3) 0 75%, var(--g4) 0);
  flex-shrink: 0;
}
.cred-btn-seal span {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--g1);
}
.cred-btn-seal svg { width: 14px; height: 14px; }
.cred-btn-text { display: flex; flex-direction: column; }
.cred-btn-top { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #188038; }
.cred-btn-main { font-size: 14px; font-weight: 700; }
@property --cred-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  .cred-btn { animation: credSpin 6s linear infinite; }
  @keyframes credSpin { to { --cred-angle: 360deg; } }
}
@media (max-width: 720px) {
  .cred-btn { padding: 2px 10px 2px 2px; gap: 6px; }
  .cred-btn-seal { width: 26px; height: 26px; }
  .cred-btn-seal span { width: 19px; height: 19px; }
  .cred-btn-top { display: none; }
  .cred-btn-main { font-size: 13px; }
}
@media (max-width: 360px) { .cred-btn-text { display: none; } .cred-btn { padding: 2px; } }

/* ===== Credentials page ===== */
.cred-hero-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top: var(--space-6); }
.cred-chip { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:9999px; background: color-mix(in oklab, #fff 14%, transparent); color:#fff; font-size: var(--text-xs); font-weight:600; border:1px solid color-mix(in oklab, #fff 28%, transparent); }
.cred-chip svg { width:14px; height:14px; }
.cred-card { display:grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(var(--space-6),4vw,var(--space-12)); align-items:start; background: var(--color-surface, #fff); border:1px solid var(--color-border, #e5e7eb); border-radius: 20px; padding: clamp(var(--space-5),3vw,var(--space-10)); box-shadow: 0 10px 30px rgba(31,17,71,.07); position:relative; overflow:hidden; }
.cred-card::before { content:""; position:absolute; inset:0 0 auto 0; height:5px; background: linear-gradient(90deg,#4285F4 0 25%,#EA4335 0 50%,#FBBC05 0 75%,#34A853 0); }
.cred-cert { display:block; border-radius: 12px; border:1px solid var(--color-border, #e5e7eb); overflow:hidden; background:#fff; }
.cred-cert img { display:block; width:100%; height:auto; }
.cred-status { display:inline-flex; align-items:center; gap:6px; font-size: var(--text-xs); font-weight:700; color:#137333; background:#e6f4ea; padding:5px 10px; border-radius:9999px; }
.cred-status::before { content:""; width:8px; height:8px; border-radius:50%; background:#34A853; }
.cred-card h2 { margin: var(--space-3) 0 var(--space-2); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height:1.2; }
.cred-issuer { color: var(--color-text-muted); margin-bottom: var(--space-5); }
.cred-meta { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0 0 var(--space-5); }
.cred-meta div { background: var(--color-surface-2, #f7f6fb); border-radius: 12px; padding: 10px 12px; }
.cred-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing:.06em; color: var(--color-text-muted); font-weight:600; }
.cred-meta dd { margin:2px 0 0; font-weight:700; font-size: var(--text-sm); overflow-wrap:anywhere; }
.cred-skills { list-style:none; padding:0; margin: 0 0 var(--space-6); display:grid; gap:8px; }
.cred-skills li { display:flex; gap:10px; align-items:flex-start; font-size: var(--text-sm); }
.cred-skills svg { width:18px; height:18px; color:#34A853; flex-shrink:0; margin-top:2px; }
.cred-actions { display:flex; flex-wrap:wrap; gap: 10px; }
.cred-verify-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-5); }
.cred-step { border:1px solid var(--color-border, #e5e7eb); border-radius: 16px; padding: var(--space-6); background: var(--color-surface, #fff); }
.cred-step-num { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:50%; background: var(--color-primary-highlight); color: var(--color-primary); font-weight:800; margin-bottom: var(--space-3); font-family: var(--font-display); }
.cred-step h3 { font-size: var(--text-base); margin-bottom: 6px; }
.cred-step p { font-size: var(--text-sm); color: var(--color-text-muted); }
.cred-link-card { display:flex; gap: var(--space-4); align-items:center; justify-content:space-between; flex-wrap:wrap; border:1px dashed var(--color-primary); border-radius:16px; padding: var(--space-6); background: var(--color-primary-highlight); }
@media (max-width: 860px) { .cred-card { grid-template-columns: 1fr; } .cred-verify-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cred-meta { grid-template-columns: 1fr; } }
@media (max-width: 1440px) and (min-width: 721px) {
  .nav-links { gap: var(--space-4); }
  .cred-btn-top { display: none; }
  .cred-btn { padding-right: 12px; }
}
@media (max-width: 1180px) and (min-width: 721px) {
  .cred-btn-text { display: none; }
  .cred-btn { padding: 2px; }
}
@media (max-width: 1100px) and (min-width: 721px) {
  .nav-links { gap: var(--space-3); }
  .nav-links a { font-size: 14px; }
  .brand > span { display: none; }
  .header-actions { gap: var(--space-2); }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-body{max-width:760px;padding-block:var(--space-10,48px)}
.legal-body h2{font-size:clamp(1.25rem,1.1rem + .6vw,1.6rem);margin:var(--space-8,32px) 0 var(--space-3,12px)}
.legal-body p,.legal-body li{line-height:1.7;margin-bottom:var(--space-3,12px);overflow-wrap:anywhere}
.legal-body ul{padding-left:1.25rem;list-style:disc}
.legal-body a{color:var(--color-primary,#5b2bd6);text-decoration:underline}
.form-consent{font-size:.85rem;opacity:.8;margin-top:var(--space-3,12px)}

/* ============================================================
   Conversion upgrades — homepage (Oct 2026)
   ============================================================ */
@media (min-width: 1025px) {
  .hero { padding-block-start: clamp(var(--space-12), 6vw, var(--space-16)); }
  .hero-copy h1 { font-size: clamp(2.5rem, 1rem + 3.2vw, 3.6rem); margin-block: var(--space-4) var(--space-5); }
  .hero-copy p { margin-bottom: var(--space-6); }
}
.hero-callline {
  font-size: var(--text-sm) !important;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3) !important;
}
.hero-callline a { color: var(--color-primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero-callline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-6);
  padding: 0;
}
.hero-trust li, .hero-trust a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}
.hero-trust li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 6px 12px 6px 8px;
}
.hero-trust svg { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }
.hero-trust a:hover { color: var(--color-primary); }

/* Contact: two-column box with inline form */
.contact-box--form {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
  text-align: left;
  padding: clamp(var(--space-8), 5vw, var(--space-16));
}
.contact-box--form .contact-intro p { margin-inline: 0; margin-bottom: var(--space-6); }
.contact-box--form .contact-actions { justify-content: flex-start; gap: var(--space-3); }
.contact-box--form .contact-actions .btn { font-size: var(--text-sm); }
.contact-box--form .contact-address { text-align: left; }
.contact-box--form .contact-trust-row { justify-content: flex-start; }
.contact-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-primary) 55%, var(--color-text-inverse));
  margin-bottom: var(--space-3);
}
.contact-steps { list-style: none; padding: 0; margin: 0 0 var(--space-8); display: grid; gap: var(--space-4); }
.contact-steps li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); line-height: 1.5; }
.contact-steps li span { opacity: 0.85; }
.contact-steps strong { color: var(--color-text-inverse); }
.contact-steps b {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
}
.contact-form-card {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3.5vw, var(--space-10));
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55);
  scroll-margin-top: 120px;
}
.contact-form-card h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-2); }
.contact-box .contact-form-sub { font-size: var(--text-sm); color: var(--color-text-muted); opacity: 1; margin: 0 0 var(--space-6); max-width: none; }
.contact-form-card .audit-form .form-row { gap: var(--space-4); }
.contact-form-card .audit-form .form-field { margin-bottom: var(--space-4); }
.audit-form select {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
}
.audit-form select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-highlight); }
.audit-form .is-invalid { border-color: var(--color-error) !important; }
.contact-box .audit-form-note { opacity: 1; margin-bottom: 0; max-width: none; }
.contact-box .form-banner { margin-bottom: var(--space-5); text-align: left; }
.contact-box .form-banner span { opacity: 1; }
.contact-form-card .btn-block[disabled] { opacity: 0.7; cursor: wait; }
@keyframes form-pop {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-primary) 70%, transparent), 0 24px 60px -24px rgba(0,0,0,0.55); }
  100% { box-shadow: 0 0 0 18px transparent, 0 24px 60px -24px rgba(0,0,0,0.55); }
}
.contact-form-card.is-highlight { animation: form-pop 1.1s ease-out 2; }
@media (prefers-reduced-motion: reduce) { .contact-form-card.is-highlight { animation: none; } }
@media (max-width: 900px) {
  .contact-box--form { grid-template-columns: 1fr; }
  .contact-form-card { order: -1; }
  .contact-box--form .contact-intro { order: 0; }
}
@media (max-width: 560px) {
  .contact-form-card .audit-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-box--form .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-box--form { padding: var(--space-5); }
}
.form-banner[hidden], #homeLeadError[hidden] { display: none !important; }
.hero-copy .cta-microcopy { font-size: var(--text-sm); margin-bottom: var(--space-6); max-width: none; }
.contact-box--form h2 { font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.12; margin-bottom: var(--space-4); }
.contact-box--form .contact-intro > p { font-size: var(--text-base); }
.contact-box--form .contact-address { font-size: var(--text-sm); max-width: none; }
.contact-box .audit-form-note { font-size: var(--text-xs); color: var(--color-text-faint); }
.contact-box .audit-form-note a { color: var(--color-primary); }

@media (min-width: 901px) { .contact-box--form { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
@media (max-width: 900px) { .contact-box--form { grid-template-columns: minmax(0, 1fr); } }
.contact-form-card .audit-form .form-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.contact-form-card .audit-form input, .contact-form-card .audit-form textarea, .contact-form-card .audit-form select { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 560px) { .contact-form-card .audit-form .form-row { grid-template-columns: minmax(0,1fr); gap: 0; } }
.contact-box--form::before { z-index: 0; pointer-events: none; }
.contact-box--form > .contact-form-card { position: relative; z-index: 2; background: #fff; isolation: isolate; }
.contact-box--form > .contact-intro { position: relative; z-index: 1; }
/* Safari / iOS hardening for the homepage lead form */
.contact-form-card { color-scheme: light; -webkit-text-size-adjust: 100%; }
.contact-form-card .audit-form input,
.contact-form-card .audit-form textarea,
.contact-form-card .audit-form select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  font-size: 16px;
  line-height: 1.4;
  color: #150c22;
  background-color: #f8f6fc;
  border: 1px solid #ddd2f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0;
  box-shadow: none;
  background-clip: padding-box;
}
.contact-form-card .audit-form input { height: 48px; }
.contact-form-card .audit-form select {
  height: 48px;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}
.contact-form-card .audit-form textarea { min-height: 96px; }
.contact-form-card .audit-form input:focus,
.contact-form-card .audit-form textarea:focus,
.contact-form-card .audit-form select:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px #ede9fe;
  outline: none;
}
.contact-form-card .audit-form label { display: block; text-align: left; }
.contact-form-card .audit-form .btn-block { display: flex; width: 100%; -webkit-appearance: none; appearance: none; }
.contact-eyebrow { color: #c4b5fd; }
.contact-form-card { -webkit-transform: translateZ(0); }
/* Stop the typing terminal from resizing the page (caused mobile "auto-scroll") */
.terminal-body { height: 360px; min-height: 0; overflow: hidden; contain: layout paint; }
@media (max-width: 1024px) { .terminal-body { height: 360px; } }
@media (max-width: 640px) { .terminal-body { height: 390px; min-height: 0; } }

/* ============================================================
   Workflow map (XMind-style mind map) — homepage
   ============================================================ */
.wf { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); background:
  radial-gradient(600px 300px at 12% 30%, rgba(244,63,94,0.07), transparent 70%),
  radial-gradient(700px 360px at 88% 40%, rgba(16,185,129,0.08), transparent 70%),
  radial-gradient(500px 300px at 50% 0%, rgba(124,58,237,0.08), transparent 70%); }
.wf [data-c="coral"]   { --c: #f43f5e; --c-soft: #fff1f3; }
.wf [data-c="amber"]   { --c: #f59e0b; --c-soft: #fff8e8; }
.wf [data-c="violet"]  { --c: #7c3aed; --c-soft: #f4efff; }
.wf [data-c="cyan"]    { --c: #0891b2; --c-soft: #ebfaff; }
.wf [data-c="emerald"] { --c: #059669; --c-soft: #eafaf3; }
.wf [data-c="blue"]    { --c: #2563eb; --c-soft: #eef4ff; }
.wf-legend { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; margin: calc(-1 * var(--space-4)) 0 var(--space-10); }
.wf-key { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.wf-key::before { content: ''; width: 28px; height: 8px; border-radius: 99px; }
.wf-key--risk::before { background: linear-gradient(90deg, #f43f5e, #f59e0b); }
.wf-key--win::before { background: linear-gradient(90deg, #7c3aed, #0891b2, #059669, #2563eb); }

.wf-map { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 220px minmax(0,1fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.wf-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.wf-lines path { fill: none; stroke-width: 3; stroke-linecap: round; }
.wf-lines path.wf-flow { stroke-width: 3; stroke-dasharray: 2 14; opacity: 0.9; }
.wf-col { display: grid; gap: var(--space-5); position: relative; z-index: 1; }
.wf-center { position: relative; z-index: 1; display: flex; justify-content: center; }

.wf-core { position: relative; width: 210px; height: 210px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: var(--space-6);
  background: conic-gradient(from 200deg, #f43f5e, #f59e0b, #7c3aed, #0891b2, #059669, #2563eb, #f43f5e); color: #fff; box-shadow: 0 20px 50px -18px rgba(124,58,237,0.55); }
.wf-core::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #150c22; }
.wf-core > * { position: relative; }
.wf-core svg { width: 34px; height: 34px; color: #c4b5fd; }
.wf-core strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.wf-core span:not(.wf-core-ring) { font-size: 11px; color: #c9bfe0; letter-spacing: 0.02em; }
.wf-core-ring { position: absolute !important; inset: -10px; border-radius: 50%; border: 2px dashed rgba(124,58,237,0.35); }

.wf-node { background: #fff; border: 1px solid color-mix(in oklab, var(--c) 28%, #ece6f7); border-top: 4px solid var(--c); border-radius: 14px; padding: var(--space-5); box-shadow: 0 10px 30px -18px color-mix(in oklab, var(--c) 60%, transparent); transition: transform .25s ease, box-shadow .25s ease; }
.wf-node:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px color-mix(in oklab, var(--c) 70%, transparent); }
.wf-node header { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); }
.wf-ico { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: var(--c); color: #fff; font-size: 15px; line-height: 1; }
.wf-node h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--color-text); margin: 0; }
.wf-node ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wf-node li { position: relative; font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-muted); background: var(--c-soft); border-radius: 10px; padding: 8px 12px 8px 26px; }
.wf-node li::before { content: ''; position: absolute; left: 11px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.wf-node li b { color: var(--c); font-weight: 700; }
.wf-src { display: inline-block; font-size: 11px; font-weight: 600; color: var(--c); text-decoration: none; border: 1px solid color-mix(in oklab, var(--c) 35%, transparent); border-radius: 99px; padding: 0 7px; margin-left: 2px; white-space: nowrap; background: #fff; }
.wf-src:hover { background: var(--c); color: #fff; }

.wf-outcome { margin-top: var(--space-12); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-6) var(--space-8); border-radius: 18px; color: #fff;
  background: linear-gradient(110deg, #7c3aed 0%, #2563eb 45%, #0891b2 75%, #059669 100%); box-shadow: 0 20px 50px -24px rgba(37,99,235,0.6); }
.wf-outcome-text { display: grid; gap: 4px; }
.wf-outcome-tag { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; opacity: 0.85; }
.wf-outcome strong { font-family: var(--font-display); font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem); line-height: 1.25; }
.wf-outcome .btn-primary { background: #fff; color: #5b21b6; box-shadow: none; }
.wf-outcome .btn-primary::before { display: none; }
.wf-outcome .btn-primary:hover { background: #f4efff; color: #4c1d95; }
.wf-note { margin-top: var(--space-4); text-align: center; font-size: var(--text-xs); color: var(--color-text-faint); }

/* Entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .wf-map .wf-node, .wf-map .wf-core { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
  .wf-map.is-on .wf-core { opacity: 1; transform: none; }
  .wf-map.is-on .wf-node { opacity: 1; transform: none; }
  .wf-map.is-on .wf-col--left .wf-node:nth-child(1) { transition-delay: .25s; }
  .wf-map.is-on .wf-col--left .wf-node:nth-child(2) { transition-delay: .4s; }
  .wf-map.is-on .wf-col--right .wf-node:nth-child(1) { transition-delay: .3s; }
  .wf-map.is-on .wf-col--right .wf-node:nth-child(2) { transition-delay: .45s; }
  .wf-map.is-on .wf-col--right .wf-node:nth-child(3) { transition-delay: .6s; }
  .wf-map.is-on .wf-col--right .wf-node:nth-child(4) { transition-delay: .75s; }
  .wf-lines path.wf-base { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.1s ease .2s; }
  .wf-map.is-on .wf-lines path.wf-base { stroke-dashoffset: 0; }
  .wf-lines path.wf-flow { animation: wf-flow 1.6s linear infinite; }
  .wf-core-ring { animation: wf-spin 18s linear infinite; }
  .wf-map.is-on .wf-node:hover { transform: translateY(-3px); transition-delay: 0s; }
}
@keyframes wf-flow { to { stroke-dashoffset: -32; } }
@keyframes wf-spin { to { transform: rotate(360deg); } }

/* Tablet & mobile: vertical tree with a colorful spine */
@media (max-width: 960px) {
  .wf-map { grid-template-columns: minmax(0,1fr); gap: var(--space-5); padding-left: 22px; }
  .wf-map::before { content: ''; position: absolute; left: 6px; top: 100px; bottom: 10px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #f43f5e, #f59e0b 30%, #7c3aed 50%, #0891b2 65%, #059669 80%, #2563eb); }
  .wf-lines { display: none; }
  .wf-center { order: -1; justify-content: flex-start; margin-left: -22px; }
  .wf-core { width: 100%; height: auto; border-radius: 18px; flex-direction: row; justify-content: flex-start; text-align: left; padding: 18px 20px; gap: 14px; }
  .wf-core::before { inset: 4px; border-radius: 15px; }
  .wf-core-ring { display: none; }
  .wf-core strong { display: block; }
  .wf-core span:not(.wf-core-ring) { display: block; }
  .wf-col { gap: var(--space-5); }
  .wf-node { position: relative; }
  .wf-node::before { content: ''; position: absolute; left: -18px; top: 26px; width: 18px; height: 4px; border-radius: 4px; background: var(--c); }
  .wf-col--right::before { content: 'With Level Up The Stack'; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #059669; margin-top: var(--space-3); }
  .wf-col--left::before { content: 'Going it alone'; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #f43f5e; }
  .wf-outcome { padding: var(--space-5); }
  .wf-outcome .btn { width: 100%; justify-content: center; }
}
.wf-legend { justify-content: flex-start; }
@media (max-width: 960px) {
  .wf-core { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
  .wf-core svg { grid-row: 1 / span 2; }
  .wf-core span:not(.wf-core-ring) { grid-column: 2; }
}
.wf-note { max-width: none; margin-inline: auto; }

/* ============================================================
   Live customer journey (above hero)
   ============================================================ */
.lj { --lj-c: #f43f5e; position: relative; overflow: hidden; padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  background: radial-gradient(700px 320px at 15% 40%, color-mix(in oklab, var(--lj-c) 14%, transparent), transparent 70%),
              radial-gradient(600px 300px at 85% 20%, rgba(124,58,237,0.10), transparent 70%), #fbf9ff;
  border-bottom: 1px solid #ece6f7; transition: background .8s ease; }
.lj [data-c="coral"]{--c:#f43f5e}.lj [data-c="amber"]{--c:#f59e0b}.lj [data-c="violet"]{--c:#7c3aed}.lj [data-c="cyan"]{--c:#0891b2}
.lj [data-c="emerald"]{--c:#059669}.lj [data-c="blue"]{--c:#2563eb}.lj [data-c="pink"]{--c:#db2777}
.lj-grid { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }

/* Phone */
.lj-phone-wrap { position: relative; display: flex; justify-content: center; }
.lj-phone { position: relative; z-index: 1; width: 260px; height: 520px; border-radius: 40px; background: #150c22; padding: 12px; box-shadow: 0 30px 60px -25px rgba(21,12,34,.55), inset 0 0 0 2px #2b2140; }
.lj-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--lj-c); filter: blur(70px); opacity: .35; transition: background .8s ease; }
.lj-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 14px; background: #000; z-index: 3; }
.lj-status { position: absolute; top: 18px; left: 30px; right: 30px; z-index: 2; display: flex; justify-content: space-between; align-items: center; font: 600 12px/22px var(--font-body); color: #150c22; }
.lj-sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.lj-sig i { width: 3px; background: #150c22; border-radius: 1px; } .lj-sig i:nth-child(1){height:4px}.lj-sig i:nth-child(2){height:6px}.lj-sig i:nth-child(3){height:8px}.lj-sig i:nth-child(4){height:10px}
.lj-screens { position: relative; width: 100%; height: 100%; border-radius: 30px; background: #fff; overflow: hidden; }
.lj-screen { position: absolute; inset: 0; padding: 58px 16px 30px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.lj-screen.is-on { opacity: 1; transform: none; }
.lj-progress { position: absolute; left: 30px; right: 30px; bottom: 20px; height: 4px; border-radius: 4px; background: #ece6f7; overflow: hidden; z-index: 2; }
.lj-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#f43f5e,#f59e0b,#7c3aed,#0891b2,#059669,#2563eb,#db2777); background-size: 236px 100%; }

/* Screen 0 search */
.lj-g { margin: 18px auto 4px; font: 700 34px/1 var(--font-body); background: linear-gradient(90deg,#4285f4,#ea4335,#fbbc05,#34a853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lj-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 22px; border: 1px solid #e4def0; box-shadow: 0 6px 18px -10px rgba(0,0,0,.25); font: 500 13px/1 var(--font-body); color: #150c22; white-space: nowrap; overflow: hidden; }
.lj-search svg { width: 16px; height: 16px; color: #9a8cb3; flex-shrink: 0; }
.lj-caret { width: 2px; height: 16px; background: #f43f5e; animation: lj-blink 1s steps(1) infinite; }
.lj-sugg { display: grid; gap: 10px; padding: 4px 6px; } .lj-sugg span { height: 10px; border-radius: 6px; background: #f1ecfa; } .lj-sugg span:nth-child(2){width:80%} .lj-sugg span:nth-child(3){width:60%}
.lj-chip-row { display: flex; gap: 6px; flex-wrap: wrap; } .lj-chip-row em { font: 600 11px/1 var(--font-body); font-style: normal; padding: 7px 10px; border-radius: 99px; background: #fff1f3; color: #e11d48; }
/* Screen 1 compare */
.lj-map { position: relative; height: 170px; border-radius: 16px; background: linear-gradient(135deg,#e7f6ee,#eaf2ff); overflow: hidden; }
.lj-road { position: absolute; left: -10%; right: -10%; top: 45%; height: 10px; background: #fff; transform: rotate(-12deg); } .lj-road--2 { top: 20%; transform: rotate(28deg); }
.lj-pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9a8cb3; z-index: 1; }
.lj-pin:nth-child(2){top:30%;left:20%}.lj-pin:nth-child(3){top:62%;left:72%}.lj-pin:nth-child(4){top:25%;left:78%}
.lj-pin--me { top: 52%; left: 42%; width: 22px; height: 22px; background: #f59e0b; box-shadow: 0 0 0 6px rgba(245,158,11,.25); animation: lj-bounce 1.2s ease-in-out infinite; }
.lj-listing { border-radius: 14px; padding: 12px; border: 1px solid #f3e3c0; background: #fff8e8; display: grid; gap: 4px; }
.lj-listing b { font: 700 14px/1.2 var(--font-body); color: #150c22; } .lj-listing span { font-size: 11px; color: #5f5372; }
.lj-btns { display: flex; gap: 6px; margin-top: 6px; } .lj-btns em { font: 600 10px/1 var(--font-body); font-style: normal; padding: 6px 8px; border-radius: 99px; background: #f59e0b; color: #fff; }
.lj-listing--dim { background: #f6f4fa; border-color: #ece6f7; } .lj-listing--dim b, .lj-listing--dim span { display: block; height: 9px; border-radius: 5px; background: #e4def0; } .lj-listing--dim span { width: 60%; }
/* Screen 2 load */
.lj-url { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; background: #f4efff; font: 600 12px/1 var(--font-body); color: #5b21b6; }
.lj-url svg { width: 12px; height: 12px; }
.lj-load { height: 4px; border-radius: 4px; background: #ece6f7; overflow: hidden; } .lj-load i { display: block; height: 100%; width: 0; background: #7c3aed; }
.lj-screen.is-on .lj-load i { animation: lj-fill 1.4s ease-out forwards; }
.lj-skel { display: grid; gap: 9px; } .lj-skel span { height: 10px; border-radius: 6px; background: linear-gradient(90deg,#f1ecfa,#e4daf7,#f1ecfa); background-size: 200% 100%; animation: lj-shim 1.2s linear infinite; }
.lj-skel .w80{width:80%}.lj-skel .w60{width:60%}.lj-skel .w90{width:90%}.lj-skel .w70{width:70%}.lj-skel .blk{height:80px;border-radius:12px}
.lj-meter { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f4efff; font-size: 12px; color: #5f5372; }
.lj-meter b { color: #fff; background: #7c3aed; padding: 4px 10px; border-radius: 99px; font-size: 11px; }
/* Screen 3 trust */
.lj-hero-mini { padding: 14px; border-radius: 14px; background: linear-gradient(135deg,#ebfaff,#f4efff); } .lj-hero-mini b { font: 700 15px/1.25 var(--font-display); color: #150c22; }
.lj-trust { display: grid; gap: 6px; } .lj-trust em { font: 600 12px/1 var(--font-body); font-style: normal; color: #0e7490; background: #ebfaff; padding: 9px 10px; border-radius: 10px; }
.lj-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .lj-price div { padding: 10px; border-radius: 12px; border: 1px solid #c9eef7; display: grid; gap: 2px; }
.lj-price small { font-size: 10px; color: #5f5372; } .lj-price b { font: 700 18px/1 var(--font-display); color: #0891b2; }
/* Screen 4 act */
.lj-act { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; font: 700 13px/1 var(--font-body); color: #fff; overflow: hidden; }
.lj-act svg { width: 16px; height: 16px; } .lj-act--call { background: #059669; margin-top: 16px; } .lj-act--form { background: #7c3aed; }
.lj-or { text-align: center; font-size: 11px; color: #9a8cb3; }
.lj-form { display: grid; gap: 8px; } .lj-form span { height: 30px; border-radius: 9px; border: 1px solid #d1f0e2; background: #f3fcf8; }
.lj-tap { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.6); right: 30%; top: 8px; transform: scale(0); }
.lj-screen.is-on .lj-tap { animation: lj-tap 1.4s ease-out .9s infinite; }
/* Screen 5 follow-up */
.lj-msg { max-width: 88%; padding: 10px 12px; border-radius: 16px; font-size: 12px; line-height: 1.45; }
.lj-msg--in { margin-top: 20px; background: #eef4ff; color: #1e3a8a; border-bottom-left-radius: 4px; }
.lj-msg--sys { align-self: flex-end; background: #2563eb; color: #fff; border-bottom-right-radius: 4px; font-weight: 600; }
.lj-typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 16px; background: #eef4ff; width: max-content; }
.lj-typing i { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; animation: lj-dots 1s ease-in-out infinite; } .lj-typing i:nth-child(2){animation-delay:.15s}.lj-typing i:nth-child(3){animation-delay:.3s}
/* Screen 6 adapt */
.lj-chart-h { margin-top: 14px; font: 700 13px/1 var(--font-body); color: #9d174d; }
.lj-bars { height: 170px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 14px; background: #fdf2f8; }
.lj-bars i { flex: 1; height: 8%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg,#db2777,#7c3aed); transition: height .9s cubic-bezier(.2,.8,.2,1); }
.lj-screen.is-on .lj-bars i { height: var(--h); }
.lj-loop { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #9d174d; } .lj-loop em { font-style: normal; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: #fce7f3; }

/* Side */
.lj-live { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: #e11d48; background: #fff; border: 1px solid #fbd0d9; padding: 8px 12px; border-radius: 99px; }
.lj-live i { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 0 rgba(244,63,94,.6); animation: lj-ping 1.6s ease-out infinite; }
.lj-live b { font-variant-numeric: tabular-nums; color: #5f5372; font-weight: 600; min-width: 9.5ch; }
.lj-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.01em; margin: var(--space-4) 0 var(--space-6); color: var(--color-text); max-width: 26ch; }
.lj-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.lj-step { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) minmax(0, 15rem); gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px; border: 1px solid transparent; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; cursor: default; }
.lj-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid color-mix(in oklab, var(--c) 40%, #fff); color: var(--c); font-size: 12px; transition: all .35s ease; }
.lj-step.is-done .lj-dot { background: color-mix(in oklab, var(--c) 18%, #fff); }
.lj-step.is-active { background: #fff; border-color: color-mix(in oklab, var(--c) 35%, #fff); box-shadow: 0 12px 30px -18px var(--c); }
.lj-step.is-active .lj-dot { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 0 0 6px color-mix(in oklab, var(--c) 18%, transparent); }
.lj-txt { display: grid; gap: 2px; min-width: 0; }
.lj-t { display: flex; align-items: center; gap: 8px; font: 700 14px/1.3 var(--font-body); color: var(--color-text); }
.lj-time { font: 600 10px/1 var(--font-mono, monospace); font-style: normal; color: #9a8cb3; background: #f4f1fa; padding: 3px 6px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.lj-time.is-set { color: var(--c); background: color-mix(in oklab, var(--c) 12%, #fff); }
.lj-d { font-size: 13px; line-height: 1.4; color: var(--color-text-muted); }
.lj-why { display: grid; gap: 2px; text-align: right; opacity: .55; transition: opacity .35s ease; }
.lj-why strong { font-size: 12px; line-height: 1.3; color: var(--c); }
.lj-why small { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: #9a8cb3; }
.lj-step.is-active .lj-why, .lj-step.is-done .lj-why { opacity: 1; }
.lj-pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); }
.lj-pillars span { font: 700 12px/1 var(--font-body); color: #fff; padding: 9px 14px; border-radius: 99px; background: var(--c); }

@keyframes lj-blink { 50% { opacity: 0; } }
@keyframes lj-bounce { 50% { transform: rotate(-45deg) translate(3px,-3px); } }
@keyframes lj-fill { to { width: 100%; } }
@keyframes lj-shim { to { background-position: -200% 0; } }
@keyframes lj-tap { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(5); opacity: 0; } }
@keyframes lj-dots { 50% { transform: translateY(-4px); opacity: .5; } }
@keyframes lj-ping { 0% { box-shadow: 0 0 0 0 rgba(244,63,94,.6); } 100% { box-shadow: 0 0 0 10px rgba(244,63,94,0); } }
@media (prefers-reduced-motion: reduce) { .lj *, .lj *::before { animation: none !important; } }

@media (max-width: 1100px) { .lj-step { grid-template-columns: 34px minmax(0,1fr); } .lj-why { grid-column: 2; text-align: left; display: none; } .lj-step.is-active .lj-why { display: grid; } }
@media (max-width: 860px) {
  .lj-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-5); }
  .lj-side { order: -1; }
  .lj-head h2 { margin: var(--space-3) 0 0; font-size: 1.45rem; }
  .lj-steps { display: block; height: 112px; margin-top: var(--space-4); }
  .lj-step { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; align-content: center; }
  .lj-step.is-active { opacity: 1; transform: none; }
  .lj-step .lj-why { display: grid; }
  .lj-pillars { display: none; }
  .lj-phone { width: 220px; height: 440px; border-radius: 34px; padding: 10px; }
  .lj-screens { border-radius: 26px; }
  .lj-screen { padding: 52px 14px 26px; gap: 10px; }
  .lj-map, .lj-bars { height: 130px; }
  .lj-skel .blk { height: 60px; }
}

/* Centered brand lockup above the live journey */
.lj-brand { display: flex; justify-content: center; margin-bottom: clamp(var(--space-6), 3vw, var(--space-10)); position: relative; z-index: 1; }
.lj-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text); }
.lj-logo-tile { position: relative; width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #3b1a73, #2c1259 55%, #1d0b3d); box-shadow: 0 22px 44px -18px rgba(124,58,237,.65), inset 0 0 0 1px rgba(167,139,250,.25); }
.lj-logo-tile::after { content: ''; position: absolute; inset: -2px; border-radius: 30px; padding: 2px; z-index: -1;
  background: conic-gradient(from 0deg, #f43f5e, #f59e0b, #7c3aed, #0891b2, #059669, #2563eb, #db2777, #f43f5e); filter: blur(14px); opacity: .55; }
.lj-logo-ring { position: absolute; inset: -9px; border-radius: 34px; border: 1.5px dashed rgba(124,58,237,.35); }
.lj-logo-mark { width: 62px; height: 62px; overflow: visible; }
.lj-wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem); letter-spacing: 0.08em; color: #150c22; line-height: 1; }
.lj-wordmark span { font-weight: 400; color: #7c3aed; }
.lj-logo-sub { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #9a8cb3; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .lj-chev { transform-box: fill-box; transform-origin: center; animation: lj-chev-up 3.6s cubic-bezier(.2,.8,.2,1) infinite; }
  .lj-chev--3 { animation-delay: 0s; } .lj-chev--2 { animation-delay: .15s; } .lj-chev--1 { animation-delay: .3s; }
  .lj-logo-tile::after { animation: lj-hue 8s linear infinite; }
  .lj-logo:hover .lj-logo-tile { transform: translateY(-3px); }
  .lj-logo-tile { transition: transform .3s ease; }
}
@keyframes lj-chev-up { 0%, 55%, 100% { transform: translateY(0); opacity: 1; } 65% { transform: translateY(14px); opacity: .35; } 80% { transform: translateY(-6px); opacity: 1; } 90% { transform: translateY(0); } }
@keyframes lj-hue { to { filter: blur(14px) hue-rotate(360deg); } }
@media (max-width: 860px) { .lj-logo-tile { width: 84px; height: 84px; border-radius: 24px; } .lj-logo-mark { width: 50px; height: 50px; } .lj-logo-ring { border-radius: 30px; } .lj-logo-sub { font-size: 10px; letter-spacing: .1em; } }
.lj-head h2 { margin-top: 0; }

/* ===== Homepage pitch: AI & custom software (2026-10) ===== */
.pitch-subhead { text-align: center; max-width: 720px; margin: var(--space-12) auto var(--space-6); }
.pitch-subhead h3 { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); margin: 0 0 var(--space-2); }
.pitch-subhead p { color: var(--color-text-muted); margin: 0; }
.pitch-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.pitch-svc {
  --c: #7c3aed; --cl: #f3ecff;
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6); border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--color-border); text-decoration: none; color: var(--color-text);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.pitch-svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.pitch-svc:nth-child(2) { --c: #0891b2; --cl: #e0f7fb; }
.pitch-svc:nth-child(3) { --c: #059669; --cl: #e2f7ee; }
.pitch-svc:nth-child(4) { --c: #ea580c; --cl: #fff0e6; }
.pitch-svc:hover { transform: translateY(-4px); box-shadow: 0 14px 34px -14px rgba(45,18,89,.28); border-color: var(--c); }
.pitch-svc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cl); color: var(--c); }
.pitch-svc-icon svg { width: 24px; height: 24px; }
.pitch-svc strong { font-size: 1.08rem; line-height: 1.3; }
.pitch-svc-body { font-size: .95rem; line-height: 1.55; color: var(--color-text-muted); flex: 1; }
.pitch-svc-tech { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .02em; color: var(--c); background: var(--cl); padding: 6px 10px; border-radius: 8px; line-height: 1.4; }
.pitch-svc-more { font-weight: 600; font-size: .92rem; color: var(--c); }
.pitch-cta {
  margin-top: var(--space-10); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  padding: var(--space-6) var(--space-8); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #f3ecff, #e0f7fb 55%, #e2f7ee); border: 1px solid var(--color-border);
}
.pitch-cta p { margin: 0; max-width: 620px; }
.pitch-cta-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 1100px) { .pitch-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pitch-svc-grid { grid-template-columns: 1fr; }
  .pitch-cta { flex-direction: column; align-items: stretch; text-align: center; padding: var(--space-6); }
  .pitch-cta-actions { justify-content: center; }
  .pitch-cta-actions .btn { flex: 1 1 100%; }
}

/* ===== AI & custom software service pages ===== */
.aisvc-plain { max-width: 760px; margin: var(--space-4) 0 0; padding: var(--space-3) var(--space-4); border-left: 4px solid var(--color-primary); background: var(--color-primary-highlight); border-radius: 0 10px 10px 0; font-weight: 500; }
.aisvc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.aisvc-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); border-top: 4px solid #7c3aed; }
.aisvc-card + .aisvc-card { border-top-color: #0891b2; }
.aisvc-card + .aisvc-card .aisvc-icon { background: #e0f7fb; color: #0891b2; }
.aisvc-card + .aisvc-card .aisvc-tech { color: #0891b2; background: #e0f7fb; }
.aisvc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #f3ecff; color: #7c3aed; margin-bottom: var(--space-4); }
.aisvc-icon svg { width: 26px; height: 26px; }
.aisvc-card h3 { margin: 0 0 var(--space-2); font-size: 1.3rem; }
.aisvc-tech { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #7c3aed; background: #f3ecff; padding: 5px 10px; border-radius: 8px; margin: 0 0 var(--space-4); }
.aisvc-card p { color: var(--color-text-muted); line-height: 1.6; }
.aisvc-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); }
.aisvc-list li { position: relative; padding-left: 26px; line-height: 1.5; font-size: .95rem; }
.aisvc-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: #059669 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.aiflow-sec { padding-block: var(--space-12); }
.aiflow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: var(--space-10); align-items: center; padding: var(--space-10); border-radius: var(--radius-lg); background: linear-gradient(135deg, #f3ecff, #e0f7fb 60%, #fff0e6); border: 1px solid var(--color-border); }
.aiflow-head h2 { margin: var(--space-2) 0 var(--space-3); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); }
.aiflow-head p { color: var(--color-text-muted); margin: 0; }
.aiflow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: s; }
.aiflow-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); align-items: start; background: #fff; border-radius: 12px; padding: var(--space-4); border: 1px solid var(--color-border); }
.aiflow-when { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: #7c3aed; background: #f3ecff; border-radius: 8px; padding: 6px 8px; text-align: center; }
.aiflow-steps li:nth-child(2) .aiflow-when { color: #0891b2; background: #e0f7fb; }
.aiflow-steps li:nth-child(3) .aiflow-when { color: #059669; background: #e2f7ee; }
.aiflow-steps li:nth-child(4) .aiflow-when { color: #ea580c; background: #fff0e6; }
.aiflow-steps p { margin: 0; line-height: 1.5; }
.aisvc-process { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); counter-reset: p; }
.aisvc-process li { counter-increment: p; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: var(--space-4); display: flex; flex-direction: column; gap: 4px; }
.aisvc-process li::before { content: counter(p); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.aisvc-process strong { font-size: 1rem; }
.aisvc-process span { font-size: .88rem; color: var(--color-text-muted); line-height: 1.45; }
@media (max-width: 960px) {
  .aisvc-grid, .aiflow { grid-template-columns: 1fr; }
  .aiflow { padding: var(--space-6); gap: var(--space-6); }
  .aisvc-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .aisvc-card { padding: var(--space-6); }
  .aiflow-steps li { grid-template-columns: 1fr; gap: var(--space-2); }
  .aiflow-when { justify-self: start; }
  .aisvc-process { grid-template-columns: 1fr; }
}

/* Services mega menu with AI column */
@media (min-width: 961px) {
  .mega-menu:has(.mega-col-ai) { width: min(1140px, 96vw); }
  .mega-menu:has(.mega-col-ai) .mega-menu-inner { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.05fr); }
}

/* ===== Site AI assistant (light mode only) ===== */
.lts-chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; font-family: var(--font-body); color-scheme: light; }
.back-to-top { bottom: 96px; }
.lts-chat-launch {
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 0; cursor: pointer;
  border-radius: 999px; background: #fff; color: #1a1033; text-align: left; position: relative;
  box-shadow: 0 12px 32px -10px rgba(45,18,89,.45), 0 0 0 1px rgba(124,58,237,.18);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, padding .3s ease;
}
.lts-chat-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(45,18,89,.55), 0 0 0 1px rgba(124,58,237,.35); }
.lts-chat-launch-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2d1259, #4c1d95); flex-shrink: 0; position: relative; }
.lts-chat-launch-mark::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 0deg, #7c3aed, #06b6d4, #10b981, #f59e0b, #ec4899, #7c3aed); z-index: -1; }
.lts-chat-launch-mark svg, .lts-chat-avatar svg { width: 26px; height: 26px; }
.lts-chat-launch-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; overflow: hidden; max-width: 220px; transition: max-width .3s ease, opacity .2s ease; }
.lts-chat-launch-text strong { font-size: 14.5px; }
.lts-chat-launch-text span { font-size: 12px; color: #6b5f86; }
.lts-chat-launch-dot { position: absolute; left: 42px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #10b981; border: 2px solid #fff; }
.lts-chat.is-compact .lts-chat-launch { padding: 6px; gap: 0; }
.lts-chat.is-compact .lts-chat-launch-text { max-width: 0; opacity: 0; }
.lts-chat.is-compact .lts-chat-launch-dot { left: 38px; top: 4px; }
.lts-chat.is-open .lts-chat-launch { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .lts-chat-launch-mark::after { animation: ltsSpin 6s linear infinite; }
  .lts-chat-launch-dot { animation: ltsPulse 2s ease-in-out infinite; }
}
@keyframes ltsSpin { to { transform: rotate(360deg); } }
@keyframes ltsPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }

.lts-chat-panel {
  width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); height: min(600px, calc(100dvh - 40px));
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(45,18,89,.45), 0 0 0 1px rgba(124,58,237,.16);
}
.lts-chat-panel[hidden] { display: none; }
.lts-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(120deg, #2d1259, #5b21b6 60%, #7c3aed); color: #fff; }
.lts-chat-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); flex-shrink: 0; }
.lts-chat-title { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.lts-chat-title strong { font-size: 15px; }
.lts-chat-title span { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.lts-chat-title i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; display: inline-block; }
.lts-chat-close { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lts-chat-close:hover { background: rgba(255,255,255,.22); }
.lts-chat-close svg { width: 18px; height: 18px; }
.lts-chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f8f6fd; }
.lts-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; word-wrap: break-word; overflow-wrap: anywhere; }
.lts-msg p { margin: 0; }
.lts-msg p + p, .lts-msg p + ul, .lts-msg ul + p { margin-top: 6px; }
.lts-msg ul { margin: 4px 0 0; padding-left: 18px; }
.lts-msg li { margin: 2px 0; }
.lts-msg a { color: #6d28d9; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lts-msg--assistant { align-self: flex-start; background: #fff; color: #1a1033; border: 1px solid #e9e3f7; border-bottom-left-radius: 6px; }
.lts-msg--user { align-self: flex-end; background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; border-bottom-right-radius: 6px; }
.lts-msg--typing { display: flex; gap: 4px; padding: 14px; }
.lts-msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; animation: ltsDot 1s ease-in-out infinite; }
.lts-msg--typing span:nth-child(2) { animation-delay: .15s; } .lts-msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ltsDot { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.lts-chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; background: #f8f6fd; }
.lts-chat-suggest:not(:empty) { padding-bottom: 12px; }
.lts-chat-suggest button { font: inherit; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid #ddd3f5; background: #fff; color: #5b21b6; cursor: pointer; }
.lts-chat-suggest button:hover { background: #f3ecff; border-color: #a78bfa; }
.lts-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #eee8f8; background: #fff; }
.lts-chat-form textarea {
  flex: 1; resize: none; font: inherit; font-size: 16px; line-height: 1.4; padding: 10px 12px; border-radius: 12px;
  border: 1px solid #ddd3f5; background: #fff; color: #1a1033; max-height: 110px; -webkit-appearance: none; appearance: none;
}
.lts-chat-form textarea:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.lts-chat-form button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: #7c3aed; color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.lts-chat-form button:hover { background: #6d28d9; }
.lts-chat-form button svg { width: 20px; height: 20px; }
.lts-chat-foot { display: flex; gap: 8px; padding: 0 12px 6px; background: #fff; }
.lts-chat-foot a { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 8px; border-radius: 10px; text-decoration: none; background: #f3ecff; color: #5b21b6; }
.lts-chat-foot a:hover { background: #e9ddff; }
.lts-chat-note { margin: 0; padding: 0 12px 10px; font-size: 11px; color: #8a80a3; text-align: center; background: #fff; }

@media (max-width: 720px) {
  .lts-chat { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .back-to-top { bottom: calc(148px + env(safe-area-inset-bottom)); }
  .lts-chat-launch { padding: 6px 14px 6px 6px; }
  .lts-chat-launch-text span { display: none; }
  .lts-chat.is-open { left: 0; right: 0; bottom: 0; }
  .lts-chat-panel { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; }
  .lts-chat-panel { padding-bottom: env(safe-area-inset-bottom); }
}
