:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --soft-2: #eef6fb;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #10bfa9;
  --accent-2: #0ea5e9;
  --accent-3: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --container: min(1120px, calc(100vw - 48px));
}

* {
  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.5;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 250, 252, 0.92)),
    #ffffff;
  color: #18324b;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.15);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.desktop-nav a {
  padding: 9px 13px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  background: rgba(241, 245, 249, 0.9);
  color: var(--ink);
}

.desktop-nav .nav-cta,
.mobile-nav .nav-cta {
  color: #ffffff;
  background: var(--ink);
}

.desktop-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 16px;
}

.desktop-nav .nav-cta:hover,
.mobile-nav .nav-cta:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
}

.section-grid {
  position: relative;
  overflow: hidden;
}

.section-grid::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px);
  background-position: center;
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero {
  min-height: 620px;
  padding: 124px 0 74px;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #f8fafc 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 7.2vw, 92px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 span {
  color: #94a3b8;
}

.hero p {
  max-width: 660px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.button-primary:hover {
  background: #1e293b;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: #334155;
}

.button-secondary:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero .hero-note {
  margin-top: 36px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
}

.provider-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.82);
  padding: 28px 0;
}

.strip-inner {
  display: flex;
  width: var(--container);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.provider-list,
.strip-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.provider-list span {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 800;
}

.strip-metrics {
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.strip-metrics span:not(.divider) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.strip-metrics svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.features,
.audiences,
.tools,
.faq {
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 78px;
  text-align: center;
}

.section-heading h2,
.routing-copy h2,
.benchmark-copy h2,
.cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 880;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.routing-copy p,
.benchmark-copy p,
.cta p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-stack {
  display: grid;
  gap: 100px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: 72px;
}

.feature-row-reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.92fr);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .mockup {
  order: 1;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-copy h3 {
  margin: 18px 0 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.feature-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: color 160ms ease;
}

.text-link:hover {
  color: #ea580c;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.mockup,
.audience-card,
.model-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mockup {
  min-height: 250px;
  padding: 26px;
}

.terminal-card {
  background: #0f172a;
  color: #9ca3af;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
}

.window-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #334155;
}

.terminal-card pre {
  margin: 0;
  overflow: auto;
  font: 500 13px/1.9 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal-card code span {
  color: #22d3ee;
}

.design-card {
  display: grid;
  align-content: center;
  gap: 18px;
}

.design-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.design-toolbar span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.design-toolbar strong {
  width: 120px;
  height: 12px;
  border-radius: 999px;
  background: #cbd5e1;
}

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

.design-grid span {
  height: 78px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fafc;
}

.design-grid span:nth-child(2) {
  border-color: #fed7aa;
  background: #fff7ed;
}

.line {
  height: 12px;
  width: 76%;
  border-radius: 999px;
  background: #e2e8f0;
}

.line.wide {
  width: 100%;
}

.document-card {
  display: grid;
  align-content: center;
  gap: 24px;
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.08), transparent 46%),
    #ffffff;
}

.doc-header {
  height: 58px;
  border-radius: 8px;
  background: #f1f5f9;
}

.doc-lines {
  display: grid;
  gap: 12px;
}

.doc-lines span,
.doc-footer span {
  height: 12px;
  border-radius: 999px;
  background: #dbe4ee;
}

.doc-lines span:nth-child(1) {
  width: 92%;
}

.doc-lines span:nth-child(2) {
  width: 78%;
}

.doc-lines span:nth-child(3) {
  width: 84%;
}

.doc-lines span:nth-child(4) {
  width: 60%;
}

.doc-footer {
  display: flex;
  gap: 12px;
}

.doc-footer span {
  width: 88px;
  background: #ccfbf1;
}

.doc-footer span:nth-child(2) {
  background: #fed7aa;
}

.routing {
  padding: 114px 0;
  background: #f8fafc;
}

.routing-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.routing-copy {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-label {
  margin: 0 0 14px !important;
  color: var(--accent) !important;
  font-size: 13px !important;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.routing-visual {
  margin: 0;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.routing-visual img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.routing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.routing-steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.routing-steps strong,
.routing-steps span {
  display: block;
}

.routing-steps strong {
  font-size: 14px;
}

.routing-steps span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.benchmark {
  padding: 112px 0;
  background: #ffffff;
}

.benchmark-inner {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
  gap: 70px;
}

.benchmark-copy p {
  max-width: 520px;
  margin-left: 0;
}

.scorecard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 30px;
  box-shadow: var(--shadow);
}

.score-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.score-tabs span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.score-tabs .active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
}

.score-row span {
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.score-row strong {
  font-size: 22px;
  text-align: right;
}

.score-row i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--accent), var(--accent-2) var(--bar), #e2e8f0 var(--bar)),
    #e2e8f0;
}

.score-note {
  margin: 18px 0 0;
  color: #94a3b8;
  font-size: 13px;
}

.audiences {
  padding-top: 104px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.audience-card {
  padding: 24px;
  box-shadow: none;
}

.audience-card h3 {
  margin: 0;
  font-size: 17px;
}

.audience-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.models {
  padding: 112px 0;
  background: #f8fafc;
}

.models-inner {
  width: var(--container);
  margin: 0 auto;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.model-grid article {
  min-height: 230px;
  padding: 26px;
  box-shadow: none;
}

.model-grid h3 {
  margin: 0;
  font-size: 20px;
}

.model-grid ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.model-grid li {
  color: var(--muted);
  font-size: 14px;
}

.model-grid li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  vertical-align: 1px;
}

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.tool-cloud span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 16px;
  color: #475569;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.faq {
  padding-top: 96px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  box-shadow: none;
}

.faq-list details + details {
  margin-top: 12px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 820;
}

.faq-list summary:focus {
  outline: none;
}

.faq-list summary:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.55);
  outline-offset: -4px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  float: right;
  color: var(--accent);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.cta {
  padding: 118px 0 110px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}

