/* Shared demo chrome + utilities */
:root {
  --demo-bar: #0e3d48;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Instrument Sans", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: #14202a;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.55rem 1rem;
  background: var(--demo-bar);
  color: #e8f4f4;
  font-size: 0.86rem;
}

.demo-bar strong { color: #f2c66d; }
.demo-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #1a6b72;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
}

.demo-bar a:hover { background: #2a8f97; }

.shell {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}

@media (max-width: 700px) {
  .demo-bar { font-size: 0.8rem; }
}
