/* ONE — additions layered on top of the Anchor tokens + kit.
   Brand lockup, ONE badge, mobile nav, scroll reveals, hero/footer extras. */

/* ---------- AI ACCENT (Anchor-accurate: burnt-orange family, no purple) ---------- */
:root {
  --ai: #c9501f; /* AI / accent — Anchor's single vibrant accent */
  --ai-2: #e06b38; /* hover / lighter */
  --ai-soft: #f7e7dd; /* warm tint */
  --ai-glow: rgba(201, 80, 31, 0.26);
  --ease-toss: cubic-bezier(0.2, 1.06, 0.3, 1); /* (legacy) soft overshoot */
  --ease-drop: cubic-bezier(
    0.22,
    1,
    0.36,
    1
  ); /* smooth ease-out landing — no overshoot, no bounce */
}
.eyebrow--ai {
  color: var(--ai);
}
.btn-ai {
  background: var(--ai);
  color: #fff;
  border-color: transparent;
}
.btn-ai:hover {
  background: var(--ai-2);
}

/* ---------- BRAND LOCKUP ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-img {
  height: 26px;
  width: auto;
  display: block;
}
.brand-word {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--forest);
  white-space: nowrap;
}
.brand-word strong {
  font-weight: 800;
}
.one-badge {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--forest);
  background: var(--mint);
  border: 1px solid var(--mint-deep);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  line-height: 1;
}
.one-badge--light {
  color: #eaf1ed;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.brand-img--light {
  filter: brightness(0) invert(1);
} /* real logo, whitened for the dark footer */

/* ---------- NAV: Product dropdown ---------- */
/* full-width navbar: logo flush-left, links centered, CTA flush-right */
.nav-in {
  max-width: none;
  padding: 0 clamp(28px, 4vw, 64px);
  position: relative;
}
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
}
.nav-link {
  text-decoration: none;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: -12px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s var(--ease-out),
    transform 0.18s var(--ease-out),
    visibility 0.18s;
  z-index: 60;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
} /* hover bridge */
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-menu--products {
  min-width: 288px;
}
.nav-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 11px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-menu-item:hover {
  background: var(--gray-100);
}
.nm-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-mint-wash);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background 0.15s;
}
.nav-menu-item:hover .nm-ic {
  background: #fff;
}
.nm-ic i,
.nm-ic svg {
  width: 18px;
  height: 18px;
  color: var(--forest);
}
.nm-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.nm-desc {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.35;
}
.nav-mobile-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 6px 4px 2px;
}

/* ---------- SUB-PAGE (Relay / Smart Slip) ---------- */
.subhero {
  padding-top: 90px;
  text-align: center;
}
.subhero .eyebrow {
  display: block;
  margin-bottom: 16px;
}
.subhero .display {
  margin: 0 auto;
}
.subhero .lead {
  margin: 20px auto 0;
}
.subhero .hero-cta {
  justify-content: center;
  margin-top: 30px;
}
.placeholder-note {
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius, 18px);
  padding: 40px;
  text-align: center;
  color: var(--gray-600);
  background: var(--bg-mint-wash);
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
}

/* ---------- HERO EXTRAS ---------- */
/* headline forced to 2 lines (see <br/> in Hero.jsx) — widen the cap + tune size to fit */
.hero h1.display {
  max-width: none;
  font-size: clamp(2.3rem, 1rem + 4.2vw, 4.3rem);
  line-height: 1.06;
}
.hero .eyebrow {
  display: block;
  text-align: center;
}
.hero-cta {
  gap: 12px;
  flex-wrap: wrap;
}
.hero-hint {
  text-align: center;
  color: var(--gray-500);
  font-size: 13.5px;
  margin: 18px 0 0;
}

/* Hero copy appears INSTANTLY once every pill has landed (no slow fade/slide) */
.hero-copy {
  opacity: 0;
  transition: opacity 0.12s linear;
}
.hero-copy.show {
  opacity: 1;
}
.hero-hint {
  opacity: 0;
  transition: opacity 0.12s linear;
}
.hero-hint.show {
  opacity: 1;
}

/* ---------- LAYER CARDS: centered cluster + left-aligned, vertically-centered label ---------- */
.cluster {
  height: 336px;
}
.pcard {
  justify-content: flex-start;
} /* override kit center → horizontal left; align-items:center stays (vertical center) */
.pcard .lbl {
  position: static;
  left: auto;
  bottom: auto;
  top: auto;
  padding: 0 0 0 28px;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

/* ---------- LAYER CARDS: GSAP owns the transform (entrance + idle float) ---------- */
/* Default resting transform is a fallback for no-JS / no-GSAP. GSAP writes an INLINE transform
   which naturally wins over these stylesheet rules, so hover/active below only change shadow —
   no transform conflict with the running tween. */
.pcard {
  transform: rotate(var(--rot));
  transition: box-shadow var(--dur-fast) var(--ease-out);
  will-change: transform;
  backface-visibility: hidden;
}
.pcard:hover {
  box-shadow: var(--shadow-lg);
}
.pcard.active {
  box-shadow: var(--shadow-lg);
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    opacity: 1;
    transform: none;
  }
  .hero-hint {
    opacity: 1;
  }
}

/* ---------- AI-NATIVE SECTION: violet glow + accent ---------- */
.dev-sec {
  overflow: hidden;
}
.dev {
  position: relative;
}
.dev-win {
  box-shadow:
    0 28px 70px var(--ai-glow),
    0 30px 60px rgba(11, 31, 22, 0.16);
}
.dev-win .dev-tab {
  color: var(--ai-2);
}

/* ---------- NAV: mobile ---------- */
.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s,
    box-shadow 0.2s;
}
.nav-burger:hover {
  background: #fff;
  border-color: var(--gray-300);
  box-shadow: var(--shadow-xs);
}
.nav-burger span {
  width: 20px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: 0.3s var(--ease-out);
}
.nav-burger.open {
  background: var(--forest);
  border-color: var(--forest);
}
.nav-burger.open span {
  background: #fff;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    max-height 0.3s var(--ease-out),
    border-color 0.3s;
}
.nav-mobile.open {
  max-height: 340px;
  padding: 12px 28px 22px;
  border-color: var(--gray-200);
}
.nav-mobile .nav-link {
  justify-content: flex-start;
  padding: 12px 2px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}

/* ---------- CTA band actions ---------- */
.cta-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER subscribe ---------- */
.footer-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-sub h5 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 6px;
  font-weight: 600;
}
.sub-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sub-form input {
  padding: 13px 16px;
  border-radius: var(--r-pill);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
}
.sub-form input::placeholder {
  color: var(--fg-invert-2);
}
.sub-form input:focus {
  outline: none;
  border-color: var(--mint);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- PROBLEM SECTION: tangled context / work sprawl ---------- */
.problem {
  text-align: center;
}
.sec-head--center {
  display: block;
  text-align: center;
  max-width: none;
}
.problem-viz {
  position: relative;
  height: 300px;
  margin: 46px auto 0;
  max-width: 1100px;
}
.threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.threads path {
  fill: none;
  stroke: #d4d8de;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcluster {
  position: absolute;
  top: 150px;
  width: 0;
  height: 0;
}
.pchip {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 18, 31, 0.12);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}
/* small problem-term pills sitting directly on the knots */
.pterm {
  position: absolute;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 6px 16px rgba(20, 18, 31, 0.1);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  color: var(--ink);
}
.pbubbles {
  position: absolute;
  top: 120px;
  width: 0;
  height: 0;
}
.pbubble {
  position: absolute;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 20px rgba(20, 18, 31, 0.1);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transform: translate(-50%, -50%);
}
.pbubble {
  left: 30px;
  top: -44px;
}
.pbubble--2 {
  left: 120px;
  top: 6px;
}
.pbubble--3 {
  left: 10px;
  top: 54px;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 36px auto 0;
  text-align: left;
}
.pcol {
  position: relative;
  padding-top: 22px;
}
.pcol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2px;
  width: 24px;
  height: 14px;
  border-left: 1.5px solid var(--gray-300);
  border-top: 1.5px solid var(--gray-300);
  border-top-left-radius: 8px;
}
.pcol h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.pcol p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0;
  max-width: 30ch;
}
.pcol strong {
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 860px) {
  .problem-viz {
    height: 240px;
  }
  .pchip {
    width: 42px;
    height: 42px;
  }
  .problem-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
  }
  .pcol::before {
    display: none;
  }
}

