/* VantisCorp v3 — premium B2B SaaS stylesheet
   Sibling pages share these tokens; home.css extends the homepage. */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --primary-teal: #78e0c3;
  --cta-grad-start: #a2ebd8;
  --cta-grad-end: #78e0c3;
  --bright-green: #14cf93;
  --dark-green: #006b5b;
  --card-green: #44cf9e;

  /* Neutrals — deeper, more sophisticated */
  --ink: #0b1418;          /* near-black with hint of teal undertone */
  --ink-2: #1f2a30;        /* secondary headlines */
  --text: #2a3439;         /* body */
  --text-2: #4a5860;       /* secondary copy */
  --muted: #6b7a82;        /* metadata */
  --hairline: #e6e9ec;     /* 1px lines */
  --hairline-2: #eef0f2;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --surface-3: #f4f6f8;

  /* Shadows — restrained */
  --shadow-1: 0 1px 2px rgba(11, 20, 24, 0.03), 0 1px 1px rgba(11, 20, 24, 0.02);
  --shadow-2: 0 6px 18px rgba(11, 20, 24, 0.04), 0 1px 2px rgba(11, 20, 24, 0.03);
  --shadow-3: 0 24px 60px rgba(11, 20, 24, 0.06), 0 4px 12px rgba(11, 20, 24, 0.03);

  /* Radii */
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-lg: 18px;

  /* Layout */
  --max: 1240px;
  --measure: 64ch;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --d-fast: 180ms;
  --d-base: 280ms;
  --d-slow: 480ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: 'ss01', 'cv11', 'cv02';
  background: var(--surface-2);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Typography ---------- */
.font-display {
  font-family: 'Instrument Serif', 'Inter', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
  font-weight: 800;
}
h1 { font-size: clamp(40px, 5.0vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 16px; font-weight: 600; }
h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

p { color: var(--text-2); margin: 14px 0 0; font-size: 18px; line-height: 1.6; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: var(--measure); }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--dark-green);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  height: 72px;
  display: flex;
  align-items: center;
}
.site-header .container,
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .site-header .header-inner { padding: 0 22px; }
}
.site-header { height: 76px; }
.brand {
  display: inline-flex; align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.005em;
  transition: color var(--d-fast) var(--ease-out);
  position: relative;
  opacity: 0.78;
}
.nav a:not(.nav-cta) {
  opacity: 0.78;
}
/* Uppercase variant (matches live vantiscorp.com nav) */
.nav--upper { gap: 34px; }
.nav--upper a:not(.nav-cta) {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.78;
  transition: opacity var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out);
}
.nav--upper a:not(.nav-cta):hover { opacity: 1; color: var(--ink); }
.nav--upper .nav-has-drop > a {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12.5px;
  font-weight: 600;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff !important;
  padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  opacity: 1 !important;
  transition: background var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--dark-green); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 1.5px; background: var(--bright-green, #14CF93); border-radius: 1px;
  transition: right var(--d-base) var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--ink); opacity: 1; }
