:root {
  --brand-red: #078ee8;
  --brand-red-dark: #0757a2;
  --graphite: #344a62;
  --ink: #062b57;
  --muted: #60768c;
  --line: #d9e7f2;
  --surface: #ffffff;
  --surface-alt: #f4f9fd;
  --tint: #eaf6fd;
  --radius: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-red); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand span { font-weight: 600; color: var(--brand-red); letter-spacing: -0.01em; font-size: 1.15rem; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--graphite);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand-red); }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-dark); }
.btn-ghost { border-color: var(--line); color: var(--graphite); background: #fff; }
.btn-ghost:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ------------------------------------------------------------------ hero */
.hero {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 76px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-red) 25%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  max-width: 20ch;
}
h1 em { font-style: normal; color: var(--brand-red); }
.hero h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin: 0 0 18px;
  max-width: 34ch;
}
.lede { font-size: 1.15rem; color: var(--graphite); max-width: 62ch; margin: 0 0 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.stat strong { display: block; font-size: 1.65rem; color: var(--brand-red); letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: var(--muted); }

/* --------------------------------------------------------------- section */
section { padding: 80px 0; }
section.alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 68ch; margin-bottom: 44px; }
#superbot { scroll-margin-top: 90px; }
.product-overview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.product-overview-head .section-head { margin-bottom: 0; }
.product-video-links { text-align: center; min-width: 0; }
.product-video-links .btn { max-width: 100%; white-space: normal; }
.product-video-links .sub { margin-top: 14px; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
}
h3 { font-size: 1.12rem; margin: 0 0 6px; letter-spacing: -0.01em; }
.sub { color: var(--graphite); font-size: 1.03rem; margin: 0; }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin: 0 0 12px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.card p { color: var(--graphite); font-size: 0.95rem; margin: 0 0 14px; }
.card ul { margin: 0; padding-left: 18px; color: var(--graphite); font-size: 0.92rem; }
.card ul li { margin-bottom: 5px; }
.vendors {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.vendors b { color: var(--graphite); font-weight: 600; }

/* ----------------------------------------------------------------- table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--tint); color: var(--ink); font-weight: 600; font-size: 0.85rem; }
tbody tr:last-child td { border-bottom: none; }
td.good { color: var(--brand-red); font-weight: 600; }
tfoot td { font-weight: 700; background: var(--surface-alt); }

/* --------------------------------------------------------------- pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.price-card {
  border: 2px solid var(--brand-red);
  border-radius: var(--radius);
  padding: 34px;
  background: #fff;
}
.price { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; }
.price-card ul li { padding: 8px 0 8px 26px; position: relative; color: var(--graphite); font-size: 0.95rem; }
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--brand-red);
  border-bottom: 2px solid var(--brand-red);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- footer */
footer.site {
  background: #041f3d;
  color: #d5e5f2;
  padding: 54px 0 34px;
  font-size: 0.9rem;
}
footer.site a { color: #9ed9fa; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.foot-grid h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid ul li { margin-bottom: 8px; }
.foot-bottom { border-top: 1px solid #17426b; padding-top: 22px; color: #9eb4c8; font-size: 0.82rem; }

@media (max-width: 900px) {
  .product-overview-head { grid-template-columns: 1fr; gap: 24px; }
  .product-video-links { text-align: left; }
  .grid-3, .grid-2, .pricing, .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  section { padding: 58px 0; }
}

.brand img.brand-lockup { height: 50px; max-width: min(47vw, 330px); object-fit: contain; }


/* ---------------------------------------- ZT SuperBot mascot placements */
.superbot-mark { display:block; width:auto; max-width:none; flex-shrink:0; }
.eyebrow-row { display:flex; align-items:center; gap:18px; }
.superbot-mark-sm { height:38px; margin-left:0; }
.superbot-mark-md { height:64px; }
.head-with-mark { display:flex; align-items:center; justify-content:flex-start; gap:16px; flex-wrap:wrap; }
.head-with-mark h2 { margin:0; }
.superbot-mark-lg { height:52px; width:auto; }
.superbot-mark-box { height:160px; margin:0 auto 10px; }

/* mascot + TM wrapper */
.mascot-mark { position:relative; display:inline-block; flex-shrink:0; line-height:0; }
.mascot-mark img { display:block; }
.mascot-tm {
  position:absolute;
  top:-3px;
  right:-4px;
  font-size:0.85rem;
  font-weight:700;
  color:var(--brand-red);
  line-height:1;
}
.mascot-mark-box { display:block; width:fit-content; margin:0 auto 10px; }
.mascot-tm-box { top:-6px; right:20px; font-size:1.4rem; }

@media (max-width: 720px) {
  .superbot-mark-sm { display:none; }
  .superbot-mark-md { height:60px; }
  .superbot-mark-lg { height:48px; }
  .head-with-mark { gap:14px; }
  .superbot-mark-box { height:160px; }
  .mascot-tm-box { top:-4px; right:14px; font-size:1.1rem; }
}

.logo-head { margin:0 0 14px; line-height:1; }
.logo-head img { display:block; max-width:100%; height:auto; }
@media (max-width:720px){ .logo-head img { height:auto !important; width:min(100%,340px); } }

/* -------------------------------- hero tagline wordmark + mascot align */
.eyebrow-row { align-items: flex-end; gap: 14px; margin-bottom: 22px; }
.tagline-mark { display: block; max-width: 100%; height: auto; }
h1 em { font-size: 0.78em; }
@media (max-width: 720px) {
  .tagline-mark { height: 24px !important; }
}

/* -------------------------------- large hero mascot */
.hero .wrap { position: relative; }
.hero-mascot {
  position: absolute;
  right: 140px;
  top: 105px;
  height: 390px;
  width: auto;
  pointer-events: none;
}
.hero-mascot img { display: block; height: 100%; width: auto; }

/* -------------------------------- intro video */
.intro-video-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.intro-video-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.intro-video {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(6, 43, 87, 0.12);
  background: var(--ink);
}
.intro-video-wrap h2 {
  margin: 0;
  text-align: center;
}
.intro-video-actions { display: flex; justify-content: center; }

/* Theater mode: a larger in-page view that never enters native full screen. */
.intro-video-wrap.intro-video-stage-theater {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: 9999;
  background: rgba(6, 22, 43, 0.94);
  padding: 32px 24px;
  margin: 0;
  justify-content: center;
  overflow: auto;
}
.intro-video-wrap.intro-video-stage-theater .intro-video,
.intro-video-wrap.intro-video-stage-theater .map-demo-video {
  max-width: min(1400px, 94vw);
  max-height: 76vh;
  box-shadow: none;
}
.intro-video-wrap.intro-video-stage-theater h2 { color: #fff; }

/* ---------- integrations section demo video ---------- */
.integrations-video-head {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: none;
}
.integrations-video-copy {
  flex: 1 1 auto;
  max-width: 68ch;
}
.integrations-video-side {
  flex: 0 0 380px;
  max-width: 380px;
  gap: 10px;
  margin-bottom: 44px;
}
.integrations-video-side .intro-video-actions { justify-content: flex-end; }
.map-video-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
}
.map-demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(6, 43, 87, 0.12);
  background: var(--ink);
}
.integration-video-slot { min-height: 1px; }
.shared-integration-video {
  grid-column: 1 / -1;
  width: 100%;
  padding-block: 24px;
}
.shared-integration-video:not(.intro-video-stage-theater) .map-demo-video { max-width: 800px; }

/* Card with its example screenshot beside it, spanning the full card grid. */
.card-figure-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.card-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 10px;
}
.card-figure-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.card-figure-img {
  width: auto;
  max-width: 100%;
  max-height: 260px;
  height: auto;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(6, 43, 87, 0.12);
  background: #fff;
  cursor: zoom-in;
}
.card-figure-img:focus-visible { outline: 3px solid #078ee8; outline-offset: 3px; }
.card-figure-hint { font-size: 0.82rem; color: var(--muted); text-align: center; }

/* Centered card with two example screenshots side by side below it. */
.card-figure-full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.card-figure-full > .card { width: 100%; max-width: 900px; }
.card-figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}
.card-figure-pair .card-figure-img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1.75;
  object-fit: contain;
}
@media (max-width: 900px) {
  .card-figure-pair { grid-template-columns: 1fr; }
}