/* ---------- PRODUCTS SECTION: tall card row (slides in from right) ---------- */
.sec-head--stack {
  display: block;
  max-width: 760px;
}
.prod-scroller {
  margin-top: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.prod-scroller::-webkit-scrollbar {
  display: none;
}
.prod-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 396px;
  border-radius: 24px;
  padding: 26px 24px 0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  will-change: transform;
}
.prod-desc {
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}
/* full-bleed flat illustration inside each product card */
.prod-art {
  position: relative;
  flex: 1;
  margin: 16px -24px 0;
  overflow: hidden;
}
.prod-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out);
  transform-origin: 50% 62%;
}
.prod-card:hover .prod-svg {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .prod-svg {
    transition: none;
  }
}
.prod-label {
  margin: 0 -24px;
  padding: 16px 24px;
  background: rgba(11, 31, 22, 0.5);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.01em;
}
@media (max-width: 1024px) {
  .prod-row {
    display: flex;
    gap: 16px;
  }
  .prod-card {
    flex: 0 0 266px;
  }
}

/* ---------- AGENT: Event → Reason → Act ---------- */
.agent {
  text-align: center;
}
.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 18px;
  margin-top: 48px;
  text-align: left;
  align-items: start;
}
.agent-col {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  min-height: 420px;
}
.agent-col--mid {
  background: var(--bg-mint-wash);
  border-color: #dfeae5;
}
.agent-colhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.agent-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  text-transform: none;
  letter-spacing: 0;
}
.agent-pill--live {
  background: rgba(40, 160, 90, 0.12);
  color: #1f7a45;
}
.agent-pill--live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28a05a;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulseDot 1.6s infinite;
}
.agent-pill--ai {
  background: var(--ai-soft);
  color: var(--ai);
}
.agent-pill--ok {
  background: rgba(40, 160, 90, 0.14);
  color: #1f7a45;
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.ev-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  opacity: 0.45;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out),
    box-shadow 0.4s,
    border-color 0.4s;
}
.ev-card.is-live {
  opacity: 1;
  transform: none;
  border-color: var(--orange);
  box-shadow: 0 10px 26px rgba(201, 80, 31, 0.16);
  animation: evPop 0.5s var(--ease-out);
}
@keyframes evPop {
  0% {
    transform: scale(0.98);
  }
  55% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}
.ev-kind {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ev-kind i {
  width: 14px;
  height: 14px;
  color: var(--orange);
}
.ev-kind b {
  margin-left: auto;
  color: var(--forest);
  font-weight: 600;
}
.ev-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 10px 0 4px;
  line-height: 1.25;
}
.ev-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
}
.agent-note {
  font-size: 12.5px;
  color: var(--gray-500);
  margin: 18px 0 10px;
}
.ev-stream {
  display: grid;
  gap: 7px;
}
.ev-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: 9px;
  padding: 8px 11px;
}
.ev-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}
.ev-row b {
  color: var(--ink);
  font-weight: 600;
}
.ev-ago {
  margin-left: auto;
  color: var(--gray-400);
}

.agent-badge {
  text-align: center;
  padding: 6px 0 14px;
}
.agent-orb {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--forest), var(--ai));
  box-shadow: 0 10px 26px rgba(201, 80, 31, 0.35);
  transition:
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.agent-orb i,
.agent-orb svg {
  width: 26px;
  height: 26px;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease-out);
}
/* pulsing rings while the agent is reasoning */
.agent-orb::before,
.agent-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ai);
  opacity: 0;
  pointer-events: none;
}
.agent-orb.is-thinking {
  box-shadow: 0 12px 34px rgba(201, 80, 31, 0.55);
  transform: scale(1.04);
}
.agent-orb.is-thinking i,
.agent-orb.is-thinking svg {
  animation: orbSpin 2.4s linear infinite;
}
.agent-orb.is-thinking::before {
  animation: orbRing 1.8s ease-out infinite;
}
.agent-orb.is-thinking::after {
  animation: orbRing 1.8s ease-out infinite 0.9s;
}
@keyframes orbRing {
  0% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}
@keyframes orbSpin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.agent-badge-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.agent-badge-sub {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 2px;
}
.agent-live-status {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--gray-500);
  min-height: 1.2em;
  transition: color 0.3s;
}
.agent-live-status.is-on {
  color: var(--ai);
}
.agent-live-status.is-on::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ai);
  margin-left: 6px;
  vertical-align: middle;
  animation: pulseDot 1s infinite;
}
.reason-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.reason-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2ece7;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13.5px;
  color: var(--ink-2, #3a4a43);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(9px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    border-color 0.3s;
}
.reason-item.is-in {
  opacity: 1;
  transform: none;
}
.reason-item i {
  width: 16px;
  height: 16px;
  color: #1f7a45;
  flex: 0 0 auto;
  margin-top: 1px;
}
.reason-item--plan {
  background: var(--ai-soft);
  border-color: #ddd6ff;
}
.reason-item--plan i {
  color: var(--ai);
}
.reason-item.is-typing {
  border-color: var(--ai);
}
.reason-item.is-typing span::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--ai);
  vertical-align: text-bottom;
  animation: caret 0.8s step-end infinite;
}
@keyframes caret {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.agent-grounded {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
}
.agent-bar {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: var(--gray-200);
  overflow: hidden;
}
.agent-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    var(--mint-deep),
    var(--ai),
    var(--orange)
  );
  transition: width 0.55s var(--ease-out);
}

.act-list {
  display: grid;
  gap: 10px;
}
.act-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px 13px;
  box-shadow: var(--shadow-xs);
  transition:
    opacity 0.4s,
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-out);
}
.act-card.is-pending {
  opacity: 0.42;
}
.act-card.is-running {
  opacity: 1;
  border-color: var(--ai);
  box-shadow: 0 6px 18px rgba(201, 80, 31, 0.18);
  transform: translateY(-1px);
}
.act-card.is-done {
  opacity: 1;
  border-color: #cfe8d8;
}
.act-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gray-100);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background 0.35s;
}
.act-ic i {
  width: 18px;
  height: 18px;
  color: var(--forest);
  transition: color 0.35s;
}
.act-card.is-running .act-ic {
  background: var(--ai-soft);
}
.act-card.is-running .act-ic i {
  color: var(--ai);
}
.act-card.is-done .act-ic {
  background: rgba(40, 160, 90, 0.12);
}
.act-card.is-done .act-ic i {
  color: #1f7a45;
}
.act-body {
  flex: 1;
  min-width: 0;
}
.act-mod {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  text-transform: uppercase;
}
.act-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
/* per-module status: spinner while running, drawn check when done */
.act-status {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.act-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ai-soft);
  border-top-color: var(--ai);
  opacity: 0;
  transition: opacity 0.25s;
}
.act-card.is-running .act-spin {
  opacity: 1;
  animation: actSpin 0.7s linear infinite;
}
@keyframes actSpin {
  to {
    transform: rotate(360deg);
  }
}
.act-check {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #1f7a45;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  opacity: 0;
}
.act-card.is-done .act-check {
  opacity: 1;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 0.4s var(--ease-out) 0.05s,
    opacity 0.2s;
}

