:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f0efff;
  --surface-muted: #f3f6fb;
  --ink: #121417;
  --ink-soft: #242831;
  --muted: #656b74;
  --line: #dfe5ef;
  --line-strong: #c7d0e2;
  --brand: #2600ff;
  --brand-strong: #1a00b3;
  --brand-soft: #f0efff;
  --success: #12805c;
  --success-soft: #e7f6ef;
  --code: #111419;
  --code-line: #2a3038;
  --shadow: 0 18px 42px rgba(18, 20, 23, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 136px;
  height: auto;
}

.brand-label {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1;
  padding: 0.26rem 0.48rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 8px;
  padding: 0.52rem 0.7rem;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--ink);
}

.nav-links .external {
  border: 1px solid var(--line);
  background: var(--surface);
}

.nav-links .nav-cta {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #ffffff;
  font-weight: 780;
}

.nav-links .nav-cta:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-color: #f8fafc;
  background-image: url("assets/llm-pulse-overview.png");
  background-size: min(840px, 66vw) auto;
  background-repeat: no-repeat;
  background-position: right -260px bottom 5vh;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.9);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.8rem 0 5.6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand-strong);
  font-weight: 820;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 700px;
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-badges,
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li,
.badge-list li,
.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.88rem;
  font-weight: 680;
}

.hero-actions,
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.68rem 0.95rem;
  font-weight: 740;
  text-decoration: none;
  line-height: 1.2;
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--brand-strong);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--line-strong);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.62rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0;
}

.section.compact {
  padding-top: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-header p,
.lead {
  color: var(--muted);
  max-width: 760px;
  margin: 0.65rem 0 0;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.7rem 0 3rem;
}

.page-hero h1 {
  color: var(--ink);
  max-width: 900px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.page-hero .lead {
  font-size: 1.15rem;
}

.page-hero .hero-badges {
  margin-top: 1.25rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 1px 0 rgba(18, 20, 23, 0.02);
}

.card.soft {
  background: var(--surface-soft);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.media-card .card-body {
  padding: 1.1rem;
}

.card h3,
.card h2 {
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.product-strip {
  background: var(--ink);
  color: #f8efe2;
  border-bottom: 1px solid #242831;
}

.product-strip-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
}

.product-strip strong {
  color: #ffffff;
}

.product-strip span {
  color: #d8d0c5;
}

.product-strip a {
  color: #c7d2fe;
  font-weight: 720;
  white-space: nowrap;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.4rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.band {
  background: var(--surface-muted);
  border-block: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #f3f5ff;
  font-size: 0.88rem;
}

tr:last-child td {
  border-bottom: 0;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  background: #eef2ff;
  border-radius: 6px;
  padding: 0.12rem 0.28rem;
  color: #2600ff;
}

pre {
  margin: 1rem 0 0;
  background: var(--code);
  color: #f2f5f7;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  line-height: 1.55;
  border: 1px solid var(--code-line);
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.endpoint-list {
  display: grid;
  gap: 0.75rem;
}

.endpoint {
  display: grid;
  grid-template-columns: 92px minmax(220px, 1fr) minmax(240px, 1.4fr);
  gap: 0.75rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
}

.method {
  display: inline-flex;
  width: fit-content;
  min-width: 58px;
  justify-content: center;
  border-radius: 6px;
  padding: 0.18rem 0.44rem;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 780;
  font-size: 0.82rem;
}

.method.post {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.path {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.93rem;
  word-break: break-word;
}

.endpoint p {
  margin: 0;
  color: var(--muted);
}

.callout {
  background: var(--surface-soft);
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 1.1rem;
}

.callout strong {
  color: var(--brand-strong);
}

.steps {
  display: grid;
  gap: 0.8rem;
  counter-reset: step;
  margin: 1.2rem 0 0;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 820;
}

.step p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
}

.site-footer {
  border-top: 1px solid #2a3038;
  background: #111419;
  color: #d9d5cc;
  padding: 2.5rem 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #c7d2fe;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .section-header {
    display: block;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .endpoint {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background-size: 660px auto;
    background-position: center bottom -70px;
  }

  .hero::before {
    background: rgba(248, 250, 252, 0.93);
  }

  .hero-content {
    padding: 4rem 0 11rem;
  }

  .product-strip-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding-inline: 0.54rem;
  }

  .brand-logo {
    width: 126px;
  }

  .brand-label {
    display: none;
  }

  .hero-content,
  .page-hero,
  .section,
  .footer-inner,
  .product-strip-inner {
    width: min(100% - 24px, 1180px);
  }

  .button {
    width: 100%;
  }

  .hero-content {
    padding-bottom: 10rem;
  }
}
