﻿:root {
  --bg: #f3f5fb;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --text: #172033;
  --muted: #5f697a;
  --line: #dfe5f1;
  --accent: #435ee8;
  --accent-dark: #27399a;
  --accent-soft: #e8ecff;
  --shadow: 0 28px 82px rgba(38, 52, 96, 0.13);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Tahoma, Geneva, sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(circle at 16% 2%, rgba(67, 94, 232, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 14%, rgba(112, 162, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 48%, #ffffff 100%);
}

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

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

a:focus-visible {
  outline: 3px solid rgba(67, 94, 232, 0.28);
  outline-offset: 4px;
}

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

.policy-card {
  overflow: hidden;
  border: 1px solid rgba(223, 229, 241, 0.96);
  border-radius: var(--radius);
  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;
}

.intro-section {
  background:
    linear-gradient(135deg, rgba(67, 94, 232, 0.1), transparent 45%),
    var(--surface-soft);
}

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

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

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

h2 {
  margin-bottom: 16px;
  color: #192238;
  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-section {
  color: #ffffff;
  background: linear-gradient(135deg, #151b33, #27399a);
}

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

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

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

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

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

  section {
    padding: 22px 18px;
  }

  .policy-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;
  }
}
