:root {
  --radius-control: 13px;
  --ease-out: cubic-bezier(.2, .75, .3, 1);
  --font: Inter, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

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

html { scroll-padding-top: 1.25rem; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}

a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 4;
  padding: .65rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  background: var(--action);
  color: var(--on-action);
  border-radius: var(--radius-control);
}

.skip-link:focus { transform: none; }

.profile-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--panel-avatar);
  color: var(--on-panel);
  font-weight: 720;
  line-height: 1;
}

.profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

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