.cta-inner {
  width: var(--container);
  margin: 0 auto;
}

.cta p {
  max-width: 680px;
}

.cta .cta-note {
  margin-top: 24px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  width: var(--container);
  min-height: 96px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.subpage .site-header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
}

.desktop-nav a.active {
  background: #f1f5f9;
  color: var(--ink);
}

.page-hero {
  padding: 148px 0 82px;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f8fafc 100%);
  text-align: center;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(46px, 6.4vw, 80px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.price-note,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  border: 1px solid rgba(16, 191, 169, 0.24);
  border-radius: 8px;
  background: rgba(236, 253, 245, 0.86);
  color: #0f766e;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
}

.pricing-section {
  width: var(--container);
  margin: 0 auto;
  padding: 94px 0;
}

.muted-band {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding-inline: max(24px, calc((100vw - 1120px) / 2));
}

.pricing-heading {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.pricing-heading span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.pricing-heading h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.pricing-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  position: relative;
  display: grid;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.06);
}

.price-card.featured {
  border-color: rgba(16, 191, 169, 0.45);
  box-shadow: 0 24px 70px rgba(16, 191, 169, 0.13);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 850;
}

.price-card h3 {
  margin: 10px 0 0;
  font-size: 22px;
}

.price-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.price-card strong span {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.price-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  color: #475569;
  font-size: 14px;
}

.price-card li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  vertical-align: 1px;
}

.price-card .button {
  align-self: end;
  width: 100%;
}

.packs .price-card {
  min-height: 400px;
}

.rate-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rate-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

.rate-table th {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.rate-table td {
  color: #475569;
  font-size: 15px;
}

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

.how-it-works {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.how-it-works p {
  margin: 0;
  color: var(--muted);
}

.how-it-works ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-it-works li {
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
  color: #475569;
  font-size: 14px;
}

.compact-faq {
  padding-top: 60px;
  padding-bottom: 80px;
}

.docs-layout {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 44px;
  padding: 112px 0 80px;
}

.docs-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.05);
}

.docs-sidebar strong {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 14px;
}

.docs-sidebar nav {
  display: grid;
  gap: 6px;
}

.docs-sidebar a {
  border-radius: 8px;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 750;
}

.docs-sidebar a:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.docs-content {
  min-width: 0;
}

.docs-content h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.docs-lead {
  max-width: 790px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.doc-tags span {
  border: 1px solid rgba(16, 191, 169, 0.24);
  border-radius: 8px;
  background: rgba(236, 253, 245, 0.7);
  color: #0f766e;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
}

.doc-section {
  margin-top: 72px;
  scroll-margin-top: 100px;
}

.doc-section h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
}

.doc-section > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.doc-checklist,
.doc-grid,
.api-list,
.model-table {
  display: grid;
  gap: 14px;
}

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

.doc-checklist article,
.doc-grid article,
.api-list article,
.model-table div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.doc-checklist h3,
.doc-grid h3 {
  margin: 0;
  font-size: 18px;
}

