/* ═══════════════════════════════════════════════
   TECHROBOTIC HOMEPAGE — STYLES
   Integrates with moontheme parent + techrobotic child
   ═══════════════════════════════════════════════ */

/* ─── PARENT THEME INTEGRATION ─── */

/* Body: override WordPress core global styles */
body {
  background: var(--evergreen-deep) !important;
  background-color: var(--evergreen-deep) !important;
  color: var(--ivory) !important;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ivory);
}
a { color: inherit; }

/* Override WordPress :where(.is-layout-flow) > * { margin-block-start: 24px }
   This single rule targets ONLY what WP adds. Our own margin-top values
   on .hero__title, .hero__sub, .section-header h2, etc. have higher
   specificity and will still apply. */
:where(.site-content) > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Kill site-content padding on front page — hero handles its own spacing */
.site-content {
  padding-top: 0 !important;
}

/* Hide parent footer on homepage (we have our own) */
.site-footer { display: none; }

/* ─── CONTENT WIDTH ENFORCEMENT ─── */
/* All section inner content: 1200px full / 800px semi */
.section-header,
.rpa-explainer__grid,
.automate__layout,
.process__layout,
.pricing__grid,
.proof-bento__inner,
.cta-final__content,
.footer__main,
.footer__bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.hero__content,
.case-highlight__inner {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── TOKENS ─── */
:root {
  --evergreen: #0D2C11;
  --evergreen-deep: #071A09;
  --evergreen-light: #143A1A;
  --evergreen-mid: #0F2E13;
  --ivory: #FBFCEF;
  --ivory-75: rgba(251, 252, 239, 0.75);
  --ivory-60: rgba(251, 252, 239, 0.60);
  --ivory-40: rgba(251, 252, 239, 0.40);
  --ivory-20: rgba(251, 252, 239, 0.20);
  --ivory-10: rgba(251, 252, 239, 0.10);
  --ivory-05: rgba(251, 252, 239, 0.05);
  --lavender: #CECAE2;
  --celadon: #BAD5BD;
  --indigo: #3D3172;
  --lime: #3ACD48;
  --lime-glow: rgba(58, 205, 72, 0.25);
  --lime-glow-strong: rgba(58, 205, 72, 0.4);

  --font-display: 'Cairo', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  --glass-bg: rgba(13, 44, 17, 0.55);
  --glass-border: rgba(251, 252, 239, 0.09);
  --glass-border-hover: rgba(251, 252, 239, 0.18);
  --glass-blur: 24px;
  --glass-inner-glow: inset 0 1px 0 rgba(251, 252, 239, 0.06), inset 0 0 20px rgba(251, 252, 239, 0.02);

  /* Section spacing — two tiers */
  --space-section-inner: 48px;   /* sections on same background */
  --space-section-outer: 96px;   /* sections transitioning between backgrounds */
}

/* ─── CARD SYSTEM ─── */
/* Base: shared structure for all cards */
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
}
/* Dark variant: on dark/evergreen backgrounds — matches btn--outline opacity */
.card--dark {
  background: rgba(7, 26, 9, 0.75);
  border: 1px solid var(--glass-border);
}
/* Sweep wash for dark cards — top-down height reveal like bento cards */
.card--dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.02));
  pointer-events: none;
  border-radius: var(--radius-xl);
  z-index: 0;
  transition: height 0.3s ease, background 0.3s ease;
}
.card--dark:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.card--dark:hover::after {
  height: 100%;
}
/* Light variant: on ivory backgrounds */
.card--light {
  background: var(--ivory);
  border: 1.5px solid rgba(13, 44, 17, 0.08);
}
.card--light:hover {
  border-color: rgba(13, 44, 17, 0.15);
  box-shadow: 0 4px 20px rgba(13, 44, 17, 0.06);
}

/* ─── WAVES CANVAS (hero-only) ─── */
.hero__waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 70%);
}

/* ─── GRADIENT TEXT (single-line only) ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--lime), var(--celadon), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline; /* prevent block wrap */
}