.agent-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  background: var(--forest-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 24px 30px;
  text-align: left;
}
.agent-result-text {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
}
.agent-result-text i {
  width: 22px;
  height: 22px;
  color: #5fe07a;
}
.agent-result-stats {
  display: flex;
  gap: 30px;
}
.ar-stat b {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.01em;
}
.ar-stat span {
  font-size: 12.5px;
  color: var(--fg-invert-2);
}

.agent-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.agent-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: #fff;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}
.agent-tab:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.agent-tab.is-active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.agent-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.agent-tab.is-active .agent-tab-dot {
  opacity: 1;
  background: #5fe07a;
}

/* result banner lands once the agent has acted */
.agent-result {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.agent-result.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reason-item,
  .act-card,
  .ev-card,
  .agent-result {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .agent-orb.is-thinking i,
  .agent-orb.is-thinking::before,
  .agent-orb.is-thinking::after {
    animation: none;
  }
  .act-card.is-running .act-spin {
    animation: none;
  }
  .reason-item.is-typing span::after {
    animation: none;
  }
}

@media (max-width: 900px) {
  .agent-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .agent-col {
    min-height: 0;
  }
  .agent-result {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- CASE-STUDY cards (two-column: content + product mockup) ---------- */
.carousel-track {
  gap: 28px;
}
.cs-card {
  flex: 0 0 880px;
  border-radius: 30px;
  padding: 40px;
  min-height: 452px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: stretch;
}
.cs-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cs-card h3 {
  font-size: 40px;
  line-height: 1.06;
  margin: 22px 0 4px;
  max-width: 15ch;
  letter-spacing: -0.01em;
}
.cs-name {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  font-size: 15px;
  opacity: 0.9;
}

.cs-thumbs {
  display: flex;
  gap: 12px;
  margin: 20px 0 24px;
}
.cs-thumb {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s var(--ease-out);
}
.cs-iso {
  width: 100%;
  height: 100%;
  display: block;
}
.cs-card:hover .cs-thumb {
  transform: translateY(-4px);
}
.cs-card:hover .cs-thumb:nth-child(2) {
  transition-delay: 0.04s;
}
.cs-card:hover .cs-thumb:nth-child(3) {
  transition-delay: 0.08s;
}

/* the side image — app/product mockup panel */
.cs-side {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-mock {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 22px;
  padding: 18px 18px 22px;
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(8, 20, 14, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.cs-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cs-mock-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.cs-mock-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(150deg, var(--forest), var(--ai));
}
.cs-mock-menu {
  display: grid;
  gap: 3.5px;
}
.cs-mock-menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
}
.cs-mock-hero {
  position: relative;
  height: 152px;
  border-radius: 14px;
  margin: 14px 0 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f4f7f5;
}
.cs-mock-blob {
  position: absolute;
  height: 0;
  border-radius: 50%;
  opacity: 0.82;
  filter: blur(1px);
  mix-blend-mode: multiply;
}
.cs-mock-iso {
  position: relative;
  z-index: 2;
  width: 124px;
  height: 124px;
  filter: drop-shadow(0 8px 14px rgba(8, 20, 14, 0.18));
  animation: mockFloat 3s ease-in-out infinite;
}
.cs-mock-chip {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 12px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(8, 20, 14, 0.22);
  animation: chipFloat 2.4s ease-in-out infinite;
}
.cs-mock-chip svg {
  width: 40px;
  height: 40px;
  display: block;
}

/* CSS-driven motion for the side image (reliable without JS) */
@keyframes mockFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2.5deg);
  }
  50% {
    transform: translateY(-15px) rotate(2.5deg);
  }
}
@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes blobDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(7%, -5%) scale(1.16);
  }
}
.cs-mock-blob {
  animation: blobDrift 4.4s ease-in-out infinite;
  transform-origin: center;
}
.cs-mock-blob:nth-child(2) {
  animation-duration: 5.2s;
  animation-delay: -1.1s;
}
.cs-mock-blob:nth-child(3) {
  animation-duration: 6s;
  animation-delay: -2.3s;
}
.cs-mock-blob:nth-child(4) {
  animation-duration: 4.8s;
  animation-delay: -0.6s;
}
@media (prefers-reduced-motion: reduce) {
  .cs-mock-iso,
  .cs-mock-chip,
  .cs-mock-blob {
    animation: none;
  }
}
.cs-mock-cap {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}
.cs-mock-rule {
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  margin: 9px 0 12px;
}
.cs-mock-title {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cs-mock-title span {
  color: var(--ai);
}

@media (max-width: 980px) {
  .cs-card {
    flex-basis: 84vw;
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }
  .cs-card h3 {
    font-size: 32px;
  }
  .cs-side {
    justify-content: flex-start;
  }
  .cs-mock {
    max-width: 340px;
  }
}
@media (max-width: 520px) {
  .cs-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }
  .cs-card h3 {
    font-size: 27px;
  }
}

/* ---------- SCROLL REVEALS (position-only; always legible) ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.rv.seen {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .nav-links,
  .nav-right {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-mobile {
    display: flex;
  }
  /* hero cards: scattered (L/R offset + rotation) but spaced so they never collide */
  .cluster {
    height: 480px;
    position: relative;
    margin-top: 14px;
  }
  .cluster .ghost {
    display: none;
  }
  .pcard {
    height: auto !important;
    min-height: 54px;
    padding: 12px 16px;
    box-shadow: 0 12px 26px rgba(8, 20, 14, 0.15);
  }
  .pcard .lbl {
    font-size: 14.5px;
    line-height: 1.2;
    padding-left: 22px;
  }
  .pcard-ic {
    width: 34px;
    height: 34px;
  }
  .pcard-ic svg {
    width: 18px;
    height: 18px;
  }
  .pcard-viz {
    display: none;
  }
  [data-pill="intel"] {
    left: 32% !important;
    top: 0 !important;
    width: 64% !important;
  }
  [data-pill="graph"] {
    left: 3% !important;
    top: 96px !important;
    width: 66% !important;
  }
  [data-pill="workflow"] {
    left: 21% !important;
    top: 192px !important;
    width: 70% !important;
  }
  [data-pill="core"] {
    left: 30% !important;
    top: 288px !important;
    width: 66% !important;
  }
  [data-pill="agentic"] {
    left: 3% !important;
    top: 384px !important;
    width: 60% !important;
  }
  /* case-study carousel → native swipe (the JS transform step doesn't fit small screens) */
  .carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .carousel-track {
    transform: none !important;
  }
  .cs-card {
    scroll-snap-align: center;
  }
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  .brand-word {
    font-size: 17px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1.display {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }
  .footer-sub {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
  }
  /* Ensure horizontal margins are always present */
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* tighter vertical rhythm on phones so sections don't float apart */
  .sec {
    padding: 52px 0;
  }
  .sec-head {
    margin-bottom: 28px;
  }
  /* Eyebrows + heading spacing */
  .eyebrow {
    margin-bottom: 8px;
  }
  .sec-head--center .h2,
  .sec-head--center h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.15;
  }
  .sec-head--stack .h2,
  .sec-head--stack h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  /* UseOne / sections missing .sec */
  #useone {
    padding-top: 42px !important;
    padding-bottom: 42px;
  }
  #features {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  #suite {
    padding-bottom: 8px;
  }
  /* Alfred / AI section */
  .alfred {
    padding-top: 42px;
  }
  .alfred-consol {
    padding: 22px 18px;
    gap: 14px;
  }
  .alfred-stage {
    gap: 14px;
  }
  /* Agent section */
  .agent-grid {
    gap: 12px;
  }
  .agent-col {
    padding: 16px;
  }
  .agent-result {
    padding: 18px 20px;
  }
  .agent-result-text {
    font-size: 15px;
  }
  .ar-stat b {
    font-size: 20px;
  }
  /* Trust / Pricing */
  .trust-sec,
  .pricing-sec,
  .ind-impact {
    padding-top: 50px;
  }
  .faq-sec {
    padding-top: 50px;
    padding-bottom: 64px;
  }
  .stats-band {
    padding-top: 6px;
  }
  .stats-grid {
    padding: 28px 16px;
  }
  /* CTA band */
  .cta-band {
    padding: 52px 20px;
  }
  .cta-band h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  /* Features section inner padding + contain iso art */
  .features {
    padding: 36px 20px;
    border-radius: 22px;
    overflow: hidden;
  }
}

