/* Milestone 1 bootstrap styles.
   Readable defaults only: no tokens, layout primitives, or components yet.
   Milestone 2 replaces this file with the design system (§4, §6.5). */

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

* {
  margin: 0;
}

html {
  color-scheme: light dark;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: CanvasText;
  background: Canvas;
  padding: 1rem;
}

header,
main,
footer {
  max-width: 68ch;
  margin-inline: auto;
}

header,
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

p,
ul,
h1 {
  margin-block: 0 1rem;
}

a {
  color: LinkText;
}

:focus-visible {
  outline: 2px solid Highlight;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  position: static;
  left: auto;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  overflow-x: auto;
}

img {
  max-width: 100%;
  height: auto;
}
