﻿:root {
  --ink: #17201c;
  --muted: #657168;
  --paper: #fffdf7;
  --paper-deep: #f5efe2;
  --surface: rgba(255, 253, 247, 0.9);
  --line: #e5dac7;
  --olive: #6f7d3d;
  --clay: #b86f42;
  --plum: #3b273f;
  --cream: #fbf4e7;
  --shadow: 0 26px 90px rgba(50, 36, 22, 0.16);
  --radius-lg: 34px;
  --radius-md: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 111, 66, 0.16), transparent 24rem),
    radial-gradient(circle at 92% 4%, rgba(111, 125, 61, 0.18), transparent 26rem),
    linear-gradient(135deg, #fbf4e7 0%, #f7efe1 46%, #fffdf7 100%);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.68;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(59, 39, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 39, 63, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(184, 111, 66, 0.34);
  outline-offset: 4px;
}

.policy-shell {
  width: min(calc(100% - 32px), 1060px);
  margin: clamp(20px, 5vw, 70px) auto clamp(36px, 8vw, 96px);
}

.policy-document {
  overflow: hidden;
  border: 1px solid rgba(229, 218, 199, 0.95);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.policy-hero,
.policy-section,
.contact-card {
  position: relative;
  padding: clamp(24px, 4.8vw, 58px);
  border-top: 1px solid var(--line);
}

.policy-hero {
  min-height: clamp(360px, 54vw, 520px);
  display: grid;
  align-content: end;
  border-top: 0;
  background:
    linear-gradient(135deg, rgba(111, 125, 61, 0.15), transparent 44%),
    linear-gradient(0deg, rgba(255, 253, 247, 0.72), rgba(255, 253, 247, 0.72)),
    var(--paper-deep);
}

.policy-hero::after {
  position: absolute;
  top: clamp(24px, 5vw, 62px);
  right: clamp(20px, 5vw, 64px);
  width: clamp(86px, 15vw, 160px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 111, 66, 0.36);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, transparent 35%, rgba(184, 111, 66, 0.18) 36% 38%, transparent 39%),
    radial-gradient(circle at 50% 50%, rgba(111, 125, 61, 0.14), transparent 58%);
}

.policy-label {
  width: fit-content;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid rgba(111, 125, 61, 0.28);
  border-radius: 999px;
  color: var(--plum);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 253, 247, 0.7);
}

h1,
h2,
h3,
p,
ul,
dl {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--plum);
  font-size: clamp(1.55rem, 3.5vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  color: #2e3324;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.24;
}

h3:not(:first-child) {
  margin-top: 28px;
}

p {
  max-width: 860px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.1rem);
}

p:last-child,
ul:last-child,
dl:last-child {
  margin-bottom: 0;
}

.section-number {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 111, 66, 0.28);
  border-radius: 999px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(184, 111, 66, 0.08);
}

ul {
  max-width: 890px;
  margin-bottom: 18px;
  padding-left: 1.15rem;
  color: var(--muted);
}

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

strong,
dt {
  color: var(--ink);
}

dl {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 12px 18px;
  max-width: 940px;
}

dt,
dd {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.64);
}

dt {
  margin: 0;
  color: var(--olive);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  color: #fff8ec;
  background:
    radial-gradient(circle at 90% 0%, rgba(184, 111, 66, 0.26), transparent 20rem),
    linear-gradient(135deg, #2a2030, #3b273f);
}

.contact-card .section-number {
  border-color: rgba(255, 248, 236, 0.3);
  color: #ffd8a8;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card h2,
.contact-card p,
.contact-card a {
  color: #fff8ec;
}

.contact-card p {
  color: rgba(255, 248, 236, 0.78);
}

.contact-card a {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 800;
  text-underline-offset: 6px;
}

@media (max-width: 900px) {
  .policy-shell {
    width: min(calc(100% - 24px), 1060px);
  }

  .policy-document {
    border-radius: 26px;
  }

  .policy-hero {
    min-height: auto;
    padding-top: clamp(92px, 18vw, 140px);
  }

  dl {
    grid-template-columns: 1fr;
  }

  dd {
    margin-top: -8px;
  }
}

@media (max-width: 520px) {
  body {
    line-height: 1.6;
  }

  .policy-shell {
    width: min(calc(100% - 20px), 1060px);
    margin-top: 10px;
  }

  .policy-document {
    border-radius: 20px;
  }

  .policy-hero,
  .policy-section,
  .contact-card {
    padding: 22px 16px;
  }

  .policy-hero {
    padding-top: 92px;
  }

  .policy-hero::after {
    top: 18px;
    right: 16px;
    width: 72px;
  }

  .policy-label {
    font-size: 0.78rem;
  }

  .section-number {
    min-width: 44px;
    min-height: 30px;
    font-size: 0.74rem;
  }

  dt,
  dd {
    padding: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
