:root {
  --ink: #17131f;
  --muted: #6f6878;
  --soft: #f8f3fb;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(35, 24, 55, 0.12);
  --purple: #3d1768;
  --purple-2: #6e46b8;
  --pink: #c94a88;
  --success: #1f9f77;
  --warning: #b98219;
  --shadow: 0 18px 48px rgba(35, 24, 55, 0.08);
  --radius: 28px;
  --max: 980px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  line-height: 1.65;
}

a {
  color: var(--purple-2);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 12px 26px rgba(201, 74, 136, 0.28);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a,
.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 700;
}

.top-nav a.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 48px;
}

.hero {
  padding: 58px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 900;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--purple);
}

.meta {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.notice,
.important,
.callout {
  margin-top: 24px;
  border: 1px solid rgba(110, 70, 184, 0.2);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 10px 32px rgba(35, 24, 55, 0.05);
}

.important {
  border-color: rgba(185, 130, 25, 0.28);
  background: rgba(255, 248, 232, 0.86);
  color: #4a3510;
}

.callout {
  border-color: rgba(31, 159, 119, 0.22);
  background: rgba(237, 252, 247, 0.8);
  color: #113c31;
}

.legal-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.contents {
  margin-bottom: 36px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(61, 23, 104, 0.05);
  border: 1px solid rgba(61, 23, 104, 0.08);
}

.contents h2 {
  margin-top: 0;
}

.contents ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 40px;
}

section {
  scroll-margin-top: 24px;
  padding-top: 16px;
}

section + section {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

h2,
h3 {
  letter-spacing: 0;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  margin: 0 0 18px;
}

h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin-top: 0;
  padding-left: 22px;
}

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

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 8px;
}

.policy-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.policy-box strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 42px;
  }

  .contents ol,
  .policy-grid {
    columns: 1;
    grid-template-columns: 1fr;
  }

  .legal-card {
    border-radius: 24px;
  }

  .top-nav {
    justify-content: flex-start;
  }
}
