@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jbmono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg-0: #06070b;
  --bg-1: #0a0c13;
  --bg-2: #0f121b;
  --bg-3: #151926;
  --panel: rgba(18, 21, 31, 0.78);
  --panel-solid: #121520;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.18);
  --text: #eceef6;
  --text-2: #b4bad0;
  --muted: #838ba3;
  --dim: #565d74;

  --brand: #ff3d7f;
  --brand-2: #b18cff;
  --brand-glow: rgba(255, 61, 127, 0.35);
  --brand-soft: rgba(255, 61, 127, 0.12);
  --grad: linear-gradient(135deg, #ff3d7f 0%, #d35bd0 55%, #b18cff 100%);
  --ok: #3ddc84;
  --ok-soft: rgba(61, 220, 132, 0.12);
  --warn: #f5a524;
  --warn-soft: rgba(245, 165, 36, 0.13);
  --bad: #f04d5f;
  --bad-soft: rgba(240, 77, 95, 0.13);
  --info: #6aa8ff;
  --info-soft: rgba(106, 168, 255, 0.13);
  --teal: #3dd6c6;
  --teal-soft: rgba(61, 214, 198, 0.12);
  --gold: #f2c94c;
  --violet: #b18cff;
  --violet-soft: rgba(177, 140, 255, 0.13);

  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 24px 64px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--line-2);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sidebar: 252px;
  --topbar: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 8% -8%, rgba(255, 61, 127, 0.13), transparent 60%),
    radial-gradient(800px 520px at 100% 0%, rgba(177, 140, 255, 0.1), transparent 55%),
    radial-gradient(700px 500px at 60% 110%, rgba(61, 214, 198, 0.06), transparent 60%),
    var(--bg-0);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
p {
  margin: 0;
}
a {
  color: var(--info);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.86em;
}
code {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
::selection {
  background: rgba(255, 61, 127, 0.35);
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #2a3042 transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: #262c3d;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #343c52;
  background-clip: padding-box;
  border: 2px solid transparent;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.mono {
  font-family: var(--mono);
}
.muted {
  color: var(--muted);
}
.dim {
  color: var(--dim);
}
.ok {
  color: var(--ok);
}
.warn {
  color: var(--warn);
}
.bad {
  color: var(--bad);
}
.right {
  text-align: right;
}
.grow {
  flex: 1;
  min-width: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row.wrap {
  flex-wrap: wrap;
}
.col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gap-4 {
  gap: 4px;
}
.gap-6 {
  gap: 6px;
}
.gap-16 {
  gap: 16px;
}
.hide {
  display: none !important;
}
.nowrap {
  white-space: nowrap;
}
.trunc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