/* ─── PILL BADGES ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ivory-10);
  background: rgba(13, 44, 17, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lavender);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  animation: pulse-dot 2s ease infinite;
}
.pill--celadon { color: var(--celadon); border-color: rgba(186, 213, 189, 0.15); }
.pill__dot--celadon { background: var(--celadon); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ─── BUTTONS (elevated SaaS premium) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-spring);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s var(--ease-spring);
  pointer-events: none;
}
.btn:hover::before {
  left: 120%;
}
/* Arrow on all buttons */
.btn::after {
  content: '→';
  font-size: 1.1em;
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover::after {
  transform: translateX(4px);
}

.btn--lime {
  background: linear-gradient(135deg, var(--lime), #2DB83A);
  color: var(--evergreen-deep);
  box-shadow:
    0 0 0 0 var(--lime-glow),
    0 4px 20px rgba(58, 205, 72, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.3);
}
.btn--lime:hover {
  transform: translateY(-2px);
  color: var(--evergreen-deep);
  box-shadow: 0 0 20px var(--lime-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn--outline {
  background: rgba(7, 26, 9, 0.75);
  color: var(--ivory);
  border: 1px solid var(--ivory-20);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--ivory);
  box-shadow: 0 0 20px var(--lime-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn--sm { /* same as base — unified sizing */ }
.btn--lg { /* same as base — unified sizing */ }
.btn--full { width: 100%; box-sizing: border-box; }

/* ─── ANIMATION SYSTEM ─── */
/* Directions */
[data-anim] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
  filter: blur(4px);
}
[data-anim="up"] { transform: translateY(28px); }
[data-anim="down"] { transform: translateY(-28px); }
[data-anim="left"] { transform: translateX(-28px); }
[data-anim="right"] { transform: translateX(28px); }
[data-anim="fade"] { transform: none; }

/* Stagger delay via custom property */
[data-anim] { transition-delay: var(--anim-delay, 0s); }

/* Visible state */
[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
  filter: blur(0);
}

/* Legacy .reveal support (fallback) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
  transition-delay: var(--anim-delay, 0s);
}
.reveal.is-visible,
.no-reveal .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.section-header p {
  margin: 16px 0 0;
  margin-block: 0;
  margin-top: 16px;
  color: var(--ivory-60);
  font-size: 1.05rem;
}

/* ─── DOT GRID ─── */
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--ivory-20) 1.5px, transparent 1.5px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(7, 26, 9, 0.75);
  backdrop-filter: blur(18px) saturate(200%);
  -webkit-backdrop-filter: blur(18px) saturate(200%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.nav.is-scrolled {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border-color: var(--glass-border-hover);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  padding: 0 20px 0 24px;
}
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.nav__logo-dot { color: var(--lime); }
/* .nav__links removed — WP uses .main-navigation, styled via brand-tokens.css */

/* ═══════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--space-section-outer) 24px; /* 96px = nav footprint — symmetric top & bottom */
  z-index: 2;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 800px; flex-shrink: 0; }

/* Video — first child of ivory, pulls up into hero bg */
.hero-video {
  position: relative;
  z-index: 5; /* above hero's z-index: 2 so canvas doesn't paint over video */
  margin-top: -96px; /* matches hero padding exactly */
  margin-bottom: 24px;
  padding: 0 24px;
  text-align: center;
}
.hero-video__browser {
  max-width: 800px;
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  margin: 24px 0 0;
  margin-block: 0;
  margin-top: 24px;
  line-height: 1.05;
}
.hero__sub {
  margin: 24px auto 0;
  margin-block: 0;
  margin-top: 24px;
  font-size: 1.1rem; color: var(--ivory-60);
  max-width: 560px; line-height: 1.7;
}
.hero__actions { margin: 40px 0 0; margin-block: 0; margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.browser-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: rgba(20, 58, 26, 0.9);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  backdrop-filter: blur(16px);
}
.browser-chrome__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ivory-20); }
.browser-chrome__url { margin-left: 16px; font-size: 0.75rem; color: var(--ivory-40); }
.browser-body {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-inner-glow), 0 16px 48px rgba(0, 0, 0, 0.25);
}
.browser-body--video {
  padding: 0;
  overflow: hidden;
  background: var(--evergreen-deep);
  position: relative;
}
.browser-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px);
}

/* "See it in action" label */
.hero-video-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ivory-40);
  margin-bottom: 16px;
}

/* Play overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 26, 9, 0.45);
  border: none;
  cursor: pointer;
  border-radius: 0 0 calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px);
  transition: background 0.3s var(--ease-out);
}
.video-play-overlay svg {
  width: 48px;
  height: 48px;
  padding: 14px;
  background: rgba(58, 205, 72, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(58, 205, 72, 0.3);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.video-play-overlay:hover svg {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(58, 205, 72, 0.5);
}
.video-play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

/* Browser glow on reveal */
.hero__browser.is-visible {
  box-shadow: 0 0 40px rgba(58, 205, 72, 0.06), 0 16px 48px rgba(0, 0, 0, 0.25);
}

