/* LEMdev / LEMdesk — maxed static site */

:root {
  --bg: #080a0e;
  --bg-card: #111820;
  --bg-elevated: #1a222d;
  --text: #eef2f7;
  --muted: #8b9aab;
  --accent: #3dd6c3;
  --accent-dim: #2a9d8f;
  --accent-glow: rgba(61, 214, 195, 0.15);
  --border: #243040;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Consolas", monospace;
  --radius: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 200;
  transition: top 0.2s;
}

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

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

a:hover {
  text-decoration: underline;
}

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

.wrap-narrow {
  max-width: 720px;
}

/* Ambient glow */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 20%, rgba(61, 214, 195, 0.06), transparent),
    radial-gradient(ellipse 30% 25% at 10% 60%, rgba(42, 157, 143, 0.05), transparent);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.site-header.scrolled {
  background: rgba(8, 10, 14, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

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

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

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

.nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.nav-cta:hover {
  background: #4de8d4;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(61, 214, 195, 0.35);
  background: rgba(61, 214, 195, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #7af0e0 50%, var(--accent-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stats span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.stack-badges span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

/* Terminal mock */
.hero-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.terminal-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4555;
}

.terminal-chrome span:nth-child(1) { background: #ff5f57; }
.terminal-chrome span:nth-child(2) { background: #febc2e; }
.terminal-chrome span:nth-child(3) { background: #28c840; }

.terminal-chrome em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
}

.terminal-tabs {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
}

.terminal-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font);
}

.terminal-tab.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.terminal-hidden {
  display: none;
}

.terminal-live {
  margin-left: auto;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .terminal-live { animation: none; }
}

.terminal-body {
  margin: 0;
  padding: 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text);
  overflow-x: auto;
  min-height: 220px;
}

.t-line {
  display: block;
  opacity: 0;
  transform: translateX(-6px);
  animation: term-in 0.4s ease forwards;
}

.t-line:nth-child(1) { animation-delay: 0.2s; }
.t-line:nth-child(2) { animation-delay: 0.45s; }
.t-line:nth-child(3) { animation-delay: 0.6s; }
.t-line:nth-child(4) { animation-delay: 0.85s; }
.t-line:nth-child(5) { animation-delay: 1.05s; }
.t-line:nth-child(6) { animation-delay: 1.25s; }
.t-line:nth-child(7) { animation-delay: 1.45s; }
.t-line:nth-child(8) { animation-delay: 1.65s; }
.t-line:nth-child(9) { animation-delay: 1.9s; }
.t-line:nth-child(10) { animation-delay: 2.15s; }

@keyframes term-in {
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .t-line {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.t-dim { color: #5a6878; }
.t-ok { color: #28c840; }
.t-warn { color: #febc2e; }
.t-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  background: #4de8d4;
  text-decoration: none;
}

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

.btn-ghost:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(17, 24, 32, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(61, 214, 195, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(61, 214, 195, 0.25);
  border-radius: 8px;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.card code {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: var(--bg-elevated);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--accent);
}

/* Flow */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow span:not(.arrow) {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
}

.flow .arrow {
  color: var(--accent);
  font-weight: 700;
}

/* Rooms */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.room-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 214, 195, 0.3);
}

.room-card.room-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 214, 195, 0.2), 0 16px 48px rgba(61, 214, 195, 0.08);
}

.room-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.room-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

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

.room-card code {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.room-file {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(61, 214, 195, 0.2);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

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

.steps li::before {
  content: counter(step);
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.95rem;
}

.steps li strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

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

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

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  align-items: center;
}

.compare-head {
  background: var(--bg-elevated);
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.compare-row {
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row span:first-child {
  color: var(--text);
}

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

.compare-row .yes {
  color: var(--accent);
  font-weight: 700;
}

.compare-row .no {
  color: #6a7585;
}

/* Code block */
.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.15s, border-color 0.15s;
}

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

.copy-btn.copied {
  color: var(--accent);
  border-color: var(--accent);
}

.code-block pre {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text);
}

.start-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

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

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(61, 214, 195, 0.12) 0%, rgba(42, 157, 143, 0.06) 100%);
  border: 1px solid rgba(61, 214, 195, 0.25);
  border-radius: var(--radius);
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  background: rgba(8, 10, 14, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.75rem 0;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay {
  transition-delay: 0.15s;
}

/* Mobile */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-terminal {
    order: -1;
  }

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

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

@media (max-width: 720px) {
  .menu-btn {
    display: block;
  }

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

  .nav.open {
    display: flex;
  }

  .site-header .wrap {
    position: relative;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    font-size: 0.82rem;
    padding: 0.85rem 1rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }
}

/* Pricing & demo pages */
.hero-compact {
  padding: 4rem 0 2rem;
}

.hero-compact h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.nav-active {
  color: var(--accent) !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-glow), var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -0.65rem;
  left: 1.25rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.pricing-tier {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.pricing-price {
  margin-bottom: 0.75rem;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  color: var(--muted);
  font-size: 1rem;
  margin-left: 0.25rem;
}

.pricing-blurb {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

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

.pricing-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 0.85rem 0 0;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 1rem;
}

.waitlist-form input:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.waitlist-thanks {
  color: var(--accent);
  font-weight: 600;
  margin-top: 1rem;
}

.demo-hint {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.demo-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.demo-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
}

.demo-step h3 {
  margin: 0 0 0.75rem;
}

.demo-caption {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.75rem 0 0;
}

.demo-caption.center {
  text-align: center;
}

.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
}

.demo-preview {
  max-width: 720px;
  margin: 0 auto;
}

.demo-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.demo-dot:first-child { background: #e76f51; }
.demo-dot:nth-child(2) { background: #f4a261; }
.demo-dot:nth-child(3) { background: #3dd6c3; }

.demo-url {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.demo-mock-body {
  padding: 1.5rem;
}

.demo-score {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.demo-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
}

.demo-ring small {
  font-size: 0.65rem;
  color: var(--muted);
}

.demo-score p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
}

.demo-card small {
  display: block;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.demo-card.ok small { color: var(--accent); }
.demo-card.warn small { color: #f4a261; }

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Starter → Pro banner */
.pro-banner-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pro-contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.pro-contrast-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.pro-contrast-col h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pro-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.pro-tag.sample {
  background: var(--bg-elevated);
  color: var(--muted);
}

.pro-tag.power {
  background: var(--accent);
  color: var(--bg);
}

.pro-contrast-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.pro-contrast-col li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pro-contrast-col li:last-child {
  border-bottom: none;
}

.pricing-subtier {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.25rem 0 0.5rem;
}

@media (max-width: 720px) {
  .pro-contrast {
    grid-template-columns: 1fr;
  }
}

.pro-plus {
  color: var(--accent);
  font-size: 0.78em;
}

.start-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.power-bars {
  margin-bottom: 1rem;
}

.power-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.power-bar span {
  width: 4.5rem;
  flex-shrink: 0;
}

.power-bar .track,
.power-compare-row .track {
  flex: 1;
  height: 6px;
  background: var(--bg);
  border-radius: 99px;
  overflow: hidden;
}

.power-bar .track i,
.power-compare-row .track i {
  display: block;
  height: 100%;
  background: var(--muted);
  border-radius: 99px;
}

.pro-bars .track i,
.power-compare-row .track.pro i {
  background: var(--accent);
}

.power-compare {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.power-compare-head,
.power-compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem 0;
}

.power-compare-head {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.power-compare-row span:first-child {
  font-size: 0.9rem;
}

.live-desk-banner {
  background: linear-gradient(90deg, rgba(61, 214, 195, 0.12), rgba(61, 214, 195, 0.04));
  border-bottom: 1px solid var(--accent);
  padding: 0.65rem 0;
  font-size: 0.88rem;
}

.live-desk-banner .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.live-desk-banner span {
  color: var(--accent);
  font-weight: 600;
}

.copy-btn-inline {
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn-inline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Problem / audience / marketing sections */
.pain-grid,
.who-grid,
.gtm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pain-card,
.who-card,
.gtm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pain-card h3,
.who-card h3,
.gtm-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.pain-card p,
.who-card p,
.gtm-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.problem-solution {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
}

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

.gtm-num {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.75rem;
  text-align: center;
  margin-bottom: 0.65rem;
}

.pitch-quote {
  margin: 1rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
}

.pitch-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pitch-bullets li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

.pitch-bullets li:last-child {
  border-bottom: none;
}

.card p strong {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-inner .cta-actions {
  flex-shrink: 0;
}
