@font-face {
  font-family: 'Montserrat Alternates';
  src: url('/fonts/MontserratAlternates-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Alternates';
  src: url('/fonts/MontserratAlternates-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #20211f;
  --organic: #3f432f;
  --organic-soft: #9b9f77;
  --paper: #f5f0ea;
  --orange: #d36a21;
}

* { box-sizing: border-box; }

html {
  background: #d4d4d4;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: rgb(211 106 33 / 58%);
  text-underline-offset: 3px;
}

a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid #f3a15f;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.policy-header {
  display: flex;
  width: min(100% - 32px, 920px);
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.policy-header {
  min-height: 82px;
  border-bottom: 1px solid rgb(32 33 31 / 13%);
}

.policy-brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  gap: 10px;
}

.policy-brand img { width: 50px; height: auto; }
.policy-brand span { display: flex; flex-direction: column; }
.policy-brand strong { color: var(--organic); font-size: 12px; letter-spacing: 0.08em; }
.policy-brand small { font-size: 8px; }

.policy-back {
  padding: 9px 13px;
  border: 1px solid rgb(63 67 47 / 34%);
  border-radius: 999px;
  font-size: 10px;
  text-decoration: none;
}

.policy {
  width: min(100% - 32px, 820px);
  padding: 38px 0 64px;
  margin-inline: auto;
}

.policy__eyebrow {
  display: inline-flex;
  padding: 5px 11px;
  margin: 0 0 18px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--organic);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2 {
  letter-spacing: 0.025em;
  line-height: 1.16;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--organic);
  font-size: clamp(27px, 7vw, 48px);
}

.policy__date {
  margin: 16px 0 32px;
  color: #6e7068;
  font-size: 12px;
}

.policy section {
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgb(32 33 31 / 12%);
  scroll-margin-top: 24px;
}

.policy h2 {
  margin: 0 0 16px;
  color: var(--organic);
  font-size: clamp(19px, 4.8vw, 27px);
}

.policy p { margin: 12px 0; }
.policy ul { padding-left: 21px; }
.policy li + li { margin-top: 6px; }

.policy__contacts {
  display: grid;
  margin: 0;
  gap: 1px;
}

.policy__contacts div {
  display: grid;
  padding: 12px 14px;
  background: rgb(63 67 47 / 7%);
  grid-template-columns: minmax(110px, 0.38fr) 1fr;
  gap: 12px;
}

.policy__contacts div:first-child { border-radius: 12px 12px 0 0; }
.policy__contacts div:last-child { border-radius: 0 0 12px 12px; }
.policy__contacts dt { color: #6e7068; font-size: 11px; }
.policy__contacts dd { margin: 0; overflow-wrap: anywhere; }

.policy-footer {
  width: 100%;
  padding: 34px 0 20px;
  color: #c8c5bb;
  background: var(--ink);
  font-size: 11px;
}

.policy-footer__inner {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}

.policy-footer__main {
  display: grid;
  padding-bottom: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 28px;
}

.policy-footer__brand {
  display: flex;
  width: fit-content;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
  gap: 11px;
}

.policy-footer__brand:hover { color: var(--paper); }
.policy-footer__brand img { width: 58px; height: auto; }
.policy-footer__brand span { display: flex; flex-direction: column; }
.policy-footer__brand strong { font-size: 12px; letter-spacing: 0.08em; }
.policy-footer__brand small { color: var(--organic-soft); font-size: 8px; }

.policy-footer__contacts,
.policy-footer__nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.policy-footer__contacts > span {
  margin-bottom: 3px;
  color: var(--organic-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.policy-footer__contacts a,
.policy-footer__nav a,
.policy-footer__bottom a {
  color: var(--paper);
  text-decoration-color: rgb(245 240 234 / 35%);
}

.policy-footer__contacts a:first-of-type {
  font-size: 16px;
  font-weight: 700;
}

.policy-footer__nav a { text-decoration: none; }

.policy-footer__contacts a:hover,
.policy-footer__nav a:hover,
.policy-footer__bottom a:hover {
  color: #f3a15f;
}

.policy-footer__bottom {
  display: flex;
  min-height: 42px;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  gap: 20px;
}

@media (min-width: 768px) {
  body { font-size: 16px; }
  .policy-header { min-height: 94px; }
  .policy { padding-block: 62px 88px; }
  .policy section { padding-top: 34px; margin-top: 34px; }
  .policy-back { padding: 10px 16px; font-size: 11px; }
}

@media (max-width: 700px) {
  .policy-footer { padding-top: 30px; }

  .policy-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .policy-footer__brand { grid-column: 1 / -1; }
  .policy-footer__contacts a:first-of-type { font-size: 14px; }

  .policy-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .policy-footer__main { grid-template-columns: 1fr; }
  .policy-footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
