﻿:root {
  --bg: #f3f4ef;
  --paper: #ffffff;
  --paper-soft: #fbfaf4;
  --text: #1f2725;
  --muted: #63716d;
  --line: #dde1d8;
  --accent: #58745b;
  --accent-dark: #2f4f36;
  --shadow: 0 22px 70px rgba(31, 39, 37, 0.1);
  --radius-lg: 28px;
}

*,
*::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 top left, rgba(88, 116, 91, 0.12), transparent 28rem),
    linear-gradient(180deg, #fafbf7 0%, var(--bg) 52%, #ffffff 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

a:focus-visible {
  outline: 3px solid rgba(88, 116, 91, 0.3);
  outline-offset: 4px;
}

.policy-page {
  width: min(calc(100% - 32px), 980px);
  margin: clamp(20px, 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.5vw, 54px);
  border-top: 1px solid var(--line);
}

.policy-header {
  border-top: 0;
  background:
    linear-gradient(135deg, rgba(88, 116, 91, 0.12), transparent 44%),
    var(--paper-soft);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 7vw, 4.8rem);
  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: 860px;
  padding-left: 1.15rem;
  color: var(--muted);
}

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

strong {
  color: var(--text);
}

.contact-section {
  background: var(--paper);
}

.contact-section h2,
.contact-section p,
.contact-section a {
  color: var(--text);
}

.contact-section p {
  color: var(--muted);
}

.contact-section a {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

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

  .eyebrow {
    font-size: 0.74rem;
  }
}

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