/* ============================================================
   Aeris AI — Design Tokens
   Colors + Typography + Spacing + Effects
   ============================================================ */

/* ---------- Webfont: Manrope (closest free match to AERIS wordmark) + Inter (body) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ============================================================
     COLOR PRIMITIVES — sampled directly from the Aeris logo
     ============================================================ */

  /* Navy — the deep, serious half of the brand. From the AERIS wordmark. */
  --aeris-navy-900: #0a2050;   /* deep — hero backgrounds (lifted from near-black to keep air) */
  --aeris-navy-800: #1a3c7d;   /* core brand navy — matches the perceived AERIS wordmark tone */
  --aeris-navy-700: #173d7a;
  --aeris-navy-600: #2453a0;
  --aeris-navy-500: #3a6dc4;
  --aeris-navy-400: #6f93da;
  --aeris-navy-300: #a8bee9;
  --aeris-navy-200: #d4def3;
  --aeris-navy-100: #ebf0fa;

  /* Mint / Teal — the optimistic half. From the icon gradient end. */
  --aeris-mint-900: #1a6e5b;   /* deepest mint, used sparingly (lifted to keep air) */
  --aeris-mint-800: #1d7d68;
  --aeris-mint-700: #2ea088;
  --aeris-mint-600: #3fbfa3;   /* teal anchor */
  --aeris-mint-500: #5ccfb0;   /* primary mint */
  --aeris-mint-400: #7bd8ac;   /* sampled directly from icon */
  --aeris-mint-300: #a5e6c8;
  --aeris-mint-200: #cdf1de;
  --aeris-mint-100: #e6f8ee;

  /* Teal-cyan — middle of the brand gradient */
  --aeris-teal-600: #2e8a98;
  --aeris-teal-500: #379f9e;   /* sampled from middle of icon */
  --aeris-teal-400: #5fb6b3;

  /* Neutrals — cool-tinted to harmonize with navy */
  --aeris-white:    #ffffff;
  --aeris-paper:    #f7f9fc;   /* slightly cool off-white, "air" */
  --aeris-mist:     #eef2f8;   /* card surfaces on light bg */
  --aeris-fog:      #dde4ee;
  --aeris-ash:      #b8c2d1;
  --aeris-slate:    #6b7896;
  --aeris-graphite: #3a4561;
  --aeris-ink:      #1a3c7d;   /* primary text — matches the AERIS wordmark navy */

  /* Status */
  --aeris-success: #2ea088;
  --aeris-warning: #e2a93a;
  --aeris-danger:  #d96275;

  /* ============================================================
     SIGNATURE GRADIENTS
     ============================================================ */
  --grad-aeris:        linear-gradient(135deg, #1a3c7d 0%, #2e8a98 55%, #7bd8ac 100%);
  --grad-aeris-soft:   linear-gradient(135deg, #173d7a 0%, #3fbfa3 60%, #a5e6c8 100%);
  --grad-mint:         linear-gradient(135deg, #3fbfa3 0%, #7bd8ac 100%);
  --grad-mint-vivid:   linear-gradient(135deg, #2ea088 0%, #5ccfb0 60%, #a5e6c8 100%);
  --grad-navy:         linear-gradient(180deg, #0a2050 0%, #1a3c7d 100%);
  --grad-hero-bg:      radial-gradient(ellipse at 20% 0%, rgba(123,216,172,0.15), transparent 55%),
                       radial-gradient(ellipse at 85% 100%, rgba(63,191,163,0.18), transparent 55%),
                       linear-gradient(180deg, #0a2050 0%, #1a3c7d 100%);
  --grad-text-aeris:   linear-gradient(135deg, #1a3c7d 0%, #2e8a98 50%, #7bd8ac 100%);

  /* ============================================================
     SEMANTIC COLOR TOKENS (use these in components, not primitives)
     ============================================================ */

  /* Foregrounds */
  --fg-1: var(--aeris-ink);        /* primary text on light */
  --fg-2: var(--aeris-graphite);   /* secondary text on light */
  --fg-3: var(--aeris-slate);      /* muted / metadata */
  --fg-4: var(--aeris-ash);        /* disabled */
  --fg-on-dark-1: #ffffff;
  --fg-on-dark-2: rgba(255,255,255,0.78);
  --fg-on-dark-3: rgba(255,255,255,0.55);
  --fg-brand: var(--aeris-navy-800);
  --fg-accent: var(--aeris-mint-700);

  /* Backgrounds */
  --bg-page:    var(--aeris-paper);
  --bg-surface: var(--aeris-white);
  --bg-mist:    var(--aeris-mist);
  --bg-dark:    var(--aeris-navy-900);
  --bg-deep:    var(--aeris-navy-800);

  /* Borders */
  --border-subtle: rgba(14,42,91,0.08);
  --border-soft:   rgba(14,42,91,0.14);
  --border-strong: rgba(14,42,91,0.22);
  --border-on-dark-subtle: rgba(255,255,255,0.08);
  --border-on-dark-soft:   rgba(255,255,255,0.14);

  /* ============================================================
     TYPOGRAPHY
     ============================================================ */

  /* Families */
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Scale (1.25 modular, tuned for marketing + product) */
  --text-2xs: 11px;
  --text-xs:  12px;
  --text-sm:  14px;
  --text-md:  16px;   /* base */
  --text-lg:  18px;
  --text-xl:  22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 64px;
  --text-6xl: 84px;

  /* Weights */
  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;
  --weight-black:   800;

  /* Line heights */
  --lh-tight:   1.05;
  --lh-snug:    1.18;
  --lh-normal:  1.45;
  --lh-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight:   -0.025em;
  --tracking-snug:    -0.012em;
  --tracking-normal:  0em;
  --tracking-wide:    0.04em;
  --tracking-caps:    0.14em;

  /* ============================================================
     SPACING (4px base)
     ============================================================ */
  --space-0:  0px;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ============================================================
     RADII — generous, soft. Aeris = airy.
     ============================================================ */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;

  /* ============================================================
     SHADOWS — soft, never harsh. Tinted navy for cohesion.
     ============================================================ */
  --shadow-xs:  0 1px 2px rgba(14,42,91,0.05);
  --shadow-sm:  0 2px 6px rgba(14,42,91,0.06), 0 1px 2px rgba(14,42,91,0.04);
  --shadow-md:  0 6px 18px rgba(14,42,91,0.08), 0 2px 4px rgba(14,42,91,0.04);
  --shadow-lg:  0 18px 40px rgba(14,42,91,0.12), 0 4px 10px rgba(14,42,91,0.06);
  --shadow-xl:  0 32px 80px rgba(14,42,91,0.18), 0 8px 20px rgba(14,42,91,0.08);
  --shadow-glow-mint: 0 0 0 1px rgba(123,216,172,0.4), 0 12px 36px rgba(63,191,163,0.32);
  --shadow-inset-soft: inset 0 1px 0 rgba(255,255,255,0.6);

  /* ============================================================
     GLASS / BLUR — signature look
     ============================================================ */
  --glass-on-light: rgba(255,255,255,0.62);
  --glass-on-dark:  rgba(255,255,255,0.06);
  --glass-border-on-light: rgba(255,255,255,0.7);
  --glass-border-on-dark:  rgba(255,255,255,0.12);
  --blur-sm:  blur(8px);
  --blur-md:  blur(18px);
  --blur-lg:  blur(32px);

  /* ============================================================
     MOTION
     ============================================================ */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    140ms;
  --dur-base:    220ms;
  --dur-slow:    420ms;
}

/* ============================================================
   SEMANTIC TYPE STYLES — drop these as classes
   ============================================================ */

.t-display {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-6xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
}

.t-h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
}

.t-h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-4xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-snug);
  color: var(--fg-1);
}

.t-h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-semi);
  font-size: var(--text-3xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-snug);
  color: var(--fg-1);
}

.t-h4 {
  font-family: var(--font-sans);
  font-weight: var(--weight-semi);
  font-size: var(--text-2xl);
  line-height: var(--lh-snug);
  color: var(--fg-1);
}

.t-h5 {
  font-family: var(--font-sans);
  font-weight: var(--weight-semi);
  font-size: var(--text-xl);
  line-height: var(--lh-snug);
  color: var(--fg-1);
}

.t-lead {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-xl);
  line-height: var(--lh-relaxed);
  color: var(--fg-2);
}