/* Click-to-enlarge overlay for the example screenshots. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #062b57;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(1400px, 96vw);
}
.lightbox-img {
  max-width: 96vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.lightbox-caption {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.26); }
@media (max-width: 900px) {
  .lightbox { align-items: flex-start; overflow: auto; -webkit-overflow-scrolling: touch; }
  .lightbox-figure { max-width: none; padding-top: 70px; }
  .lightbox-img { max-width: none; max-height: none; width: 900px; }
  .lightbox-caption::after { content: " \00b7 swipe to pan"; font-weight: 400; opacity: 0.85; }
}

/* NAC card with its demo video beside it, spanning the full card grid. */
.nac-video-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.nac-integration-video { justify-content: center; gap: 12px; }
.nac-integration-video:not(.intro-video-stage-theater) .map-demo-video { width: 100%; }
@media (max-width: 900px) {
  .nac-video-row { grid-template-columns: 1fr; }
  .card-figure-row { grid-template-columns: 1fr; }
  .card-figure-img { max-height: none; width: 100%; }
}
@media (max-width: 900px) {
  .integrations-video-head { flex-direction: column; gap: 24px; }
  .integrations-video-side { flex: 1 1 auto; max-width: 100%; width: 100%; margin-bottom: 0; }
  .integration-video-slot { display: none; }
}


.hero-mascot-tm {
  position: absolute;
  top: -8px;
  right: 46px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}

.header-mascot img,
.getting-started-mascot img {
  border-radius: 50%;
}

.footer-brand-lockup {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: -18px 0 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--surface);
}

@media (max-width: 480px) {
  .nav { gap: 12px; }
  .wrap { padding-inline: 16px; }
  .brand img.brand-lockup { max-width: 180px; height: 44px; }
  .nav .btn { padding-inline: 16px; }
}
@media (max-width: 900px) {
  .hero-mascot {
    position: static;
    height: 260px;
    margin: 48px auto 0;
  }
  .hero-mascot-tm { top: -8px; right: -10px; font-size: 1.6rem; }
  .intro-video-section { padding: 48px 0; }
}


/* ---------- integration directory pages ---------- */
.crumbs { font-size: .85rem; color: var(--graphite); margin: 0 0 18px; }
.crumbs a { color: var(--brand, #1257a8); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.card .vendors a { color: var(--brand, #1257a8); text-decoration: none; }
.card .vendors a:hover { text-decoration: underline; }
.integrations-directory-link { margin: 26px 0 0; font-size: .95rem; }

/* ---------- disclaimers ---------- */
.disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 28px;
  font-style: italic;
}