/* ============================================================
   FINALIZE: proof band · trust · pricing · FAQ
   ============================================================ */
.btn-outline {
  background: #fff;
  color: var(--forest);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--forest);
}

/* --- quantified proof band --- */
.stats-band {
  padding: 14px 0 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--forest);
  border-radius: var(--r-lg, 24px);
  padding: 46px 40px;
  color: #eaf1ed;
}
.stat-cell {
  text-align: center;
}
.stat-num {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4vw, 52px);
  color: #fff;
  line-height: 1;
}
.stat-lbl {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #b6cfc3;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.stats-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-500);
  margin: 14px 0 0;
}

/* --- trust / compliance --- */
.trust-sec {
  padding-top: 96px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
}
.trust-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-mint-wash);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.trust-ic i,
.trust-ic svg {
  width: 22px;
  height: 22px;
  color: var(--forest);
}
.trust-card h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 7px;
}
.trust-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0;
}

/* --- pricing --- */
.pricing-sec {
  padding-top: 96px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: start;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.is-featured {
  border-color: var(--forest);
  box-shadow: 0 24px 60px rgba(22, 58, 43, 0.16);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--forest);
}
.price-amt {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 12px 0 4px;
}
.price-num {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 40px;
  color: var(--ink);
}
.price-unit {
  font-size: 13.5px;
  color: var(--gray-500);
}
.price-tag {
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-600);
  margin: 6px 0 22px;
  min-height: 42px;
}
.price-feats {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.4;
}
.price-feats i,
.price-feats svg {
  width: 17px;
  height: 17px;
  color: var(--mint-deep, #1a4b35);
  flex: 0 0 auto;
  margin-top: 1px;
}

/* --- FAQ --- */
.faq-sec {
  padding-top: 96px;
  padding-bottom: 104px;
}
.faq-list {
  max-width: 780px;
  margin: 44px auto 0;
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.is-open {
  border-color: var(--forest);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
}
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--forest);
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease-out);
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}
.faq-item.is-open .faq-a {
  max-height: 240px;
}
.faq-a p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 64ch;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
    padding: 34px 24px;
  }
  .trust-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRICING PAGE: hero + comparison table
   ============================================================ */
.pp-hero {
  padding-top: 70px;
  padding-bottom: 8px;
}

.cmp-sec {
  padding-top: 96px;
  padding-bottom: 104px;
}
.cmp-scroll {
  margin-top: 42px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}
.cmp th,
.cmp td {
  padding: 16px 18px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.cmp thead th {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-600);
  vertical-align: bottom;
  border-bottom: 2px solid var(--gray-200);
}
.cmp .cmp-rowhead {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  max-width: 280px;
}
.cmp tbody .cmp-rowhead {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 14.5px;
}
/* highlighted ONE column */
.cmp .cmp-one {
  background: var(--bg-mint-wash);
  border-left: 1px solid #dcebe3;
  border-right: 1px solid #dcebe3;
}
.cmp thead .cmp-one {
  border-top: 1px solid #dcebe3;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding-top: 20px;
}
.cmp tbody tr:last-child .cmp-one {
  border-bottom: 1px solid #dcebe3;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.cmp-onebadge {
  display: inline-block;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 999px;
}
.cmp-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cmp-mark i,
.cmp-mark svg {
  width: 20px;
  height: 20px;
}
.cmp-yes i,
.cmp-yes svg {
  color: #1f7a45;
  stroke-width: 3;
}
.cmp-no i,
.cmp-no svg {
  color: var(--gray-300);
  stroke-width: 2.5;
}
.cmp-part {
  font-size: 11.5px;
  font-weight: 600;
  color: #9a6a1c;
  background: rgba(201, 128, 31, 0.14);
  padding: 3px 9px;
  border-radius: 999px;
}
.cmp-one .cmp-yes i,
.cmp-one .cmp-yes svg {
  color: var(--forest);
}
.cmp-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-600);
}
.cmp-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cmp-legend .cmp-mark i,
.cmp-legend .cmp-mark svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 680px) {
  .cmp th,
  .cmp td {
    padding: 13px 12px;
    font-size: 13px;
  }
}

/* --- pricing page: positioning extras --- */
.pp-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}
.pp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-mint-wash);
  border: 1px solid #dcebe3;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--forest);
}
.pp-pill i,
.pp-pill svg {
  width: 16px;
  height: 16px;
  color: var(--mint-deep, #1a4b35);
}
.price-from {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-right: 4px;
  align-self: center;
}

.pp-pilot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  background: var(--forest);
  color: #eaf1ed;
  border-radius: 26px;
  padding: 38px 44px;
}
.pp-pilot .eyebrow--ai {
  color: #9b89ff;
}
.pp-pilot h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
  margin: 10px 0 8px;
}
.pp-pilot p {
  color: #b6cfc3;
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0;
  max-width: 58ch;
}
.pp-wedge {
  padding-top: 96px;
}

@media (max-width: 680px) {
  .pp-pilot {
    padding: 30px 26px;
  }
}

/* ============================================================
   ALFRED — AI-native section (consolidation + live skills)
   ============================================================ */
.alfred {
  text-align: center;
}

/* concept 1: many tools → ONE */
.alfred-consol {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 48px;
  background: var(--bg-mint-wash);
  border: 1px solid #dcebe3;
  border-radius: 24px;
  padding: 34px 38px;
  text-align: left;
}
.consol-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.consol-tag--ai {
  color: var(--ai);
}
.consol-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}
.tool-chip {
  background: #fff;
  border: 1px dashed var(--gray-300);
  color: var(--gray-500);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
}
.consol-cap {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.45;
  margin: 0;
  max-width: 34ch;
}
.consol-arrow {
  display: grid;
  place-items: center;
  color: var(--forest);
}
.consol-arrow i,
.consol-arrow svg {
  width: 30px;
  height: 30px;
}
.consol-after {
  text-align: center;
}
.consol-hub {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid #dcebe3;
  border-radius: 18px;
  padding: 20px 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.consol-hub-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  color: var(--forest);
  margin-top: 10px;
}
.consol-hub-sub {
  font-size: 12.5px;
  color: var(--gray-500);
}
.consol-after .consol-cap {
  margin: 0 auto;
  text-align: center;
}

