:root {
  color: #171717;
  background: #fffafc;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgb(255 107 157 / 18%), transparent 34rem),
    radial-gradient(circle at top right, rgb(142 68 173 / 14%), transparent 30rem),
    #fffafc;
  color: #262126;
  line-height: 1.7;
}

a {
  color: #8e44ad;
}

a:hover {
  color: #d53f79;
}

.site-header {
  border-bottom: 1px solid rgb(23 23 23 / 8%);
  background: rgb(255 250 252 / 88%);
  backdrop-filter: blur(16px);
}

.site-header-inner,
.legal-shell,
.site-footer-inner {
  width: min(100% - 2rem, 880px);
  margin-inline: auto;
}

.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 2.5rem;
  object-fit: contain;
}

.back-link {
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-shell {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #d53f79;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: #6c6269;
  font-size: 1.12rem;
}

.notice,
.legal-card {
  margin-top: 2.5rem;
  border: 1px solid rgb(142 68 173 / 16%);
  border-radius: 22px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 18px 70px rgb(75 24 66 / 8%);
}

.notice {
  padding: 1rem 1.2rem;
  color: #6c405f;
  font-size: 0.92rem;
}

.legal-card {
  padding: clamp(1.5rem, 5vw, 3.2rem);
}

.legal-card h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.35rem;
  line-height: 1.25;
  scroll-margin-top: 2rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #554e53;
}

.legal-card h3 {
  margin: 1.5rem 0 0.45rem;
  color: #332c31;
  font-size: 1.05rem;
  line-height: 1.35;
}

.legal-card ul {
  padding-left: 1.3rem;
}

.company-address {
  margin-bottom: 2rem;
  color: #554e53;
  font-style: normal;
}

.legal-card .document-meta {
  margin-bottom: 0.75rem;
  color: #8e44ad;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card .document-author {
  margin-bottom: 2rem;
  color: #5f5f5f;
  font-size: 0.95rem;
}

.legal-card .document-author a {
  color: #8e44ad;
  font-weight: 700;
  text-decoration: none;
}

.legal-card .document-author a:hover {
  text-decoration: underline;
}

.legal-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.legal-index a {
  display: block;
  padding: 1.2rem;
  border: 1px solid rgb(142 68 173 / 16%);
  border-radius: 16px;
  background: #fff;
  color: #332c31;
  font-weight: 800;
  text-decoration: none;
}

.legal-index a:hover {
  border-color: rgb(213 63 121 / 45%);
  color: #d53f79;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff6b9d, #8e44ad, #e67e22);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button-secondary {
  border: 1px solid rgb(23 23 23 / 14%);
  background: #fff;
  color: #332c31;
}

.site-footer {
  border-top: 1px solid rgb(23 23 23 / 8%);
}

.site-footer-inner {
  padding-block: 2rem;
  color: #81777e;
  font-size: 0.8rem;
}

@media (max-width: 540px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .legal-index {
    grid-template-columns: 1fr;
  }
}
