:root {
  --heart: #ff3b3f;
  --paper: #fff8ef;
  --cream: #f4e8d8;
  --ink: #181818;
  --muted: #675f59;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 59, 63, .18), transparent 28%),
    linear-gradient(rgba(24, 24, 24, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 24, .045) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 34px 34px, 34px 34px, auto;
  color: var(--ink);
  font-family: Geist, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.demo-shell {
  overflow: hidden;
}

.demo-header {
  align-items: center;
  background: rgba(255, 248, 239, .92);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(14px);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: var(--heart);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
  color: white;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.demo-nav {
  align-items: center;
  display: flex;
  gap: 10px;
}

.demo-nav a {
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 16px;
  text-transform: uppercase;
}

.demo-nav a:last-child,
.btn-primary {
  background: var(--heart);
  color: white;
}

.demo-hero,
.demo-section,
.demo-cta,
.demo-footer {
  margin-inline: auto;
  max-width: 1240px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.demo-hero {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  min-height: 88vh;
  place-items: center;
}

.eyebrow {
  color: var(--heart);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .24em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(52px, 8vw, 112px);
  letter-spacing: -.075em;
  line-height: .86;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(40px, 5.6vw, 74px);
  letter-spacing: -.065em;
  line-height: .9;
}

h3 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.045em;
  line-height: 1;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  line-height: 1.65;
  max-width: 720px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  padding: 16px 22px;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
  box-shadow: 9px 9px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.btn-secondary {
  background: white;
  color: var(--ink);
}

.mockup-frame {
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 34px;
  box-shadow: 14px 14px 0 var(--ink);
  padding: 14px;
  width: 100%;
}

.browser-dots {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.browser-dots span {
  background: white;
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.browser-dots span:first-child {
  background: var(--heart);
}

.mockup-frame img {
  background: var(--cream);
  border-radius: 24px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.stat-strip,
.feature-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

.stat-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.stat,
.feature-card,
.workflow-card,
.pitch-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 24px;
}

.stat strong {
  color: var(--heart);
  display: block;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.stat span,
.feature-card p,
.workflow-card p,
.pitch-card p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.feature-card:first-child {
  background: var(--heart);
  color: white;
}

.feature-card:first-child p {
  color: rgba(255, 255, 255, .84);
}

.badge {
  align-items: center;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 16px;
  color: var(--heart);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.feature-card:first-child .badge {
  background: white;
}

.system-feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.system-feature-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.system-feature-card.feature-wide {
  grid-column: span 2;
}

.system-feature-card img {
  aspect-ratio: 3 / 2;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  display: block;
  height: auto;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.system-feature-copy {
  padding: 24px;
}

.system-feature-copy p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.feature-pills span {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  text-transform: uppercase;
}

.workflow-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  margin-top: 0;
}

.workflow-card {
  min-width: 0;
}

.workflow-card h3 {
  font-size: clamp(24px, 2vw, 30px);
  overflow-wrap: break-word;
}

.demo-split {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: .95fr 1.05fr;
}

.pitch-card {
  background: var(--cream);
}

.demo-cta {
  padding-top: 32px;
}

.cta-panel {
  background: var(--heart);
  border: 2px solid var(--ink);
  border-radius: 38px;
  box-shadow: 12px 12px 0 var(--ink);
  color: white;
  padding: clamp(34px, 7vw, 72px);
  text-align: center;
}

.cta-panel .lead {
  color: rgba(255, 255, 255, .86);
  margin-inline: auto;
}

.cta-panel .btn-secondary {
  background: white;
  color: var(--ink);
}

.demo-footer {
  border-top: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-block: 32px;
}

.demo-footer p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

@media (max-width: 980px) {
  .demo-hero,
  .demo-split {
    grid-template-columns: 1fr;
  }

  .stat-strip,
  .feature-grid,
  .workflow-grid,
  .system-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .demo-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .demo-nav a {
    text-align: center;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .stat-strip,
  .feature-grid,
  .workflow-grid,
  .system-feature-grid {
    grid-template-columns: 1fr;
  }

  .system-feature-card.feature-wide {
    grid-column: span 1;
  }

  .mockup-frame {
    border-radius: 26px;
    box-shadow: 8px 8px 0 var(--ink);
    padding: 10px;
  }

  .btn {
    width: 100%;
  }
}
