/* ═══════════════════════════════════════════════════════════
   Skugal — Enterprise AI Engineering Partner
   Premium enterprise landing page
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --navy: #081a3a;
  --ink: #0f172a;
  --secondary: #64748b;
  --muted: #94a3b8;
  --border: #e8edf5;
  --border-soft: #eef2f7;
  --glow: #eef4ff;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --radius: 20px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(37, 99, 235, 0.12);
  --shadow-float: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 48px -16px rgba(37, 99, 235, 0.18);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --max: 1200px;
  --max-wide: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 40px;
}

.container.narrow { max-width: 820px; }

/* ── Announcement ── */

.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(90deg, #081a3a 0%, #10224e 55%, #081a3a 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 9px 24px;
}

.announce strong { color: #fff; font-weight: 600; }

.announce-spark {
  color: #7ea6ff;
  margin-right: 6px;
  display: inline-block;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.announce-cta {
  flex-shrink: 0;
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 13px;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.announce-cta:hover { background: rgba(255, 255, 255, 0.16); }

/* ── Nav ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease;
  overflow: visible;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.18);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #eef4ff, #dbeafe);
  border: 1px solid #dbeafe;
  display: grid;
  place-items: center;
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.nav-menu { display: flex; align-items: center; gap: 2px; margin: 0 auto; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover { color: var(--navy); background: #f4f7fc; }

.chev { width: 9px; height: 6px; opacity: 0.55; transition: transform 0.25s ease; }
.has-drop:hover .chev { transform: rotate(180deg); }
.has-drop { position: relative; }

.drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.03), 0 24px 60px -20px rgba(15, 23, 42, 0.22);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  transition: background 0.15s ease, color 0.15s ease;
}

.drop a:hover { background: var(--blue-50); color: var(--primary-deep); }

/* ── Solutions Mega Menu ── */

.has-mega { position: static; }

.has-mega > .mega-trigger.is-active,
.has-mega:hover > .mega-trigger,
.has-mega:focus-within > .mega-trigger {
  color: var(--primary-deep);
  background: #f4f7fc;
}

.has-mega > .mega-trigger.is-active .chev,
.has-mega:hover > .mega-trigger .chev,
.has-mega:focus-within > .mega-trigger .chev {
  transform: rotate(180deg);
  color: var(--primary);
}

.has-mega > .mega-trigger.is-active::after,
.has-mega:hover > .mega-trigger::after,
.has-mega:focus-within > .mega-trigger::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.has-mega > .mega-trigger { position: relative; }

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 24px 12px;
  opacity: 0;
  visibility: hidden;
  /* Wrapper never captures clicks — only the bridge + panel do (avoids sticky full-width hover) */
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 120;
}

/* Invisible hover bridge: trigger → panel (paired with delayed close in JS) */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 48px));
  top: -40px;
  height: 40px;
  pointer-events: none;
}

/* Only .is-open shows the panel. Do NOT use :focus-within — it traps the menu open. */
.has-mega.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-mega.is-open > .mega-menu::before,
.has-mega.is-open > .mega-menu .mega-panel {
  pointer-events: auto;
}

.mega-panel {
  max-width: 1240px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04), 0 32px 72px -28px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.mega-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 420px;
}

.mega-featured {
  background: #f7f9fc;
  border-right: 1px solid var(--border-soft);
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
}

.mega-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 0 6px;
}

.mega-featured-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mega-featured-item {
  display: grid;
  grid-template-columns: 42px 1fr 14px;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 14px;
  transition: background 0.18s ease;
}

.mega-featured-item:hover { background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); }

.mega-ficon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.mega-ficon svg { width: 22px; height: 22px; }

.mega-ficon-blue { background: #eef4ff; color: #2563eb; }
.mega-ficon-green { background: #ecfdf5; color: #059669; }
.mega-ficon-violet { background: #f5f3ff; color: #7c3aed; }
.mega-ficon-sky { background: #e0f2fe; color: #0284c7; }

.mega-featured-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mega-featured-copy strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.mega-featured-copy em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary);
}

.mega-chev {
  color: #94a3b8;
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-featured-item:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-view-all {
  margin-top: 12px;
  padding: 10px 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-view-all:hover { text-decoration: underline; }

.mega-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 22px 10px 14px;
}

.mega-col {
  padding: 0 14px 8px;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

.mega-col:last-child { border-right: none; }

.mega-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.mega-col-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--glow);
  border: 1px solid var(--blue-100);
  flex-shrink: 0;
}

.mega-col-icon svg { width: 15px; height: 15px; }

.mega-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-bottom: 10px;
}

.mega-col li a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mega-col li a:hover { background: #f4f7fc; }

.mega-item-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #94a3b8;
  display: grid;
  place-items: center;
}

.mega-item-icon svg { width: 15px; height: 15px; }

.mega-col li a span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mega-col li strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.mega-col li em {
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
}

.mega-col-link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
  padding: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mega-col-link:hover { text-decoration: underline; }

.mega-footer {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-top: 1px solid var(--border-soft);
}

.mega-help {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #eef4ff, #f7f9fc);
  border-right: 1px solid var(--border-soft);
}

.mega-help-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--blue-100);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.mega-help strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.mega-help p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--secondary);
  max-width: 280px;
}

.mega-help-cta {
  margin-left: auto;
  flex-shrink: 0;
  background: #fff;
  font-size: 13px;
  padding: 10px 14px;
}

.mega-resources {
  padding: 16px 20px;
  background: #fafbfd;
  position: relative;
}

.mega-resources ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-resources li a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mega-resources li a:hover { background: #fff; }

.mega-res-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.mega-res-icon svg { width: 14px; height: 14px; }

.mega-resources strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.mega-resources em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

.mega-resources-all {
  position: absolute;
  right: 20px;
  top: 16px;
  margin: 0;
  padding: 0;
}

/* ── Solutions Mega Menu ── */

.mega-menu-solutions .mega-panel {
  max-width: 1280px;
}

.mega-main-solutions {
  grid-template-columns: 280px 1fr;
  min-height: 520px;
}

.mega-solutions-side {
  gap: 0;
}

.mega-solutions-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
  padding: 0 6px;
  margin-bottom: 8px;
}

.mega-solutions-intro {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--secondary);
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}

.mega-solutions-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-bottom: 14px;
}