.t-body {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: var(--fg-2);
}

.t-small {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-sm);
  line-height: var(--lh-normal);
  color: var(--fg-3);
}

.t-caption {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  line-height: var(--lh-normal);
  color: var(--fg-3);
}

.t-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--weight-semi);
  font-size: var(--text-xs);
  line-height: var(--lh-normal);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-accent);
}

.t-mono {
  font-family: var(--font-mono);
  font-weight: var(--weight-regular);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-snug);
}

.t-gradient {
  background: var(--grad-text-aeris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ============================================================
   Aeris AI — Marketing site styles
   Consumes the global tokens from ../../colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-mint);
  color: var(--aeris-navy-900);
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(63,191,163,0.32);
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(63,191,163,0.42), 0 0 0 1px rgba(123,216,172,0.6);
}
.btn-primary .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  color: var(--fg-brand);
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--aeris-navy-100); }

.btn-ghost-dark {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 13px 22px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); }

/* ---------- EYEBROW PILL ---------- */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
}
.eyebrow-pill .blob {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--grad-mint);
  box-shadow: 0 0 0 2px rgba(123,216,172,0.25);
}
.eyebrow-pill.on-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

/* ---------- SECTION FRAMING ---------- */
.section {
  padding: 96px 0;
}
.section.dense { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 18px 0 14px;
}
.section-head p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* ---------- GENERIC CARD ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.glyph-tile {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--grad-mint-vivid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 28px rgba(63,191,163,0.32);
  flex-shrink: 0;
}

