/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--ink); }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
main:focus-visible { outline: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px; top: 12px;
  z-index: 100;
  transform: translateY(calc(-100% - 16px));
  padding: 10px 16px;
  background: var(--ink); color: var(--on-ink);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 6px 24px oklch(0% 0 0 / 0.18);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
