:root {
  --ink: #0e1829;
  --muted: #5d6b80;
  --brand: #173f8f;
  --brand-dark: #0e2f73;
  --brand-soft: #eaf0ff;
  --blue-2: #2b5fc4;
  --accent: #59a9d6;
  --green: #0f7a55;
  --green-soft: #ddf8ea;
  --amber: #9a5a00;
  --amber-soft: #fff0bf;
  --line: #dfe6f0;
  --panel: #ffffff;
  --soft: #f5f8fc;
  --paper: #fbfcfe;
  --shadow: 0 22px 60px rgba(12, 30, 56, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding-left: 20px; }
li + li { margin-top: 8px; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 254, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 230, 240, 0.9);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 0; position: relative; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; min-width: 210px; }
.brand-icon { width: 50px; height: 50px; }
.brand-logo { width: 315px; height: auto; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--muted); font-size: 0.94rem; }
.nav-links a:hover { color: var(--brand); }
.mobile-nav-cta { display: none; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--brand-dark);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(12, 30, 56, 0.08);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(23, 63, 143, 0.28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--brand); }
.btn-secondary:hover { border-color: rgba(23, 63, 143, 0.35); box-shadow: 0 12px 28px rgba(12, 30, 56, 0.1); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 68px;
  background:
    radial-gradient(circle at 8% 10%, rgba(89, 169, 214, 0.22), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(23, 63, 143, 0.16), transparent 32%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f6fb 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -160px -280px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(23, 63, 143, 0.08);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(15, 122, 85, 0.12); }
h1 { margin: 0 0 20px; font-size: clamp(2.7rem, 6.2vw, 5.35rem); line-height: 0.95; letter-spacing: -0.045em; color: var(--brand-dark); }
.hero-copy { max-width: 710px; color: var(--muted); font-size: 1.18rem; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 0.92rem; }
.trust-chip { background: rgba(255, 255, 255, 0.74); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }

.product-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #c8d4e0; }
.url-pill { flex: 1; background: var(--soft); border-radius: 999px; padding: 7px 12px; color: var(--muted); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-preview { display: grid; gap: 16px; }
.preview-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.preview-title span { color: var(--muted); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.preview-title h3 { margin: 2px 0 0; color: var(--brand-dark); font-size: 1.35rem; line-height: 1.1; }
.preview-title strong { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 8px 11px; font-size: 0.84rem; white-space: nowrap; }
.workspace-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.workspace-tabs span { border: 1px solid var(--line); background: #fff; color: var(--brand); border-radius: 999px; padding: 7px 10px; font-weight: 700; font-size: 0.78rem; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.preview-grid article { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.preview-grid span { display: block; color: var(--muted); font-size: 0.78rem; }
.preview-grid strong { display: block; margin-top: 4px; color: var(--brand-dark); font-size: 1.55rem; line-height: 1; letter-spacing: -0.04em; }
.preview-grid em { display: block; margin-top: 8px; color: var(--muted); font-style: normal; font-size: 0.78rem; }
.action-queue { border: 1px solid rgba(23, 63, 143, 0.16); background: linear-gradient(135deg, #f9fbff, #eef4ff); border-radius: 20px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.action-queue b { display: block; color: var(--brand-dark); margin-bottom: 4px; }
.action-queue span { color: var(--muted); font-size: 0.9rem; }
.action-queue a { color: var(--brand); font-weight: 700; white-space: nowrap; }

.proof-strip { padding: 22px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-grid div { display: grid; gap: 4px; }
.proof-grid strong { color: var(--brand-dark); font-size: 1.02rem; }
.proof-grid span { color: var(--muted); font-size: 0.94rem; }

.section { padding: 82px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 28px; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--brand-dark); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 23px; box-shadow: 0 8px 28px rgba(16, 32, 51, 0.06); }
.card h3 { margin: 0 0 10px; font-size: 1.1rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.08fr 0.92fr; }
.feature-list { display: grid; gap: 16px; }
.feature-item { display: block; padding: 0 0 0 1rem; border-left: 3px solid rgba(23, 63, 143, 0.16); }
.check { display: none; }
.feature-item h3 { margin: 0 0 4px; font-size: 1.06rem; }
.feature-item p { margin: 0; color: var(--muted); }
.map-panel, .intelligence-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.map-panel h3 { margin: 0 0 18px; color: var(--brand-dark); font-size: 1.55rem; }
.map-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.map-list span { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: var(--brand); font-weight: 700; }
.map-panel p { margin: 18px 0 0; color: var(--muted); }

.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.panel-title span { color: var(--brand-dark); font-weight: 700; font-size: 1.18rem; }
.panel-title b { background: var(--amber-soft); color: var(--amber); border-radius: 999px; padding: 7px 10px; font-size: 0.82rem; }
.queue-row { display: grid; grid-template-columns: 1.15fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.queue-row:first-of-type { border-top: 0; }
.queue-row strong { display: block; color: var(--ink); }
.queue-row span { display: block; color: var(--muted); font-size: 0.9rem; }
.queue-row em { background: var(--amber-soft); color: var(--amber); border-radius: 999px; padding: 8px 11px; font-style: normal; font-weight: 700; font-size: 0.82rem; text-align: center; }
.queue-row b { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 8px 10px; font-size: 0.82rem; }
.signal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.signal-cards article { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.signal-cards span { display: block; color: var(--muted); font-size: 0.78rem; }
.signal-cards strong { display: block; margin-top: 4px; color: var(--brand-dark); font-size: 1.45rem; line-height: 1; }

.data-room-section { background: linear-gradient(180deg, var(--paper), #f1f6fb); }
.wide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wide-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 12px 38px rgba(12, 30, 56, 0.08); }
.wide-card span { display: inline-flex; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 7px 10px; font-size: 0.82rem; font-weight: 700; }
.wide-card h3 { margin: 0 0 10px; color: var(--brand-dark); font-size: 1.35rem; }
.wide-card p { margin: 0; color: var(--muted); }

.trust-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-matrix article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.trust-matrix h3 { margin: 0 0 8px; color: var(--brand-dark); }
.trust-matrix p { margin: 0; color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 28px rgba(16, 32, 51, 0.06); }
.audience-card h3 { margin: 0 0 16px; color: var(--brand-dark); font-size: 1.4rem; }
.audience-card li { color: var(--muted); }
.help-section { background: #fff; }
.help-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 42px; align-items: center; }
.help-cards { display: grid; gap: 14px; }
.help-cards article { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.help-cards h3 { margin: 0 0 6px; color: var(--brand-dark); }
.help-cards p { margin: 0; color: var(--muted); }

.cta { padding: 78px 0; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; }
.cta h2 { margin: 0 auto 14px; max-width: 780px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.035em; }
.cta p { margin: 0 auto 28px; max-width: 760px; color: rgba(255, 255, 255, 0.88); font-size: 1.08rem; }
.cta .btn-secondary { color: var(--brand-dark); }
footer { padding: 26px 0; background: #081b43; color: rgba(255, 255, 255, 0.78); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 0.92rem; }
.footer-row a { color: #fff; font-weight: 700; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; gap: 8px; }
  .nav-links a {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
  }
  .nav-links .mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(23, 63, 143, 0.28);
  }
  .nav-links .mobile-nav-cta:hover {
    background: var(--brand-dark);
    color: #fff;
  }
  .hero-grid, .split, .split.reverse, .help-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .wide-cards, .audience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { gap: 14px; }
  .brand-mark { min-width: 0; }
  .brand-icon { width: 35px; height: 35px; }
  .brand-logo { width: 200px; }
  .hero { padding: 54px 0 46px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .proof-grid, .capability-grid, .preview-grid, .signal-cards, .trust-matrix { grid-template-columns: 1fr; }
  .map-list { grid-template-columns: 1fr; }
  .queue-row { grid-template-columns: 1fr; align-items: start; }
  .action-queue { display: grid; }
  .section { padding: 58px 0; }
  .footer-row { display: grid; }
}

/* Multi-page marketing refresh */
.nav-links a.is-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 8px 10px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.center-actions {
  justify-content: center;
}

.eyebrow.light {
  justify-content: center;
  color: #081b43;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(8, 27, 67, 0.18);
  text-shadow: none;
}

.page-hero {
  padding: 96px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.narrow {
  max-width: 900px;
}

.page-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--brand-dark);
}

.page-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.stats-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.metric-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.metric-mini-grid article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
}

.metric-mini-grid span,
.metric-mini-grid em {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.metric-mini-grid strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.7rem;
  line-height: 1;
  margin: 4px 0 8px;
  letter-spacing: -0.04em;
}

.mini-chart-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.mini-donut {
  inline-size: 132px;
  block-size: 132px;
  border-radius: 999px;
  background: conic-gradient(var(--brand) 0 38%, #5e83d8 38% 62%, #9fb7ec 62% 81%, #d5e2fb 81% 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(23, 63, 143, 0.1);
}

.mini-donut::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: inherit;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mini-bars {
  display: grid;
  gap: 10px;
}

.mini-bars span {
  display: block;
  min-height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #6e96e8);
}

.mini-legend {
  display: grid;
  gap: 8px;
}

.mini-legend span {
  color: var(--muted);
  font-size: 0.93rem;
}

.mini-legend span::before {
  content: "";
  display: inline-block;
  inline-size: 10px;
  block-size: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.model-stack {
  display: grid;
  gap: 12px;
}

.model-stack div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.model-stack b,
.model-stack span {
  display: block;
}

.model-stack b {
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.model-stack span {
  color: var(--muted);
}

.single-column {
  grid-template-columns: 1fr;
}

.audience-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.panel-copy {
  margin: 0;
  color: var(--muted);
}

.stacked {
  display: grid;
  justify-items: start;
  margin-top: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline b {
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.timeline span {
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}

@media (max-width: 1040px) {
  .three-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 64px 0 46px;
  }

  .three-up,
  .metric-mini-grid,
  .mini-chart-row {
    grid-template-columns: 1fr;
  }

  .mini-donut {
    margin-inline: auto;
  }
}

@media (max-width: 1040px) {
  .nav-links a.is-active {
    padding: 11px 12px;
  }
}

/* Public marketplace marketing additions */
.public-deal-stack {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.public-deal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(12, 30, 56, 0.07);
}

.public-deal-card.soft-card {
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.public-deal-card h4 {
  margin: 8px 0 6px;
  color: var(--brand-dark);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.public-deal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.deal-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 5px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.deal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.deal-metrics span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 9px;
  color: var(--muted);
  font-size: 0.74rem;
}

.deal-metrics b {
  display: block;
  color: var(--brand-dark);
  font-size: 0.98rem;
  line-height: 1.1;
}

@media (max-width: 720px) {
  .deal-metrics { grid-template-columns: 1fr; }
}