.mock-flow { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.mock-flow__node {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ivory-20);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--ivory-40);
  flex-shrink: 0;
}
.mock-flow__node--active { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 20px var(--lime-glow); }
.mock-flow__line { width: 48px; height: 2px; background: var(--lime); opacity: 0.5; }
.mock-flow__line--dim { background: var(--ivory-20); opacity: 1; }

.mock-metrics { display: flex; justify-content: center; gap: 48px; }
.mock-metric { text-align: center; }
.mock-metric__value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.mock-metric__label { font-size: 0.75rem; color: var(--ivory-40); text-transform: uppercase; letter-spacing: 0.05em; }

/* ═══════════════════════════════════════════════
   IVORY BREAK SECTION
   ═══════════════════════════════════════════════ */
.ivory-break {
  position: relative;
  z-index: 3; /* above hero's z-index: 2 so video isn't painted over by canvas */
  background: var(--ivory);
  padding: 0 24px 48px;
  display: flex;          /* prevents child margin collapse */
  flex-direction: column;
}
.ivory-break__comparison {
  max-width: 1200px;
  margin: 0 auto;
}

/* Light-mode section header */
.section-header--light { color: var(--evergreen); }
.section-header--light h2 { color: var(--evergreen); }
.section-header--light p { color: rgba(13, 44, 17, 0.6); }

/* Gradient text on light bg */
.gradient-text--dark {
  background: linear-gradient(135deg, var(--lime), #0D8A1A, var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Light pill badge */
.pill--light {
  background: rgba(13, 44, 17, 0.06);
  border-color: rgba(13, 44, 17, 0.12);
  color: var(--indigo);
  backdrop-filter: none;
}
.pill__dot--evergreen { background: var(--evergreen); }
.pill--muted {
  background: rgba(13, 44, 17, 0.06);
  border-color: rgba(58, 205, 72, 0.25);
  color: var(--evergreen);
}
.pill--indigo {
  background: rgba(61, 49, 114, 0.08);
  border-color: rgba(61, 49, 114, 0.15);
  color: var(--indigo);
}

/* Light-mode comparison cards */
.comparison__cards--light {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.comparison__card--before-light {
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(255, 107, 107, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  display: flex; flex-direction: column;
}
.comparison__card--after-light {
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(58, 205, 72, 0.25);
  box-shadow: 0 4px 24px rgba(58, 205, 72, 0.08);
  display: flex; flex-direction: column;
}
.comparison__rows--light { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.comp-row--light { color: var(--evergreen); }
.comparison__divider--light {
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
}
.comparison__arrow--light {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--evergreen);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--lime);
  font-weight: 700;
}
.comparison__badge--after-light {
  display: inline-block; width: fit-content;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 24px;
  background: rgba(58, 205, 72, 0.12);
  color: var(--evergreen);
}

/* ═══════════════════════════════════════════════
   BENTO PROOF (ivory section — case study showcase)
   ═══════════════════════════════════════════════ */
.proof-bento {
  padding: var(--space-section-inner) 24px;
}
.proof-bento__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Pagination (bottom — arrows + nodes) */
.proof-bento__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.proof-bento__arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(13, 44, 17, 0.15);
  background: transparent;
  font-size: 1rem;
  color: rgba(13, 44, 17, 0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.proof-bento__arrow-btn:hover {
  border-color: var(--evergreen);
  color: var(--evergreen);
  background: rgba(13, 44, 17, 0.04);
}
.proof-bento__nodes {
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-bento__node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 44, 17, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease-spring);
}
.proof-bento__node:hover {
  background: rgba(13, 44, 17, 0.35);
  transform: scale(1.2);
}
.proof-bento__node.is-active {
  background: var(--evergreen);
  transform: scale(1.3);
}

/* Bento grid */
.proof-bento__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Bottom row: two boxes + arrow overlay */
.proof-bento__bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

/* Upper summary box — gradient border (indigo → lime), sweep wash on hover */
.proof-bento__hero-box {
  /* base from .card .card--light; border handled by ::before gradient mask */
  border: none;
  isolation: isolate;
}
/* Gradient border via mask */
.proof-bento__hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(61, 49, 114, 0.25), rgba(58, 205, 72, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}
/* Sweep wash — gradient that expands from top on hover */
.proof-bento__hero-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(61, 49, 114, 0.08), rgba(58, 205, 72, 0.04));
  pointer-events: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: -1;
  transition: height 0.3s ease, background 0.3s ease;
}
.proof-bento__hero-box:hover {
  box-shadow: 0 4px 24px rgba(13, 44, 17, 0.08);
}
.proof-bento__hero-box:hover::before {
  background: linear-gradient(135deg, rgba(61, 49, 114, 0.4), rgba(58, 205, 72, 0.4));
}
.proof-bento__hero-box:hover::after {
  height: 100%;
  background: linear-gradient(135deg, rgba(61, 49, 114, 0.08), rgba(58, 205, 72, 0.04));
}
/* Firm identity — top of summary box */
.proof-bento__firm-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.proof-bento__firm-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--evergreen);
  letter-spacing: -0.02em;
}
.proof-bento__firm-pills {
  display: flex;
  gap: 8px;
  align-items: center;
}

