:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #3b2c34;
  background: #fff8ed;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}
header {
  padding: 32px 0 20px;
  border-bottom: 1px solid #ddcdd4;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
main {
  padding: 24px 0;
}
footer {
  padding: 20px 0 36px;
  border-top: 1px solid #ddcdd4;
}
h1,
h2 {
  line-height: 1.25;
  text-wrap: balance;
}
h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
}
h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
}
p,
ul {
  margin: 12px 0;
}
li {
  margin: 8px 0;
}
a {
  color: #6c3651;
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid #6c3651;
  outline-offset: 5px;
  border-radius: 2px;
}
.updated {
  color: #6d5a65;
  font-size: 0.9rem;
}
.summary {
  padding: 16px 20px;
  border-left: 3px solid #6c3651;
  background: #fffcf6;
}
@media (max-width: 480px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  header {
    padding-top: 24px;
  }
  ul {
    padding-left: 24px;
  }
}

/* Public trust navigation follows the current notebook palette and touch targets. */
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.legal-skip {
  position: absolute;
  top: 8px;
  left: 16px;
  padding: 10px 16px;
  background: #fff8ed;
  transform: translateY(-150%);
}
.legal-skip:focus {
  transform: none;
}