.alfred-orb {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--forest), var(--ai));
  box-shadow: 0 10px 26px rgba(201, 80, 31, 0.35);
}
.alfred-orb i,
.alfred-orb svg {
  width: 26px;
  height: 26px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.alfred-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ai);
  opacity: 0;
  animation: alfredRing 2.1s ease-out infinite;
}
.alfred-orb--sm {
  width: 46px;
  height: 46px;
}
.alfred-orb--sm i,
.alfred-orb--sm svg {
  width: 20px;
  height: 20px;
}
@keyframes alfredRing {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

/* concept 2: Alfred's skills, live */
.alfred-stage {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  margin-top: 20px;
  text-align: left;
  align-items: stretch;
}
.alfred-assistant {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.asst-head {
  display: flex;
  gap: 13px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.asst-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.asst-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--gray-500);
  text-transform: none;
  letter-spacing: 0;
}
.asst-online span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28a05a;
  animation: pulseDot 1.6s infinite;
}
.asst-skill {
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  margin-top: 3px;
}
.asst-body {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 118px;
  padding: 16px 2px;
}
.asst-typing {
  display: flex;
  gap: 7px;
}
.asst-typing span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
  animation: asstDots 1s infinite;
}
.asst-typing span:nth-child(2) {
  animation-delay: 0.16s;
}
.asst-typing span:nth-child(3) {
  animation-delay: 0.32s;
}
@keyframes asstDots {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}
.asst-msg {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  animation: asstIn 0.35s var(--ease-out);
}
.asst-msg i,
.asst-msg svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.asst-msg p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--charcoal);
}
@keyframes asstIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.asst-actions {
  display: flex;
  gap: 10px;
  padding-top: 8px;
  animation: asstIn 0.4s var(--ease-out);
}
.asst-approve {
  background: var(--forest);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}
.asst-dismiss {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  cursor: pointer;
}

.alfred-skills {
  display: grid;
  gap: 12px;
}
.skill-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s,
    border-color 0.2s;
}
.skill-card:hover {
  box-shadow: var(--shadow-sm);
}
.skill-card.is-active {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.skill-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--bg-mint-wash);
  display: grid;
  place-items: center;
}
.skill-ic i,
.skill-ic svg {
  width: 20px;
  height: 20px;
}
.skill-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-top: 13px;
}
.skill-blurb {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.45;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .alfred-consol {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .consol-tools {
    justify-content: center;
  }
  .consol-cap {
    max-width: none;
  }
  .consol-arrow {
    transform: rotate(90deg);
  }
  .alfred-stage {
    grid-template-columns: 1fr;
  }
  .alfred-skills {
    order: -1;
  }
  .alfred-assistant {
    order: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .alfred-orb::after,
  .asst-online span,
  .asst-typing span {
    animation: none;
  }
}

/* --- Alfred mark + avatar (redesigned: app-icon style, centered) --- */
.consol-after {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}
.consol-after .consol-tag {
  align-self: center;
}
.consol-after .consol-cap {
  margin: 0;
  max-width: 34ch;
}
.alfred-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
  background: linear-gradient(
    125deg,
    #163a2b,
    #1f7a52,
    #157a66,
    #c9501f,
    #e0662f,
    #1f7a52,
    #163a2b
  );
  background-size: 320% 320%;
  box-shadow: 0 14px 28px rgba(22, 58, 43, 0.3);
  animation: alfredHue 9s ease-in-out infinite;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
@keyframes alfredHue {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.alfred-avatar:hover {
  transform: scale(1.07);
  box-shadow: 0 18px 38px rgba(201, 80, 31, 0.3);
  animation-duration: 3.4s;
}
.alfred-avatar:active {
  transform: scale(1.02);
}
/* spark twinkles always, spins on hover */
.alfred-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: sparkTwinkle 2.6s ease-in-out infinite;
}
@keyframes sparkTwinkle {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
.alfred-avatar:hover .alfred-spark {
  animation: sparkSpin 0.9s linear infinite;
}
@keyframes sparkSpin {
  to {
    transform: rotate(360deg);
  }
}
.alfred-monogram {
  transition: stroke-width 0.3s var(--ease-out);
}
.alfred-avatar:hover .alfred-monogram {
  stroke-width: 3.5;
}
.alfred-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 17px;
  background: radial-gradient(
    120% 80% at 50% 0%,
    rgba(255, 255, 255, 0.28),
    transparent 62%
  );
}
.alfred-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 17px;
  border: 1.5px solid var(--ai);
  opacity: 0;
  animation: alfredRing 2.4s ease-out infinite;
}
.alfred-mark {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
}
.alfred-avatar--sm {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.alfred-avatar--sm .alfred-mark {
  width: 29px;
  height: 29px;
}
.alfred-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #dcebe3;
  border-radius: 18px;
  padding: 14px 22px 14px 15px;
  box-shadow: var(--shadow-sm);
}
.alfred-id {
  text-align: left;
}
.alfred-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 19px;
  color: var(--forest);
  line-height: 1.05;
}
.alfred-role {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .alfred-avatar,
  .alfred-avatar::after,
  .alfred-spark,
  .alfred-avatar:hover .alfred-spark {
    animation: none;
  }
  .alfred-avatar:hover {
    transform: none;
  }
  .alfred-avatar {
    background-position: 30% 50%;
  }
}

/* industry nav dropdown (icon + title + desc) */
.nav-menu--industry {
  min-width: 336px;
}
.nav-menu--industry .nav-menu-item {
  align-items: flex-start;
}
.nav-menu--industry .nm-ic {
  margin-top: 1px;
}
.nm-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* proof band: 6 stats + light eyebrow on dark band */
.stats-grid--6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}
.stats-band .eyebrow {
  color: #9fe0c0;
}
@media (max-width: 760px) {
  .stats-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 9-MODULE grid ---------- */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.mod-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s;
}
.mod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.mod-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--bg-mint-wash);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--forest);
}
.mod-ic svg {
  width: 24px;
  height: 24px;
}
.mod-card:last-child .mod-ic {
  background: var(--ai-soft);
  color: var(--ai);
}
.mod-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 8px;
}
.mod-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0;
}
@media (max-width: 900px) {
  .mod-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .mod-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- "Use ONE your way" dual mode ---------- */
.useone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 46px;
}
.useone-card {
  position: relative;
  border-radius: 22px;
  padding: 34px 32px;
  border: 1px solid var(--gray-200);
  background: #fff;
  overflow: hidden;
}
.useone-card--run {
  background: var(--forest);
  color: #eaf1ed;
  border-color: transparent;
}
.useone-card--connect {
  background: var(--bg-mint-wash);
  border-color: #dcebe3;
}
.useone-num {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.useone-card h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 23px;
  margin: 12px 0 10px;
  letter-spacing: -0.01em;
}
.useone-card--run h3 {
  color: #fff;
}
.useone-card--connect h3 {
  color: var(--forest);
}
.useone-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.useone-card--run p {
  color: #b6cfc3;
}
.useone-card--connect p {
  color: var(--charcoal);
}
.useone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.useone-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}
.useone-card--run .useone-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #eaf1ed;
}
.useone-card--connect .useone-chip {
  background: #fff;
  border: 1px solid #dcebe3;
  color: var(--forest);
}
@media (max-width: 820px) {
  .useone-grid {
    grid-template-columns: 1fr;
  }
}

