:root {
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text-color: #e9ecef;
  --muted-color: rgba(233,236,239,.75);
  --line: 1.55;
  /*Optional: slightly tighter headings;*/
  --heading-tight: 1.15;
}

html, body {
  font-family: var(--font-sans);
  line-height: var(--line);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure controls follow the site font */

button, input, textarea, select, .btn, .form-control, .form-select {
  font-family: var(--font-sans);
}

/* Headings: modern + slightly tighter */

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-sans);
  line-height: var(--heading-tight);
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* Make common “UI text” feel crisp */

.navbar, .nav-link, .dropdown-item, .badge, .breadcrumb, .card-title {
  font-weight: 600;
}

/* Body copy */

p, .lead, .card-text, .list-group-item {
  font-weight: 400;
}

/* Tables: slightly denser + readable */

.table {
  font-size: 0.95rem;
}

.table th {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Muted helper (optional) */

.text-muted, small, .small {
  color: var(--muted-color) !important;
}

/* Optional: nicer numeric alignment for logs / panels */

code, pre, .font-monospace {
  font-variant-numeric: tabular-nums;
}

.form-control::placeholder {
  color: var(--bs-secondary-text-emphasis);
  opacity: 1;
}

.form-check-input:checked[type=radio] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fd7e14'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
  background-color: rgba(255,255,255,0.15);
  border-radius: 6px;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
  background-color: rgba(255,255,255,0.15);
  border-radius: 6px;
}

