: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; }
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) {
  .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; }
.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; }
}
