﻿:root {
  --bg: #eef7f1;
  --surface: #ffffff;
  --surface-soft: #f5fbf7;
  --text: #142019;
  --muted: #5b6b61;
  --line: #d8e8de;
  --accent: #16845c;
  --accent-dark: #0c5d40;
  --blue: #2c79c5;
  --shadow: 0 26px 78px rgba(18, 69, 48, 0.12);
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(circle at 14% 4%, rgba(22, 132, 92, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(44, 121, 197, 0.14), transparent 28rem),
    linear-gradient(180deg, #f7fff9 0%, var(--bg) 48%, #ffffff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 50%);
}

a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 3px solid rgba(22, 132, 92, 0.28);
  outline-offset: 4px;
}

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

.policy-document {
  overflow: hidden;
  border: 1px solid rgba(216, 232, 222, 0.95);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

section {
  padding: clamp(24px, 4.5vw, 54px);
  border-top: 1px solid var(--line);
}

section:first-child {
  border-top: 0;
}

.policy-hero {
  background:
    linear-gradient(135deg, rgba(22, 132, 92, 0.12), transparent 45%),
    var(--surface-soft);
}

.effective-date {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  background: #dff3e8;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 6.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 16px;
  color: #17251d;
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

p {
  max-width: 850px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
}

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

ul {
  max-width: 860px;
  padding-left: 1.15rem;
  color: var(--muted);
}

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

.contact-block {
  color: #ffffff;
  background: linear-gradient(135deg, #10251b, #183a2c);
}

.contact-block h2,
.contact-block p,
.contact-block a {
  color: #ffffff;
}

.contact-block p {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 768px) {
  .policy-page {
    width: min(calc(100% - 24px), 980px);
  }

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

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

  section {
    padding: 22px 18px;
  }

  .effective-date {
    font-size: 0.76rem;
  }
}

@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;
  }
}
