/*
 * Design tokens and base styles, taken from the approved prototype
 * (design/README.md). Components live in components.css.
 */

:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ink: #18212B;
  --muted: #5B6672;
  --page: #F4F6F8;
  --surface: #FFFFFF;
  --surface-sunken: #F7F8FA;
  --border: #E2E6EA;
  --border-strong: #CBD2D9;
  --divider: #EEF1F3;

  --primary: #0B6461;
  --primary-hover: #084B49;
  --primary-soft: #E3F1F0;
  --primary-on-soft: #0B5250;

  --sidebar: #0F2B2E;
  --sidebar-active: #1C4246;
  --sidebar-text: #C9D6D6;

  --accent: #E3A72F;
  --accent-soft: #FFF4DB;
  --accent-on-soft: #7A4F00;

  --success: #17633A;
  --success-soft: #E6F4EC;
  --danger: #A11D13;
  --danger-soft: #FDECEA;
  --neutral-soft: #F1F3F5;
  --neutral-on-soft: #46505B;

  --radius-control: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --touch: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-hover);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 17px;
  font-weight: 700;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}