.mega-solutions-nav a {
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mega-solutions-nav a:hover { background: #fff; }

.mega-solutions-nav a.is-active {
  background: #eef4ff;
  border-color: #bfdbfe;
  color: var(--primary-deep);
}

.mega-solutions-nav a.is-active .mega-item-icon,
.mega-solutions-nav a.is-active .mega-chev {
  color: var(--primary);
}

.mega-solutions-nav a:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-solutions-help {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
  margin-top: auto;
}

.mega-solutions-help .mega-help-icon {
  width: 40px;
  height: 40px;
}

.mega-solutions-help strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.mega-solutions-help p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 6px;
}

.mega-solutions-help a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-solutions-help a:hover { text-decoration: underline; }

.mega-cols-solutions {
  padding: 18px 10px 14px;
}

.mega-cols-solutions .mega-col-title {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.mega-cols-solutions .mega-col:nth-child(1) .mega-col-title { color: #1d4ed8; }
.mega-cols-solutions .mega-col:nth-child(2) .mega-col-title { color: #047857; }
.mega-cols-solutions .mega-col:nth-child(3) .mega-col-title { color: #6d28d9; }
.mega-cols-solutions .mega-col:nth-child(4) .mega-col-title { color: #c2410c; }

.mega-col-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--secondary);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.mega-cols-solutions .mega-col li a {
  align-items: center;
  padding: 8px 8px;
}

.mega-cols-solutions .mega-col li strong {
  font-size: 13px;
  font-weight: 600;
}

.mega-footer-solutions {
  grid-template-columns: 1fr;
  background: #f7f9fc;
  border-top: 1px solid var(--border-soft);
}

.mega-solutions-resources {
  position: relative;
  padding: 16px 20px 16px;
}

.mega-solutions-resources .mega-label {
  margin-bottom: 12px;
  padding: 0;
}

.mega-solutions-resources ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 16px;
  padding-right: 140px;
}

.mega-solutions-resources li a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mega-solutions-resources li a:hover { background: #fff; }

.mega-solutions-resources .mega-res-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.mega-solutions-resources strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.mega-solutions-resources em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.mega-solutions-resources-all {
  position: absolute;
  right: 20px;
  top: 16px;
  margin: 0;
  padding: 0;
}

/* ── Industries Mega Menu ── */

.mega-main-industries {
  grid-template-columns: 280px 1fr;
  min-height: 460px;
}

.mega-industries-side {
  gap: 12px;
}

.mega-industries-intro {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--secondary);
  padding: 0 6px 8px;
}

.mega-side-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-soft);
}

.mega-side-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.mega-side-icon-blue { background: #eef4ff; color: #2563eb; }
.mega-side-icon-green { background: #ecfdf5; color: #059669; }

.mega-side-card strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.mega-side-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 8px;
}

.mega-side-card a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-side-card a:hover { text-decoration: underline; }

.mega-link-green { color: #059669 !important; }

.mega-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 8px;
  padding: 18px 16px 16px;
  align-content: start;
}

.mega-industry {
  display: grid;
  grid-template-columns: 40px 1fr 14px;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.mega-industry:hover { background: #f4f7fc; }

.mega-industry:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-iicon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.mega-iicon svg { width: 20px; height: 20px; }

.mega-iicon-violet { background: #f3e8ff; color: #7c3aed; }
.mega-iicon-blue { background: #eef4ff; color: #2563eb; }
.mega-iicon-green { background: #ecfdf5; color: #059669; }
.mega-iicon-yellow { background: #fef9c3; color: #ca8a04; }
.mega-iicon-orange { background: #ffedd5; color: #ea580c; }
.mega-iicon-amber { background: #fef3c7; color: #d97706; }
.mega-iicon-red { background: #fee2e2; color: #dc2626; }
.mega-iicon-cyan { background: #e0f2fe; color: #0891b2; }

.mega-industry-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mega-industry-copy strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.mega-industry-copy em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary);
}

.mega-footer-industries {
  grid-template-columns: 1.1fr 1.4fr auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: #fafbfd;
}

.mega-footer-industries .mega-help {
  border-right: none;
  background: transparent;
  padding: 16px 20px;
}

.mega-help-compact { gap: 12px; }

.mega-industries-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 8px;
}

.mega-industries-stats li {
  text-align: center;
  padding: 6px 8px;
  border-left: 1px solid var(--border-soft);
}

.mega-industries-stats li:first-child { border-left: none; }

.mega-industries-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mega-industries-stats span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.mega-footer-industries .mega-help-cta {
  margin: 0 20px 0 0;
  background: linear-gradient(180deg, #2f6bf0, var(--primary-deep));
  color: #fff;
  border: none;
}

.mega-footer-industries .mega-help-cta:hover {
  transform: translateY(-1px);
}

/* ── Services Mega Menu ── */

.mega-main-services {
  grid-template-columns: 270px 1fr;
  min-height: 480px;
}

.mega-services-side {
  gap: 0;
}

.mega-services-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--navy);
  padding: 0 6px;
  margin-bottom: 10px;
}

.mega-services-intro {
  font-size: 13px;
  line-height: 1.55;
  color: var(--secondary);
  padding: 0 6px 14px;
}

.mega-services-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.mega-services-nav a {
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s ease;
}

.mega-services-nav a:hover { background: #fff; }

.mega-services-nav a:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-services-cta {
  margin-top: auto;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff, #f5f8ff);
  border: 1px solid var(--blue-100);
}

.mega-services-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--blue-100);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.mega-services-cta-icon svg { width: 20px; height: 20px; }

.mega-services-cta p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 6px;
}

.mega-services-cta a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-services-cta a:hover { text-decoration: underline; }

.mega-cols-services {
  padding-top: 18px;
}

.mega-footer-services {
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
}

.mega-resources-services {
  position: static;
  padding: 16px 20px;
  border-right: 1px solid var(--border-soft);
}

.mega-resources-services ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.mega-help-services {
  background: linear-gradient(135deg, #eef4ff, #f7f9fc);
  border-right: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
}

.mega-help-services a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mega-help-services a:hover { text-decoration: underline; }

/* ── Case Studies Mega Menu ── */

.mega-menu-stories .mega-panel {
  max-width: 1280px;
}

.mega-main-stories {
  grid-template-columns: 268px 1fr;
  min-height: 520px;
}

.mega-stories-side {
  gap: 0;
}

.mega-stories-hero {
  height: 78px;
  margin: 0 4px 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 28%, rgba(96, 165, 250, 0.35), transparent 42%),
    radial-gradient(circle at 22% 70%, rgba(37, 99, 235, 0.12), transparent 45%),
    linear-gradient(145deg, #e8f0ff 0%, #f5f8ff 55%, #eef4ff 100%);
  border: 1px solid #dbe7fb;
  position: relative;
  overflow: hidden;
}

.mega-stories-hero::before,
.mega-stories-hero::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.mega-stories-hero::before {
  width: 34px;
  height: 22px;
  top: 14px;
  right: 18px;
  transform: rotate(12deg);
}

.mega-stories-hero::after {
  width: 22px;
  height: 22px;
  top: 28px;
  right: 48px;
  border-radius: 6px;
  transform: rotate(-8deg);
}

.mega-stories-hero-chart {
  position: absolute;
  left: 16px;
  right: 56px;
  bottom: 14px;
  height: 32px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.55), rgba(37, 99, 235, 0.2));
  clip-path: polygon(0 78%, 16% 52%, 32% 62%, 48% 30%, 64% 44%, 80% 18%, 100% 26%, 100% 100%, 0 100%);
}

.mega-stories-hero-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.9) 70%);
  clip-path: polygon(0 78%, 16% 52%, 32% 62%, 48% 30%, 64% 44%, 80% 18%, 100% 26%, 100% 32%, 80% 24%, 64% 50%, 48% 36%, 32% 68%, 16% 58%, 0 84%);
  opacity: 0.9;
}

.mega-stories-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  padding: 0 6px;
  margin-bottom: 6px;
}

.mega-stories-intro {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--secondary);
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}

.mega-stories-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-stories-nav a {
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mega-stories-nav a:hover { background: #fff; }

.mega-stories-nav a.is-active {
  background: #eef4ff;
  border-color: #bfdbfe;
  color: var(--primary-deep);
}

.mega-stories-nav a.is-active .mega-item-icon,
.mega-stories-nav a.is-active .mega-chev {
  color: var(--primary);
}

.mega-stories-nav a:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 18px 16px;
  align-content: start;
}

.mega-story-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 13px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  min-height: 156px;
}

.mega-story-card:hover {
  border-color: #c7d7f5;
  box-shadow: 0 10px 28px -18px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.mega-story-card .mega-iicon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.mega-story-card .mega-iicon svg { width: 18px; height: 18px; }

.mega-story-ind {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.25;
}

.mega-story-card strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.mega-story-card em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: var(--secondary);
  flex: 1;
}

.mega-story-link {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
}

.mega-story-card:hover .mega-story-link { text-decoration: underline; }

.mega-stories-more {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff 0%, #f4f7ff 100%);
  border: 1px solid #dbe7fb;
}

.mega-stories-more-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbe7fb;
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06);
}

.mega-stories-more-icon svg { width: 22px; height: 22px; }

.mega-stories-more strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.mega-stories-more em {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--secondary);
}

.mega-stories-more .btn {
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
}

.mega-footer-stories {
  grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.35fr) auto;
  align-items: center;
  gap: 8px;
  background: #f7f9fc;
  border-top: 1px solid var(--border-soft);
}

.mega-footer-stories .mega-help {
  border-right: none;
  background: transparent;
  padding: 14px 18px;
}

.mega-help-icon-trophy {
  background: #eef4ff;
  color: var(--primary);
}

.mega-stories-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 8px 4px;
}

.mega-stories-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px;
  border-left: 1px solid var(--border-soft);
  gap: 2px;
}

.mega-stories-stats li:first-child { border-left: none; }

.mega-stat-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-bottom: 2px;
}

.mega-stat-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 auto;
}

.mega-stories-stats strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mega-stories-stats span:not(.mega-stat-icon) {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.mega-stories-footer-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 8px;
}

.mega-stories-footer-cta p {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--secondary);
  max-width: 190px;
}

.mega-stories-footer-cta .btn {
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
}

/* ── Resources Mega Menu ── */

.mega-menu-resources .mega-panel {
  max-width: 1280px;
}

.mega-main-resources {
  grid-template-columns: 268px 1fr;
  min-height: 460px;
}

.mega-resources-side {
  gap: 0;
}

.mega-resources-hero {
  height: 78px;
  margin: 0 4px 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.35), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(236, 72, 153, 0.28), transparent 42%),
    radial-gradient(circle at 55% 60%, rgba(59, 130, 246, 0.22), transparent 48%),
    linear-gradient(135deg, #f3e8ff 0%, #ede9fe 40%, #fce7f3 100%);
  border: 1px solid #e9d5ff;
  position: relative;
  overflow: hidden;
}

.mega-resources-hero::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 28px;
  top: 18px;
  left: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.18);
  transform: rotate(-8deg);
}

.mega-resources-hero::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  bottom: 16px;
  right: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(236, 72, 153, 0.2);
  transform: rotate(12deg);
}

.mega-resources-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  padding: 0 6px;
  margin-bottom: 6px;
}

.mega-resources-intro {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--secondary);
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}

