/* Indistractable design (from upshiftai/site) — soft dark, blue accent, Inter */
:root {
  --bg: #0f1115;
  --bg-soft: #161b22;
  /* aliases kept for compatibility */
  --bg-body: #0f1115;
  --bg-surface: #161b22;
  --text: #ededed;
  --text-main: #ededed;
  --text-muted: #8b949e;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --border: #30363d;
  --radius: 8px;
  --radius-sm: 6px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Semantic status colors */
  --color-error: #f85149;
  --color-success: #3fb950;
  --color-warn: #d29922;
  /* Terminal syntax colors */
  --terminal-heading: #58a6ff;
  --terminal-dim: #6e7681;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .demo-main img {
    transition: none;
  }

  .section-reveal,
  .section-reveal .trust-list > li,
  .section-reveal .compare-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Product Hunt banner */
.ph-banner {
  display: block;
  text-align: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, #da552f 0%, #e05a32 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ph-banner:hover {
  color: #fff;
  opacity: 0.95;
}

.ph-banner:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

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

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-gh {
  color: var(--accent);
}

/* Mobile nav toggle (shown only on small screens) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav-toggle:focus {
  outline: none;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .header nav,
  .header .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .header.open nav,
  .header.open .nav-main {
    display: flex;
  }
  .header nav a,
  .header .nav-main a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    border-radius: 0;
  }
  .header nav a:last-child,
  .header .nav-main a:last-child {
    border-bottom: none;
  }
  .header .wrap {
    position: relative;
  }
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-glossary {
  max-width: 40rem;
  margin: -0.5rem auto 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-glossary strong {
  color: var(--text);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.hero-oneliner {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 2.5rem;
  font-style: italic;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.hero-oneliner em {
  font-style: normal;
  color: var(--text);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.hero-trust-sep {
  color: var(--border);
  user-select: none;
}

.hero-trust-link {
  color: var(--accent);
  text-decoration: none;
}

.hero-trust-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.hero-trust-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Signup form */
.signup-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin-bottom: 0.75rem;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 0.65rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s;
}

.signup-form input[type="email"]:focus {
  border-color: var(--accent);
}

.signup-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.signup-form button {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.signup-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.signup-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.signup-success {
  color: var(--accent);
  font-weight: 500;
  margin: 0;
  padding: 0.65rem 0;
}

.cta .signup-form {
  max-width: 400px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-glow);
}

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

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

/* For teams (GitHub App) */
.for-teams {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft, rgba(255, 255, 255, 0.02));
}
.for-teams h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

/* Guardrails band */
.guardrails {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.06);
}

.guardrails h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.guardrails-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 42em;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.guardrails-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40em;
}

.guardrails-list li {
  padding: 0.5rem 0;
  padding-left: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border);
}

.guardrails-list li:last-child {
  border-bottom: none;
}

.guardrails-more {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
}

.guardrails-more a {
  color: var(--accent);
}

/* Trust bar */
.trust {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: center;
}

.trust-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Compare section (vs Dependabot) */
.compare {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.compare-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  text-align: center;
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding-left: 1.5rem;
}

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-card li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.compare-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 600;
}

.compare-other {
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.compare-other h3 {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0;
}

.compare-us {
  background: rgba(46, 160, 67, 0.08);
  border: 1px solid rgba(46, 160, 67, 0.35);
}

.compare-us h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 0;
}

.compare-us li::before {
  content: "✓";
  color: var(--accent);
}

.compare-us li strong {
  color: var(--text);
}

.compare-disclaimer {
  margin: 1.5rem auto 0;
  max-width: 42em;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.9;
  text-align: center;
}

/* Sections */
.problem,
.solution,
.today,
.pricing,
.faq,
.cta {
  padding: 3rem 0;
}

.problem { border-bottom: 1px solid var(--border); }

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

h3:first-child { margin-top: 0; }

.problem ul,
.today ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.problem li,
.today li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
}

.problem li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--color-error);
  font-weight: 600;
}

.today li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pipeline {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent);
  margin: 1rem 0 2rem;
}

.steps {
  margin: 0;
  padding-left: 1.5rem;
}

.steps li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

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

/* Install */
.install {
  background: var(--bg-soft);
  text-align: center;
  padding: 3rem 0;
}

.install-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

.install-box code {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
}

.copy-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}

.copy-btn:hover {
  background: var(--accent-hover);
}

