@import "https://fonts.googleapis.com/css2?family=Baloo&family=Nunito:wght@400;600;700;800&display=swap";
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Nunito, sans-serif;
  color: #30203b;
  background: linear-gradient(145deg, #fff, #fcf7ff 55%, #faf6ff);
}
a {
  color: #8829b0;
  text-underline-offset: 4px;
}
header {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
}
header > a:last-child {
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.logo {
  position: relative;
  display: block;
  width: 150px;
  height: 58px;
  overflow: hidden;
}
.logo img {
  position: absolute;
  width: 150px;
  height: 150px;
  top: -45px;
  left: 0;
}
main {
  max-width: 1140px;
  margin: auto;
  padding: 40px 30px 70px;
}
.heading {
  text-align: center;
  max-width: 830px;
  margin: 0 auto 35px;
}
.label {
  display: inline-block;
  border: 1px solid #e6ceef;
  background: #f3e7f9;
  color: #8825af;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 800;
}
.heading h1 {
  font:
    400 clamp(36px, 5vw, 62px)/1.1 "Baloo",
    cursive;
  margin: 25px 0 18px;
}
.heading p {
  color: #796d7e;
  line-height: 1.8;
  font-size: 18px;
}
.date {
  font-size: 13px;
  color: #88758f;
}
.draft {
  background: #f4eafb;
  border: 1px solid #e4c9ee;
  padding: 22px 26px;
  border-radius: 20px;
  margin-bottom: 35px;
}
.draft p {
  font-size: 14px;
  line-height: 1.7;
  margin: 8px 0 0;
  color: #705b7c;
}
.legal-grid {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 35px;
  align-items: start;
}
.legal-grid nav {
  position: sticky;
  top: 25px;
  display: grid;
  gap: 13px;
  padding: 24px;
  background: #ffffffb8;
  border: 1px solid #eddfef;
  border-radius: 20px;
}
.legal-grid nav a {
  font-size: 13px;
  text-decoration: none;
  line-height: 1.4;
}
.content {
  display: grid;
  gap: 20px;
}
.content section {
  background: #fff;
  border: 1px solid #eddfef;
  border-radius: 23px;
  padding: 30px;
  scroll-margin-top: 25px;
}
.content h2,
.contact h2 {
  font:
    400 27px/1.2 Baloo,
    cursive;
  margin: 0 0 16px;
}
.content h3 {
  font-size: 17px;
  margin: 22px 0 8px;
}
.content p,
.content li {
  font-size: 15px;
  line-height: 1.85;
  color: #716479;
}
.content p:last-child {
  margin-bottom: 0;
}
.pending {
  padding: 13px 16px;
  background: #faf4fe;
  border-left: 3px solid #bb64df;
  border-radius: 0 10px 10px 0;
}
.contact {
  text-align: center;
  margin-top: 45px;
  padding: 30px;
}
.contact p {
  line-height: 1.8;
}
footer {
  max-width: 1140px;
  margin: auto;
  padding: 25px 30px;
  border-top: 1px solid #eaddec;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: #88758f;
}
footer div {
  display: flex;
  gap: 20px;
}
a:focus-visible {
  outline: 3px solid #b656db;
  outline-offset: 4px;
}
@media (max-width: 750px) {
  header {
    padding-inline: 20px;
  }
  main {
    padding: 25px 20px 40px;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-grid nav {
    position: static;
  }
  .content section {
    padding: 24px;
  }
  .heading p {
    font-size: 16px;
  }
  footer {
    flex-direction: column;
    padding-inline: 20px;
  }
  footer div {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.heading h1 {
  color: #c630f8;
}
.summary {
  padding: 22px 26px;
  border: 1px solid #eddfef;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 30px;
  line-height: 1.8;
}
.summary p {
  margin: 0;
}
.content ul {
  padding-left: 22px;
}
.content a {
  overflow-wrap: anywhere;
}
.content h3 {
  color: #30203b;
}
.date {
  display: block;
}
.legal-grid nav a:hover {
  text-decoration: underline;
}
