:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #ececef;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.06);
  --line-strong: rgba(29, 29, 31, 0.1);
  --accent: #1d1d1f;
  --accent-soft: #ebebed;
  --radius-xl: 24px;
  --radius-lg: 24px;
  --radius-md: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, #ffffff 0%, #f5f5f7 58%),
    var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1;
}

.nav a:hover {
  color: var(--text);
}

.hero,
.section,
.closing {
  text-align: center;
}

.hero {
  padding: 120px 0 96px;
}

.eyebrow,
.section-kicker,
.showcase-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
.showcase-title,
.stat-value {
  margin: 0;
  letter-spacing: -0.04em;
  font-weight: 600;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1;
}

.hero-text {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--text);
}

.stats,
.three-up {
  display: grid;
  gap: 18px;
}

.showcase-panel,
.report-card,
.info-card,
.stats article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal-soft {
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill-row span,
.provider-chip,
code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
}

.button.secondary,
.pill-row span,
.provider-chip,
code {
  border-color: var(--line-strong);
}

.provider-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.provider-chip.strong {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #fff;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.stats article {
  padding: 28px 22px;
  text-align: center;
  background: var(--surface);
}

.stat-value,
.info-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
}

.stat-label {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.section {
  padding: 132px 0 0;
}

h2 {
  max-width: 880px;
  margin: 14px auto 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
}

.info-card,
.report-card {
  padding: 34px 30px;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  text-align: left;
}

.split .section-kicker,
.split h2 {
  margin-left: 0;
  margin-right: 0;
}

.workflow-carousel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 18px;
}

.workflow-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.workflow-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.workflow-tab.is-active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.workflow-stage {
  position: relative;
  min-height: 250px;
  margin-top: 16px;
}

.workflow-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  opacity: 0;
  transform: translateX(32px);
  pointer-events: none;
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-panel.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.workflow-panel.is-before {
  transform: translateX(-32px);
}

.workflow-panel.is-after {
  transform: translateX(32px);
}

.workflow-panel span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.workflow-panel h3 {
  margin: 26px 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.workflow-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.report-card {
  text-align: left;
  background: var(--surface);
}

pre {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  line-height: 2;
}

pre code {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.closing {
  padding: 148px 0 64px;
}

.closing h2 {
  max-width: 860px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .stats,
  .three-up,
  .split {
    grid-template-columns: 1fr;
  }

  .split {
    text-align: center;
  }

  .split .section-kicker,
  .split h2 {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 72px 0 48px;
  }

  .showcase-panel,
  .info-card,
  .report-card,
  .stats article {
    padding: 26px 22px;
    border-radius: var(--radius-xl);
  }

  .workflow-carousel {
    padding: 14px;
  }

  .workflow-tabs {
    display: flex;
    width: 100%;
  }

  .workflow-stage {
    min-height: 220px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.3rem;
  }
}
