/* Orpheus API docs — the hireorpheus.com look on Scalar (see orpheus/site/site.css).
   Stone dark, one sans, one mono, hairlines. Dark only: .light-mode gets the same palette, so a saved preference can't flip it. */

:root {
  --bg: #141211;
  --fg: #e7e5e4;
  --dim: #78716c;
  --line: #44403c;
  --green: #86efac;
  --amber: #f4b444;
  --blue: #0976f2;
  --font-text: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --scalar-radius: 6px;
  --scalar-radius-lg: 7px;
  --scalar-radius-xl: 7px;
  --scalar-font: var(--font-text);
  --scalar-font-code: var(--font-mono);
  --scalar-bold: 600;
  --scalar-semibold: 500;
  --scalar-regular: 400;
  --scalar-font-medium: 500;
  --scalar-font-bold: 600;
  --scalar-link-font-weight: 400;
  --scalar-text-decoration: underline;
  --scalar-text-decoration-hover: underline;
}

.light-mode,
.dark-mode {
  --scalar-color-1: var(--fg);
  --scalar-color-2: #d6d3d1;
  --scalar-color-3: var(--dim);
  --scalar-color-accent: var(--fg);
  --scalar-background-1: var(--bg);
  --scalar-background-2: #1c1917;
  --scalar-background-3: #292524;
  --scalar-background-accent: rgba(231, 229, 228, 0.08);
  --scalar-border-color: var(--line);
  --scalar-button-1: var(--fg);
  --scalar-button-1-hover: #d6d3d1;
  --scalar-button-1-color: var(--bg);
  --scalar-color-blue: #5aa4ff;
  --scalar-color-orange: var(--amber);
  --scalar-color-green: var(--green);
  --scalar-color-red: #fca5a5;
  --scalar-color-yellow: var(--amber);
  --scalar-color-purple: #5aa4ff;
  --scalar-color-query: #5aa4ff;
  --scalar-scrollbar-color: rgba(255, 255, 255, 0.14);
  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.3);
}

/* sidebar: same stock, hairline edge, active item gets a dot */
.light-mode .t-doc__sidebar,
.dark-mode .t-doc__sidebar {
  --scalar-sidebar-background-1: var(--scalar-background-1);
  --scalar-sidebar-color-1: var(--scalar-color-1);
  --scalar-sidebar-color-2: var(--scalar-color-3);
  --scalar-sidebar-color-active: var(--scalar-color-1);
  --scalar-sidebar-item-hover-color: var(--scalar-color-1);
  --scalar-sidebar-item-hover-background: transparent;
  --scalar-sidebar-item-active-background: var(--scalar-background-accent);
  --scalar-sidebar-border-color: var(--line);
  --scalar-sidebar-search-background: transparent;
  --scalar-sidebar-search-border-color: var(--line);
  --scalar-sidebar-search-color: var(--scalar-color-3);
}

body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--fg);
  color: var(--bg);
}

/* display type: big, light, tight — the hero line */
h1.section-header-label,
h1.t-editor__heading,
.t-editor__page-title h1,
.markdown h1 {
  font-family: var(--font-text) !important;
  font-weight: 400 !important;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem) !important;
}
h2.section-header-label,
h2.t-editor__heading,
.markdown h2 {
  font-family: var(--font-text) !important;
  font-weight: 400 !important;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  font-size: 1.85rem !important;
  border: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
h3.section-header-label,
.markdown h3,
.markdown h4,
.section-content h3:not(.section-header-label) {
  font-family: var(--font-text) !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em;
  color: var(--fg) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}
h3.section-header-label {
  font-size: 1.2rem !important;
}

/* labels: the row codes — mono, uppercase, small */
.t-doc__sidebar [class~='group/group-button'] > button,
.t-doc__sidebar [class~='group/group-button'] > a,
.t-doc__sidebar .sidebar-group-title,
.t-doc__sidebar .sidebar-heading,
.t-doc__toc .header,
.page-header,
.markdown table th,
.badge,
.sidebar-heading-type,
.scalar-api-reference .http-method,
[class*='http-method'] {
  font-family: var(--font-mono) !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0;
}
.t-doc__sidebar .sidebar-group-title,
.t-doc__sidebar .sidebar-heading,
.t-doc__toc .header,
.page-header {
  font-size: 0.75rem;
}
.badge {
  font-size: 0.7rem;
}

/* buttons: the light pill from the site */
.scalar-button-solid,
.scalar-button-outlined {
  font-weight: 500 !important;
}
.scalar-button-solid {
  transition: opacity 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scalar-button-solid:hover {
  opacity: 0.85;
}

/* header: hairline, underlined links like the site's nav */
header.t-header,
.t-doc__header,
.references-header {
  border-bottom: 1px solid var(--line) !important;
}
.t-header__nav a,
.t-header__nav button {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.t-header__nav a:hover {
  color: var(--dim);
}
.t-doc__sidebar {
  border-right: 1px solid var(--line) !important;
}

/* tables, quotes, links */
.markdown table th {
  font-size: 0.75rem;
  border-bottom: 1px solid var(--line) !important;
}
.markdown blockquote {
  border-left: 2px solid var(--fg);
}
.markdown a,
.t-editor__page-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.markdown a:hover {
  color: var(--dim);
}

/* logo sizing */
.t-header .logo,
.t-doc__header img,
.t-doc__sidebar-logo img,
.sidebar-logo img,
img[alt='Orpheus'] {
  height: 28px;
  width: auto;
}

/* footer: the site's foot — mono, uppercase, dim */
.orpheus-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  font: 500 0.75rem/1.4 var(--font-mono);
  text-transform: uppercase;
  color: var(--dim);
}
.orpheus-foot a:hover {
  color: var(--fg);
}

/* belt and braces: the page stock itself */
html,
body,
.light-mode,
.dark-mode {
  background: var(--bg);
  color-scheme: dark;
}
