body.demo-mode {
  --demo-ink: #fffdf8;
  --demo-gold: #d9bd7b;
}

body.demo-mode header {
  box-shadow: 0 10px 34px rgba(37, 40, 39, .10);
}

.demo-banner {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px max(24px, calc((100vw - 1440px) / 2 + 24px));
  color: var(--demo-ink);
  background: linear-gradient(100deg, #173f35, #244e42);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.demo-banner-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #252827;
  background: var(--demo-gold);
  font-size: 17px;
  font-weight: 900;
}

.demo-banner strong,
.demo-banner span {
  display: block;
}

.demo-banner strong {
  font-size: 12px;
  letter-spacing: .02em;
}

.demo-banner span {
  margin-top: 2px;
  color: rgba(255, 253, 248, .78);
  font-size: 10px;
  line-height: 1.4;
}

.demo-chip {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  white-space: nowrap;
}

.demo-buy-button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--demo-gold);
  border-radius: 999px;
  color: #252827;
  background: var(--demo-gold);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.demo-lock-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: 76px minmax(0, 680px);
  align-content: center;
  justify-content: center;
  gap: 22px;
  padding: clamp(26px, 6vw, 64px);
  background: linear-gradient(140deg, var(--paper), color-mix(in srgb, var(--paper) 78%, var(--green)));
  border: 1px solid var(--stone);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.demo-lock-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--forest);
  border: 5px solid color-mix(in srgb, var(--gold) 68%, transparent);
  border-radius: 22px;
  font-size: 29px;
  box-shadow: 0 14px 28px rgba(23, 63, 53, .18);
}

.demo-locked {
  position: relative;
  opacity: .72;
}

body.demo-mode nav {
  top: 126px;
  height: calc(100vh - 126px);
}

body.demo-mode .layout {
  min-height: calc(100vh - 126px);
}

@media (max-width: 1000px) {
  body.demo-mode nav {
    position: static;
    height: auto;
  }
}

@media (max-width: 700px) {
  .demo-banner {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 9px 14px;
  }

  .demo-banner-icon {
    width: 32px;
    height: 32px;
  }

  .demo-chip {
    display: none;
  }

  .demo-buy-button {
    padding: 7px 9px;
    font-size: 9px;
  }

  .demo-lock-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-banner *,
  .demo-lock-card * {
    animation: none !important;
    transition: none !important;
  }
}
