@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Vollkorn:ital,wght@1,700&display=swap");

:root {
  color: #211d31;
  background: #f4f7fb;
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(104, 78, 194, 0.12), transparent 28rem),
    #f4f7fb;
  line-height: 1.65;
}

a {
  color: #493092;
  font-weight: 600;
}

a:hover {
  color: #2f1b72;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #211d31;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span {
  font-family: "Vollkorn", Georgia, serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 700;
}

.back-link {
  text-decoration: none;
}

main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.hero {
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #5c42aa;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #1c1830;
  line-height: 1.25;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 14px;
  color: #554f65;
}

.hero p {
  max-width: 740px;
  margin-bottom: 18px;
  color: #59536b;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 8px;
  color: #7a7489;
  font-size: 0.92rem;
}

.meta strong {
  color: #554f65;
  font-weight: 600;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}

.legal-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.document {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(73, 48, 146, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 48px rgba(29, 23, 52, 0.07);
}

.document > h2:first-child {
  margin-top: 0;
}

.document ul,
.document ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #554f65;
}

.document li + li {
  margin-top: 8px;
}

.document li ul,
.document li ol {
  margin: 8px 0 0;
}

.updated {
  margin: 28px 0 0;
  color: #7a7489;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 30px max(20px, calc((100% - 920px) / 2));
  color: #fff;
  background: #151225;
}

.site-footer p {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.site-footer a {
  color: #d8d0f4;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 28px, 920px);
    padding: 16px 0;
  }

  .back-link {
    font-size: 0.88rem;
  }

  main {
    width: min(100% - 28px, 920px);
    padding: 20px 0 56px;
  }

  .document {
    border-radius: 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
