﻿:root {
  --bg: #eef3f1;
  --paper: #ffffff;
  --paper-soft: #f7fbf9;
  --text: #172420;
  --muted: #62716d;
  --line: #d9e4df;
  --accent: #257a66;
  --accent-dark: #155545;
  --accent-soft: #dff3ed;
  --shadow: 0 24px 76px rgba(24, 58, 50, 0.12);
  --radius-lg: 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 16% 2%, rgba(37, 122, 102, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(79, 156, 132, 0.14), transparent 24rem),
    linear-gradient(180deg, #fbfefd 0%, var(--bg) 48%, #ffffff 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
}

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

a:focus-visible {
  outline: 3px solid rgba(37, 122, 102, 0.3);
  outline-offset: 4px;
}

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

.policy-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  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(37, 122, 102, 0.12), transparent 44%),
    var(--paper-soft);
}

.policy-date {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

p {
  max-width: 850px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: clamp(0.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;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible,
html:not(.js-ready) [data-reveal] {
  opacity: 1;
  transform: none;
}

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

  .policy-date {
    font-size: 0.7rem;
  }
}

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