:root {
  --bg: #0a0e0b;
  --ink: #dbffd1;
  --muted: #9bb89a;
  --accent: #3ddc97;
  --glass: rgba(255,255,255,0.08);
  --edge: rgba(219,255,209,0.2);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(61,220,151,0.28), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
}
a { color: inherit; }
.demo-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  backdrop-filter: blur(14px);
  background: rgba(10,14,11,0.72);
  border-bottom: 1px solid var(--edge);
}
.demo-top a.back {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.demo-top .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.demo-wrap {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1.1rem 3rem;
}
.demo-wrap h1 {
  font-family: Anybody, Archivo, sans-serif;
  font-stretch: 115%;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1;
  margin: 0 0 0.5rem;
}
.demo-wrap .lede {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 40ch;
  line-height: 1.45;
}
.panel {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 32px rgba(61,220,151,0.15);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  color: #06100b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--edge);
}
.row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
.mono { font-variant-numeric: tabular-nums; }
.log {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}
.log div {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--edge);
  font-size: 0.88rem;
}
.phone {
  width: min(280px, 100%);
  margin: 0 auto;
  border-radius: 28px;
  border: 2px solid var(--edge);
  background: #111;
  padding: 1rem 0.85rem 1.2rem;
  min-height: 420px;
}
.phone .screen {
  background: #1a1f1c;
  border-radius: 18px;
  padding: 1rem;
  min-height: 340px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
@media (max-width: 640px) {
  .kanban { grid-template-columns: 1fr; }
}
.col {
  background: rgba(0,0,0,0.22);
  border-radius: 12px;
  padding: 0.55rem;
  min-height: 140px;
}
.col h3 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 0.6rem;
  margin-bottom: 0.45rem;
  cursor: grab;
  font-size: 0.88rem;
}
.field {
  width: 100%;
  margin: 0.4rem 0 0.8rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--edge);
  background: rgba(0,0,0,0.28);
  color: var(--ink);
  font: inherit;
}
.quote {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: Anybody, Archivo, sans-serif;
}
.hero-demo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--edge);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.7)),
    url("https://images.pexels.com/photos/32050401/pexels-photo-32050401.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover;
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: 1.25rem;
}
.hero-demo h2 {
  margin: 0 0 0.4rem;
  font-family: Anybody, Archivo, sans-serif;
  font-stretch: 115%;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.03em;
}