.proof-bento__stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.proof-bento__stat-before {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--indigo);
  letter-spacing: -0.03em;
  position: relative;
}
.proof-bento__stat-before::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 0.12em;
  background: rgba(61, 49, 114, 0.45);
  transform: translateY(-50%);
}
.proof-bento__stat-arrow {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(13, 44, 17, 0.35);
  font-weight: 400;
  align-self: center;
}
.proof-bento__stat-after {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--evergreen);
  letter-spacing: -0.03em;
}
.proof-bento__context {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(13, 44, 17, 0.60);
  max-width: 700px;
  margin-bottom: 12px;
}
/* (proof-bento__client removed — info now in firm-pills) */
.proof-bento__context:last-child {
  margin-bottom: 0;
}

/* Lower left: Before (Indigo card — border via ::after with concave cutout) */
.proof-bento__before-box {
  /* base from .card .card--light; border handled by ::after mask */
  border: none;
}
/* Sweep wash */
.proof-bento__before-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(61, 49, 114, 0.10), rgba(61, 49, 114, 0.03));
  pointer-events: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: height 0.3s ease, background 0.3s ease;
}
/* Border with concave semicircle cutout on right edge */
.proof-bento__before-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(61, 49, 114, 0.2);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 3;
  -webkit-mask: radial-gradient(circle 28px at calc(100% + 1px) 50%, transparent 99%, black 100%);
  mask: radial-gradient(circle 28px at calc(100% + 1px) 50%, transparent 99%, black 100%);
  transition: border-color 0.3s ease;
}
.proof-bento__before-box:hover {
  box-shadow: 0 4px 24px rgba(61, 49, 114, 0.12);
}
.proof-bento__before-box:hover::before {
  height: 100%;
  background: linear-gradient(135deg, rgba(61, 49, 114, 0.10), rgba(61, 49, 114, 0.03));
}
.proof-bento__before-box:hover::after {
  border-color: rgba(61, 49, 114, 0.4);
}
.proof-bento__box-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.proof-bento__before-box .proof-bento__box-label {
  background: rgba(61, 49, 114, 0.08);
  border: 1px solid rgba(61, 49, 114, 0.12);
  color: var(--indigo);
}
.proof-bento__before-box .proof-bento__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proof-bento__before-box .proof-bento__list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(13, 44, 17, 0.60);
  padding-left: 24px;
  position: relative;
}
.proof-bento__before-box .proof-bento__list li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 700;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Lower right: After (Lime card — border via ::after with concave cutout) */
.proof-bento__after-box {
  /* base from .card .card--light; border handled by ::after mask */
  border: none;
}
/* Sweep wash */
.proof-bento__after-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.03));
  pointer-events: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: height 0.3s ease, background 0.3s ease;
}
/* Border with concave semicircle cutout on left edge */
.proof-bento__after-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(58, 205, 72, 0.2);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 3;
  -webkit-mask: radial-gradient(circle 28px at -1px 50%, transparent 99%, black 100%);
  mask: radial-gradient(circle 28px at -1px 50%, transparent 99%, black 100%);
  transition: border-color 0.3s ease;
}
.proof-bento__after-box:hover {
  box-shadow: 0 4px 24px rgba(58, 205, 72, 0.12);
}
.proof-bento__after-box:hover::before {
  height: 100%;
  background: linear-gradient(135deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.03));
}
.proof-bento__after-box:hover::after {
  border-color: rgba(58, 205, 72, 0.4);
}
.proof-bento__after-box .proof-bento__box-label {
  background: rgba(13, 44, 17, 0.06);
  border: 1px solid rgba(58, 205, 72, 0.25);
  color: var(--evergreen);
}
.proof-bento__after-box .proof-bento__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proof-bento__after-box .proof-bento__list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(13, 44, 17, 0.60);
  padding-left: 24px;
  position: relative;
}
.proof-bento__after-box .proof-bento__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Arrow disc — absolutely centered at the seam between bottom boxes */
.proof-bento__bottom-row > .proof-bento__arrow-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1.5px solid rgba(13, 44, 17, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(13, 44, 17, 0.35);
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(13, 44, 17, 0.06);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 700px) {
  .proof-bento__bottom-row {
    grid-template-columns: 1fr;
  }
  .proof-bento__bottom-row > .proof-bento__arrow-disc {
    top: auto;
    left: 50%;
    /* Sit between the stacked boxes */
    position: relative;
    transform: rotate(90deg);
    margin: -12px auto;
  }
  .proof-bento__stat-row {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════
   WHAT IS RPA? EXPLAINER
   ═══════════════════════════════════════════════ */
.rpa-explainer {
  position: relative;
  z-index: 2;
  padding: var(--space-section-outer) 24px;
}
.rpa-explainer .section-header {
  max-width: 880px;
  margin-bottom: 48px;
}
.rpa-explainer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rpa-explainer__card {
  /* extends .card--dark via HTML class */
}
.rpa-explainer__number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--lime);
  opacity: 0.15;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}
