/* ── Demo section ────────────────────────────────────── */

.section--demo {
  max-width: none;
  min-height: auto;
  background: var(--dark);
  color: var(--warm-cream);
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Grain texture — matches CTA section */
.section--demo::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.demo__inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.demo__headline {
  font-family: var(--font-headline);
  font-size: 3.25rem;
  line-height: 1.1;
  color: var(--warm-cream);
  margin-bottom: 16px;
}

.demo__subhead {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--wheat-gold);
  margin-bottom: 56px;
}

/* Browser chrome mockup */
.demo__mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(245, 243, 238, 0.08);
}

.demo__browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1a2416;
}

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

.demo__browser-dot:nth-child(1) {
  background: #ff5f57;
}

.demo__browser-dot:nth-child(2) {
  background: #febc2e;
}

.demo__browser-dot:nth-child(3) {
  background: #28c840;
}

.demo__screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Mobile ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .section--demo {
    padding: 80px 16px;
  }

  .demo__headline {
    font-size: 2.25rem;
  }

  .demo__subhead {
    font-size: 1.125rem;
    margin-bottom: 40px;
  }

  .demo__browser-bar {
    padding: 10px 12px;
    gap: 6px;
  }

  .demo__browser-dot {
    width: 10px;
    height: 10px;
  }
}