/* ---------- TRUSTED BY STRIP ---------- */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 32px;
  opacity: 0.7;
}
.trust-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg-3);
  text-align: center;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
}

/* ---------- INTEGRATIONS WALL ---------- */
.integrations-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.integration-tile {
  aspect-ratio: 1;
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  color: var(--fg-brand);
}
.integration-tile:hover {
  transform: translateY(-3px);
  border-color: var(--aeris-mint-400);
  box-shadow: 0 0 0 1px rgba(123,216,172,0.4), 0 14px 32px rgba(63,191,163,0.22);
}
.integration-tile.active {
  transform: translateY(-3px);
  border-color: var(--aeris-mint-400);
  box-shadow: 0 0 0 1px rgba(123,216,172,0.5), 0 14px 32px rgba(63,191,163,0.28);
}
.integration-tile .ico-wrap {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.integration-tile .name {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
}
@media (max-width: 720px) {
  .integrations-wall { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--dur-base) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.service-card .desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
.service-card .features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card .features li {
  font-size: 14px;
  color: var(--fg-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.service-card .features li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--grad-mint);
  margin-top: 8px;
  flex-shrink: 0;
}
.service-card .link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .link .arrow { color: var(--aeris-mint-700); transition: transform var(--dur-base) var(--ease-out); }
.service-card:hover .link .arrow { transform: translateX(3px); }
@media (max-width: 920px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- BEFORE / AFTER ---------- */
.beforeafter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.beforeafter .arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aeris-mint-700);
}
.ba-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.ba-card.before { background: var(--aeris-mist); border-color: transparent; box-shadow: none; }
.ba-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ba-card.after .label { color: var(--aeris-mint-700); }
.ba-card .metric {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 8px 0 12px;
}
.ba-card.after .metric {
  background: var(--grad-text-aeris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ba-card .scenario {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0 0 16px;
}
.ba-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ba-card li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
}
.ba-card li svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 720px) {
  .beforeafter { grid-template-columns: 1fr; }
  .beforeafter .arrow-col { transform: rotate(90deg); }
}

/* ---------- PROCESS STEPS ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aeris-mint-400) 20%, var(--aeris-teal-500) 50%, var(--aeris-navy-600) 80%, transparent);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step .num-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.process-step .num {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--fg-brand);
  box-shadow: var(--shadow-md);
}
.process-step.lit .num {
  background: var(--grad-mint);
  color: var(--aeris-navy-900);
  box-shadow: 0 0 0 1px rgba(123,216,172,0.5), 0 14px 32px rgba(63,191,163,0.32);
  border-color: transparent;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.process-step .duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--aeris-mint-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.process-step .body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 720px) {
  .process-row { grid-template-columns: 1fr; }
  .process-row::before { display: none; }
}

/* ---------- ROI CALCULATOR ---------- */
.roi-shell {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(123,216,172,0.18), transparent 55%),
    radial-gradient(ellipse at 95% 100%, rgba(63,191,163,0.16), transparent 55%),
    #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 56px;
  color: var(--fg-1);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.roi-shell h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 12px 0 14px;
  color: var(--aeris-navy-800);
}
.roi-shell p.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 24px;
}
.roi-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.roi-control label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-2);
}
.roi-control label .v { color: var(--aeris-navy-800); font-weight: 700; }
.roi-control input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 6px;
  background: var(--aeris-mist);
  border-radius: 999px;
  outline: none;
}
.roi-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--grad-mint);
  border: 2px solid white;
  box-shadow: 0 6px 16px rgba(63,191,163,0.5);
  cursor: pointer;
}
.roi-control input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg,#3fbfa3,#7bd8ac);
  border: 2px solid white;
  cursor: pointer;
}
.roi-result {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roi-result .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.roi-result .row:last-child { border-bottom: 0; padding-bottom: 0; }
.roi-result .row .k { font-size: 13px; color: var(--fg-3); }
.roi-result .row .v {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--aeris-navy-800);
}
.roi-result .row.hero .v {
  font-size: 44px;
  background: var(--grad-text-aeris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 920px) {
  .roi-shell { grid-template-columns: 1fr; padding: 36px; }
}

/* ---------- HUMAN IN THE LOOP ---------- */
.hitl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hitl .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hitl .badges .b {
  background: var(--aeris-mist);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hitl .badges .b svg { color: var(--aeris-mint-700); }
.hitl .diagram {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: grid;
  grid-template-rows: 1fr 1fr;
}
@media (max-width: 920px) {
  .hitl { grid-template-columns: 1fr; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  position: relative;
}
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card .quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--fg-1);
  margin: 0 0 24px;
  text-wrap: balance;
}
.testimonial-card .author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card .avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--grad-aeris-soft);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.testimonial-card .who {
  text-align: left;
  font-size: 14px;
}
.testimonial-card .who .name { font-weight: 700; color: var(--fg-1); }
.testimonial-card .who .role { color: var(--fg-3); }
.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.testimonials-controls button {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: white;
  color: var(--fg-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease-out);
}
.testimonials-controls button:hover {
  background: var(--aeris-navy-100);
}
.testimonials-controls .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--aeris-ash);
  margin: 16px 4px;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.testimonials-controls .dot.active {
  background: var(--grad-mint);
  width: 24px;
}

