:root {
  color-scheme: light;
  --night: #11182a;
  --night-soft: #1c2742;
  --ink: #252d3f;
  --muted: #687288;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --line: #dce2ec;
  --accent: #526ba6;
  --gold: #a9884f;
  --focus: #275fd2;
  --shadow: 0 22px 70px rgba(17, 24, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(82, 107, 166, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(82, 107, 166, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

a {
  color: #365a9e;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #213f78;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.masthead {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 226, 236, 0.85);
  background: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(14px);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--night);
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(169, 136, 79, 0.5);
  border-radius: 50%;
  background: var(--night);
  color: #f1e4c5;
  font: 600 18px/1 Georgia, serif;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.16em;
  font-size: 14px;
}

.brand small {
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.status {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #4e5b70;
  font-size: 13px;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d8a62;
  box-shadow: 0 0 0 4px rgba(45, 138, 98, 0.12);
}

.status--test span {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(169, 136, 79, 0.14);
}

.layout {
  width: min(900px, calc(100% - 40px));
  margin: 44px auto 80px;
}

.policy {
  min-width: 0;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy h1,
.policy h2 {
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.18;
}

.policy h1 {
  max-width: 720px;
  margin: 0 0 50px;
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: -0.035em;
}

.policy h1::after {
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
}

.document-subtitle {
  max-width: 720px;
  margin: -32px 0 38px;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.28;
}

.policy h2 {
  margin: 62px 0 22px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.policy p,
.policy li {
  max-width: 78ch;
}

.policy p {
  margin: 0 0 16px;
}

.policy ul {
  margin: 14px 0 24px;
  padding-left: 22px;
}

.policy li {
  margin: 7px 0;
  padding-left: 5px;
}

.policy strong {
  color: var(--night);
}

.policy blockquote {
  margin: 0 0 38px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: #f7f8fb;
  color: #4e5b70;
}

.policy blockquote p {
  margin: 0;
}

.section-anchor {
  display: block;
  height: 0;
}

.table-scroll {
  width: 100%;
  margin: 24px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.48;
}

th,
td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #eef1f7;
  color: var(--night);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: #fafbfe;
}

.policy hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.document-footer {
  margin-top: 56px;
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: #f7f8fb;
}

.document-footer p {
  margin: 0;
}

.document-footer p + p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .layout {
    width: min(900px, calc(100% - 28px));
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .masthead__inner {
    width: calc(100% - 28px);
  }

  .status {
    font-size: 0;
  }

  .policy {
    padding: 26px 20px 38px;
  }

  .policy h1 {
    margin-bottom: 38px;
  }

  .document-subtitle {
    margin-top: -22px;
  }

  .policy h2 {
    margin-top: 48px;
  }

  .document-meta {
    display: grid;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .masthead {
    display: none;
  }

  .layout {
    display: block;
    width: auto;
    margin: 0;
  }

  .policy {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .policy h2 {
    break-after: avoid;
  }

  .table-scroll {
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 8pt;
  }

  a {
    color: #000;
  }
}