/* problem: 6 pain cards */
.problem-cards--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 46px auto 0;
}
.problem-cards--6 .pcol {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--orange);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
  min-height: 0;
}
.problem-cards--6 .pcol p {
  margin: 0;
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.45;
}
@media (max-width: 820px) {
  .problem-cards--6 {
    grid-template-columns: 1fr;
  }
}

/* ---------- HERO pills: icon + mini-infographic (slim, Anchor-sized) ---------- */
.pcard {
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  border-radius: 18px;
}
.pcard-l {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.pcard-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: color-mix(in srgb, currentColor 16%, transparent);
}
.pcard-ic svg {
  width: 18px;
  height: 18px;
}
.pcard .lbl {
  padding: 0;
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 600;
}
.pcard-viz {
  flex: 0 0 auto;
  opacity: 0.5;
  display: flex;
  align-items: center;
}
.pcard-viz svg {
  width: 48px;
  height: 30px;
  display: block;
  color: currentColor;
}
@media (max-width: 640px) {
  .pcard-viz {
    display: none;
  }
}

/* ---------- PROBLEM: redesigned pain cards (icon + title + desc) ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 48px auto 0;
}
.pain-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s,
    border-color 0.22s;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(8, 20, 14, 0.1);
  border-color: #f0cbbc;
}
.pain-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(201, 80, 31, 0.1);
  color: var(--orange);
}
.pain-ic svg {
  width: 22px;
  height: 22px;
}
.pain-tx h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  margin: 1px 0 5px;
  line-height: 1.2;
}
.pain-tx p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 0;
}
@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* useone: brand logo tiles (Connect card) */
.useone-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.useone-logo {
  height: 46px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #dcebe3;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease-out);
}
.useone-logo:hover {
  transform: translateY(-2px);
}
.useone-logo img {
  height: 22px;
  width: auto;
  max-width: 108px;
  display: block;
}

/* marquee: brand logos */
.mlogo {
  display: flex;
  align-items: center;
}
.mlogo img {
  height: 30px;
  width: auto;
  max-width: 132px;
  display: block;
}

/* ---------- MOBILE POLISH ---------- */

/* --- TABLET / iPad Pro (821–1024px): headings get safe side margins, grids ease down --- */
@media (max-width: 1024px) and (min-width: 821px) {
  .features {
    padding: 60px 40px;
    border-radius: 32px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .cta-band {
    padding: 70px clamp(28px, 4vw, 64px);
  }
  .stats-grid {
    padding: 40px 32px;
  }
  .alfred-consol {
    padding: 30px 28px;
  }
  .sec-head--center .h2,
  .sec-head--center h2 {
    padding: 0 20px;
  }
  .agent-grid {
    gap: 14px;
  }
  .agent-col {
    padding: 18px;
    min-height: 360px;
  }
}

/* --- MOBILE ≤ 820px --- */
@media (max-width: 820px) {
  .features {
    padding: 42px 26px;
    border-radius: 28px;
  }
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .problem-viz {
    display: none;
  } /* decorative thread tangle — the pain cards carry the message on mobile */
  .detail {
    padding: 26px 22px;
  }
  .sec {
    padding: 58px 0;
  }
  .h2 {
    font-size: clamp(1.8rem, 6.4vw, 2.4rem);
  }

  /* Sections that lack .sec still need vertical rhythm on mobile */
  #useone {
    padding-top: 56px !important;
    padding-bottom: 56px;
  }
  #features {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Section headings need breathing room */
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .sec-head--center {
    text-align: center;
  }
  .sec-head--center .h2,
  .sec-head--center h2,
  .sec-head--stack .h2,
  .sec-head--stack h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  /* dev-pills: switch from absolute to inline-flex so they don't overflow on narrow screens */
  .dev-pills {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  .dev-pill {
    position: static !important;
    transform: none !important;
    font-size: 12.5px;
    padding: 8px 13px;
  }
  /* dev code window tilt removal for mobile (avoids overflow) */
  .dev-win {
    transform: none;
    box-shadow: var(--shadow-lg);
  }

  /* CTA band safe margins */
  .cta-band {
    padding: 64px 24px;
  }
  .cta-band h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* Stats band needs breathing room */
  .stats-grid {
    padding: 34px 20px;
  }

  /* Alfred consolidation panel */
  .alfred-consol {
    padding: 26px 22px;
  }

  /* Footer columns: readable spacing */
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }
  .hero-cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .pp-hero .display,
  .ind-hero .display,
  .doc-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  .dev-pills {
    gap: 8px;
  }
  .dev-pill {
    font-size: 12px;
    padding: 7px 11px;
  }
  /* UseOne cards: smaller padding on tiny phones */
  .useone-card {
    padding: 26px 22px;
  }
  .useone-card h3 {
    font-size: 20px;
  }
  /* Suite tabs scroll on tiny phones */
  .suite-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .suite-tab {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 14px;
  }
  /* Footer: single column on small phones */
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* ---------- MOBILE NAV: slide-in drawer ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 14, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease-out),
    visibility 0.25s;
  z-index: 70;
}
.nav-scrim.show {
  opacity: 1;
  visibility: visible;
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(92vw, 390px);
  background: var(--paper, #fbfaf7);
  z-index: 80;
  transform: translateX(105%);
  transition: transform 0.34s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -22px 0 60px rgba(8, 20, 14, 0.22);
  visibility: hidden;
}
.nav-drawer.open {
  transform: none;
  visibility: visible;
}
.nav-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  flex: 0 0 auto;
}
.nav-close {
  background: var(--gray-100);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--forest);
  transition: background 0.2s;
}
.nav-close:hover {
  background: var(--gray-200);
}
.nav-close svg {
  width: 22px;
  height: 22px;
}
/* scrolling body of the menu */
.nav-drawer-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px 6px;
}
.nav-grp-label {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 16px 8px 8px;
}
.nav-grp-label:first-child {
  margin-top: 2px;
}
.nav-drawer-grid {
  display: grid;
  gap: 4px;
}
.nav-mitem {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition:
    background 0.15s var(--ease-out),
    transform 0.15s var(--ease-out);
}
.nav-mitem:active {
  transform: scale(0.985);
}
.nav-mitem:hover {
  background: #fff;
}
.nav-mitem .nm-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--gray-200);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.nav-mitem .nm-ic i,
.nav-mitem .nm-ic svg {
  width: 19px;
  height: 19px;
  color: var(--forest);
}
.nav-mitem .nm-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-mitem .nm-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.nav-mitem .nm-desc {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.3;
}
.nav-mrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15.5px;
  transition: background 0.15s;
}
.nav-mrow:hover {
  background: #fff;
}
.nav-mrow svg {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  flex: 0 0 auto;
}
/* pinned footer CTA */
.nav-drawer-foot {
  flex: 0 0 auto;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--gray-200);
  display: grid;
  gap: 10px;
}
.nav-drawer-foot .btn {
  justify-content: center;
  padding: 15px;
}
.nav-signin {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
}
.nav-signin:hover {
  color: var(--forest);
}
@media (min-width: 821px) {
  .nav-drawer,
  .nav-scrim {
    display: none;
  }
}

/* hero pills: shrink label on very small phones */
@media (max-width: 380px) {
  .pcard .lbl {
    font-size: 13.5px;
  }
  .pcard {
    min-height: 50px;
    padding: 11px 14px;
  }
  .cluster {
    height: 440px;
  }
  [data-pill="intel"] {
    top: 0 !important;
  }
  [data-pill="graph"] {
    top: 86px !important;
  }
  [data-pill="workflow"] {
    top: 172px !important;
  }
  [data-pill="core"] {
    top: 258px !important;
  }
  [data-pill="agentic"] {
    top: 344px !important;
  }
  [data-pill="graph"],
  [data-pill="intel"],
  [data-pill="workflow"],
  [data-pill="core"],
  [data-pill="agentic"] {
    width: 72% !important;
  }
}