/* Active state for dropdown trigger when on a Features subpage */
.nav-has-drop.is-active > a { color: var(--ink); opacity: 1; }
.nav-has-drop.is-active > a::after { right: 0; }
/* Suppress underline on CTA and dropdown arrow */
.nav-cta::after { display: none !important; }
.nav-search { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 6px; transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out); }
.nav-search:hover { color: var(--ink); background: var(--surface-2); }
.nav-search svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ---------- Features dropdown (mega-menu) ---------- */
.nav-has-drop { position: relative; }
.nav-has-drop > a {
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-has-drop > a::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
  transition: transform var(--d-base) var(--ease-out), opacity var(--d-fast) var(--ease-out);
  order: 2;
}
.nav-has-drop:hover > a::before {
  transform: rotate(-135deg) translateY(1px);
  opacity: 1;
}
.nav-drop {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 720px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow-3);
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out), visibility 0s linear var(--d-base);
  z-index: 80;
}
.nav-has-drop:hover .nav-drop,
.nav-has-drop:focus-within .nav-drop {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out), visibility 0s;
}
/* invisible hover bridge so dropdown doesn't close in the gap */
.nav-has-drop::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 22px;
}
.nav-drop-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px 10px;
  border-bottom: 1px solid var(--hairline-2);
  margin-bottom: 10px;
}
.nav-drop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-drop a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  opacity: 1 !important;
  transition: background var(--d-fast) var(--ease-out);
}
.nav-drop a::after { display: none !important; }
.nav-drop a:hover { background: var(--surface-3); }
.nav-drop-ico {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
}
.nav-drop-ico.book { background: rgba(0,107,91,0.08); color: var(--dark-green); }
.nav-drop-ico.comp { background: rgba(20,207,147,0.10); color: #0d9b6f; }
.nav-drop-ico.fin  { background: rgba(95,123,160,0.10); color: #4a6b8c; }
.nav-drop-ico.serv { background: rgba(217,130,46,0.10); color: #b66a17; }
.nav-drop-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}
.nav-drop-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-drop-desc {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.nav-drop-foot {
  margin-top: 14px;
  padding: 12px 12px 4px;
  border-top: 1px solid var(--hairline-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-drop-foot a {
  display: inline-flex !important;
  padding: 0 !important;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-green) !important;
  border-radius: 0;
}
.nav-drop-foot a:hover { background: transparent; color: var(--bright-green) !important; }
.nav-drop-foot .muted-note { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) {
  .nav-drop { display: none; }
  .nav-has-drop > a::before { display: none; }
}

/* ---------- Notibar ---------- */
.notibar {
  background: linear-gradient(90deg, #0b1418 0%, #0f2421 50%, #0b1418 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(20,207,147,0.18);
}
.notibar .container {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 60px; gap: 16px; position: relative;
  min-height: 48px;
}
.notibar-text { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.notibar-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bright-green); color: var(--ink);
  font-weight: 800; font-size: 10.5px; letter-spacing: 0.10em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.notibar-tag::before {
  content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 50%;
}
.notibar-headline { color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.notibar a.notibar-cta {
  color: var(--bright-green); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 0; padding-bottom: 0;
  transition: color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.notibar a.notibar-cta:hover { color: #fff; }
.notibar a.notibar-cta:hover .notibar-arrow { transform: translateX(3px); }
.notibar-arrow { transition: transform var(--d-fast) var(--ease-out); }
.notibar-close {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,0.5);
  cursor: pointer; padding: 6px; border-radius: 6px;
  display: inline-flex; align-items: center;
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.notibar-close:hover { color: #fff; background: rgba(255,255,255,0.08); }
.notibar-close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.notibar.is-hidden { display: none; }
@media (max-width: 720px) {
  .notibar { font-size: 12.5px; line-height: 1.45; }
  .notibar .container { padding: 10px 44px 10px 16px; gap: 8px; min-height: 44px; }
  .notibar-text { gap: 8px; flex-wrap: nowrap; }
  .notibar-tag { font-size: 9.5px; padding: 3px 8px; flex-shrink: 0; }
  .notibar-headline {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .notibar a.notibar-cta { display: none; }
  .notibar-close { right: 12px; }
}
@media (max-width: 420px) {
  .notibar-headline { font-size: 12px; }
}

/* ---------- Editorial split hero (image companion) ---------- */
.split-hero {
  padding: 100px 0 80px;
}
.split-hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 80px; align-items: center;
}
.split-hero .content { max-width: 540px; }
.split-hero h1 { max-width: 14ch; }
.split-hero p { font-size: 19px; max-width: 56ch; margin-top: 22px; color: var(--text-2); line-height: 1.55; }
.split-hero .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.split-hero-image {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 56px -28px rgba(11,20,24,0.25), 0 0 0 1px var(--hairline);
}
.split-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-hero-image::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(11,20,24,0.28));
  pointer-events: none;
}
.split-hero-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 20px -8px rgba(11,20,24,0.2);
}
.split-hero-badge::before { content: none; }
@media (max-width: 900px) {
  .split-hero .container { grid-template-columns: 1fr; gap: 48px; }
  .split-hero-image { aspect-ratio: 16 / 11; max-width: 560px; }
}

/* Editorial variant - landscape, no dark overlay, with UI fragments */
.split-hero-image--editorial {
  aspect-ratio: 16 / 10;
  background: #f1efe9;
}
.split-hero-image--editorial::after { display: none; }
.hero-frag {
  position: absolute;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -16px rgba(11,20,24,0.28), 0 0 0 1px rgba(11,20,24,0.04);
  font-family: inherit;
}
.hero-frag--tl {
  top: 20px; left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 220px;
}
.hero-frag--br {
  bottom: 20px; right: 20px;
  min-width: 180px;
}
.frag-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
}
.frag-dot { display: none; }
.frag-name { color: var(--ink); font-weight: 600; }
.frag-status { color: var(--text-2, #5a6e76); margin-left: auto; font-size: 11.5px; font-weight: 500; }
.frag-label { font-size: 11px; color: var(--text-2, #5a6e76); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.frag-metric { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 4px; line-height: 1; }
.frag-meta { font-size: 11.5px; color: var(--bright-green, #14cf93); font-weight: 600; margin-top: 6px; }
.frag-arrow { display: inline-block; margin-right: 2px; }
@media (max-width: 900px) {
  .hero-frag {
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 12px 28px -12px rgba(11,20,24,0.28), 0 0 0 1px rgba(11,20,24,0.06);
  }
  .hero-frag--tl { min-width: 0; top: 12px; left: 12px; max-width: 64%; }
  .hero-frag--br { min-width: 0; bottom: 12px; right: 12px; }
  .frag-row { font-size: 11.5px; gap: 8px; }
  .frag-metric { font-size: 18px; }
  .frag-label { font-size: 10px; }
  .frag-meta { font-size: 10.5px; margin-top: 4px; }
}
@media (max-width: 540px) {
  .split-hero-image--editorial { aspect-ratio: 4 / 3; }
  .hero-frag--tl .frag-row:nth-child(3) { display: none; }
  .frag-status { font-size: 10.5px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 14.5px;
  letter-spacing: -0.005em;
  cursor: pointer; border: 0;
  transition: transform var(--d-fast) var(--ease-out),
              box-shadow var(--d-base) var(--ease-out),
              background var(--d-fast) var(--ease-out);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,20,24,0.18); }
.btn-ghost {
  background: transparent; color: var(--ink); padding: 13px 6px;
}
.btn-ghost:hover { color: var(--dark-green); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-tour {
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--d-fast) var(--ease-out);
}
.btn-tour:hover { gap: 10px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
section.section-tight { padding: 64px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 110px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 { max-width: 14ch; }
.page-hero p { font-size: 19px; max-width: 60ch; margin-top: 22px; color: var(--text-2); }
.page-hero .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  padding: 28px;
  transition: transform var(--d-base) var(--ease-out),
              border-color var(--d-base) var(--ease-out),
              box-shadow var(--d-base) var(--ease-out);
}
.card:hover { transform: translateY(-2px); border-color: #d0dad6; box-shadow: var(--shadow-2); }
.card h3 { margin-top: 14px; color: var(--ink); }
.card p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; }

.grid { display: grid; gap: 20px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > .card, .grid > a.card { display: flex; flex-direction: column; height: 100%; }

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1fr 1.05fr; }

/* ---------- Stat row ---------- */
.stat-row { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 44px; }
.stat-num { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--hairline);
  color: var(--text); padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--bright-green); }

/* ---------- Mock UI ---------- */
.mock {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-2);
  padding: 22px;
  font-size: 13px;
}
.mock-title { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.mock-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: 8px;
  padding: 11px 13px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text);
}
.mock-row .badge {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.01em;
}
.badge.green { background: #e7faf2; color: #0a8a5f; }
.badge.amber { background: #fff5e0; color: #a06400; }
.badge.red   { background: #fdecec; color: #a33; }
.badge.grey  { background: #eef0f1; color: #555; }

/* ---------- Logo strip / Integrations ---------- */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.brand-strip .logo-cell {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 92px;
  color: var(--muted);
  border-right: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  transition: background var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out);
}
.brand-strip .logo-cell:hover { background: var(--surface-2); color: var(--ink); }
.brand-strip .logo-cell svg { width: 100%; max-width: 110px; height: 28px; }

/* ---------- Integrations grid ---------- */
.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.int-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 22px;
  transition: transform var(--d-base) var(--ease-out),
              border-color var(--d-base) var(--ease-out),
              box-shadow var(--d-base) var(--ease-out);
}
.int-card:hover { transform: translateY(-2px); border-color: #d0dad6; box-shadow: var(--shadow-2); }
.int-card .ic-head { display: flex; align-items: center; gap: 12px; }
.int-card .ic-logo {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--surface-3);
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.int-card .ic-logo svg { width: 24px; height: 24px; }
.int-card h4 { font-size: 15px; color: var(--ink); }
.int-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.int-card .tag {
  display: inline-block; margin-top: 14px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--dark-green);
  background: #e7faf2;
  padding: 3px 9px; border-radius: 999px;
}

/* ---------- Category headings ---------- */
.cat-title {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
  margin: 56px 0 18px;
}
.cat-title:first-of-type { margin-top: 0; }
.cat-title::before { content: ""; height: 1px; width: 22px; background: var(--hairline); }
.cat-title::after { content: ""; height: 1px; flex: 1; background: var(--hairline); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--ink);
  background-image:
    radial-gradient(80% 60% at 80% 10%, rgba(20, 207, 147, 0.18), transparent 60%),
    radial-gradient(60% 50% at 20% 90%, rgba(120, 224, 195, 0.12), transparent 60%);
  color: #fff;
  border-radius: 20px;
  padding: 88px 7%;
  text-align: center;
  border: 1px solid #0f1c21;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #b9d4cb; max-width: 56ch; margin: 18px auto 0; }
.cta-banner .actions { margin-top: 32px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-banner .fine { font-size: 12px; color: #87a097; margin-top: 22px; letter-spacing: 0.02em; }
.cta-banner .btn-ghost { color: #fff; }
.cta-banner .btn-ghost:hover { color: var(--primary-teal); }
.cta-banner .btn-primary { background: var(--primary-teal); color: var(--ink); }
.cta-banner .btn-primary:hover { background: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 88px 0 32px;
  border-top: 1px solid var(--hairline);
}
.site-footer .brand img { height: 36px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
}
.foot-tagline { margin-top: 18px; max-width: 320px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.6); }
.foot-grid h5 {
  font-size: 11.5px; text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.55);
  margin: 0 0 20px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 12px; }
.foot-grid a {
  color: rgba(255,255,255,0.82); font-size: 14.5px;
  transition: color var(--d-fast) var(--ease-out);
}
.foot-grid a:hover { color: var(--bright-green); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: rgba(255,255,255,0.5); font-size: 13px;
}
.foot-legal { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot-legal a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color var(--d-fast) var(--ease-out); }
.foot-legal a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  transition: border-color var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.socials a:hover { border-color: var(--bright-green); color: var(--bright-green); background: rgba(20,207,147,0.06); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: 22px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.text-mute { color: var(--muted); }
.divider { height: 1px; background: var(--hairline); margin: 80px 0; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--hairline);
  padding: 5px; border-radius: 999px; width: fit-content;
}
.tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; color: var(--text-2);
  border: 0; background: transparent;
  transition: all var(--d-fast) var(--ease-out);
}
.tab.active { background: var(--ink); color: #fff; }

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
}
.feature-row:first-child { border-top: 0; }
.feature-row .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eafaf3, #d5f3e7);
  display: grid; place-items: center;
  color: var(--dark-green);
  font-weight: 700;
}

/* ---------- Values ---------- */
.value {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  transition: border-color var(--d-base) var(--ease-out);
}
.value:hover { border-color: #cdebde; }
.value .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--surface-3);
  display: grid; place-items: center;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 14px;
}
.value h3 { font-size: 18px; margin-bottom: 6px; }

/* ---------- Quote ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.quote p { font-size: 22px; color: var(--ink); line-height: 1.45; margin: 0; letter-spacing: -0.01em; }
.quote .attr { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------- Scroll animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
.fade-in.in-view {
  opacity: 1;
  transform: none;
}
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 60ms; }
.stagger.in-view > *:nth-child(2) { transition-delay: 140ms; }
.stagger.in-view > *:nth-child(3) { transition-delay: 220ms; }
.stagger.in-view > *:nth-child(4) { transition-delay: 300ms; }
.stagger.in-view > *:nth-child(5) { transition-delay: 380ms; }
.stagger.in-view > *:nth-child(6) { transition-delay: 460ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .nav.is-open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #fff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 88px 24px 48px !important;
    gap: 0 !important;
    overflow-y: auto;
    z-index: 200;
    margin: 0 !important;
  }
  .nav.is-open > * {
    width: 100%;
    border-bottom: 1px solid rgba(11,20,24,0.08);
  }
  .nav.is-open > a,
  .nav.is-open .nav-has-drop > a {
    display: block !important;
    padding: 18px 4px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    opacity: 1 !important;
  }
  .nav.is-open .nav-drop { display: none !important; }
  .nav.is-open .nav-search { display: none !important; }
  body.nav-open { overflow: hidden; }
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 210;
  }
  .menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 22px;
    right: 22px;
  }
  .menu-toggle[aria-expanded="true"] svg path {
    d: path("M6 6l12 12M6 18L18 6");
  }
  .grid-2, .grid-3, .grid-4, .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 22px; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 72px 0; }
  .page-hero { padding: 64px 0 56px; }
  .cta-banner { padding: 56px 7%; }
  .quote { padding: 36px; }
  .quote p { font-size: 18px; }
  .two-col { gap: 36px; }
}
@media (max-width: 540px) {
  .int-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 28px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
}

/* ---------- Agents page: deep agent cards ---------- */
.agent-deep {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline-2);
}
.agent-deep:last-of-type { border-bottom: 0; }
.agent-deep-ico {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.agent-deep-ico.book { background: rgba(0,107,91,0.08); color: var(--dark-green); }
.agent-deep-ico.comp { background: rgba(20,207,147,0.10); color: #0d9b6f; }
.agent-deep-ico.fin  { background: rgba(95,123,160,0.10); color: #4a6b8c; }
.agent-deep-ico.serv { background: rgba(217,130,46,0.10); color: #b66a17; }
.agent-deep-body { padding-top: 4px; }
.agent-deep-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.agent-deep-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.15;
}
.agent-deep-lead {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 64ch;
  margin: 0 0 22px;
}
.agent-deep-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 20px;
}
.cap-pill {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 16px;
}
.cap-pill-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.cap-pill-desc {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.agent-deep-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.agent-deep-stat {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px 8px 0;
  border-right: 1px solid var(--hairline-2);
}
.agent-deep-stat:last-of-type { border-right: 0; }
.agent-deep-stat strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.agent-deep-stat span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.agent-deep-link {
  color: var(--dark-green);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.agent-deep-link:hover { color: var(--bright-green); }

/* ---------- Compare strip ---------- */
.compare-strip {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1.4fr 1.2fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--hairline-2);
  font-size: 14.5px;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.head {
  background: var(--surface-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 24px;
}
.compare-agent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.compare-agent .mini-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.compare-agent .mini-ico.book { background: rgba(0,107,91,0.08); color: var(--dark-green); }
.compare-agent .mini-ico.comp { background: rgba(20,207,147,0.10); color: #0d9b6f; }
.compare-agent .mini-ico.fin  { background: rgba(95,123,160,0.10); color: #4a6b8c; }
.compare-agent .mini-ico.serv { background: rgba(217,130,46,0.10); color: #b66a17; }
.compare-row .col { color: var(--text-2); font-size: 13.5px; line-height: 1.5; }

/* ---------- Flow diagram (how agents work together) ---------- */
.flow-chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}
.flow-node {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px 18px;
  text-align: left;
}
.flow-node-step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.flow-node-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  margin-bottom: 12px;
}
.flow-node-ico.book { background: rgba(0,107,91,0.08); color: var(--dark-green); }
.flow-node-ico.comp { background: rgba(20,207,147,0.10); color: #0d9b6f; }
.flow-node-ico.serv { background: rgba(217,130,46,0.10); color: #b66a17; }
.flow-node-ico.fin  { background: rgba(95,123,160,0.10); color: #4a6b8c; }
.flow-node-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.flow-node-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.flow-arrow {
  align-self: center;
  color: var(--muted);
  font-size: 18px;
  opacity: 0.55;
}
@media (max-width: 900px) {
  .flow-chain { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .compare-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .compare-row.head { display: none; }
  .agent-deep { grid-template-columns: 1fr; gap: 16px; }
  .agent-deep-caps { grid-template-columns: 1fr; }
}
