@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");
}
body {
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mark {
  margin-right: auto;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #1d1d1f;
}
.mark::before {
  content: "S";
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.45rem;
  border-radius: 0.4rem;
  background: #7116cd;
  color: #fff;
  font-size: 0.85rem;
}
.navlink { color: #3f4654; text-decoration: none; font-size: 0.95rem; }
.cover { padding: 3rem 1.4rem 1rem; max-width: 980px; margin: 0 auto; }
.cover__title, h1, h2, h3 {
  font-family: "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.cover__title { font-size: clamp(2.6rem, 5vw, 4.2rem); margin: 0.2rem 0; }
.cover__sub { color: #3f4654; max-width: 40rem; }
.sec.wrap, .doc { max-width: 1100px; margin: 0 auto; }
.doc { display: grid; gap: 1.5rem; padding: 0 1.2rem 4rem; }
.doc__body { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 1.2rem; padding: 1.4rem 1.3rem; }
.clause { margin: 0 0 0.9rem; }
.partmark { margin: 1.6rem 0 0.6rem; }
.partmark__k { display: block; color: #5f11b0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.partmark__t { font-family: "Hanken Grotesk", Inter, sans-serif; font-size: 1.6rem; }
.doc__toc { list-style: none; padding: 0; margin: 0; }
.doc__toc a { color: #3f4654; text-decoration: none; }
.doc__toc a:hover { color: #7116cd; }
@media (min-width: 960px) {
  .doc { grid-template-columns: 240px 1fr; align-items: start; }
  .doc__side { position: sticky; top: 5rem; }
}