.rpa-explainer__card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px; margin-block: 0; margin-bottom: 12px;
  color: var(--ivory);
  position: relative;
  z-index: 1;
  padding-top: 44px;
}
.rpa-explainer__card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ivory-60);
}
.rpa-explainer__tagline {
  text-align: center;
  max-width: 1200px;
  margin: 32px auto 0;
  font-size: 0.85rem;
  color: var(--ivory-40);
  letter-spacing: 0.04em;
}
.rpa-explainer__tagline strong {
  color: var(--lime);
}

/* ═══════════════════════════════════════════════
   WHAT WE AUTOMATE
   ═══════════════════════════════════════════════ */
.automate {
  position: relative;
  z-index: 2;
  padding: var(--space-section-outer) 24px;
  border-top: 1px solid var(--glass-border);
}
.automate__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}
.automate__layout {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.automate__left {
  position: sticky;
  top: 120px;
}
.automate__left .pill {
  margin: 0 0 20px;
  margin-block: 0;
  margin-bottom: 20px;
}
.automate__left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  margin-block: 0;
  margin-bottom: 20px;
}
.automate__left > p {
  margin: 0;
  margin-block: 0;
  color: var(--ivory-60);
  font-size: 1.05rem;
  max-width: 480px;
}
.automate__right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.automate__card {
  /* extends .card--dark via HTML class */
}
.automate__header h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px; margin-block: 0; margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.automate__roles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.automate__role {
  font-size: 0.85rem;
  line-height: 1.55;
}
.automate__role p {
  color: var(--ivory-60);
  margin: 0; margin-block: 0;
}
.automate__role-label {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.automate__role--bot .automate__role-label {
  background: var(--lime-glow);
  color: var(--lime);
}
.automate__role--human .automate__role-label {
  background: rgba(206, 202, 226, 0.12);
  color: var(--lavender);
}

/* ═══════════════════════════════════════════════
   CASE HIGHLIGHT — emotional proof, single quote
   ═══════════════════════════════════════════════ */
.case-highlight {
  position: relative;
  z-index: 2;
  padding: var(--space-section-outer) 24px;
  background: var(--ivory);
}
.case-highlight__inner {
  max-width: 800px !important;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
/* Corner-only lime border frame */
.case-highlight__frame {
  --corner-size: 32px;
  --corner-weight: 2px;
  --corner-color: var(--lime);
  position: relative;
  padding: 40px 36px;
}
.case-highlight__frame::before,
.case-highlight__frame::after {
  content: '';
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  pointer-events: none;
}
.case-highlight__frame::before {
  top: 0;
  left: 0;
  border-top: var(--corner-weight) solid var(--corner-color);
  border-left: var(--corner-weight) solid var(--corner-color);
}
.case-highlight__frame::after {
  bottom: 0;
  right: 0;
  border-bottom: var(--corner-weight) solid var(--corner-color);
  border-right: var(--corner-weight) solid var(--corner-color);
}
/* Quotation watermarks — SVG with tight bounding box */
.case-highlight__watermark {
  position: absolute;
  width: clamp(100px, 14vw, 160px);
  height: auto;
  color: rgba(13, 44, 17, 0.05);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.6s var(--ease-out);
}
.case-highlight__watermark--open {
  top: 0;
  left: 0;
}
.case-highlight__watermark--close {
  bottom: 0;
  right: 0;
}
/* The quote */
.case-highlight__quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0; margin-block: 0;
  color: var(--evergreen);
  letter-spacing: -0.02em;
}
.case-highlight__quote strong {
  color: var(--lime);
  font-weight: 800;
}
/* Attribution — minimal, below the frame */
.case-highlight__attribution {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.case-highlight__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--evergreen);
  letter-spacing: -0.02em;
}
.case-highlight__role {
  font-size: 1.05rem;
  color: rgba(13, 44, 17, 0.45);
}