/* ============================================================
   POLISH PASS — site-wide refinements (loads on every page)
   Accessibility, anchor offsets, logo wall, tactile buttons,
   consistent card motion, and small finishing touches.
   ============================================================ */

/* --- text rendering + selection --- */
body {
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: rgba(201, 80, 31, 0.18);
  color: var(--forest-ink, #0b1f16);
}

/* --- anchor links land below the sticky navbar (72px) instead of under it --- */
html {
  scroll-padding-top: 88px;
}

/* --- visible, on-brand keyboard focus everywhere (a11y) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.faq-q:focus-visible,
.skill-card:focus-visible,
.agent-tab:focus-visible,
.arrow:focus-visible {
  outline: 2px solid var(--ai);
  outline-offset: 2px;
  border-radius: 8px;
}
.btn:focus-visible {
  outline-offset: 3px;
}
/* don't double up the ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- tactile buttons: subtle lift on hover (Anchor-style), keyboard-safe --- */
.btn-primary,
.btn-accent,
.btn-ai {
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.btn-primary:hover,
.btn-accent:hover,
.btn-ai:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 31, 22, 0.16);
}
.btn-primary:active,
.btn-accent:active,
.btn-ai:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}
.btn-ai:hover {
  box-shadow: 0 8px 22px rgba(201, 80, 31, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-accent:hover,
  .btn-ai:hover {
    transform: none;
  }
}

/* --- logo walls: uniform muted look, full colour on hover (Anchor restraint) --- */
.mlogo img,
.useone-logo img {
  filter: grayscale(1);
  opacity: 0.62;
  transition:
    filter var(--dur) var(--ease-out),
    opacity var(--dur) var(--ease-out);
}
.marquee:hover .mlogo img {
  opacity: 0.72;
}
.mlogo:hover img,
.useone-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* --- consistent card motion: trust cards lift like the rest --- */
.trust-card {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.trust-ic,
.mod-ic,
.skill-ic {
  transition: background 0.25s var(--ease-out);
}
.trust-card:hover .trust-ic,
.mod-card:hover .mod-ic {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

/* --- nav links: animated underline so the active hover reads as intentional --- */
.nav-links > .nav-link {
  position: relative;
}
.nav-links > .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-links > .nav-link:hover::after {
  transform: scaleX(1);
}

/* --- FAQ: give long answers room so they never clip --- */
.faq-item.is-open .faq-a {
  max-height: 420px;
}

/* --- inputs: smoother focus on the subscribe field --- */
.sub-form input {
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

/* --- images never overflow their containers --- */
img {
  max-width: 100%;
}

/* --- marquee: a touch more breathing room from the section above --- */
@media (max-width: 520px) {
  .marquee {
    margin-top: 32px;
    padding: 22px 0;
  }
  .marquee-track {
    gap: 40px;
  }
}

/* ============================================================
   INTEGRATED SUITE — colored bento product cards (under hero)
   ============================================================ */
.suite-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.suite-tab {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: #fff;
  transition:
    border-color 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    background 0.18s;
}
.suite-tab:hover {
  border-color: var(--forest);
  color: var(--forest);
  background: var(--bg-mint-wash);
}

.suite-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-auto-rows: minmax(190px, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.suite-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.suite-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.suite-card--big {
  grid-row: span 2;
}
.suite-card-top {
  position: relative;
  z-index: 2;
}
.suite-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.9;
}
.suite-name {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 2vw, 25px);
  margin: 9px 0 10px;
  line-height: 1.1;
}
.suite-card--big .suite-name {
  font-size: clamp(28px, 3vw, 38px);
  margin: 12px 0 14px;
}
.suite-desc {
  font-size: 14px;
  line-height: 1.5;
  max-width: 30ch;
  margin: 0;
}
.suite-card--big .suite-desc {
  font-size: 16px;
  line-height: 1.55;
  max-width: 40ch;
}
.suite-art {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 118px;
  height: 118px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  transition: transform 0.35s var(--ease-out);
}
.suite-card:hover .suite-art {
  transform: translateY(-4px) scale(1.05);
}
.suite-card--big .suite-art {
  width: 196px;
  height: 196px;
  right: 14px;
  bottom: 14px;
}
.suite-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.suite-go {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 2;
  opacity: 0.92;
  transition: transform 0.25s var(--ease-out);
}
.suite-card:hover .suite-go {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .suite-card:hover,
  .suite-card:hover .suite-art,
  .suite-card:hover .suite-go {
    transform: none;
  }
}
@media (max-width: 900px) {
  .suite-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(176px, auto);
  }
  .suite-card--big {
    grid-column: span 2;
    grid-row: auto;
  }
  .suite-card--big .suite-art {
    width: 140px;
    height: 140px;
    right: 10px;
    bottom: 10px;
  }
}
@media (max-width: 600px) {
  .suite-grid {
    grid-template-columns: 1fr;
  }
  .suite-card--big {
    grid-column: auto;
  }
  .suite-art {
    width: 80px;
    height: 80px;
    right: 8px;
    bottom: 8px;
  }
  .suite-card--big .suite-art {
    width: 100px;
    height: 100px;
    right: 8px;
    bottom: 8px;
  }
  .suite-card {
    padding: 24px 22px;
    min-height: auto;
  }
  .suite-card--big .suite-name {
    font-size: 24px;
  }
  .suite-card--big .suite-desc {
    font-size: 14px;
    max-width: calc(100% - 90px);
  }
  .suite-desc {
    max-width: calc(100% - 70px);
  }
}

/* ============================================================
   DEVELOPER SECTION — cycling code window with line numbers
   ============================================================ */
.dev-snippet-tabs {
  display: flex;
  gap: 3px;
  padding: 8px 12px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dev-tabbtn {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #7c887f;
  background: none;
  border: 0;
  padding: 7px 11px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
}
.dev-tabbtn:hover {
  color: #cfe6da;
}
.dev-tabbtn.is-active {
  color: #9fe0be;
  background: rgba(255, 255, 255, 0.06);
}
.dev-codewrap {
  display: flex;
  gap: 16px;
  padding: 18px;
  min-height: 236px;
  animation: fadeUp 0.35s var(--ease-out);
}
.dev-gutter {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  line-height: 1.8;
  color: #3c4a42;
  text-align: right;
  user-select: none;
  flex: 0 0 auto;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding-right: 14px;
}
.dev-code2 {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  line-height: 1.8;
  color: #cfe6da;
  white-space: pre;
  overflow-x: auto;
  flex: 1;
}
@media (prefers-reduced-motion: reduce) {
  .dev-codewrap {
    animation: none;
  }
}
@media (max-width: 520px) {
  .dev-code2,
  .dev-gutter {
    font-size: 12px;
  }
  .dev-codewrap {
    min-height: 0;
  }
}

/* ============================================================
   ROLLING STATS — count-up proof band (Company page)
   ============================================================ */
.stat-num {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.stat-roll {
  font-variant-numeric: tabular-nums;
}
.stat-pre,
.stat-suf {
  font-size: 0.74em;
  font-weight: 800;
  opacity: 0.92;
}
.stat-pre {
  margin-right: 1px;
}
.stat-suf {
  margin-left: 1px;
}
.stat-cell {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.stat-cell.is-live {
  opacity: 1;
  transform: none;
}
.stat-cell.is-live .stat-num {
  animation: statPop 0.6s var(--ease-out);
}
@keyframes statPop {
  0% {
    transform: scale(0.96);
  }
  55% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stat-cell {
    opacity: 1;
    transform: none;
  }
  .stat-cell.is-live .stat-num {
    animation: none;
  }
}

/* ============================================================
   USE-CASE CARDS — Anchor-style horizontal scroller
   (category · title · capability list · mini-icon row · image)
   ============================================================ */
.uc-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 12px;
  margin-top: 10px;
}
.uc-scroller::-webkit-scrollbar {
  display: none;
}
.uc-card {
  scroll-snap-align: start;
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 26px 26px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.uc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.uc-cat {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.uc-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 10px 0 16px;
}
.uc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.uc-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.4;
}
.uc-tick {
  flex: 0 0 auto;
  margin-top: 1px;
}
.uc-tick svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
.uc-icons {
  display: flex;
  gap: 10px;
  margin: 18px 0 20px;
}
.uc-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--bg-mint-wash);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease-out);
}
.uc-card:hover .uc-ic {
  transform: translateY(-2px);
}
.uc-ic svg {
  width: 20px;
  height: 20px;
}
.uc-img {
  position: relative;
  margin: auto -26px 0;
  height: 172px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.uc-img-iso {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 10px 16px rgba(8, 20, 14, 0.16));
  transition: transform 0.4s var(--ease-out);
  animation: ucFloat 4s ease-in-out infinite;
}
.uc-card:hover .uc-img-iso {
  transform: scale(1.06);
}
@keyframes ucFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.uc-img-chip {
  position: absolute;
  top: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 13px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.86);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(4px);
}
.uc-img-mark {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--forest), var(--orange));
}
.uc-img-badge {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}
@media (prefers-reduced-motion: reduce) {
  .uc-img-iso {
    animation: none;
  }
  .uc-card:hover {
    transform: none;
  }
}
@media (max-width: 520px) {
  .uc-card {
    flex-basis: 84vw;
  }
  .uc-title {
    font-size: 23px;
  }
}

