:root {
  --ink: #0a0911;
  --ink-rise: #191026;
  --paper: #f8f5fa;
  --paper-muted: #eee8f2;
  --text: #2a2030;
  --muted: #6d6175;
  --bone: #f2eef6;
  --pink: #f0609f;
  --purple: #9a5de6;
  --line: rgba(42, 32, 48, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 12% 2%,
      rgba(240, 96, 159, 0.18),
      transparent 32rem
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(154, 93, 230, 0.18),
      transparent 34rem
    ),
    var(--ink);
  color: var(--bone);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.legal-wrap {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

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

.brand img {
  display: block;
  width: auto;
  height: clamp(28px, 3vw, 34px);
}

.back-link {
  color: rgba(242, 238, 246, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--bone);
}

.legal-wrap {
  padding: 2.5rem 0 5rem;
}

.legal-hero {
  max-width: 830px;
  margin: 0 auto 2rem;
}

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

h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 420;
  letter-spacing: -0.03em;
  line-height: 1;
}

.updated {
  margin: 1rem 0 0;
  color: rgba(242, 238, 246, 0.65);
  font-size: 0.9rem;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.legal-card .intro {
  margin: 0;
  color: #403347;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.contents {
  margin: 2rem 0 2.75rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--paper-muted);
}

.contents strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contents ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  margin: 0;
  padding-left: 1.25rem;
}

.contents a {
  color: #5b347d;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-card section {
  padding-top: 0.4rem;
  scroll-margin-top: 1rem;
}

.legal-card h2 {
  margin: 2.8rem 0 0.8rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.legal-card h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1rem;
}

.legal-card p {
  margin: 0.75rem 0;
}

.legal-card ul {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.legal-card li {
  margin: 0.35rem 0;
}

.legal-card a {
  color: #693c91;
  text-underline-offset: 0.18em;
}

.notice {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--purple);
  border-radius: 0 0.65rem 0.65rem 0;
  background: #eee7f5;
}

.contact-block {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 0.8rem;
  background: var(--paper-muted);
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid rgba(242, 238, 246, 0.12);
  color: rgba(242, 238, 246, 0.65);
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  text-underline-offset: 0.2em;
}

@media (max-width: 700px) {
  .legal-wrap {
    padding-top: 1.5rem;
  }
  .contents ol {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }
  .site-header,
  .site-footer,
  .contents {
    display: none;
  }
  .legal-wrap {
    width: 100%;
    padding: 0;
  }
  .legal-hero {
    color: #000;
  }
  .updated {
    color: #555;
  }
  .legal-card {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