/* ═══════════════════════════════════════════════
   2. LOGO STRIP (inside ivory section)
   ═══════════════════════════════════════════════ */
.logos {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 44, 17, 0.06);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.logos__label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--evergreen);
  letter-spacing: -0.01em;
  max-width: 200px;
  line-height: 1.35;
  margin: 0;
}
.logos__track-wrap {
  flex: 1;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.logos__track {
  overflow: visible;
}
.logos__slide {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}
.logo-box {
  flex-shrink: 0;
  height: 28px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.logo-box:hover {
  opacity: 0.85;
}
/* scroll-logos animation removed — now JS-driven for smooth hover slowdown */

/* Mobile: stack label above carousel, full-width */
@media (max-width: 700px) {
  .logos {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .logos__label {
    max-width: none;
    text-align: center;
  }
}


/* ═══════════════════════════════════════════════
   4. BENTO GRID (fixed asymmetric layout)
   ═══════════════════════════════════════════════ */
.features { position: relative; z-index: 2; padding: var(--space-section-inner) 24px; }

.bento {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 240px;
  gap: 20px;
}
.bento__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-inner-glow);
  transition: border-color 0.4s, transform 0.5s var(--ease-spring), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.bento__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ivory-10), transparent);
}
.bento__card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glass-inner-glow), 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Hero card: 2 cols, 2 rows */
.bento__card--hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(58, 205, 72, 0.06), var(--glass-bg) 60%);
  border-color: rgba(58, 205, 72, 0.12);
}

/* Accent card with lime border */
.bento__card--accent {
  border-color: rgba(58, 205, 72, 0.15);
  background: linear-gradient(160deg, var(--glass-bg), rgba(61, 49, 114, 0.08));
}

