:root {
  --bg-deep: #070b12;
  --bg-card: #0f141f;
  --bg-elevated: #151c2c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --radius: 12px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #000;
  z-index: 100;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.site-nav a[data-nav].nav-active {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #030712 !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 1rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.hero.hero-sales h1.sales-headline {
  max-width: none;
  margin-bottom: 0.5rem;
}

.sales-headline {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-style: normal;
}

.sales-headline-line {
  display: block;
}

.sales-headline-line em {
  font-style: italic;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.5);
  text-underline-offset: 0.12em;
}

.hero-byline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  font-style: italic;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}

.lead-sales {
  max-width: 64ch;
  font-size: 1.15rem;
  line-height: 1.65;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.hero-stats-wide {
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 900px) {
  .hero-stats-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats-wide.hero-stats-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .hero-stats-wide.hero-stats-four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-sales .wrap {
  width: min(100% - 2rem, 1320px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #22d3ee);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.price-card .btn-primary,
a.btn-primary {
  color: #030712 !important;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 100%;
}

.hero-stats li {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

#integration .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; /* space between homepage cards */
}

.card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.25);
}

.card-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-sales {
  border-left: 3px solid rgba(56, 189, 248, 0.35);
}

/* Sales manifesto band */
.manifesto {
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.08), transparent 45%, rgba(129, 140, 248, 0.06));
  border-block: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 52rem;
}

.manifesto-quote {
  margin: 0;
  padding: 0 0 0 clamp(1rem, 3vw, 1.75rem);
  border-left: 4px solid var(--accent);
}

.manifesto-quote p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.manifesto-quote strong {
  color: var(--text);
}

/* Outcome strip */
.section-intro-tight {
  margin-bottom: 1.75rem;
}

.outcome-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .outcome-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.outcome-card {
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.outcome-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.outcome-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.outcome-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.outcome-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.outcome-card strong {
  color: var(--text);
}

/* Scale / licensing story */
.scale-section {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.05), transparent);
  border-block: 1px solid var(--border);
}

.scale-inner {
  max-width: 52rem;
}

.scale-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.scale-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.scale-lead strong {
  color: var(--text);
}

.scale-points {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.scale-points li {
  margin-bottom: 0.85rem;
}

.scale-points li:last-child {
  margin-bottom: 0;
}

.scale-points strong {
  color: var(--text);
}

.scale-foot {
  margin: 0;
  font-size: 0.95rem;
}

.scale-foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.scale-foot a:hover {
  text-decoration: underline;
}

.card-sales a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.card-sales a:hover {
  text-decoration: underline;
}

.card code {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--accent);
}

/* Stack */
.stack {
  background: linear-gradient(180deg, transparent, rgba(129, 140, 248, 0.06));
}

.stack-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .stack-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.stack-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.stack-list li {
  margin-bottom: 0.5rem;
}

.stack-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow: auto;
}

.stack-panel pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.7;
}

.stack-panel .k {
  color: var(--accent);
}

.stack-panel .c {
  color: #64748b;
}

/* CLI */
.cli-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  overflow: auto;
}

.cli-block pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.75;
}

.cli-block .c {
  color: #64748b;
}

.cli-block .v {
  color: #f472b6;
}

.cli-block .k {
  color: var(--accent);
}

/* CTA */
.cta {
  padding-bottom: 4rem;
}

.cta-inner {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.cta-inner p {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 42ch;
}

.cta-sales .cta-inner {
  text-align: left;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  background: linear-gradient(145deg, var(--bg-card), rgba(21, 28, 44, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 80px rgba(56, 189, 248, 0.08);
}

.cta-sales .cta-inner > p {
  margin-left: 0;
  margin-right: 0;
}

.cta-sales .cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  max-width: 22ch;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.cta-sales .cta-inner .cta-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.65;
}

.cta-actions-row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.doc-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0 3rem;
}

.doc-nav-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.doc-nav-prev-next > div:last-child {
  text-align: right;
}

.doc-nav-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 560px) {
  .doc-nav-prev-next {
    grid-template-columns: 1fr;
  }

  .doc-nav-prev-next > div:last-child {
    text-align: left;
  }
}

.cta-sales .cta-inner .cta-note-inline {
  margin: 1.25rem 0 0;
  max-width: 52ch;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-brand {
  font-weight: 600;
  color: var(--text);
}

.footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--accent);
}

