body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-size: var(--text-base);
  line-height: 1.5;
}

h1, .page-title {
  font-size: var(--text-xl);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-ink);
}

h2 {
  font-size: var(--text-lg);
  line-height: 1.3;
  font-weight: 700;
}

h3 {
  font-size: var(--text-md);
  line-height: 1.3;
  font-weight: 700;
}

p {
  max-width: 38rem;
}

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

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

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

.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;
}

.sleek-toast {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  margin: 0 auto;
  max-width: 28rem;
  background: var(--color-ink);
  color: var(--color-brand-ink);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.sleek-toast button {
  margin-left: var(--space-3);
}

.freshness,
.refreshed-line {
  color: var(--color-ink-soft);
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.refreshed-banner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
}

.refreshed-banner p {
  margin: 0;
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