/* ---------- CTA SECTION ---------- */
.cta-wrap {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(123,216,172,0.20), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(63,191,163,0.18), transparent 55%),
    #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 64px;
  color: var(--fg-1);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.cta-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 16px 0 16px;
  color: var(--aeris-navy-800);
}
.cta-wrap p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 28px;
}
.cta-wrap .bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--fg-2);
  font-size: 14px;
}
.cta-wrap .bullets li {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
}
.cta-wrap .bullets li svg { color: var(--aeris-mint-700); }
.cta-wrap ul { padding: 0; margin: 0; }

.calendar-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.calendar-preview .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.calendar-preview .head .m {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--aeris-navy-800);
}
.calendar-preview .head .nav {
  display: flex;
  gap: 6px;
}
.calendar-preview .head .nav button {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--fg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.cal-dow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-align: center;
  padding-bottom: 4px;
  font-weight: 600;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out);
}
.cal-day.dim { color: var(--aeris-ash); }
.cal-day.avail:hover { background: var(--aeris-mist); }
.cal-day.selected {
  background: var(--grad-mint);
  color: var(--aeris-navy-900);
  font-weight: 700;
  border-color: transparent;
}
.cal-day.today {
  border-color: var(--aeris-mint-400);
  color: var(--aeris-mint-700);
  font-weight: 700;
}
.cal-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cal-slot {
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--fg-1);
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.cal-slot:hover { background: var(--aeris-mist); }
.cal-slot.picked {
  background: var(--grad-mint);
  color: var(--aeris-navy-900);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(63,191,163,0.32);
}
@media (max-width: 920px) {
  .cta-wrap { grid-template-columns: 1fr; padding: 36px; }
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 36px;
  font-size: 14px;
  color: var(--fg-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a:hover { color: var(--fg-1); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ---------- CHATBOT WIDGET ---------- */
.chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
}
.chatbot-bubble {
  width: 60px; height: 60px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(14,42,91,0.18), 0 4px 10px rgba(14,42,91,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out);
}
.chatbot-bubble:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 22px 48px rgba(14,42,91,0.22), 0 6px 14px rgba(14,42,91,0.1);
}
.chatbot-bubble img { width: 42px; height: 42px; }
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 360px;
  max-height: 520px;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-panel .head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-page);
}
.chatbot-panel .head .avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--grad-aeris-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-panel .head .avatar img { width: 24px; height: 24px; }
.chatbot-panel .head .meta { display: flex; flex-direction: column; }
.chatbot-panel .head .name { font-weight: 700; font-size: 14px; color: var(--fg-1); }
.chatbot-panel .head .status { font-size: 11px; color: var(--aeris-mint-700); display:inline-flex; align-items:center; gap:6px; }
.chatbot-panel .head .status::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--aeris-mint-600);
}
.chatbot-panel .close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: var(--fg-3);
  cursor: pointer;
}
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.chatbot-body .msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
}
.chatbot-body .msg.bot {
  background: var(--bg-mist);
  color: var(--fg-1);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chatbot-body .msg.me {
  background: var(--grad-mint);
  color: var(--aeris-navy-900);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chatbot-body .typing {
  display: inline-flex;
  gap: 4px;
  padding: 6px 0;
}
.chatbot-body .typing span {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--aeris-slate);
  animation: t 1s infinite ease-in-out;
}
.chatbot-body .typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-body .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes t {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.chatbot-input input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.chatbot-input input:focus { border-color: var(--aeris-mint-600); box-shadow: 0 0 0 2px rgba(123,216,172,0.25); }
.chatbot-input button {
  border: 0;
  background: var(--grad-mint);
  color: var(--aeris-navy-900);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 0;
}
.chatbot-prompts button {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--fg-2);
}
.chatbot-prompts button:hover { background: var(--bg-mist); }
@media (max-width: 720px) {
  .chatbot-panel { width: calc(100vw - 36px); }
}

/* ---------- ANIMATIONS ---------- */
@keyframes rotate-slow {
  to { transform: rotate(360deg); }
}
.rotating { animation: rotate-slow 60s linear infinite; transform-origin: 50% 50%; }

@keyframes reveal-up {
  0%   { transform: translateY(12px); }
  100% { transform: translateY(0); }
}
/* .reveal stays at opacity:1 in all contexts (screenshots, print, no-JS, reduced-motion).
   The animation is a purely transform-based gentle settle so a stuck animation cannot
   hide the content. */
.reveal { opacity: 1; animation: reveal-up 0.7s var(--ease-out); }
.reveal.d1 { animation-delay: 0.06s; }
.reveal.d2 { animation-delay: 0.12s; }
.reveal.d3 { animation-delay: 0.18s; }
.reveal.d4 { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.d1, .reveal.d2, .reveal.d3, .reveal.d4 { animation: none; }
}
