:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color: #16202a;
  background: #f7f8fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.demo-shell {
  width: min(calc(100% - 32px), 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
}

.back-link {
  color: #155eef;
  font-size: 14px;
  font-weight: 700;
}

.demo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.demo-language {
  display: flex;
  gap: 6px;
  color: #697586;
  font-size: 13px;
}

.demo-language a:hover,
.demo-language a.is-active {
  color: #155eef;
  font-weight: 700;
}

.demo-panel {
  margin-top: 72px;
  padding: 44px;
  border: 1px solid #dfe5eb;
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 40px rgba(28, 44, 64, 0.08);
}

.eyebrow {
  margin: 0 0 12px;
  color: #155eef;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 7vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.intro {
  margin-bottom: 32px;
  color: #697586;
  line-height: 1.8;
}

.counter-card {
  padding: 28px;
  border-radius: 16px;
  background: #eef2f6;
  text-align: center;
}

.count {
  display: block;
  color: #155eef;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

.count-label {
  display: block;
  margin: 10px 0 24px;
  color: #697586;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  min-width: 88px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: #155eef;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover {
  background: #0f46b8;
}

@media (max-width: 540px) {
  .demo-panel {
    margin-top: 48px;
    padding: 28px 22px;
  }
}

:root {
  color-scheme: dark;
}

body {
  background: #11110f url('/images/hero-mythic-mountains.webp') center top / cover fixed;
}

.demo-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 9, 0.78);
  content: "";
}

.demo-panel {
  border-color: rgba(212, 169, 101, 0.34);
  background: rgba(25, 23, 19, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.intro,
.count-label,
.demo-language {
  color: #b8ab97;
}

.counter-card {
  background: rgba(45, 37, 28, 0.86);
}

button {
  background: #b9813f;
  color: #17130f;
}

button:hover {
  background: #d2a45f;
}
