﻿:root {
  --bg: #f3eefb;
  --paper: #ffffff;
  --paper-soft: #faf7ff;
  --text: #21182f;
  --muted: #6f637b;
  --line: #e4d9ef;
  --purple: #7650d8;
  --purple-dark: #47287f;
  --pink: #cc78d8;
  --shadow: 0 24px 78px rgba(68, 42, 118, 0.14);
  --radius: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(118, 80, 216, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(204, 120, 216, 0.14), transparent 24rem),
    linear-gradient(180deg, #fcfaff 0%, var(--bg) 48%, #ffffff 100%);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
}

a { color: var(--purple-dark); font-weight: 700; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid rgba(118, 80, 216, 0.32); outline-offset: 4px; }
.policy-page {
  width: min(calc(100% - 32px), 980px);
  margin: clamp(18px, 5vw, 66px) auto clamp(36px, 8vw, 96px);
}
.policy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.policy-header, section {
  padding: clamp(24px, 4.6vw, 54px);
  border-top: 1px solid var(--line);
}
.policy-header {
  border-top: 0;
  background:
    linear-gradient(135deg, rgba(118, 80, 216, 0.14), transparent 44%),
    var(--paper-soft);
}
.label {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(118, 80, 216, 0.25);
  border-radius: 999px;
  color: var(--purple-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #efe7ff;
}
h1, h2, p, ul { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.065em;
}
h2 {
  margin-bottom: 14px;
  color: var(--purple-dark);
  font-size: clamp(1.4rem, 2.9vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
p {
  max-width: 850px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: clamp(.98rem, 1.35vw, 1.06rem);
}
p:last-child, ul:last-child { margin-bottom: 0; }
ul { max-width: 850px; padding-left: 1.15rem; color: var(--muted); }
li + li { margin-top: 9px; }
@media (max-width: 768px) {
  .policy-page { width: min(calc(100% - 24px), 980px); }
  .policy-card { border-radius: 22px; }
}
@media (max-width: 430px) {
  body { line-height: 1.6; }
  .policy-page { width: min(calc(100% - 20px), 980px); margin-top: 10px; }
  .policy-header, section { padding: 22px 16px; }
  .label { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
