@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Background & Surface */
  --bg: #0A0C10;
  --surface: #111318;
  --surface-hover: #191c24;
  --border: #1E2229;

  /* Text */
  --text: #E8E9EB;
  --muted: #8D939E;
  --text-muted: #8D939E;

  /* Accent — Gold */
  --gold: #D4A843;
  --gold-dk: #B8912E;
  --accent: #D4A843;
  --accent-dim: rgba(212, 168, 67, 0.12);
  --accent-hover: #B8912E;

  /* Semantic */
  --green: #3DB87A;
  --success: #3DB87A;
  --danger: #e05252;

  /* Layout */
  --max-w: 700px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Border Radius */
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Accessibility: visible keyboard focus on all interactive elements */
:where(a, button, input, select, textarea, [tabindex], [role="button"]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Status/choice cards that wrap a hidden radio/checkbox — expose focus on the card */
.status-card:has(input:focus-visible),
.option-card:has(input:focus-visible),
label:has(input[type="radio"]:focus-visible),
label:has(input[type="checkbox"]:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Touch targets: secondary/inline buttons below 44px minimum */
.btn-nav,
.toggle-btn {
  min-height: 44px;
}

/* Screen-reader-only utility (visually hidden but announced by AT) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