/* Inner pages */
.page-main {
  padding-bottom: 3rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

.page-lead {
  max-width: 62ch;
  margin-bottom: 0;
}

.content-sections {
  padding-bottom: 2rem;
}

.content-sections a,
.page-lead a {
  color: var(--accent);
}

.content-sections a:hover,
.page-lead a:hover {
  text-decoration: underline;
}

.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.content-block pre {
  background: #0a0e17;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 0.75rem 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-block pre code {
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.65;
  color: #c4d4e8;
  background: none;
  padding: 0;
  border: none;
  white-space: pre;
}

.content-block code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.detail-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.detail-list li {
  margin-bottom: 0.6rem;
}

.detail-list strong {
  color: var(--text);
}

.tier-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent);
}

/* Docs: YAML required / conditional markers (after parameter description) */
.doc-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
  border-radius: 999px;
  white-space: nowrap;
}

.doc-tag-req {
  background: rgba(56, 189, 248, 0.22);
  color: var(--accent);
}

.doc-tag-if {
  background: rgba(148, 163, 184, 0.28);
  color: var(--text-muted);
}

/* Features page — scannable cards + jump links */
.features-page .content-sections {
  padding-top: 0.5rem;
}

.features-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  padding: 0 0 1.5rem;
  margin: 0 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.features-toc a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.features-toc a:hover {
  color: var(--accent);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.06);
}

.features-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.2rem;
  scroll-margin-top: 5.5rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.75;
}

.feature-card--wide {
  grid-column: 1 / -1;
}

.feature-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.feature-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.feature-points li:last-child {
  margin-bottom: 0;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.feature-points strong {
  color: var(--text);
  font-weight: 600;
}

.feature-points a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.feature-points a:hover {
  text-decoration: underline;
}

.feature-card code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

.tier-tagline {
  color: var(--text-muted);
  margin: -0.25rem 0 1rem;
  max-width: 60ch;
}

.tier-disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tier-table th,
.tier-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tier-table th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
}

.tier-table td {
  color: var(--text-muted);
}

.tier-table td:not(:first-child) {
  text-align: center;
  font-size: 1.15rem;
}

.tier-check::after {
  content: "✔";
  color: #4ade80;
  font-weight: 700;
}

.tier-no::after {
  content: "✘";
  color: #f87171;
  font-weight: 700;
}

.tier-table tbody tr:last-child td {
  border-bottom: none;
}

.back-link {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-link a {
  color: var(--accent);
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* ===== Problem section ===== */
.problem-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.problem-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: #f87171;
}

.problem-card p,
.problem-card li {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.problem-card li {
  margin-bottom: 0.35rem;
}

.problem-card strong {
  color: var(--text);
}

.problem-card em {
  color: #f87171;
  font-style: normal;
}

/* ===== Steps section ===== */
.steps-grid {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-card {
  padding: 1.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
  position: relative;
}

.step-card::before {
  content: counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===== Compare table ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--border);
}

.compare-table th:first-child {
  color: #f87171;
}

.compare-table th:last-child {
  color: var(--accent);
}

.compare-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table td:first-child {
  color: var(--text-muted);
}

.compare-table td:last-child {
  color: var(--accent);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ===== Two-column layout ===== */
.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Governance cards ===== */
.gov-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gov-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gov-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.gov-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.gov-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Procurement / zero vendor ===== */
.procurement-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .procurement-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.procurement-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.procurement-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.procurement-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== AI-ready section ===== */
.ai-section {
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.06), transparent);
  border-block: 1px solid var(--border);
}

.ai-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .ai-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.ai-inner h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.ai-inner ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.ai-inner li {
  margin-bottom: 0.4rem;
}

/* ===== Use-cases table ===== */
.uc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.uc-table th {
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-bottom: 2px solid var(--border);
  background: var(--bg-elevated);
}

.uc-table td {
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.uc-table td:first-child {
  width: 2rem;
  text-align: right;
  padding-right: 0.5rem;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.uc-table td:nth-child(4) {
  color: var(--text-muted);
}

.uc-table .uc-cat td {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 1rem;
  border-bottom: none;
}

.uc-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Section divider helper ===== */
.section-alt {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.04), transparent);
  border-block: 1px solid var(--border);
}

/* ===== Quality list ===== */
.quality-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.quality-list li {
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.quality-list strong {
  color: var(--text);
}

/* ===== Section bottom note ===== */
.section-note {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.text-muted {
  color: var(--text-muted);
}

/* Contact page */
.contact-block .contact-name {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.contact-block .contact-address {
  font-style: normal;
  margin: 1.25rem 0;
  line-height: 1.65;
  color: var(--text);
}

/* ===== Price cards ===== */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.price-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  color: var(--text);
  line-height: 1.1;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex: 1;
}

.price-features li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-card .btn {
  align-self: center;
  width: 100%;
}

.price-card-popular {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}

.price-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #030712;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