.mega-resources-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-resources-nav a {
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mega-resources-nav a:hover { background: #fff; }

.mega-resources-nav a.is-active {
  background: #eef4ff;
  border-color: #bfdbfe;
  color: var(--primary-deep);
}

.mega-resources-nav a.is-active .mega-item-icon,
.mega-resources-nav a.is-active .mega-chev {
  color: var(--primary);
}

.mega-resources-nav a:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-cols-resources {
  padding: 18px 10px 14px;
}

.mega-col-icon-blue {
  background: #eef4ff;
  color: #2563eb;
  border-color: #dbe7fb;
}

.mega-col-icon-green {
  background: #ecfdf5;
  color: #059669;
  border-color: #bbf7d0;
}

.mega-col-icon-violet {
  background: #f3e8ff;
  color: #7c3aed;
  border-color: #e9d5ff;
}

.mega-col-icon-orange {
  background: #ffedd5;
  color: #ea580c;
  border-color: #fed7aa;
}

.mega-cols-resources .mega-col:nth-child(1) .mega-col-title { color: #1d4ed8; }
.mega-cols-resources .mega-col:nth-child(2) .mega-col-title { color: #047857; }
.mega-cols-resources .mega-col:nth-child(3) .mega-col-title { color: #6d28d9; }
.mega-cols-resources .mega-col:nth-child(4) .mega-col-title { color: #c2410c; }

.mega-footer-resources {
  grid-template-columns: minmax(220px, 0.95fr) minmax(360px, 1.6fr) minmax(180px, 0.75fr);
  align-items: stretch;
  gap: 0;
  background: #f7f9fc;
  border-top: 1px solid var(--border-soft);
}

.mega-resources-featured {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-right: 1px solid var(--border-soft);
  align-items: start;
}

.mega-resources-featured-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: var(--primary);
  border: 1px solid #dbe7fb;
}

.mega-resources-featured-icon svg { width: 20px; height: 20px; }

.mega-resources-featured .mega-label {
  margin-bottom: 6px;
  padding: 0;
}

.mega-resources-featured strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.mega-resources-featured a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-resources-featured a:hover { text-decoration: underline; }

.mega-resources-popular {
  padding: 14px 16px;
  border-right: 1px solid var(--border-soft);
  min-width: 0;
}

.mega-resources-popular .mega-label {
  margin-bottom: 10px;
  padding: 0;
}

.mega-resources-popular ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.mega-resources-popular li a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 8px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mega-resources-popular li a:hover { background: #fff; }

.mega-resources-popular .mega-res-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--primary);
}

.mega-resources-popular .mega-res-icon svg { width: 16px; height: 16px; }

.mega-resources-popular strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.mega-resources-popular em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 1px;
}

.mega-res-dl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.mega-resources-help {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.mega-resources-help strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.mega-resources-help p {
  font-size: 12.5px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.mega-resources-help a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-resources-help a:hover { text-decoration: underline; }

/* ── Company Mega Menu ── */

.mega-menu-company .mega-panel {
  max-width: 1320px;
}

.mega-main-company {
  grid-template-columns: 250px 1fr;
  min-height: 440px;
}

.mega-company-side {
  gap: 0;
}

.mega-company-hero {
  margin: 0 4px 12px;
  padding: 16px 14px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 28%, rgba(59, 130, 246, 0.55), transparent 42%),
    radial-gradient(circle at 28% 80%, rgba(37, 99, 235, 0.35), transparent 48%),
    linear-gradient(145deg, #081a3a 0%, #0f2a57 55%, #123468 100%);
  border: 1px solid #1e3a6e;
  position: relative;
  overflow: hidden;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mega-company-hero-cubes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mega-company-hero-cube {
  position: absolute;
  border-radius: 6px;
  border: 1px solid rgba(147, 197, 253, 0.45);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(37, 99, 235, 0.12));
  box-shadow: 0 8px 20px -10px rgba(59, 130, 246, 0.7);
}

.mega-company-hero-cube-a {
  width: 34px;
  height: 26px;
  top: 16px;
  left: 18px;
  transform: rotate(-18deg) skewX(-8deg);
}

.mega-company-hero-cube-b {
  width: 40px;
  height: 30px;
  top: 14px;
  right: 28px;
  transform: rotate(12deg) skewY(-6deg);
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.5), rgba(37, 99, 235, 0.18));
}

.mega-company-hero-cube-c {
  width: 26px;
  height: 20px;
  top: 40px;
  left: 48%;
  transform: rotate(22deg);
}

.mega-company-title {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 14em;
}

.mega-company-intro {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--secondary);
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}

.mega-company-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-company-nav a {
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mega-company-nav a:hover { background: #fff; }

.mega-company-nav a.is-active {
  background: #eef4ff;
  border-color: #bfdbfe;
  color: var(--primary-deep);
}

.mega-company-nav a.is-active .mega-item-icon,
.mega-company-nav a.is-active .mega-chev {
  color: var(--primary);
}

.mega-company-nav a:hover .mega-chev {
  color: var(--primary);
  transform: translateX(2px);
}

.mega-cols-company {
  grid-template-columns: repeat(5, 1fr);
  padding: 16px 6px 12px;
}

.mega-cols-company .mega-col {
  padding: 0 10px 8px;
}

.mega-cols-company .mega-col li a {
  grid-template-columns: 18px 1fr;
  gap: 8px;
  padding: 8px 6px;
}

.mega-cols-company .mega-col li strong {
  font-size: 12.5px;
}

.mega-cols-company .mega-col li em {
  font-size: 11px;
}

.mega-cols-company .mega-col-link {
  font-size: 12px;
  padding: 6px;
}

.mega-col-icon-cyan {
  background: #e0f2fe;
  color: #0891b2;
  border-color: #bae6fd;
}

.mega-cols-company .mega-col:nth-child(1) .mega-col-title { color: #1d4ed8; }
.mega-cols-company .mega-col:nth-child(2) .mega-col-title { color: #047857; }
.mega-cols-company .mega-col:nth-child(3) .mega-col-title { color: #6d28d9; }
.mega-cols-company .mega-col:nth-child(4) .mega-col-title { color: #c2410c; }
.mega-cols-company .mega-col:nth-child(5) .mega-col-title { color: #0e7490; }

.mega-footer-company {
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.4fr) minmax(200px, 0.9fr);
  align-items: center;
  gap: 0;
  background: #f7f9fc;
  border-top: 1px solid var(--border-soft);
}

.mega-company-cta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-right: 1px solid var(--border-soft);
}

.mega-company-cta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.mega-company-cta p {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 6px;
}

.mega-company-cta a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-company-cta a:hover { text-decoration: underline; }

.mega-company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 10px 6px;
}

.mega-company-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px;
  border-left: 1px solid var(--border-soft);
  gap: 2px;
}

.mega-company-stats li:first-child { border-left: none; }

.mega-company-stats .mega-stat-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-bottom: 2px;
}

.mega-company-stats .mega-stat-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 auto;
}

.mega-company-stats strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mega-company-stats span:not(.mega-stat-icon) {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.mega-company-download {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  margin: 12px 16px 12px 8px;
  padding: 14px 14px;
  border-radius: 14px;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
}

.mega-company-download-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid #dbe7fb;
}

.mega-company-download-icon svg { width: 20px; height: 20px; }

.mega-company-download strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.mega-company-download p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary);
  margin-bottom: 6px;
}

.mega-company-download a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.mega-company-download a:hover { text-decoration: underline; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  padding: 10px 18px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #2f6bf0, var(--primary-deep));
  color: #fff;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.4), 0 10px 26px -10px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.4), 0 16px 34px -10px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  border-color: #c7d7f5;
  background: var(--blue-50);
  transform: translateY(-1px);
}

.btn-signin { padding: 9px 18px; }
.btn-lg { font-size: 15px; padding: 13px 24px; border-radius: 14px; }

/* ── Shared section chrome ── */

.section {
  position: relative;
  padding: clamp(72px, 10vh, 110px) 0;
}

.section + .section { border-top: 1px solid var(--border-soft); }

.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-head { margin-bottom: clamp(36px, 5vh, 56px); }
.section-head-center { text-align: center; }

.section-title {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--secondary);
  max-width: 640px;
}

.section-head-center .section-sub { margin: 0 auto; }

.grad {
  background: linear-gradient(92deg, #2563eb 5%, #3b82f6 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary-deep);
  background: #eef4ff;
  border: 1px solid #d7e6ff;
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  margin-bottom: 22px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.nav-search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #475569;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-search:hover { background: #f4f7fc; color: var(--navy); }
.nav-search svg { width: 18px; height: 18px; }

/* ── Hero ── */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vh, 96px) 0 clamp(48px, 6vh, 72px);
  background:
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 38%, #ffffff 100%);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    520px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(99, 102, 241, 0.07) 0%,
    rgba(37, 99, 235, 0.035) 28%,
    transparent 62%
  );
  z-index: 1;
}

.hero.is-spotlight .hero-spotlight {
  opacity: 1;
}

.bg-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 100% 90% at 50% 32%, black 22%, rgba(0, 0, 0, 0.45) 52%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 32%, black 22%, rgba(0, 0, 0, 0.45) 52%, transparent 82%);
  pointer-events: none;
}

.bg-grid-fade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(99, 102, 241, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.035) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, black 12%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, black 12%, transparent 68%);
  opacity: 0.65;
}

.bg-radial {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-radial-1 {
  width: 680px;
  height: 680px;
  left: -120px;
  top: -220px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.1), transparent 70%);
}

.bg-radial-2 {
  width: 620px;
  height: 620px;
  right: -140px;
  top: -180px;
  left: auto;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07), transparent 70%);
}

.bg-radial-3 {
  width: 540px;
  height: 540px;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04), transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.02em;
}

.hero-title-line {
  display: block;
}