.install-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.install-note code {
  background: var(--bg);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.plan {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.plan h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.plan p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-featured {
  border-color: var(--accent);
  background: rgba(46, 160, 67, 0.1);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(46, 160, 67, 0.15);
}

.pricing-note {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
}

.plan-featured h3 {
  color: var(--accent);
}

/* Homepage pricing teaser (full detail on /pricing) */
.pricing-teaser .pricing-teaser-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

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

.pricing-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.pricing-teaser-meta {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.pricing-teaser-meta a {
  color: var(--accent);
}

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

.pricing-teaser-meta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Feature matrix (pricing page) */
.feature-matrix-wrap {
  max-width: 960px;
  margin: 3rem auto 0;
  overflow-x: auto;
  text-align: left;
}

.feature-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.feature-matrix th,
.feature-matrix td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  vertical-align: top;
}

.feature-matrix th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
}

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

.feature-matrix td:first-child {
  color: var(--text);
  font-weight: 500;
}

.pricing-page-lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.pricing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* FAQ */
.faq dl {
  margin: 0;
}

.faq dt {
  font-weight: 600;
  margin-top: 1.25rem;
  color: var(--text);
}

.faq dt:first-child { margin-top: 0; }

.faq dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  padding-left: 0;
}

.faq code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* Final CTA */
.cta {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta-primary {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-newsletter {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.waitlist-count-line {
  margin-top: 0;
}

.cta .signup-form {
  margin-top: 0.5rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

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

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

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

.footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-trademark {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Hero Install Box */
.install-hero {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}

.install-hero code {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
}

.install-hero .copy-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.install-hero .copy-btn .copy-btn-check {
  opacity: 0;
  color: #3fb950;
  transition: opacity 0.2s;
}
.install-hero .copy-btn.copied .copy-btn-text { color: #3fb950; }
.install-hero .copy-btn.copied .copy-btn-check { opacity: 1; }

.gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gh-btn svg {
  flex-shrink: 0;
}

/* Terminal Demo */
.demo {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.demo h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.terminal {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #161b22;
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

.terminal-body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.terminal-body .cmd {
  color: var(--text);
}

.terminal-body .success {
  color: var(--color-success);
}

.terminal-body .warn {
  color: var(--color-warn);
}

.terminal-body .heading {
  color: var(--terminal-heading);
  font-weight: 500;
}

.terminal-body .subheading {
  color: var(--text);
  font-weight: 500;
}

.terminal-body .dim {
  color: var(--terminal-dim);
}

/* Demo Gallery */
.demo-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin: -1rem 0 1rem;
  font-size: 1.1rem;
}

.demo-tier-note {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.demo-tier-note a {
  color: var(--accent);
}

.demo-tier-note code {
  font-size: 0.88em;
}

.demo-main {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.demo-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}
.demo-main img.demo-img {
  min-height: 200px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
}

.demo-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.02);
}

.demo-card.active {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.demo-icon {
  font-size: 1.5rem;
}

.demo-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.demo-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Section reveal (entrance) */
.section-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.section-reveal .trust-list > li,
.section-reveal .compare-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.section-reveal.in-view .trust-list > li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.section-reveal.in-view .trust-list > li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-reveal.in-view .trust-list > li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-reveal.in-view .trust-list > li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-reveal.in-view .trust-list > li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.section-reveal.in-view .trust-list > li:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.section-reveal.in-view .compare-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-reveal.in-view .compare-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }

/* ─── Skip to content (a11y) ───────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
.skip-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ─── Nav active page indicator ────────────────────────────── */
nav a.nav-current,
.nav-main a.nav-current {
  color: var(--text);
  font-weight: 500;
}

/* ─── Social proof section ─────────────────────────────────── */
.social-proof {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.social-proof h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.social-proof-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 36em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

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

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.social-proof-cta {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 540px;
  margin: 0 auto;
}

.social-proof-cta p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-proof-cta p:last-child {
  margin: 0;
}

/* ─── Pricing page enhancements ────────────────────────────── */
.tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  margin-left: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.tier-who {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  text-align: left;
  line-height: 1.5;
}

.pricing-h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.matrix-scroll-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .matrix-scroll-hint {
    display: block;
  }
}

/* ─── /start page (extracted from inline styles) ───────────── */
.start-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.start-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.start-content .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.step {
  margin-bottom: 2.5rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.step-number {
  background: var(--accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.step-desc {
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-left: 2.75rem;
}

.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  margin-left: 2.75rem;
  position: relative;
  overflow-x: auto;
}

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

.code-block code {
  display: block;
  margin: 0.25rem 0;
}

.copy-btn-small {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.copy-btn-small.copied {
  color: var(--color-success);
}

.copy-btn-small:hover {
  background: var(--border);
  color: var(--text);
}

.output-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1rem 0 0 2.75rem;
  white-space: pre-wrap;
}

.output-preview .highlight {
  color: var(--accent);
}

.output-preview .warn {
  color: var(--color-warn);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.next-steps {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.next-steps h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.next-steps ul,
.next-steps ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.next-steps li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.next-steps li code {
  background: var(--bg);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.credits-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text);
}

.credits-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent);
}

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

.credits-box code {
  background: rgba(59, 130, 246, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ─── Product Hunt banner expiry ───────────────────────────── */
.ph-banner[hidden] {
  display: none;
}

/* ─── Screen-reader only utility ───────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
