:root {
  color-scheme: light dark;
  --background: #f5f4ef;
  --background-top: #ffffff;
  --surface: rgba(255, 255, 255, 0.86);
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.62);
  --line: rgba(17, 17, 17, 0.14);
  --grid: rgba(17, 17, 17, 0.045);
  --accent: #111111;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(127, 127, 127, 0.08), transparent 30%),
    linear-gradient(180deg, var(--background-top) 0%, var(--background) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 72%);
}

.policy-shell {
  position: relative;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.policy {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.policy-header {
  padding: 52px 56px 44px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(50px, 9vw, 76px);
  font-style: italic;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.updated {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.updated span {
  margin-right: 8px;
  color: var(--ink);
  font-weight: 600;
}

.policy-content {
  padding: 48px 56px 56px;
}

.introduction {
  margin-top: 0;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.72;
}

section {
  padding-top: 36px;
}

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

h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

p,
li {
  font-size: 15px;
  line-height: 1.78;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
}

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

li::before {
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

strong {
  font-weight: 600;
}

.contact-link {
  margin-top: 18px;
}

a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 160ms ease;
}

a:hover {
  text-decoration-color: var(--ink);
}

a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #090909;
    --background-top: #161616;
    --surface: rgba(20, 20, 20, 0.84);
    --ink: #f3f1ea;
    --ink-soft: rgba(243, 241, 234, 0.64);
    --line: rgba(243, 241, 234, 0.12);
    --grid: rgba(243, 241, 234, 0.04);
    --accent: #f3f1ea;
    --shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 640px) {
  .policy-shell {
    width: min(100% - 24px, 860px);
    padding: 24px 0;
  }

  .policy {
    border-radius: 22px;
  }

  .policy-header {
    padding: 36px 26px 32px;
  }

  .policy-content {
    padding: 34px 26px 40px;
  }

  .introduction {
    font-size: 16px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  body::before {
    display: none;
  }

  .policy-shell {
    width: 100%;
    padding: 0;
  }

  .policy {
    border: 0;
    box-shadow: none;
  }
}