.bento__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--ivory-05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.bento__icon--lg { width: 64px; height: 64px; font-size: 1.8rem; }
.bento__card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.bento__card p { color: var(--ivory-60); font-size: 0.9rem; line-height: 1.65; }
.bento__tag {
  display: inline-block; margin-top: auto;
  padding: 4px 12px;
  background: var(--lime-glow);
  color: var(--lime);
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   5. COMPARISON (shared styles)
   ═══════════════════════════════════════════════ */
.comparison__badge {
  display: inline-block; width: fit-content;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.comparison__badge--before { background: rgba(255, 80, 80, 0.12); color: #d93636; }

.comp-row { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.comp-icon { font-weight: 700; font-size: 0.85rem; }
.comp-icon--red { color: #d93636; }
.comp-icon--green { color: #0D8A1A; }

.comparison__stat {
  margin-top: 24px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; letter-spacing: -0.03em;
}
.comparison__stat--red { color: #d93636; }
.comparison__stat--green { color: #0D8A1A; }

/* ═══════════════════════════════════════════════
   6. PROCESS — 2-col sticky + vertical nodes
   ═══════════════════════════════════════════════ */
.process {
  position: relative; z-index: 2;
  padding: var(--space-section-outer) 24px var(--space-section-outer);
}

.process__layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.process__left {
  position: sticky;
  top: 120px;
}
.process__left .pill { margin: 0 0 20px; margin-block: 0; margin-bottom: 20px; }
.process__left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 20px; margin-block: 0; margin-bottom: 20px;
}
.process__left > p {
  margin: 0; margin-block: 0;
  color: var(--ivory-60);
  font-size: 1.05rem;
  max-width: 480px;
}

/* Right column: vertical node list */
.process__steps {
  position: relative;
  padding-left: 72px;
}

/* Vertical connector line */
.process__steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 0;
  width: 1.5px;
  background: var(--glass-border);
}

.process__step {
  position: relative;
  margin-bottom: 32px;
}
.process__step:last-child { margin-bottom: 0; }

/* Numbered node — starts hidden, animates from left */
.process__node {
  position: absolute;
  left: -72px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-border);
  background: var(--evergreen-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--ivory-40);
  z-index: 2;
  opacity: 0;
  transform: translateX(-28px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.process__node.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.process__step:hover .process__node {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--evergreen-deep);
}

.process__content {
  padding-top: 12px;
}
/* Process h3 + p start hidden, animate right */
.process__content h3,
.process__content p {
  opacity: 0;
  transform: translateX(-28px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
}
.process__content h3.is-visible,
.process__content p.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.process__content h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px; margin-block: 0; margin-bottom: 8px;
  color: var(--ivory);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out), color 0.3s var(--ease-out);
}
.process__step:hover .process__content h3 {
  color: var(--lime);
}
.process__content p {
  font-size: 1.05rem;
  color: var(--ivory-40);
  line-height: 1.65;
  margin: 0; margin-block: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out), color 0.3s var(--ease-out);
}
.process__step:hover .process__content p {
  color: var(--ivory-60);
}

/* ═══════════════════════════════════════════════
   7. TESTIMONIALS
   ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   8. PRICING
   ═══════════════════════════════════════════════ */
.pricing {
  position: relative; z-index: 2;
  padding: 0 24px var(--space-section-outer);
}
.pricing__glow {
  position: absolute;
  width: 400px; height: 400px;
  top: 50%; left: 50%; transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(58, 205, 72, 0.08), transparent 70%);
  pointer-events: none;
}

.pricing__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(7, 26, 9, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring), filter 0.5s var(--ease-out);
}
/* Sweep wash for pricing cards — top-down reveal like other cards */
.pricing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(58, 205, 72, 0.10), rgba(58, 205, 72, 0.02));
  pointer-events: none;
  border-radius: var(--radius-xl);
  z-index: 0;
  transition: height 0.3s ease;
}
.pricing-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
/* No translate on pricing card buttons */
.pricing-card .btn:hover {
  transform: none;
}
.pricing-card:hover::after { height: 100%; }
.pricing-card--featured {
  border-color: rgba(58, 205, 72, 0.2);
}
.pricing-card--featured:hover { /* no extra transform */ }
.pricing-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--lime); color: var(--evergreen-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  border-radius: var(--radius-pill); white-space: nowrap;
  z-index: 2;
}
.pricing-card__tier { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }
.pricing-card__desc { color: var(--ivory-60); font-size: 0.9rem; margin-top: 8px; margin-bottom: 0; margin-block: 0; }
.pricing-card__features { list-style: none; margin: 20px 0; margin-block: 0; margin-top: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 0; }
.pricing-card__features li { font-size: 0.9rem; color: var(--ivory-75); padding-left: 24px; position: relative; }
.pricing-card__features li::before { content: '\2713'; position: absolute; left: 0; color: var(--lime); font-weight: 700; font-size: 0.85rem; }

/* ═══════════════════════════════════════════════
   9. FINAL CTA
   ═══════════════════════════════════════════════ */
.cta-final {
  position: relative; z-index: 2;
  padding: var(--space-section-outer) 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}