/* ============================================================
   MOBILE RESPONSIVENESS — global overflow & spacing fix
   ============================================================ */

/* Prevent horizontal scroll globally */
#root {
  overflow-x: hidden;
}

/* ---------- SECTION SPACING: consistent vertical rhythm ---------- */
/* Ensure all major sections have proper top/bottom spacing */
.sec + .sec {
  margin-top: 0;
}

/* ---------- MOBILE: 820px and below ---------- */
@media (max-width: 820px) {
  /* Ensure wrap padding is never less than 20px on mobile */
  .wrap {
    padding-left: max(20px, 4vw);
    padding-right: max(20px, 4vw);
  }

  /* Features inner box: reduce padding so it doesn't overflow on small screens */
  .features {
    padding: 48px 28px;
    border-radius: 24px;
    overflow: hidden;
  }

  /* Developer code window: tame the tilt so it doesn't cause overflow */
  .dev-win {
    transform: none;
    box-shadow: var(--shadow-card);
    max-width: 100%;
  }

  /* Dev pills — contain within viewport, no cutoff */
  .dev-pills {
    height: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  .dev-pill {
    position: static !important;
    transform: rotate(0deg) !important;
    left: auto !important;
    top: auto !important;
  }

  /* Product scroller — prevent horizontal page overflow */
  .prod-scroller {
    max-width: 100%;
  }

  /* Case study carousel — prevent bleed */
  .carousel {
    max-width: 100%;
  }

  /* Iso art inside features — prevent clip */
  .iso {
    overflow: visible;
    transform: scale(0.9);
    transform-origin: center center;
  }
}

/* ---------- MOBILE: 560px and below ---------- */
@media (max-width: 560px) {
  /* Force all sections to respect viewport width with proper side margins */
  .sec {
    padding: 52px 0;
  }

  /* The .wrap provides the horizontal padding — ensure it's always respected */
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Consistent section spacing — no sections floating too close */
  .sec + .sec {
    margin-top: 0;
  }

  /* Features box — proper mobile padding, contain iso art */
  .features {
    padding: 32px 18px;
    border-radius: 20px;
    gap: 32px;
    overflow: hidden;
  }
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* Iso art — scale down so it doesn't clip */
  .iso {
    height: 160px !important;
    transform: scale(0.85);
    transform-origin: center center;
  }

  /* Developer section — "Built for builders" */
  .dev {
    gap: 28px;
  }
  .dev-code {
    font-size: 11.5px;
    padding: 14px;
    overflow-x: auto;
  }
  .dev-win {
    transform: none;
    margin: 0;
    max-width: 100%;
  }

  /* Dev pills — properly contained, no cutoff */
  .dev-pills {
    height: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  .dev-pill {
    position: static !important;
    transform: rotate(0deg) !important;
    left: auto !important;
    top: auto !important;
  }

  /* Agent section — proper left/right padding */
  .agent-grid {
    gap: 12px;
  }
  .agent-col {
    padding: 16px 14px;
  }
  .agent-result {
    padding: 18px 16px;
    gap: 14px;
  }
  .agent-result-stats {
    gap: 20px;
  }

  /* Alfred / AI section — skills on top, assistant below on mobile */
  .alfred-consol {
    padding: 22px 16px;
    gap: 16px;
  }
  .alfred-stage {
    gap: 14px;
  }
  .alfred-skills {
    order: -1;
  }
  .alfred-assistant {
    padding: 18px 16px;
    order: 1;
  }
  .skill-card {
    padding: 16px;
  }
  .skill-blurb {
    display: block;
  }

  /* Products module grid */
  .mod-card {
    padding: 20px 18px;
  }

  /* UseOne section — match section padding */
  .useone-card {
    padding: 26px 20px;
  }
  .useone-chips {
    gap: 6px;
  }
  .useone-chip {
    font-size: 11.5px;
    padding: 6px 10px;
  }

  /* FAQ section — proper spacing from neighbours */
  .faq-sec {
    padding-top: 52px;
    padding-bottom: 64px;
  }
  .faq-q {
    padding: 16px 18px;
    font-size: 15px;
    gap: 12px;
  }
  .faq-a p {
    padding: 0 18px 18px;
    font-size: 14px;
  }

  /* Trust section spacing */
  .trust-sec {
    padding-top: 52px;
  }
  .trust-card {
    padding: 22px 18px;
  }

  /* Case studies: "Built for businesses" — proper margins */
  .cs-card {
    padding: 26px 22px;
  }

  /* Case studies scroller — pad from edges so cards don't cut off */
  .uc-scroller {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 20px;
  }
  .uc-card {
    flex: 0 0 82vw;
  }

  /* Sec-head: fix heading/arrows alignment on mobile */
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Problem section */
  .problem-viz {
    max-width: 100%;
    overflow: hidden;
  }

  /* CTA band */
  .cta-band {
    padding: 52px 20px;
  }

  /* Stats */
  .stats-grid {
    padding: 28px 16px;
    gap: 22px 14px;
  }

  /* Footer */
  .footer-cols {
    gap: 20px;
  }

  /* Global: all pills / chip containers — prevent cutoff */
  .consol-tools {
    gap: 6px;
  }
  .tool-chip {
    font-size: 12px;
    padding: 6px 10px;
  }
  .agent-tabs {
    gap: 8px;
  }
  .agent-tab {
    font-size: 12.5px;
    padding: 8px 14px;
  }
}
