﻿:root {
  --bg: #f3f6fb;
  --paper: #ffffff;
  --paper-soft: #f8fbff;
  --text: #172033;
  --muted: #5e6a80;
  --line: #dbe3ef;
  --accent: #2558d8;
  --accent-dark: #183c99;
  --shadow: 0 24px 70px rgba(35, 55, 90, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.72;
  background:
    radial-gradient(circle at top left, rgba(37, 88, 216, 0.16), transparent 34rem),
    linear-gradient(180deg, #eef4ff 0%, var(--bg) 42%, #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 46%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgba(37, 88, 216, 0.35);
  outline-offset: 4px;
}

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

.policy-card {
  overflow: hidden;
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.policy-card section:first-child {
  border-top: 0;
}

.hero {
  background:
    linear-gradient(135deg, rgba(37, 88, 216, 0.1), transparent 42%),
    var(--paper-soft);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: #e8efff;
}

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

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

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  color: #24304a;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.3;
}

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

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

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

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

dl {
  display: grid;
  gap: 12px;
}

dt {
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
}

dd {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: var(--paper-soft);
}

.contact-box {
  background: #111b2f;
}

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

.contact-box p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

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

  .policy-card section {
    padding: 22px 18px;
  }

  .eyebrow {
    font-size: 0.78rem;
  }

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