:root {
  --green: #17845f;
  --green-dark: #116c4e;
  --ink: #121716;
  --muted: #616864;
  --surface: #f7f7f7;
  --line: #e8ebe9;
  --shell: 1660px;
  --font: "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.menu-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

body:has(.menu-toggle:checked) {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
label {
  font: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Header ---------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 100;
  height: 72px;
  background: #fff;
  transition: box-shadow .25s ease, height .25s ease;
}

.site-header.is-stuck {
  position: sticky;
  top: 0;
  height: 64px;
  box-shadow: 0 8px 30px rgba(18, 40, 31, .08);
}

.site-header__inner {
  width: min(calc(100% - 48px), 1840px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.site-header__logo {
  justify-self: start;
  display: flex;
  align-items: center;
}

.site-header__logo img {
  width: auto;
  height: 21px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
}

.desktop-nav a {
  position: relative;
  color: #2c3431;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1.5px;
  background: var(--green);
  transition: right .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.desktop-nav__dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.desktop-nav__dropdown svg {
  width: 12px;
  height: 12px;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.notification-button {
  border: 0;
  color: #111;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  color: #111;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.notification-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
}

.notification-button svg {
  width: 18px;
  height: 18px;
}

.login-button {
  min-width: 118px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}

.login-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Hero ------------------------------------------------------------------ */
.privacy-hero {
  position: relative;
  height: clamp(430px, 31vw, 535px);
  overflow: hidden;
  background: #e9ece7;
  isolation: isolate;
}

.privacy-hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.privacy-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 14, 12, .78) 0%, rgba(8, 18, 15, .50) 23%, rgba(8, 18, 15, .14) 48%, rgba(8, 18, 15, 0) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .04));
}

.privacy-hero__content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 160px), 1620px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
  color: #fff;
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(40px, 3vw, 54px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.privacy-hero p {
  margin: 13px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

/* Policy content -------------------------------------------------------- */
.policy-content {
  background: var(--surface);
}

.policy-content__inner {
  width: min(calc(100% - 160px), 1620px);
  margin-inline: auto;
  padding: 76px 0 114px;
}

.policy-section+.policy-section {
  margin-top: 49px;
}

.policy-section h2 {
  margin: 0 0 20px;
  color: #111615;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.policy-section p {
  margin: 0;
  color: #262d2a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.72;
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
  background: #fff;
}

.site-footer__inner {
  width: min(calc(100% - 160px), 1760px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.55fr .65fr 1.1fr .85fr;
  gap: clamp(45px, 5.4vw, 105px);
  align-items: start;
  padding: 88px 0 97px;
}

.footer-brand img {
  width: auto;
  height: 57px;
}

.footer-brand p {
  margin: 26px 0 0;
  color: #343b38;
  font-size: 14px;
  line-height: 1.58;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 31px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #101514;
  transition: color .2s ease, transform .2s ease;
}

.footer-socials a:hover {
  color: var(--green);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
}

.footer-nav {
  display: grid;
  gap: 28px;
  padding-top: 4px;
}

.footer-nav a,
.footer-contact a {
  width: fit-content;
  color: #4c5350;
  font-size: 12px;
  line-height: 1.35;
  transition: color .2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--green);
}

.footer-contact {
  display: grid;
  gap: 38px;
  padding-top: 4px;
}

.footer-contact div {
  display: grid;
  gap: 13px;
}

.footer-contact span {
  color: #111514;
  font-size: 11px;
  font-weight: 600;
}

.footer-bottom {
  color: rgba(255, 255, 255, .96);
  background: var(--green);
}

.footer-bottom__inner {
  width: min(calc(100% - 160px), 1760px);
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 43px;
}

.footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    gap: 24px;
  }

  .policy-content__inner,
  .privacy-hero__content,
  .site-footer__inner,
  .footer-bottom__inner {
    width: min(calc(100% - 80px), 1620px);
  }

  .site-footer__inner {
    grid-template-columns: 1.3fr .7fr 1fr .9fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {

  .site-header,
  .site-header.is-stuck {
    position: fixed;
    inset: 0 0 auto;
    z-index: 300;
    height: 64px;
    box-shadow: 0 1px 0 rgba(12, 34, 25, .08);
  }

  .site-header__inner {
    width: calc(100% - 32px);
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .site-header__logo img {
    height: 28px;
  }

  .desktop-nav,
  .notification-button,
  .login-button {
    display: none;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .menu-button {
    position: relative;
    z-index: 310;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 38px;
    padding: 0;
    border-radius: 8px;
    background: #f1f2f1;
  }

  .menu-button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
  }

  .menu-button span {
    width: 23px;
    height: 2px;
    border-radius: 999px;
    background: #111;
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
  }

  #mobile-menu-toggle:checked~.site-header .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #mobile-menu-toggle:checked~.site-header .menu-button span:nth-child(2) {
    opacity: 0;
  }

  #mobile-menu-toggle:checked~.site-header .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 64px 0 0;
    z-index: 290;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    display: block;
    background: rgba(8, 24, 18, .22);
    opacity: 0;
    transition: opacity .25s ease;
  }

  .mobile-menu__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px 28px;
    overflow-y: auto;
    background: #fff;
    transform: translateY(-14px);
    transition: transform .25s ease;
  }

  #mobile-menu-toggle:checked~.mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #mobile-menu-toggle:checked~.mobile-menu .mobile-menu__backdrop {
    opacity: 1;
  }

  #mobile-menu-toggle:checked~.mobile-menu .mobile-menu__panel {
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding-inline: 4px;
    border-bottom: 1px solid var(--line);
    color: #17201d;
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 26px;
  }

  .mobile-menu__actions a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green);
    border-radius: 7px;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-menu__actions a:first-child {
    color: #fff;
    background: var(--green);
  }

  main {
    padding-top: 64px;
  }

  .privacy-hero {
    height: 420px;
  }

  .privacy-hero__image {
    object-position: 45% center;
  }

  .privacy-hero__overlay {
    background: linear-gradient(90deg, rgba(6, 14, 12, .75), rgba(8, 18, 15, .30) 65%, rgba(8, 18, 15, .08));
  }

  .privacy-hero__content,
  .policy-content__inner,
  .site-footer__inner,
  .footer-bottom__inner {
    width: calc(100% - 40px);
  }

  .privacy-hero__content {
    justify-content: flex-end;
    padding-bottom: 55px;
  }

  .privacy-hero h1 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .policy-content__inner {
    padding: 58px 0 78px;
  }

  .policy-section+.policy-section {
    margin-top: 42px;
  }

  .policy-section h2 {
    margin-bottom: 16px;
    font-size: 21px;
  }

  .policy-section p {
    font-size: 13px;
    line-height: 1.72;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
    padding: 64px 0 60px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom__inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 18px;
    padding: 22px 0 24px;
  }

  .footer-bottom nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .privacy-hero {
    height: 345px;
  }

  .privacy-hero__image {
    object-position: 38% center;
  }

  .privacy-hero__content {
    padding-bottom: 38px;
  }

  .privacy-hero h1 {
    font-size: 38px;
  }

  .privacy-hero p {
    margin-top: 10px;
    font-size: 12px;
  }

  .policy-content__inner {
    padding-top: 48px;
  }

  .policy-section h2 {
    font-size: 20px;
  }

  .policy-section p {
    font-size: 12.5px;
    line-height: 1.75;
  }

  .footer-brand img {
    height: 48px;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .footer-nav a,
  .footer-contact a {
    font-size: 12px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-bottom nav {
    gap: 9px;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 10px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}



@media (max-width: 760px) {
  .footer-contact span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(26, 129, 90, 1);
    text-transform: uppercase;
  }
}