.doc-checklist p,
.doc-grid p,
.api-list p,
.model-table span {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.code-card,
.doc-grid pre {
  overflow: hidden;
  border: 1px solid #1e293b;
  border-radius: 8px;
  background: #0f172a;
  color: #dbeafe;
}

.code-card {
  margin-top: 14px;
}

.code-title {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 12px 16px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.code-card pre,
.doc-grid pre {
  margin: 0;
  overflow-x: auto;
  padding: 18px;
  font: 500 13px/1.8 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.doc-grid code,
.api-list code,
.doc-section code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.api-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px 16px;
  align-items: start;
}

.api-list span {
  display: inline-flex;
  justify-content: center;
  border-radius: 8px;
  background: #ecfdf5;
  color: #0f766e;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.api-list p {
  grid-column: 2;
  margin-top: 0;
}

.model-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}

.doc-section details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.doc-section details + details {
  margin-top: 10px;
}

.doc-section summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.doc-section details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.status-hero {
  padding-bottom: 70px;
}

.status-pill span,
.incident-row > span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(16, 191, 169, 0.14);
}

.status-dashboard {
  width: var(--container);
  margin: 0 auto;
  padding: 82px 0 104px;
}

.status-panel,
.status-card,
.usage-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.06);
}

.status-panel {
  padding: 28px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.panel-heading p,
.panel-heading span {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.activity-bars {
  display: grid;
  height: 150px;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 26px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.06)),
    #f8fafc;
  padding: 18px;
}

.activity-bars span {
  display: block;
  height: var(--height);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.status-grid,
.usage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.status-card,
.usage-grid article {
  padding: 24px;
}

.status-card span,
.usage-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-card strong,
.usage-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
}

.status-card p,
.usage-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-panel + .status-panel,
.status-grid + .status-panel {
  margin-top: 18px;
}

.incident-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.incident-row strong {
  display: block;
  color: var(--ink);
}

.incident-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  :root {
    --container: min(100vw - 36px, 820px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-nav {
    position: fixed;
    top: 68px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(16px);
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 12px 13px;
  }

  .mobile-nav .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 590px;
    padding-top: 116px;
  }

  .strip-inner,
  .benchmark-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .strip-inner {
    display: grid;
    justify-items: center;
  }

  .feature-row,
  .feature-row-reverse,
  .benchmark-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .mockup {
    order: initial;
  }

  .feature-stack {
    gap: 76px;
  }

  .benchmark-copy p {
    margin-right: auto;
    margin-left: auto;
  }

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

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

  .how-it-works ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .docs-sidebar {
    position: static;
  }

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

  .doc-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --container: min(100vw - 28px, 620px);
  }

  .nav-shell {
    height: 64px;
  }

  .mobile-nav {
    top: 64px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 70px;
  }

  .hero h1 {
    font-size: clamp(44px, 16vw, 64px);
  }

  .hero p {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 34px;
  }

  .button {
    width: 100%;
  }

  .provider-list,
  .strip-metrics {
    justify-content: center;
  }

  .divider {
    display: none;
  }

  .features,
  .audiences,
  .tools,
  .faq,
  .models,
  .benchmark,
  .routing,
  .cta,
  .pricing-section,
  .status-dashboard {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .page-hero {
    padding: 112px 0 64px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .page-hero p {
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .routing-copy h2,
  .benchmark-copy h2,
  .cta h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .section-heading p,
  .routing-copy p,
  .benchmark-copy p,
  .cta p {
    font-size: 16px;
  }

  .feature-copy h3 {
    font-size: 26px;
  }

  .mockup {
    min-height: 220px;
    padding: 20px;
  }

  .terminal-card pre {
    font-size: 12px;
  }

  .routing-visual img {
    aspect-ratio: 1.2 / 1;
    object-position: center;
  }

  .routing-steps,
  .audience-grid,
  .model-grid,
  .pricing-grid,
  .status-grid,
  .usage-grid,
  .how-it-works ul {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .muted-band {
    padding-inline: 14px;
  }

  .docs-layout {
    padding: 96px 0 64px;
  }

  .docs-sidebar nav {
    grid-template-columns: 1fr;
  }

  .docs-content h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .doc-section {
    margin-top: 54px;
  }

  .api-list article,
  .model-table div {
    grid-template-columns: 1fr;
  }

  .api-list p {
    grid-column: auto;
  }

  .panel-heading {
    display: grid;
  }

  .activity-bars {
    gap: 6px;
    padding: 14px;
  }

  .scorecard {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }
}
