:root {
  --site-bg: #f8fafc;
  --site-ink: #0f172a;
  --site-muted: #64748b;
  --site-border: rgba(148, 163, 184, 0.24);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.site-shell,
.admin-shell,
.admin-auth-shell {
  position: relative;
  overflow-x: clip;
}

.site-orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.35;
}

.site-orb-a {
  top: 2rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(37, 99, 235, 0.24);
}

.site-orb-b {
  top: 12rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  background: rgba(99, 102, 241, 0.2);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  color: rgb(51 65 85);
  transition: all 160ms ease;
}

.nav-pill:hover {
  background: rgba(15, 23, 42, 0.04);
  color: rgb(15 23 42);
}

.nav-pill-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.08));
  color: rgb(29 78 216);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.prose :where(h1, h2, h3, h4) {
  color: var(--site-ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose :where(p, li, strong, a) {
  color: inherit;
}

.prose a {
  color: rgb(29 78 216);
}

.prose ul,
.prose ol {
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

input,
select,
textarea,
button {
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.38) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

@media (max-width: 1023px) {
  .admin-grid {
    display: block;
  }
}
