@font-face {
  font-family: "Horta";
  src: url("/assets/fonts/horta.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed Medium";
  src: url("/assets/fonts/RobotoCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/RobotoCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #16110d;
  background: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #9a2922; }
a:focus-visible { outline: 2px solid #9a2922; outline-offset: 5px; }

.policy-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid #e8e4df;
}

.policy-logo img { display: block; width: 160px; height: auto; }

.policy-languages { display: flex; align-items: center; gap: 8px; }
.policy-languages a {
  padding: 4px 6px;
  font-size: 14px;
  text-decoration: none;
}
.policy-languages [aria-current="page"] { background: #f0ece7; }

.policy-main {
  width: min(100% - 40px, 800px);
  margin: 38px auto 72px;
  font-size: 18px;
  line-height: 1.48;
}

.policy-back { font-size: 16px; }
.policy-eyebrow { margin: 44px 0 12px; font-size: 14px; }

h1 {
  margin: 0 0 42px;
  font-family: "Horta", Georgia, serif;
  font-size: clamp(34px, 10vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.policy-section { margin: 0; padding: 26px 0; border-top: 1px solid #e8e4df; }
.policy-section h2 {
  margin: 0 0 14px;
  font-family: "Horta", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}
.policy-section p { margin: 0; }
.policy-section a { overflow-wrap: anywhere; }
.policy-registration { margin: 12px 0 0; }
.policy-registration div { display: flex; flex-wrap: wrap; gap: 6px; }
.policy-registration dt, .policy-registration dd { margin: 0; }
.policy-updated { margin: 26px 0 0; font-size: 16px; color: #625c55; }

.site-footer a { text-decoration: none; }

.site-footer {
  margin-top: 100px;
  padding: 74px 18px calc(116px + env(safe-area-inset-bottom));
  background: #1b1b1a;
  color: #f7f5ef;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.footer-column,
.footer-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-column h2 {
  margin: 0 0 22px;
  font-family: "Horta", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.footer-column nav {
  display: grid;
  gap: 14px;
  color: rgba(247, 245, 239, 0.68);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-column a,
.footer-telegram {
  transition: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: rgba(247, 245, 239, 0.48);
}

.footer-logo img {
  display: block;
  width: clamp(150px, 28vw, 230px);
  height: auto;
}

.footer-center p {
  max-width: 520px;
  margin: 26px auto 30px;
  color: rgba(247, 245, 239, 0.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.48;
}

.footer-telegram {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(100%, 430px);
  min-height: 58px;
  padding: 0 22px 0 26px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 245, 239, 0.82);
  font-size: 16px;
  line-height: 1;
}

.footer-telegram span:first-child {
  justify-self: start;
}

.footer-telegram .social-icon {
  justify-self: end;
}

.footer-telegram:hover,
.footer-telegram:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(247, 245, 239, 0.62);
}

.footer-copy {
  width: min(100%, 1120px);
  margin: 58px auto 0;
  border-top: 1px solid rgba(247, 245, 239, 0.12);
  padding-top: 24px;
  color: rgba(247, 245, 239, 0.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.48;
  text-align: center;
}

.footer-registration {
  display: block;
  margin-top: 4px;
}

.footer-registration span {
  display: inline-block;
  margin: 0 8px;
}

.footer-copy strong {
  font-family: "Roboto Condensed Medium", "Roboto Condensed", Arial, sans-serif;
  font-weight: 500;
}

.footer-copy-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 16px;
}

.footer-copy-brand { white-space: nowrap; }

.footer-copy .footer-legal {
  display: inline-block;
  text-decoration: none;
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: #ffffff;
}

@media (min-width: 900px) {
  .policy-main { line-height: 1.5; }
  h1 { font-size: clamp(54px, 5vw, 78px); }
  .policy-section h2 { font-size: 36px; }
  .site-footer {
    margin-top: 150px;
    padding: 92px clamp(40px, 5.8vw, 74px) 0;
  }

  .footer-inner {
    grid-template-columns: minmax(150px, 1fr) minmax(360px, 560px) minmax(150px, 1fr);
    align-items: start;
    gap: 70px;
  }

  .footer-social {
    justify-items: start;
    text-align: left;
  }

  .footer-menu {
    justify-items: end;
    text-align: right;
  }

  .footer-center p,
  .footer-copy {
    font-size: 17px;
  }

  .footer-copy {
    margin-top: 86px;
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  .policy-header { justify-content: center; gap: 12px; padding: 18px 0; }
  .policy-main { margin-top: 26px; }
  .policy-eyebrow { margin-top: 32px; }
  h1 { margin-bottom: 30px; }
}