.hero-title .grad,
.hero-type-text {
  background: linear-gradient(105deg, #6366f1 0%, #2563eb 42%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-type {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  min-height: 1.15em;
  min-width: 12ch;
}

.hero-type-text {
  display: inline;
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.88em;
  margin-left: 4px;
  margin-bottom: -0.06em;
  vertical-align: baseline;
  border-radius: 2px;
  background: linear-gradient(180deg, #6366f1, #2563eb);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.55);
  animation: hero-cursor-blink 1s steps(1) infinite;
}

.hero-title-static {
  display: block;
}

@keyframes hero-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero .badge {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(99, 102, 241, 0.18);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -16px rgba(37, 99, 235, 0.35);
}

.hero .badge-dot {
  background: linear-gradient(135deg, #6366f1, #2563eb);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.badge-chev {
  margin-left: 2px;
  color: var(--primary);
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
  color: var(--secondary);
  max-width: 680px;
  margin: 0 auto 30px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trusted {
  width: 100%;
}

.trusted-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #64748b !important;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
  cursor: default;
}

.logo:hover { opacity: 1; filter: grayscale(0.35); }

.logo-aws { font-size: 15px; font-weight: 800; letter-spacing: -0.04em; }
.logo-ms { font-weight: 600; }
.logo-gcloud { font-weight: 600; }
.logo-azure { font-weight: 600; }
.logo-openai { font-weight: 600; letter-spacing: -0.02em; }
.logo-anthropic { font-weight: 600; }
.logo-nvidia { font-weight: 800; letter-spacing: 0.02em; }
.logo-snow { font-weight: 600; }
.logo-dbx { font-weight: 700; }
.logo-mongo { font-weight: 700; }
.logo-pinecone { font-weight: 600; }
.logo-langchain { font-weight: 700; }
.logo-k8s { font-weight: 600; }
.logo-hf { font-weight: 600; }

.ms-grid { display: grid; grid-template-columns: 6px 6px; gap: 1.5px; }
.ms-grid i { width: 6px; height: 6px; background: #94a3b8; }

.g-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.azure-mark {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid #94a3b8;
}

.dbx-mark {
  width: 10px;
  height: 10px;
  background: #94a3b8;
  clip-path: polygon(50% 0, 100% 30%, 50% 60%, 0 30%);
}

.mongo-leaf { width: 8px; height: 16px; color: #94a3b8; }

.pine-mark {
  width: 8px;
  height: 10px;
  background: #94a3b8;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.k8s-mark {
  width: 10px;
  height: 10px;
  border: 1.5px solid #94a3b8;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Stats bar */

.hero-stats {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: clamp(40px, 6vh, 64px) auto 0;
  padding: 0 40px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03), 0 20px 50px -24px rgba(37, 99, 235, 0.2);
  padding: 22px 8px;
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 18px;
}

.stat:not(:last-child) {
  border-right: 1px solid var(--border-soft);
}

.stat-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--glow);
  border: 1px solid var(--blue-100);
}

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

.stat dt {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat dd {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.stat .stat-sub {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

/* ── Clients ── */

.clients {
  position: relative;
  background: linear-gradient(180deg, #fbfcff, #f5f8fd 60%, #ffffff);
  border-top: 1px solid var(--border-soft);
  padding: clamp(72px, 10vh, 110px) 40px;
}

.clients-inner { max-width: 1280px; margin: 0 auto; }

.clients .section-head { margin-bottom: 40px; }

.logo-wall {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03), 0 30px 70px -30px rgba(37, 99, 235, 0.18);
  padding: clamp(16px, 1.6vw, 28px);
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(240px, 1.25fr) repeat(3, 1fr);
  gap: 10px;
}

.cl:nth-child(6n + 1) { grid-column: 1; }
.cl:nth-child(6n + 2) { grid-column: 2; }
.cl:nth-child(6n + 3) { grid-column: 3; }
.cl:nth-child(6n + 4) { grid-column: 5; }
.cl:nth-child(6n + 5) { grid-column: 6; }
.cl:nth-child(6n + 6) { grid-column: 7; }

.cl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 78px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.cl:hover {
  transform: translateY(-3px);
  border-color: #d7e4fa;
  box-shadow: 0 16px 32px -16px rgba(37, 99, 235, 0.28);
}

.wall-cta {
  position: absolute;
  inset: clamp(16px, 1.6vw, 28px) auto;
  left: 50%;
  transform: translateX(-50%);
  width: calc((100% - 2 * clamp(16px, 1.6vw, 28px)) * 0.195);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 28px 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 12%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(180deg, #fdfeff, #f4f8fe);
  border: 1px solid #e3ecfb;
  overflow: hidden;
}

.wall-cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 42%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 42%, black, transparent 75%);
  pointer-events: none;
}

.wall-cta-kicker {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.4;
}

.wall-cta-title {
  position: relative;
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
}

.wall-cta-divider {
  position: relative;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
}

.wall-cta .btn { position: relative; }

/* client wordmarks */
.cl-mark { flex-shrink: 0; display: grid; place-items: center; }
.cl-mark svg { display: block; }
.cl-name { font-weight: 700; color: #1e293b; font-size: 14px; letter-spacing: -0.01em; line-height: 1.1; }
.cl-name em { display: block; font-style: normal; font-weight: 500; }
.cl-dark {
  background: #101319; color: #fff; font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.08em; padding: 8px 14px; border-radius: 6px; white-space: nowrap;
}
.cl-pill { border-radius: 999px; }
.cl-bar {
  background: #6d28d9; color: #fff; font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.06em; padding: 8px 14px; border-radius: 4px; white-space: nowrap;
}
.mk-outcurve { width: 24px; height: 24px; }
.mk-outcurve svg { width: 24px; height: 24px; }
.nm-outcurve { color: #16233f; font-size: 15px; }
.mk-dq {
  width: 22px; height: 22px; border-radius: 50%; background: #e11d48; color: #fff;
  font-weight: 800; font-size: 13px; display: grid; place-items: center;
}
.nm-dq { color: #1e293b; }
.nm-contech { font-size: 10.5px; }
.mk-somani { width: 24px; height: 24px; }
.mk-somani svg { width: 24px; height: 24px; }
.nm-somani { color: #1d4ed8; font-size: 14px; }
.nm-somani em { color: #b45309; font-size: 9px; font-style: italic; margin-top: 2px; }
.nm-ortho { color: #0f2a5e; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.nm-ortho b { color: #2563eb; font-weight: 600; font-size: 14px; }
.mk-token {
  width: 20px; height: 20px; border-radius: 50%;
  background: conic-gradient(#111 0 50%, #fbbf24 50% 100%);
}
.nm-token { font-size: 10.5px; letter-spacing: 0.18em; font-weight: 600; color: #111827; }
.mk-cureboon {
  width: 18px; height: 18px; border-radius: 50%; border: 3px solid #ea3d2f;
  border-left-color: #f59e0b; transform: rotate(-45deg);
}
.nm-cureboon { color: #16233f; font-size: 15px; font-weight: 600; }
.nm-aicre8 { font-style: italic; letter-spacing: 0.02em; }
.nm-aicre8 b { color: #a78bfa; margin-right: 5px; font-style: normal; }
.nm-plato { color: #0f2a5e; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.nm-plato b { color: #2563eb; font-size: 16px; }
.mk-ad9 { width: 22px; height: 22px; background: #eef2f9; border-radius: 6px; }
.mk-ad9 svg { width: 18px; height: 18px; }
.nm-ad9 { color: #0f2a5e; font-size: 15px; }
.nm-cointribe { color: #172554; font-size: 16px; font-weight: 800; }
.nm-cointribe i { font-style: normal; color: #f59e0b; }
.nm-algoface { color: #6b7280; font-weight: 600; font-size: 16px; }
.nm-algoface i { font-style: normal; color: #ef4444; font-weight: 700; }
.nm-orangewood { color: #111827; font-size: 15px; }
.nm-orangewood i { font-style: normal; color: #f97316; }
.mk-mes {
  color: #fff; background: #2563eb; border-radius: 50%;
  width: 28px; height: 28px; font-size: 8px; font-weight: 800; display: grid; place-items: center;
}
.nm-mes { font-size: 8px; letter-spacing: 0.1em; color: #2563eb; font-weight: 700; line-height: 1.35; }
.nm-cracked { font-family: Georgia, "Times New Roman", serif; font-size: 17px; color: #111; font-weight: 700; }
.mk-settleon {
  width: 22px; height: 22px; border-radius: 7px; background: #111; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
}
.nm-settleon { color: #111827; font-size: 14px; }
.nm-hermann { font-size: 12px; letter-spacing: 0.02em; }
.nm-hermann i { font-style: normal; font-weight: 400; font-size: 8px; opacity: 0.7; margin-left: 4px; }
.mk-phonetik { display: grid; grid-template-columns: 7px 7px; gap: 2px; transform: rotate(45deg); }
.mk-phonetik i { width: 7px; height: 7px; border-radius: 50% 50% 50% 0; background: #84cc16; }
.mk-phonetik i:nth-child(2) { background: #22c55e; }
.mk-phonetik i:nth-child(3) { background: #4ade80; }
.mk-phonetik i:nth-child(4) { background: #a3e635; }
.nm-phonetik { color: #14532d; font-size: 15px; font-weight: 600; }
.nm-debit { color: #dc2626; font-size: 14px; text-align: center; }
.nm-debit em { color: #475569; font-size: 7px; font-weight: 600; letter-spacing: 0.02em; margin-top: 2px; }
.mk-whittle { width: 24px; height: 24px; }
.mk-whittle svg { width: 24px; height: 24px; }
.nm-whittle { color: #1d4ed8; font-size: 16px; font-style: italic; font-weight: 600; }
.nm-whittle em { color: #64748b; font-size: 7.5px; letter-spacing: 0.28em; font-style: normal; margin-top: 1px; }
.nm-various { font-size: 10px; letter-spacing: 0.28em; font-weight: 600; color: #111827; position: relative; padding-right: 24px; }
.nm-various i { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 18px; font-weight: 300; color: #111827; }
.nm-nexensus { letter-spacing: 0.18em; font-size: 11px; }
.nm-nexensus b { color: #ef4444; margin-right: 6px; font-size: 13px; }
.nm-darkpat { font-size: 11.5px; color: #334155; font-weight: 600; line-height: 1.3; }
.nm-darkpat b { color: #64748b; margin-right: 5px; }
.mk-revitpay { color: #334155; font-size: 18px; }
.nm-revitpay { letter-spacing: 0.12em; color: #1f2937; font-size: 13px; }
.nm-revitpay i { font-style: normal; font-size: 8px; vertical-align: super; }
.mk-lendly { width: 25px; height: 25px; }
.mk-lendly svg { width: 25px; height: 25px; }
.nm-lendly { color: #1d6ef5; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mk-analytic { width: 22px; height: 22px; }
.mk-analytic svg { width: 20px; height: 20px; }
.nm-analytic { color: #475569; font-weight: 500; font-size: 14px; }
.nm-analytic b { color: #111827; font-weight: 800; }
.mk-morlogix { width: 23px; height: 23px; }
.mk-morlogix svg { width: 23px; height: 23px; }
.nm-morlogix { color: #0f2a5e; font-size: 15px; }
.nm-morlogix i { font-style: normal; font-size: 8px; vertical-align: super; }
.nm-morlogix em { color: #16a34a; font-size: 7.5px; font-weight: 600; margin-top: 1px; }
.nm-halo { font-size: 14px; letter-spacing: 0.02em; text-align: center; }
.nm-halo i { font-style: normal; color: #60a5fa; }
.nm-halo em { display: block; font-size: 7px; font-weight: 500; letter-spacing: 0.05em; opacity: 0.75; margin-top: 2px; }
.mk-magic {
  width: 20px; height: 20px; border-radius: 50%;
  background: conic-gradient(from 200deg, #06b6d4, #6366f1, #a855f7, #06b6d4);
}
.nm-magic { color: #111827; font-size: 15px; }

/* ── Testimonials ── */

.testimonials {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.05), transparent 65%),
    #fff;
  border-top: 1px solid var(--border-soft);
  padding: clamp(72px, 10vh, 110px) 0;
}

.testimonials .section-head { margin-bottom: 48px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.t-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.t-card:hover {
  transform: translateY(-3px);
  border-color: #c7d7f5;
  box-shadow: var(--shadow-float);
}

.t-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--t, #2563eb) 14%, #fff);
  color: var(--t, #2563eb);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid color-mix(in srgb, var(--t, #2563eb) 22%, #fff);
}

.t-card-top strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.t-card-top em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--secondary);
}

.t-card > p {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}

.t-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 4px;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}

.t-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.t-stars b {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.t-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 3px 9px;
}

.t-verified::before {
  content: "";
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 1.5l5 2v3.8c0 2.9-1.9 5-5 5.9-3.1-.9-5-3-5-5.9V3.5l5-2z' stroke='%23047857' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M5.8 8.1l1.5 1.5 2.9-2.9' stroke='%23047857' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Upwork proof ── */

.upwork-proof {
  padding: clamp(40px, 6vh, 72px) 0 clamp(72px, 10vh, 110px);
  background: #fff;
}

.upwork-proof-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 55% 70% at 0% 0%, rgba(37, 99, 235, 0.07), transparent 55%),
    linear-gradient(180deg, #fbfdff, #f5f8fd);
  box-shadow: var(--shadow-card);
}

.upwork-proof-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.upwork-proof-copy .section-title {
  max-width: 14ch;
  margin-bottom: 14px;
}

.upwork-proof-copy .section-sub {
  max-width: 48ch;
  margin-bottom: 28px;
}

.upwork-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.upwork-stats li {
  padding: 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-soft);
}

.upwork-stats strong {
  display: block;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 4px;
}

.upwork-stats span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  line-height: 1.35;
}

.upwork-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.upwork-proof-cards {
  display: grid;
  gap: 14px;
}

.upwork-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.upwork-card:hover {
  transform: translateY(-3px);
  border-color: #c7d7f5;
  box-shadow: var(--shadow-float);
}

.upwork-card-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.upwork-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #14a800;
  background: #effaf0;
  border: 1px solid #ccebcc;
}

.upwork-logo svg { width: 18px; height: 18px; }

.upwork-card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 4px 10px;
}

.upwork-card > strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.upwork-card > p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}

.upwork-card-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid #dbe7fb;
}

.upwork-card-metric b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}

.upwork-card-metric span {
  font-size: 12.5px;
  color: var(--secondary);
  font-weight: 500;
}

.upwork-card-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-deep);
}

.upwork-card-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.upwork-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 70% 35%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border), 0 8px 18px -10px rgba(15, 23, 42, 0.35);
  background: #e8edf5;
}

.upwork-card-person strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.upwork-card-person em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--secondary);
}

.upwork-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upwork-badges li {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f3d1f;
  background: #effaf0;
  border: 1px solid #ccebcc;
  border-radius: 999px;
  padding: 4px 10px;
}

.upwork-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.upwork-mini-stats > div {
  padding: 10px 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
  text-align: center;
}

.upwork-mini-stats dt {
  font-size: 11px;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 3px;
}

.upwork-mini-stats dd {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ── Challenges ── */

.challenges { background: #fff; }

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.challenge-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.challenge-card:hover {
  transform: translateY(-4px);
  border-color: #c7d7f5;
  box-shadow: var(--shadow-float);
}

.challenge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--glow);
  border: 1px solid var(--blue-100);
  margin-bottom: 18px;
}

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

.challenge-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
}

.challenge-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}

.challenge-card li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.challenge-card li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.challenge-solve {
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
}

.inline-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: var(--glow);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
}

.inline-cta p {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

/* ── Bottlenecks ── */

.bottlenecks {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.05), transparent 70%),
    #fafbfd;
}

.bottle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bottle-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.bottle-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.bottle-card li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 14px;
  color: #475569;
  border-bottom: 1px solid var(--border-soft);
}

.bottle-card li:last-child { border-bottom: none; }

.bottle-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

/* ── Services ── */

.services { background: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.service-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.02em;
}

.service-col li {
  padding: 9px 0;
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}

.service-col li:last-child { border-bottom: none; }

.ready-strip {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ready-strip li {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  background: var(--glow);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ── Failures ── */

.fails { background: linear-gradient(180deg, #fafbfd, #fff); }

.fail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.fail-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: var(--shadow-card);
}

.fail-chain li {
  position: relative;
  padding: 12px 24px 12px 56px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border-soft);
}

.fail-chain li:last-child { border-bottom: none; }

.fail-chain li::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #93c5fd;
  box-shadow: 0 0 0 4px #eff6ff;
}

.fail-chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  top: calc(50% + 8px);
  bottom: -50%;
  width: 2px;
  background: #dbeafe;
}

.fail-solutions {
  background: linear-gradient(160deg, #081a3a, #102a56);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-float);
}

.fail-solutions h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.fail-solutions li {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.fail-solutions strong { color: #fff; font-weight: 600; }

/* ── Framework ── */

.framework { background: #fff; }

.framework-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.framework-steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.framework-steps li:hover {
  transform: translateY(-3px);
  border-color: #c7d7f5;
}

.framework-steps span {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.framework-steps strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.framework-steps em {
  font-style: normal;
  font-size: 13px;
  color: var(--secondary);
}

/* ── Architecture ── */

.architecture { background: #fafbfd; }

.cap-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cap-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.cap-group h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.cap-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cap-group li {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: var(--glow);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 7px 13px;
}

/* ── Industries ── */

.industries { background: #fff; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.industry-card:hover {
  transform: translateY(-3px);
  border-color: #c7d7f5;
}

.industry-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--secondary);
}

/* ── Stories ── */

.stories { background: linear-gradient(180deg, #fafbfd, #fff); }

.story-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.chip {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.chip:hover { border-color: #c7d7f5; color: var(--primary-deep); }

.chip.active {
  background: linear-gradient(180deg, #2f6bf0, var(--primary-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.6);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.story-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.story-card.hidden { display: none; }

.story-ind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.story-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-challenge,
.story-solution {
  font-size: 13px;
  line-height: 1.5;
  color: var(--secondary);
}

.story-outcome {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}

.story-outcome strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.story-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-top: 4px;
}

.story-link:hover { text-decoration: underline; }

/* ── Insights ── */

.insights { background: #fff; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-3px);
  border-color: #c7d7f5;
}

.insight-card span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.insight-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.insight-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--secondary);
}

/* ── Compare ── */

.compare { background: #fafbfd; }

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.compare-col {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.compare-generic {
  background: #fff;
  box-shadow: var(--shadow-card);
}

.compare-skugal {
  background: linear-gradient(160deg, #081a3a, #123062);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-float);
}

.compare-col h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.compare-generic h3 { color: var(--secondary); }
.compare-skugal h3 { color: #fff; }

.compare-col li {
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
  font-weight: 500;
}

.compare-generic li { color: #64748b; }
.compare-skugal li {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

/* ── Partners ── */

.partners { background: #fff; }

.partner-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.partner-wall li {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  box-shadow: var(--shadow-card);
  min-width: 120px;
  text-align: center;
}

/* ── FAQ ── */

.faq { background: #fafbfd; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 22px;
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--secondary);
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
}

/* ── Pre-footer trust bar ── */

.footer-trust {
  padding: clamp(40px, 6vh, 64px) 0 8px;
  background: #f7f9fc;
}

.footer-trust-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #dbe7fb;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03), 0 16px 40px -28px rgba(37, 99, 235, 0.28);
}

.footer-trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-width: 0;
}

.footer-trust-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.footer-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
  color: var(--primary);
}

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

.footer-trust-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.footer-trust-list p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--secondary);
}

.footer-trust-panel .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Footer ── */

.site-footer {
  background: #f7f9fc;
  color: var(--secondary);
  padding: 48px 0 24px;
  border-top: 1px solid var(--border-soft);
}

.site-footer .brand-name {
  color: var(--navy);
}

.site-footer .brand-mark {
  background: #eef4ff;
  border-color: #dbe7fb;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 2.4fr);
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 300px;
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  color: #64748b;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-social a:hover {
  color: var(--primary);
  border-color: #bfdbfe;
  background: #eef4ff;
}

.footer-newsletter {
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
}

.footer-newsletter-head {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-newsletter-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #dbe7fb;
  color: var(--primary);
}

.footer-newsletter-icon svg { width: 18px; height: 18px; }

.footer-newsletter strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.footer-newsletter p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary);
  max-width: none;
}

.footer-newsletter-form {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
}

.footer-newsletter-form input {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-form input::placeholder {
  color: #94a3b8;
}

.footer-newsletter-form input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.footer-newsletter-submit {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.footer-newsletter-submit svg { width: 16px; height: 16px; }

.footer-newsletter-submit:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 16px;
}

.footer-cols > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-cols h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.footer-cols ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-bottom: 12px;
}

.footer-cols a {
  display: block;
  font-size: 13.5px;
  padding: 4px 0;
  color: #475569;
  transition: color 0.2s ease;
}

.footer-cols a:hover { color: var(--primary); }

.footer-col-link {
  margin-top: auto;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--primary-deep) !important;
  padding-top: 4px !important;
}

.footer-col-link:hover { text-decoration: underline; }

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
}

.footer-compliance {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-compliance > strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.footer-compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #047857;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.footer-compliance-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.footer-legal a {
  color: #64748b;
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: var(--primary); }

.footer-copy {
  color: #64748b;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero content stays visible — never hidden behind reveal opacity */
.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */

@media (max-width: 1200px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .upwork-proof-panel { grid-template-columns: 1fr; }
  .upwork-proof-copy .section-title { max-width: none; }
  .bottle-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .framework-steps { grid-template-columns: repeat(4, 1fr); }
  .mega-main,
  .mega-main-solutions,
  .mega-main-industries,
  .mega-main-services,
  .mega-main-stories,
  .mega-main-resources,
  .mega-main-company { grid-template-columns: 240px 1fr; }
  .mega-cols { grid-template-columns: repeat(2, 1fr); }
  .mega-cols-company { grid-template-columns: repeat(3, 1fr); }
  .mega-solutions-resources ul {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 0;
  }
  .mega-solutions-resources-all {
    position: static;
    display: inline-flex;
    margin-top: 10px;
  }
  .mega-col { border-right: none; }
  .mega-col:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .mega-col:nth-child(-n + 2) { border-bottom: 1px solid var(--border-soft); padding-bottom: 14px; margin-bottom: 8px; }
  .mega-cols-company .mega-col:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .mega-cols-company .mega-col:nth-child(3n) { border-right: none; }
  .mega-cols-company .mega-col:nth-child(-n + 3) { border-bottom: 1px solid var(--border-soft); padding-bottom: 14px; margin-bottom: 8px; }
  .mega-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-stories-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-stories-more { grid-column: span 2; }
  .mega-footer-industries,
  .mega-footer-services,
  .mega-footer-stories,
  .mega-footer-resources,
  .mega-footer-company { grid-template-columns: 1fr; }
  .mega-company-cta {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }
  .mega-company-stats { grid-template-columns: repeat(2, 1fr); }
  .mega-company-download { margin: 12px 16px 16px; }
  .mega-resources-featured,
  .mega-resources-popular {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }
  .mega-resources-popular ul { grid-template-columns: 1fr; }
  .mega-resources-services ul { grid-template-columns: 1fr; }
  .mega-resources-services { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .mega-industries-stats,
  .mega-stories-stats { grid-template-columns: repeat(2, 1fr); }
  .mega-stories-footer-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
  }
  .mega-stories-footer-cta p { max-width: none; }
  .mega-footer-industries .mega-help-cta { margin: 0 20px 16px; justify-content: center; }
}

@media (max-width: 1100px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-float);
    padding: 10px;
    z-index: 120;
  }

  .nav-menu.open { display: flex; }

  .nav-menu .nav-link { width: 100%; justify-content: space-between; }
  .nav-menu .drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    min-width: 0;
  }

  .mega-menu {
    position: static;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .has-mega.is-open .mega-menu { display: block; }

  .mega-panel {
    border: none;
    border-radius: 12px;
    box-shadow: none;
    background: #f8fafc;
  }

  .mega-main,
  .mega-main-solutions,
  .mega-main-industries,
  .mega-main-services,
  .mega-main-stories,
  .mega-main-resources,
  .mega-main-company {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mega-solutions-resources ul {
    grid-template-columns: 1fr;
  }

  .mega-cols-company {
    grid-template-columns: 1fr 1fr;
  }

  .mega-stories-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .mega-stories-more {
    grid-column: span 1;
    grid-template-columns: 40px 1fr;
  }

  .mega-stories-more .btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .mega-featured {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }

  .mega-cols {
    grid-template-columns: 1fr 1fr;
    padding: 12px 8px;
  }

  .mega-col {
    border-right: none;
    padding: 8px;
  }

  .mega-col:nth-child(odd) { border-right: 1px solid var(--border-soft); }

  .mega-industries-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .mega-footer,
  .mega-footer-industries,
  .mega-footer-services,
  .mega-footer-stories,
  .mega-footer-resources,
  .mega-footer-company { grid-template-columns: 1fr; }

  .mega-help {
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }

  .mega-help-cta { margin-left: 0; width: 100%; justify-content: center; }

  .mega-footer-industries .mega-help-cta { margin: 0 16px 16px; width: calc(100% - 32px); }

  .mega-industries-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 8px 12px 16px;
  }

  .mega-resources-all {
    position: static;
    display: inline-flex;
    margin-top: 10px;
  }

  .btn-signin { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .nav { position: relative; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-right: none; }
  .stat:nth-child(n + 4) { border-right: 1px solid var(--border-soft); }
  .fail-layout { grid-template-columns: 1fr; }
  .footer-trust-panel {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .footer-trust-list { grid-template-columns: repeat(2, 1fr); }
  .footer-trust-panel .btn { justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-compliance { justify-content: center; }
}

@media (max-width: 900px) {
  .wall-grid { grid-template-columns: repeat(3, 1fr); }
  .cl:nth-child(6n + 1), .cl:nth-child(6n + 2), .cl:nth-child(6n + 3),
  .cl:nth-child(6n + 4), .cl:nth-child(6n + 5), .cl:nth-child(6n + 6) { grid-column: auto; }
  .wall-cta {
    position: static;
    transform: none;
    width: auto;
    margin-bottom: 12px;
  }
  .logo-wall { display: flex; flex-direction: column; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .cap-groups { grid-template-columns: 1fr; }
  .framework-steps { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .clients, .nav, .hero-inner, .hero-stats { padding-left: 20px; padding-right: 20px; }
  .announce { font-size: 12px; gap: 10px; flex-wrap: wrap; text-align: center; }
  .nav { height: 64px; }
  .brand-name { font-size: 16px; }
  .nav-search { display: none; }
  .challenge-grid,
  .testimonials-grid,
  .bottle-grid,
  .services-grid,
  .industry-grid,
  .story-grid,
  .insight-grid,
  .framework-steps { grid-template-columns: 1fr; }
  .upwork-stats { grid-template-columns: 1fr 1fr; }
  .upwork-proof-actions { flex-direction: column; align-items: stretch; }
  .upwork-proof-actions .btn { justify-content: center; }
  .inline-cta { flex-direction: column; text-align: center; }
  .footer-trust-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-compliance-badge { white-space: normal; text-align: left; }
  .footer-copy { white-space: normal; }
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(32px, 8.5vw, 42px); }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none !important; padding: 10px 12px; }
  .stat .stat-sub { display: none; }
  .nav-actions .btn-primary .btn-arrow { display: none; }
}

/* ═══════════════════════════════════════════
   Inner pages — section themes + layouts
   ═══════════════════════════════════════════ */

/* Theme tokens per section folder */
.theme-solutions {
  --page-accent: #2563eb;
  --page-accent-deep: #1d4ed8;
  --page-accent-soft: #dbeafe;
  --page-accent-tint: #eff6ff;
  --page-hero-a: rgba(37, 99, 235, 0.22);
  --page-hero-b: rgba(14, 165, 233, 0.14);
  --page-hero-bg: linear-gradient(145deg, #f4f8ff 0%, #eef6ff 42%, #ffffff 100%);
  --page-cta-bg: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);
  --page-mesh: rgba(37, 99, 235, 0.05);
}

.theme-industries {
  --page-accent: #0f766e;
  --page-accent-deep: #0d9488;
  --page-accent-soft: #ccfbf1;
  --page-accent-tint: #f0fdfa;
  --page-hero-a: rgba(13, 148, 136, 0.20);
  --page-hero-b: rgba(6, 182, 212, 0.14);
  --page-hero-bg: linear-gradient(145deg, #f0fdfa 0%, #ecfeff 45%, #ffffff 100%);
  --page-cta-bg: linear-gradient(135deg, #115e59 0%, #0d9488 55%, #06b6d4 100%);
  --page-mesh: rgba(13, 148, 136, 0.05);
}

.theme-services {
  --page-accent: #1e40af;
  --page-accent-deep: #1e3a8a;
  --page-accent-soft: #dbeafe;
  --page-accent-tint: #f8fafc;
  --page-hero-a: rgba(30, 64, 175, 0.18);
  --page-hero-b: rgba(37, 99, 235, 0.12);
  --page-hero-bg: linear-gradient(145deg, #f1f5f9 0%, #eef2ff 40%, #ffffff 100%);
  --page-cta-bg: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  --page-mesh: rgba(30, 64, 175, 0.05);
}

.theme-case-studies {
  --page-accent: #047857;
  --page-accent-deep: #065f46;
  --page-accent-soft: #d1fae5;
  --page-accent-tint: #ecfdf5;
  --page-hero-a: rgba(5, 150, 105, 0.18);
  --page-hero-b: rgba(16, 185, 129, 0.12);
  --page-hero-bg: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 42%, #ffffff 100%);
  --page-cta-bg: linear-gradient(135deg, #064e3b 0%, #047857 55%, #10b981 100%);
  --page-mesh: rgba(5, 150, 105, 0.05);
}

.theme-resources {
  --page-accent: #c2410c;
  --page-accent-deep: #9a3412;
  --page-accent-soft: #ffedd5;
  --page-accent-tint: #fff7ed;
  --page-hero-a: rgba(234, 88, 12, 0.16);
  --page-hero-b: rgba(251, 146, 60, 0.12);
  --page-hero-bg: linear-gradient(145deg, #fff7ed 0%, #fffbeb 40%, #ffffff 100%);
  --page-cta-bg: linear-gradient(135deg, #7c2d12 0%, #c2410c 55%, #ea580c 100%);
  --page-mesh: rgba(234, 88, 12, 0.05);
}

.theme-company {
  --page-accent: #0f172a;
  --page-accent-deep: #020617;
  --page-accent-soft: #e2e8f0;
  --page-accent-tint: #f8fafc;
  --page-hero-a: rgba(15, 23, 42, 0.14);
  --page-hero-b: rgba(37, 99, 235, 0.12);
  --page-hero-bg: linear-gradient(145deg, #f8fafc 0%, #eef2f7 45%, #ffffff 100%);
  --page-cta-bg: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e3a8a 100%);
  --page-mesh: rgba(15, 23, 42, 0.04);
}

.inner-page .page-eyebrow,
.inner-page .page-related-eyebrow,
.inner-page .page-badge,
.inner-page .page-cap-num,
.inner-page .page-step-num,
.inner-page .page-metric strong,
.inner-page .page-hero-panel-cta,
.inner-page .page-related-link {
  color: var(--page-accent);
}

.inner-page .page-btn-primary.btn-primary,
.inner-page .page-btn-primary {
  background: linear-gradient(180deg, var(--page-accent), var(--page-accent-deep));
  border-color: transparent;
}

.inner-page .page-btn-outline:hover {
  border-color: var(--page-accent);
  color: var(--page-accent-deep);
}

.inner-page .page-breadcrumb a:hover,
.inner-page .page-aside-muted a:hover {
  color: var(--page-accent);
}

/* Hero */
.inner-page .page-hero {
  position: relative;
  padding: 72px 0 68px;
  overflow: hidden;
  background: var(--page-hero-bg);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.page-hero-glow-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: 8%;
  background: var(--page-hero-a);
}

.page-hero-glow-b {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: 4%;
  background: var(--page-hero-b);
}

.page-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--page-mesh) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-mesh) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}

.page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: stretch;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.page-breadcrumb a { color: #475569; }

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
  margin-bottom: 14px;
}

.page-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--page-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--page-accent) 20%, transparent);
}

.page-title {
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
}

.page-sub {
  font-size: 18px;
  line-height: 1.65;
  color: #475569;
  max-width: 620px;
  margin-bottom: 28px;
}

.page-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-metric {
  margin-top: 32px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--page-accent-soft);
  backdrop-filter: blur(8px);
}

.page-metric strong {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-metric span {
  font-size: 13px;
  color: #64748b;
}

.page-hero-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--page-accent-soft);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -24px color-mix(in srgb, var(--page-accent) 35%, transparent);
  display: flex;
  flex-direction: column;
}

.page-hero-panel-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 16px;
}

.page-hero-panel-list {
  display: grid;
  gap: 12px;
  flex: 1;
}

.page-hero-panel-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 560;
  color: #0f172a;
  line-height: 1.4;
}

.page-hero-panel-list li span {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--page-accent);
}

.page-hero-panel-cta {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 650;
}

/* Sketch heroes — diagram atmosphere behind the right side */
.inner-page .page-hero.page-hero--sketch {
  --page-hero-sketch: url("/solutions/ai-agents/ai-agnet-sketch-at-skugal.png");
  background: #f7f5f0;
  padding: 96px 0 108px;
  min-height: 560px;
}

.page-hero--sketch .page-hero-sketch-bg {
  position: absolute;
  top: -8%;
  right: -4%;
  bottom: -12%;
  width: min(62%, 760px);
  pointer-events: none;
  background-image: var(--page-hero-sketch);
  /* Crop to diagram side of the sketch (right portion of the PNG) */
  background-size: 175% auto;
  background-position: 100% 42%;
  background-repeat: no-repeat;
  opacity: 0.48;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 16%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 16%, #000 40%);
}

/* Multi-agent sketch — same atmosphere pattern as AI Agents */
.page-hero--sketch-multi .page-hero-sketch-bg {
  width: min(60%, 820px);
  top: -6%;
  right: -3%;
  bottom: -10%;
  background-image: url("/solutions/multi-agent-systems/multi-agent-sketch-at-skugal.png");
  background-size: 195% auto;
  background-position: 100% 18%;
  background-repeat: no-repeat;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 16%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 16%, #000 42%);
}

/* Agentic workflows sketch — layered architecture on the right */
.page-hero--sketch-workflow .page-hero-sketch-bg {
  width: min(56%, 800px);
  top: -2%;
  right: -3%;
  bottom: -6%;
  background-size: 190% auto;
  background-position: 100% 32%;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 16%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 16%, #000 40%);
}

.page-hero--sketch .page-hero-stats {
  position: relative;
  z-index: 1;
}

.page-hero--sketch .page-hero-mesh {
  opacity: 0.2;
}

.page-hero--sketch .page-hero-copy,
.page-hero--sketch .page-hero-panel {
  position: relative;
  z-index: 1;
}

.page-hero--sketch .page-hero-panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

@media (max-width: 960px) {
  .inner-page .page-hero.page-hero--sketch {
    padding: 72px 0 80px;
    min-height: 0;
  }

  .page-hero--sketch .page-hero-sketch-bg {
    width: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.22;
    background-size: 160% auto;
    background-position: 85% 0%;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
  }

  .page-hero--sketch-multi .page-hero-sketch-bg {
    opacity: 0.28;
    background-size: 150% auto;
    background-position: 92% 8%;
  }

  .page-hero--sketch-workflow .page-hero-sketch-bg {
    opacity: 0.26;
    background-size: 150% auto;
    background-position: 88% 8%;
  }
}

@media (max-width: 640px) {
  .inner-page .page-hero.page-hero--sketch {
    padding: 52px 0 56px;
  }

  .page-hero--sketch .page-hero-sketch-bg {
    opacity: 0.14;
  }

  .page-hero--sketch-multi .page-hero-sketch-bg,
  .page-hero--sketch-workflow .page-hero-sketch-bg {
    opacity: 0.18;
  }
}

/* Capabilities */
.page-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-cap-card {
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-cap-card:hover {
  transform: translateY(-2px);
  border-color: var(--page-accent-soft);
  box-shadow: 0 14px 28px -18px color-mix(in srgb, var(--page-accent) 40%, transparent);
}

.page-cap-num {
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.page-cap-card h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #0f172a;
}

/* Approach + steps */
.page-approach {
  background: var(--page-accent-tint);
}

.page-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.page-approach-copy h2 {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}

.page-approach-copy > p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-outcome-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.page-outcome-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--page-accent-soft);
  font-weight: 560;
}

.page-outcome-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--page-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--page-accent) 18%, transparent);
}

.page-steps {
  display: grid;
  gap: 12px;
}

.page-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.page-step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 750;
  background: var(--page-accent-soft);
}

.page-step strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.page-step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Body + aside */
.page-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.page-content h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}

.page-content > p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.page-deliverables {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-deliverables > div {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-soft);
  display: grid;
  gap: 4px;
}

.page-deliverables strong {
  font-size: 14px;
  color: #0f172a;
}

.page-deliverables span {
  font-size: 13px;
  color: #64748b;
}

.page-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.page-aside-card {
  padding: 22px;
  border-radius: 16px;
  background: var(--page-cta-bg);
  color: #e2e8f0;
}

.page-aside-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}

.page-aside-card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.82);
  margin-bottom: 18px;
}

.page-aside-muted {
  background: #fff;
  border: 1px solid var(--border-soft);
  color: inherit;
}

.page-aside-muted h3 { color: #0f172a; }
.page-aside-muted p,
.page-aside-muted li,
.page-aside-muted a { color: #475569; }

.page-aside-muted ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-aside-muted a { font-weight: 560; }

/* Related */
.page-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-related-card:hover {
  border-color: var(--page-accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--page-accent) 45%, transparent);
}

.page-related-eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-related-card strong {
  font-size: 16px;
  color: #0f172a;
}

.page-related-card em {
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  flex: 1;
}

.page-related-link {
  font-size: 13px;
  font-weight: 650;
  margin-top: 4px;
}

.section-alt { background: #f8fafc; }

/* CTA band */
.page-cta-band {
  margin: 0 0 0;
  padding: 56px 0;
  background: var(--page-cta-bg);
  color: #fff;
}

.page-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.page-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.page-cta-band h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.page-cta-band .page-btn-primary {
  background: #fff;
  color: var(--page-accent-deep);
}

.page-cta-band .page-btn-primary:hover {
  background: #f8fafc;
}

@media (max-width: 960px) {
  .page-hero-layout,
  .page-approach-grid,
  .page-body-grid {
    grid-template-columns: 1fr;
  }
  .page-aside { position: static; }
  .page-cap-grid,
  .page-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .inner-page .page-hero { padding: 48px 0 40px; }
  .page-cap-grid,
  .page-related-grid,
  .page-deliverables {
    grid-template-columns: 1fr;
  }
  .page-cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   Rich inner pages — Glean-inspired sections
   ═══════════════════════════════════════════ */

/* ── Hero with product visual ── */
.page-hero-rich { padding: 76px 0 72px; }

.page-hero-layout-rich {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.page-hero-stats {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--page-accent) 14%, transparent);
  padding-top: 22px;
}

.page-hero-stats li {
  display: grid;
  gap: 2px;
  padding: 0 22px;
  border-left: 1px solid color-mix(in srgb, var(--page-accent) 14%, transparent);
}

.page-hero-stats li span { max-width: 170px; }

.page-hero-stats li:first-child { padding-left: 0; border-left: none; }

.page-hero-stats strong {
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -0.02em;
  color: var(--page-accent-deep);
}

.page-hero-stats span { font-size: 13px; color: #64748b; }

.page-hero-visual { position: relative; }

.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--page-accent) 14%, transparent), transparent 70%);
  pointer-events: none;
}

/* ── Mockup window chrome (pv-) ── */
.pv { position: relative; }

.pv-window {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04), 0 32px 64px -24px color-mix(in srgb, var(--page-accent) 30%, rgba(15, 23, 42, 0.2));
  overflow: hidden;
}

.pv-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: #fbfcfe;
}

.pv-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8f0;
}

.pv-bar em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 8px;
}

.pv-body { padding: 18px; display: grid; gap: 14px; }

/* chips */
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pv-chips span {
  font-size: 11.5px;
  font-weight: 620;
  color: #475569;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--border-soft);
}

/* chat */
.pv-chat { display: grid; gap: 10px; }

.pv-msg {
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 88%;
}

.pv-msg-user {
  justify-self: end;
  background: var(--page-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.pv-msg-agent {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 4px;
}

.pv-tools { display: flex; flex-wrap: wrap; gap: 6px; }

.pv-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 640;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--page-accent-deep);
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
  border-radius: 8px;
  padding: 4px 9px;
}

.pv-tool i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--page-accent);
  animation: pv-blink 1.6s ease infinite;
}

.pv-tool-ok { color: #047857; background: #ecfdf5; border-color: #d1fae5; }

@keyframes pv-blink { 50% { opacity: 0.35; } }

.pv-approve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 9px 12px;
}

.pv-approve b { color: var(--page-accent-deep); font-weight: 700; }

/* graph */
.pv-graph { width: 100%; height: auto; display: block; }

.pv-graph-links path {
  stroke: color-mix(in srgb, var(--page-accent) 35%, #cbd5e1);
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
  fill: none;
  animation: pv-dash 20s linear infinite;
}

@keyframes pv-dash { to { stroke-dashoffset: -180; } }

.pv-node rect {
  fill: #fff;
  stroke: var(--border);
  stroke-width: 1.2;
}

.pv-node text {
  font: 640 12.5px var(--font);
  fill: #334155;
  text-anchor: middle;
}

.pv-node-hub rect { fill: var(--page-accent); stroke: none; }
.pv-node-hub text { fill: #fff; }

.pv-pulse {
  fill: var(--page-accent);
  animation: pv-pulse 2.2s ease infinite;
}

.pv-pulse-2 { animation-delay: 1.1s; }

@keyframes pv-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* pipeline */
.pv-pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pv-pipeline i {
  font-style: normal;
  color: #cbd5e1;
  font-weight: 700;
}

.pv-stage {
  font-size: 12px;
  font-weight: 660;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
}

.pv-stage-hot {
  color: #fff;
  background: var(--page-accent);
  border-color: transparent;
}

.pv-answer {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
}

.pv-answer strong { font-size: 13px; color: #0f172a; }

.pv-answer span { font-size: 12px; color: #475569; }

.pv-answer em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--page-accent-deep);
  background: #fff;
  border: 1px solid var(--page-accent-soft);
  border-radius: 5px;
  padding: 1px 5px;
}

.pv-answer-ok { background: #ecfdf5; border-color: #d1fae5; }
.pv-answer-ok strong { color: #047857; }

/* dashboard */
.pv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.pv-stats > div {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
}

.pv-stats strong { font-size: 18px; letter-spacing: -0.02em; color: var(--page-accent-deep); }

.pv-stats span { font-size: 11px; color: #64748b; }

.pv-chartrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }

.pv-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 74px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
}

.pv-bars i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--page-accent), color-mix(in srgb, var(--page-accent) 55%, #fff));
  opacity: 0.9;
}

.pv-spark {
  width: 100%;
  height: 74px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.pv-spark path {
  fill: none;
  stroke: var(--page-accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* code */
.pv-code {
  margin: 0;
  font: 500 12.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace;
  color: #334155;
  background: #0f172a;
  color: #cbd5e1;
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
}

.pv-code .k { color: #93c5fd; }
.pv-code .f { color: #c4b5fd; }
.pv-code .s { color: #86efac; }
.pv-code .c { color: #64748b; }

/* guard */
.pv-guard { display: grid; gap: 8px; }

.pv-guard-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 580;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
}

.pv-guard-row b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #047857;
  background: #d1fae5;
  flex-shrink: 0;
}

.pv-guard-row em {
  font-style: normal;
  margin-left: auto;
  font-size: 11px;
  font-weight: 680;
  color: #047857;
}

.pv-guard-block { background: #fef2f2; border-color: #fecaca; }
.pv-guard-block b { color: #b91c1c; background: #fee2e2; }
.pv-guard-block em { color: #b91c1c; }

/* router */
.pv-router { display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 12px; align-items: center; }

.pv-req {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.pv-req strong { font-size: 13px; color: #0f172a; }
.pv-req span { font-size: 11px; color: #64748b; }

.pv-route-mid { display: grid; place-items: center; }

.pv-route-node {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--page-accent);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--page-accent) 70%, transparent);
}

.pv-models { display: grid; gap: 7px; }

.pv-model {
  display: grid;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
}

.pv-model strong { font-size: 12.5px; color: #334155; }
.pv-model span { font-size: 10.5px; color: #94a3b8; }

.pv-model-active {
  border-color: var(--page-accent-soft);
  background: var(--page-accent-tint);
}

.pv-model-active strong { color: var(--page-accent-deep); }

/* connectors */
.pv-connect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.pv-connect span {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 620;
  color: #475569;
  min-height: 52px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.pv-connect .pv-hub {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--page-accent), var(--page-accent-deep));
  border: none;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--page-accent) 70%, transparent);
}

/* workflow run */
.pv-run { display: grid; gap: 8px; }

.pv-run-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 4px;
}

.pv-run-head strong { font-size: 13.5px; color: #0f172a; }

.pv-badge-live {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-accent-deep);
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

.pv-run-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 570;
  color: #0f172a;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
}

.pv-run-row b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
  color: #047857;
  background: #d1fae5;
}

.pv-run-row em {
  font-style: normal;
  margin-left: auto;
  font-size: 11px;
  color: #94a3b8;
}

.pv-run-now { border-color: var(--page-accent-soft); background: var(--page-accent-tint); }

.pv-run-now b.now {
  background: transparent;
  border: 2px solid var(--page-accent);
  border-top-color: transparent;
  animation: pv-spin 0.9s linear infinite;
}

@keyframes pv-spin { to { transform: rotate(360deg); } }

.pv-run-wait { opacity: 0.6; }
.pv-run-wait b { color: #94a3b8; background: #e2e8f0; }

/* evals */
.pv-evals { display: grid; gap: 10px; }

.pv-eval {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.pv-eval span { color: #475569; font-weight: 580; }

.pv-eval b { text-align: right; color: var(--page-accent-deep); }

.pv-meter {
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.pv-meter i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--page-accent), color-mix(in srgb, var(--page-accent) 60%, #22d3ee));
}

.pv-meter-dim i { background: #cbd5e1; }

/* stack / knowledge flow */
.pv-stackflow { display: grid; gap: 8px; justify-items: center; }

.pv-docs { display: flex; gap: 8px; width: 100%; }

.pv-docs span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 620;
  color: #475569;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.pv-down { font-style: normal; color: #cbd5e1; font-weight: 700; line-height: 1; }

.pv-vector {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
}

.pv-vector em {
  height: 8px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--page-accent) 45%, #fff);
}

.pv-vector em:nth-child(3n) { background: var(--page-accent); }

.pv-stackflow .pv-answer { width: 100%; }

/* cloud */
.pv-vpc {
  position: relative;
  border: 1.5px dashed color-mix(in srgb, var(--page-accent) 45%, #cbd5e1);
  border-radius: 14px;
  padding: 20px 14px 14px;
  display: grid;
  gap: 12px;
}

.pv-vpc-label {
  position: absolute;
  top: -9px;
  left: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--page-accent-deep);
  background: #fff;
  padding: 0 8px;
}

.pv-pods { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }

.pv-pods i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
}

.pv-pods .pv-pod-hot {
  background: var(--page-accent);
  border-color: transparent;
  animation: pv-pulse 2.4s ease infinite;
}

.pv-vpc-foot { display: flex; gap: 7px; flex-wrap: wrap; }

.pv-vpc-foot span {
  font-size: 11px;
  font-weight: 640;
  color: #475569;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
}

/* copilot split */
.pv-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }

.pv-app {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-soft);
}

.pv-app i {
  height: 10px;
  border-radius: 5px;
  background: #e2e8f0;
}

.pv-app .w80 { width: 80%; }
.pv-app .w60 { width: 60%; }
.pv-app .w90 { width: 90%; }
.pv-app .w40 { width: 40%; }
.pv-app .w70 { width: 70%; }

.pv-side {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  border-radius: 12px;
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
}

.pv-side strong { font-size: 12px; color: var(--page-accent-deep); letter-spacing: 0.02em; }

.pv-sugg {
  font-size: 12px;
  line-height: 1.45;
  color: #334155;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  padding: 8px 10px;
}

.pv-side-cta {
  font-size: 12px;
  color: #94a3b8;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
}

/* gauge */
.pv-gauge { display: grid; gap: 14px; }

.pv-gauge-big { display: flex; align-items: baseline; gap: 10px; }

.pv-gauge-big strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--page-accent-deep);
}

.pv-gauge-big span { font-size: 13px; color: #64748b; }

.pv-compare { display: grid; gap: 9px; }

.pv-cmp {
  display: grid;
  grid-template-columns: 96px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.pv-cmp span { color: #64748b; font-weight: 580; }
.pv-cmp b { text-align: right; color: #0f172a; }

/* ── Capability cards with descriptions ── */
.page-cap-card-rich h3 { margin-bottom: 8px; }

.page-cap-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
}

/* ── Feature zigzag ── */
.page-feature-list {
  display: grid;
  gap: 72px;
  margin-top: 8px;
}

.page-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.page-feature-flip .page-feature-copy { order: 2; }
.page-feature-flip .page-feature-visual { order: 1; }

.page-feature-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--page-accent);
  margin-bottom: 10px;
}

.page-feature-copy h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 12px;
}

.page-feature-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 18px;
}

.page-feature-points { display: grid; gap: 10px; }

.page-feature-points li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  font-weight: 550;
  color: #334155;
  line-height: 1.5;
}

.page-feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
}

.page-feature-points li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--page-accent);
  border-bottom: 2px solid var(--page-accent);
  transform: rotate(-45deg);
}

.page-feature-visual { min-width: 0; }

/* ── Use cases ── */
.page-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-usecase-card {
  padding: 26px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-usecase-card:hover {
  transform: translateY(-3px);
  border-color: var(--page-accent-soft);
  box-shadow: 0 18px 36px -20px color-mix(in srgb, var(--page-accent) 45%, transparent);
}

.page-usecase-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--page-accent);
  background: var(--page-accent-tint);
  border: 1px solid var(--page-accent-soft);
  margin-bottom: 16px;
}

.page-usecase-icon svg { width: 21px; height: 21px; }

.page-usecase-card h3 {
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin-bottom: 8px;
}

.page-usecase-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

/* ── Quote ── */
.page-quote-card {
  position: relative;
  text-align: center;
  padding: 12px 24px;
}

.page-quote-mark {
  display: block;
  font-size: 72px;
  line-height: 0.6;
  font-weight: 800;
  color: var(--page-accent-soft);
  margin-bottom: 18px;
}

.page-quote-card blockquote {
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  font-weight: 620;
  color: #0f172a;
  margin: 0 0 22px;
}

.page-quote-card figcaption { display: grid; gap: 2px; }

.page-quote-card figcaption strong { font-size: 14.5px; color: var(--page-accent-deep); }

.page-quote-card figcaption span { font-size: 13px; color: #64748b; }

/* ── Stack chips ── */
.page-stack-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.page-stack-copy h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

.page-stack-copy p { color: #475569; line-height: 1.7; }

.page-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-stack-chips li {
  font-size: 13.5px;
  font-weight: 620;
  color: #334155;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-stack-chips li:hover {
  border-color: var(--page-accent-soft);
  color: var(--page-accent-deep);
}

/* ── Rich page FAQ ── */
.page-faq .faq-list { margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .page-hero-layout-rich { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-visual { max-width: 560px; }
  .page-feature,
  .page-feature-flip { grid-template-columns: 1fr; gap: 28px; }
  .page-feature-flip .page-feature-copy { order: 1; }
  .page-feature-flip .page-feature-visual { order: 2; }
  .page-feature-list { gap: 56px; }
  .page-usecase-grid { grid-template-columns: 1fr 1fr; }
  .page-stack-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .page-hero-rich { padding: 56px 0 52px; }
  .page-hero-stats li { padding: 0 16px; }
  .page-hero-stats strong { font-size: 21px; }
  .page-usecase-grid { grid-template-columns: 1fr; }
  .pv-body { padding: 14px; }
  .pv-split { grid-template-columns: 1fr; }
  .pv-router { grid-template-columns: 1fr; }
  .pv-route-mid { justify-items: start; }
  .pv-eval { grid-template-columns: 88px 1fr 40px; }
  .page-feature-list { gap: 44px; }
}
