:root {
  --primary: #0072e0;
  --on-primary: #ffffff;
  --primary-container: #b9d9f7;
  --on-primary-container: #01305c;
  --primary-dim: #01549f;

  --background: #ffffff;
  --surface: #f7f9fc;
  --surface-high: #eef3f9;
  --text: #1f2022;
  --text-muted: #5b6067;
  --border: #dde3ea;

  --shadow: 0 1px 2px rgba(31, 32, 34, 0.06), 0 2px 8px rgba(31, 32, 34, 0.05);

  --font-sans: "Inter", "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.875rem;
  --text-2xl: 2.5rem;
  --leading-body: 1.6;
  --leading-heading: 1.25;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #64a9ef;
    --on-primary: #04233f;
    --primary-container: #01549f;
    --on-primary-container: #b9d9f7;

    --background: #1f2022;
    --surface: #26282b;
    --surface-high: #2f3236;
    --text: #f2f4f6;
    --text-muted: #b3b9c0;
    --border: #3a3d42;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: var(--leading-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 var(--space-3);
  color: var(--text);
}

h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
}

p {
  margin: 0 0 var(--space-3);
}

a {
  color: var(--primary);
  text-underline-offset: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-5) 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--primary);
  color: var(--on-primary);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.625rem var(--space-4);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.button--quiet {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
}

th {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
