:root {
  color-scheme: dark;
  --bg: #151916;
  --surface: #1d221e;
  --surface-2: #242b24;
  --ink: #edeee5;
  --muted: #a2a99e;
  --line: #343b32;
  --accent: #c1dfa9;
  --gold: #d8bd83;
  --movie: #c1dfa9;
  --game: #d9b489;
  --book: #dccaa9;
  --music: #b9badc;
  --radius: 4px;
  --space: 24px;
  --duration: 180ms;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  border-radius: var(--radius);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 4vw, 49px);
  letter-spacing: -1.7px;
}

h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
}

h3 {
  font-size: 16px;
}

p {
  color: var(--muted);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

button {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 16px;
}

button:hover {
  border-color: #77836e;
  background: #2c3529;
}

input,
select,
textarea {
  background: #20261f;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 12px;
  max-width: 100%;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

label {
  font-size: 12px;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.meta {
  font-size: 12px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  min-height: 42px;
  background: var(--surface);
}
.button:hover {
  background: #34402e;
  color: var(--ink);
}
.primary {
  background: var(--accent);
  color: #182313;
  border-color: var(--accent);
}
.primary:hover {
  background: #d3ebbf;
  color: #182313;
}
.text-link {
  font-size: 12px;
  color: var(--accent);
}
.text-link:hover {
  text-decoration: underline;
}
.badge {
  display: inline-block;
  border: 1px solid #b8d5a544;
  color: #c6d5bb;
  padding: 2px 6px;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.4px;
  border-radius: 2px;
}
.demo-badge {
  color: #c8bba4;
  border-color: #c8bba444;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed var(--line);
}
.empty h1 {
  font-size: 34px;
}
.error {
  color: #edb5a7;
}
.prose {
  max-width: 760px;
  line-height: 1.85;
}
.prose h2 {
  margin-top: 36px;
}
.prose a {
  text-decoration: underline;
  color: var(--accent);
}
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: var(--accent);
  color: #1c2919;
  z-index: 100;
  box-shadow: 0 4px 25px #0005;
  max-width: 90vw;
}
.noscript {
  padding: 20px;
  background: #442e25;
}
.loading {
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    opacity: 0.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