.cta-final__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,1) 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,1) 70%);
}
.cta-final__content { position: relative; z-index: 2; }
.cta-final__content h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 16px 0 20px; margin-block: 0; margin-top: 16px; margin-bottom: 20px; }
.cta-final__content p { color: var(--ivory-60); font-size: 1.1rem; max-width: 520px; margin: 0 auto 40px; margin-block: 0; margin-bottom: 40px; }


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding: 64px 24px 32px;
  background: rgba(4, 14, 6, 0.5);
}
/* Main 3-column layout */
.footer__main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}
/* Brand column */
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  display: block;
  text-decoration: none;
  color: var(--ivory);
  transition: color 0.2s var(--ease-out);
}
.footer__logo:hover {
  color: var(--lime);
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 0.9rem;
  color: var(--ivory-60);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 320px;
}
/* Nav + Contact columns */
.footer__heading {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivory-75);
  margin-bottom: 16px;
}
.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a,
.footer__contact a,
.footer__contact span:not(.footer__heading) {
  font-size: 0.9rem;
  color: var(--ivory-60);
  transition: color 0.2s ease;
}
.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--ivory);
}
.footer__powered-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--ivory-40);
  text-decoration: none;
  margin-top: 12px;
  transition: color 0.2s var(--ease-out);
}
.footer__powered-link strong { color: var(--ivory-60); transition: color 0.2s var(--ease-out); }
.footer__powered-link:hover { color: var(--ivory-60); }
.footer__powered-link:hover strong { color: var(--lime); }
.footer .btn:hover { transform: none; }
.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__made-in-ny {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
/* Bottom bar */
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--ivory-75);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 0.8rem;
  color: var(--ivory-60);
  transition: color 0.2s ease;
}
.footer__legal a:hover {
  color: var(--ivory);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   TABLET (≤1024px) — match nav gutter: 20px
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Standardize all section padding to match nav gutter */
  .hero, .ivory-break, .rpa-explainer, .automate,
  .case-highlight, .process, .pricing, .cta-final,
  .footer, .hero-video {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Inner content containers also respect gutter */
  .proof-bento__inner,
  .rpa-explainer__grid,
  .pricing__grid {
    padding-left: 0;
    padding-right: 0;
  }

  /* Section vertical spacing — tighter on tablet */
  .rpa-explainer, .automate, .process, .pricing, .cta-final {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .case-highlight {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* ═══════════════════════════════════════════════
   SMALL TABLET (≤900px) — stack grids
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* 2-col layouts → single column */
  .rpa-explainer__grid { grid-template-columns: 1fr; max-width: none; }
  .automate__layout { grid-template-columns: 1fr; gap: 32px; }
  .automate__left { position: static; }
  .automate__right { grid-template-columns: repeat(2, 1fr); }
  .process__layout { grid-template-columns: 1fr; gap: 32px; }
  .process__left { position: static; }
  .pricing__grid { grid-template-columns: 1fr; max-width: none; }
  .pricing-card--featured { transform: none; }

  /* Quote */
  .case-highlight__frame { padding: 40px 28px; }

  /* Footer */
  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__main > .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Section header spacing */
  .section-header { margin: 0 auto 40px; }
}

/* ═══════════════════════════════════════════════
   MOBILE (≤768px) — match nav gutter: 16px
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Match nav bar gutter at this breakpoint */
  .hero, .ivory-break, .rpa-explainer, .automate,
  .case-highlight, .process, .pricing, .cta-final,
  .footer, .hero-video {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Section vertical spacing — tighter on mobile */
  .rpa-explainer, .automate, .process, .pricing, .cta-final {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .case-highlight {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Hero */
  .hero__title { font-size: 2.25rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }

  /* Bento bottom row stacks */
  .proof-bento__bottom-row {
    grid-template-columns: 1fr;
  }
  /* Hide arrow disc on mobile */
  .proof-bento__arrow-disc { display: none; }
  /* Remove concave cutout masks */
  .proof-bento__before-box::after,
  .proof-bento__after-box::after {
    mask: none;
    -webkit-mask: none;
  }

  /* Cards → single column */
  .automate__right { grid-template-columns: 1fr; }

  /* Quote */
  .case-highlight__quote { font-size: 1.2rem; }
  .case-highlight__frame { padding: 32px 16px; }

  /* Process nodes — smaller */
  .process__steps { padding-left: 48px; }
  .process__node { left: -48px; width: 40px; height: 40px; font-size: 0.65rem; }

  /* RPA cards — maintain header overlapping watermark */
  .rpa-explainer__card h3 { padding-top: 44px; }

  /* Remove inner horizontal padding — section padding handles it */
  .hero-video { padding-left: 0; padding-right: 0; }
  .proof-bento { padding-left: 0; padding-right: 0; }

  /* Logos — smaller for more visible at once */
  .logo-box { height: 20px; }

  /* Logo strip: equal fade both sides */
  .logos__track-wrap {
    mask-image: linear-gradient(90deg, transparent, black 30px, black calc(100% - 30px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 30px, black calc(100% - 30px), transparent);
  }
  .logos { gap: 12px; }
  .logos__label { font-size: 0.95rem; }
}

/* Short viewport — bail on overlap, clean stack */
@media (max-height: 700px) {
  .hero {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-bottom: 48px;
  }
  .hero-video {
    margin-top: 0;
  }
  .ivory-break {
    padding-top: 80px; /* matches bottom padding */
  }
}
