* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #faf9f6;
  color: #26242a;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  line-height: 1.85;
}
a {
  color: #424bc0;
  text-underline-offset: 4px;
}
a:hover {
  color: #bd3531;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #535bea;
  outline-offset: 5px;
}
header,
main,
footer {
  max-width: 960px;
  margin: auto;
  padding: 28px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e5e1df;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 22px;
  font-weight: 750;
}
.brand img {
  border-radius: 12px;
}
header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}
header nav [aria-current] {
  color: #26242a;
  font-weight: 700;
}
main {
  padding-top: 56px;
  padding-bottom: 64px;
}
.eyebrow {
  color: #b63330;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}
h1 {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 12px 0 20px;
}
h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 0 0 14px;
}
h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}
p {
  margin: 12px 0;
}
.intro {
  font-size: 18px;
  color: #625d66;
  max-width: 720px;
}
.meta {
  font-size: 13px;
  color: #706a74;
}
.notice {
  background: #efeffa;
  border-left: 3px solid #535bea;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}
.toc {
  padding: 22px 26px;
  border: 1px solid #e5e1df;
  border-radius: 16px;
  margin: 32px 0;
}
.toc ol {
  margin: 8px 0 0;
  padding-left: 22px;
}
.toc a {
  display: inline-block;
  padding: 4px 0;
}
section {
  margin-top: 36px;
  scroll-margin-top: 24px;
}
ul {
  padding-left: 24px;
}
li {
  margin: 8px 0;
}
.contact {
  background: #fff;
  border: 1px solid #e5e1df;
  border-radius: 20px;
  padding: 28px;
}
.email {
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tag {
  font-size: 13px;
  color: #706a74;
}
details {
  border-bottom: 1px solid #e5e1df;
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 17px;
}
details p {
  color: #625d66;
}
footer {
  border-top: 1px solid #e5e1df;
  color: #706a74;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  main {
    padding-top: 36px;
  }
  .contact {
    padding: 22px;
  }
  header nav {
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
