[data-theme="buildworks"] {
  /* name: "buildworks"; */
  default: true;
  prefersdark: false;
  color-scheme: light;
  /* Surfaces: header/cards -> page bg -> borders */
  --color-base-100: #ffffff; /* white (header, cards, inputs) */
  --color-base-200: #e8edf3; /* cool slate wash */
  --color-base-300: #cbd5e1; /* slate-300 (borders) */
  --color-base-content: #0f172a; /* slate-900 */
  /* btn_primary: bg-slate-900 text-white */
  --color-primary: #0f172a;
  --color-primary-content: #ffffff;
  /* btn_secondary: bg-gray-200 text-gray-800 */
  --color-secondary: #e5e7eb;
  --color-secondary-content: #1f2937;
  /* Brand red from logo mark */
  --color-accent: #ff373d;
  --color-accent-content: #ffffff;
  /* Table header, active tabs: slate-900 on slate-100 */
  --color-neutral: oklch(92.9% 0.013 255.508);
  --color-neutral-content: oklch(12.9% 0.042 264.695);
  --color-info: #0ea5e9;
  --color-info-content: #ffffff;
  --color-success: oklch(
    72.3% 0.219 149.579
  ); /* emerald-600 (matches your passed badge) */
  --color-success-content: oklch(26.6% 0.065 152.934);
  --color-warning: oklch(82.8% 0.189 84.429); /* yellow-500 (btn_warning) */
  --color-warning-content: oklch(27.9% 0.077 45.635);
  --color-error: oklch(63.7% 0.237 25.331); /* red-500 (btn_danger) */
  --color-error-content: #ffffff;
  --radius-selector: 0.375rem; /* badges (rounded-md) */
  --radius-field: 0.5rem; /* buttons, inputs (rounded-lg) */
  --radius-box: 0.75rem; /* cards, modals (rounded-xl) */
  --size-selector: 0.25rem; /* badge height = 1.5rem, same as yours */
  --size-field: 0.225rem; /* btn height = 2.25rem (py-2 + text-sm) */
  --border: 1px;
  --depth: 0; /* flat, like your design */
  --noise: 0;

  --bw-brand: #ff373d;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
}

.font-sans {
  font-family: var(--font-sans);
}

.font-display {
  font-family: var(--font-display);
  font-weight: 600;
}

/* —— Homepage hero —— */
.hero-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 600px at 85% 10%,
      rgba(255, 55, 61, 0.08),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 10% 90%,
      rgba(15, 23, 42, 0.06),
      transparent 50%
    ),
    linear-gradient(165deg, #f8fafc 0%, #e8edf3 48%, #dbe3ee 100%);
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.hero-home .hero-content {
  position: relative;
  z-index: 1;
}

.brand-mark {
  animation: rise-in 0.7s ease-out both;
}

.hero-copy h1 {
  animation: rise-in 0.75s ease-out 0.08s both;
}

.hero-copy > p {
  animation: rise-in 0.75s ease-out 0.16s both;
}

.hero-copy .btn,
.hero-copy a.btn {
  animation: rise-in 0.75s ease-out 0.24s both;
}

.hero-visual {
  animation: rise-in 0.9s ease-out 0.2s both;
}

.request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: var(--radius-box);
  background: var(--color-base-100);
  border: 1px solid var(--color-base-300);
  padding: 0.75rem 0.875rem;
}

.request-row--in {
  animation: rise-in 0.6s ease-out both;
  animation-delay: var(--delay, 0ms);
}

.status-dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: currentColor;
}

.status-dot-live {
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.cta-band {
  background:
    radial-gradient(
      700px 280px at 50% 0%,
      rgba(255, 55, 61, 0.1),
      transparent 70%
    ),
    var(--color-base-200);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark,
  .hero-copy h1,
  .hero-copy > p,
  .hero-copy .btn,
  .hero-copy a.btn,
  .hero-visual,
  .request-row--in,
  .status-dot-live {
    animation: none;
  }
}

/* —— Docs / Help Center —— */
.docs-shell {
  border-top: 1px solid var(--color-base-300);
  min-height: calc(100vh - 12rem);
}

.docs-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .docs-sidebar {
    display: block;
    width: 15.5rem;
    flex-shrink: 0;
    border-left: 1px solid var(--color-base-300);
    background: color-mix(in srgb, var(--color-base-200) 55%, white);
  }

  .docs-sidebar-inner {
    /* position: sticky; */
    /* top: 4.25rem; */
    /* max-height: calc(100vh - 4.25rem); */
    /* overflow-y: auto; */
    padding: 1.5rem 1.25rem 2rem 1rem;
  }
}

.docs-sidebar-home {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-base-content);
}

.docs-nav-group + .docs-nav-group {
  margin-top: 1.25rem;
}

.docs-nav-label {
  margin-bottom: 0.35rem;
  padding-inline: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.docs-sidebar .menu a.active {
  background: var(--color-base-100);
  font-weight: 600;
  /* box-shadow: inset 2px 0 0 var(--bw-brand); */
}

.docs-prose {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.docs-prose > * + * {
  margin-top: 1rem;
}

.docs-prose h2 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-base-content);
}

.docs-prose h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-base-content);
}

.docs-prose a {
  color: var(--bw-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.docs-prose ul {
  list-style: disc;
}

.docs-prose ol {
  list-style: decimal;
}

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

.docs-prose strong {
  color: var(--color-base-content);
  font-weight: 600;
}

.docs-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.docs-prose th,
.docs-prose td {
  border: 1px solid var(--color-base-300);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.docs-prose th {
  background: var(--color-base-200);
  font-weight: 600;
  color: var(--color-base-content);
}

.docs-prose code {
  border-radius: 0.25rem;
  background: var(--color-base-200);
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}
