* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: black;
  background-color: white;
  font-family: system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

header, main, footer, .skip {
  max-width: 40em;
  margin-inline: auto;
  padding-inline: 1rem;
}

header {
  padding-block: 1rem;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: currentColor;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-label, main p a {
  text-decoration-line: underline;
  text-underline-offset: 0.2em;
}

a:hover .link-label, main p a:hover {
  text-decoration-thickness: 3px;
}

nav .link-label {
  text-decoration-line: none;
}

nav a:hover .link-label {
  text-decoration-line: underline;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav a, .action, .skip, summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  min-width: 3rem;
  padding-block: 0.5rem;
}

.skip {
  display: flex;
  position: absolute;
  left: -10000px;
}

.skip:focus {
  position: static;
}

summary {
  display: list-item;
  width: fit-content;
  max-width: 100%;
  padding-inline: 0.75rem;
  border-style: solid;
  border-width: 1px;
  border-color: currentColor;
  cursor: pointer;
  list-style-position: inside;
}

summary:hover {
  outline-style: solid;
  outline-width: 1px;
  outline-color: currentColor;
}

summary span[lang] {
  display: inline-block;
  max-width: 100%;
}

details {
  margin-block-start: 0.5rem;
}

[aria-current="page"] {
  font-weight: 700;
}

a:focus-visible, summary:focus-visible {
  outline-style: solid;
  outline-width: 3px;
  outline-color: currentColor;
  outline-offset: 4px;
}

main {
  padding-block: 2rem 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.4;
  margin-block: 0 1.5rem;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-block: 2lh 1lh;
}

p {
  margin-block: 1.5lh;
}

footer {
  padding-block: 1rem 2rem;
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: currentColor;
}

@media (prefers-color-scheme: dark) {
  body {
    color: white;
    background-color: black;
  }
}
