:root {
  --bg: #090708;
  --bg-elevated: rgba(17, 12, 12, 0.96);
  --bg-soft: rgba(23, 17, 17, 0.92);
  --panel: rgba(14, 10, 10, 0.94);
  --panel-strong: rgba(20, 12, 12, 0.98);
  --border: rgba(163, 48, 34, 0.28);
  --border-strong: rgba(196, 59, 43, 0.52);
  --accent: #d63d2c;
  --accent-strong: #ff5a40;
  --accent-soft: rgba(214, 61, 44, 0.16);
  --text: #f2ede9;
  --text-soft: #cdbbb5;
  --muted: #8f7d77;
  --success: #b39d5f;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.48);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --sidebar-width: 268px;
  --rail-width: 338px;
  --content-width: minmax(0, 1fr);
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(170, 20, 20, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(92, 7, 7, 0.2), transparent 26%),
    linear-gradient(180deg, #070506 0%, #0a0809 52%, #070506 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.22;
}

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

button,
input {
  font: inherit;
}

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

.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;
}

.mobile-only {
  display: none;
}

.is-hidden {
  display: none !important;
}
