/* Shared closing section, aligned to the same content rail as the header. */
body .footer { background: var(--brand-deep, #102f25); color: #fff; overflow: clip; }
body .footer .footer__inner { max-width: 1248px; width: 100%; padding: 0 var(--gutter, 24px); margin-inline: auto; }
body .footer .footer__top { display: grid; grid-template-columns: 1.1fr 1.25fr .9fr; gap: 32px; align-items: center; padding: 36px 0; border-bottom: 1px solid #ffffff26; }
body .footer .footer__eyebrow { margin: 0 0 10px; color: var(--brand-bright, #d6f76a); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
body .footer .footer__title { margin: 0; color: #fff; font-size: clamp(28px, 2.5vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
body .footer .footer__title span { color: var(--brand-bright, #d6f76a); }
body .footer .footer__intro-copy { margin: 12px 0 0; font-size: 14px; line-height: 1.65; }
body .footer .footer__devices { margin: 0; min-width: 0; }
body .footer .footer__device-images { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; }
body .footer .footer__device-images > div { overflow: hidden; border-radius: 10px; background: #fff; }
body .footer .footer__device-images > div:nth-child(even) { transform: translateY(-10px); }
body .footer .footer__device-images :is(picture, img) { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: none; padding: 0; }
/* The shared picture helper sets an inline preview; avoid showing it in letterboxing. */
body .footer .footer__device-images img { background-image: none !important; }
body .footer .footer__devices figcaption { margin-top: 16px; color: #dce8df; text-align: center; font-size: 12px; line-height: 1.5; }
body .footer .footer__cta { display: block; width: 100%; justify-self: stretch; }
body .footer .footer__cta .footer__eyebrow { color: #c2d1c8; font-size: 10px; }
body .footer .footer__cta .btn { min-height: 48px; padding: 12px 16px; border-radius: 7px; font-size: 14px; font-weight: 600; }
body .footer .footer__cta .btn + .btn { margin-top: 10px; }
body .footer .footer__cols { display: grid; grid-template-columns: 1.55fr .8fr 1fr .95fr 1fr; gap: 0; padding: 32px 0; border-bottom: 1px solid #ffffff26; }
body .footer .footer__col { grid-column: auto; padding: 4px 22px; border-left: 1px solid #ffffff26; }
body .footer .footer__col--brand { padding-left: 0; padding-right: 28px; border-left: 0; max-width: none; }
body .footer .footer__col:last-child { padding-right: 0; }
body .footer .footer__brand { margin: 0 0 16px; }
body .footer .footer__brand .logo { font-size: 30px; line-height: 1; }
body .footer .footer__brand .logo :is(.logo__name, .logo__sub) { font-size: 30px; }
body .footer .footer__brand .logo__mark { width: 38px; height: 32px; }
body .footer .footer__blurb { font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
body .footer .footer__note { font-size: 13px; line-height: 1.6; margin: 0; }
body .footer .footer__contacts { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #ffffff26; gap: 0; }
body .footer .footer__contacts strong { font-size: 13px; font-weight: 600; }
body .footer .footer__contacts a { min-height: 32px; font-size: 13px; text-decoration: none; gap: 8px; }
body .footer .footer__heading { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff; text-transform: none; letter-spacing: -.01em; }
body .footer .footer__heading svg { flex-shrink: 0; color: var(--brand-bright, #d6f76a); }
body .footer .footer__links, body .footer .footer__col:last-child .footer__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
body .footer .footer__links a { display: flex; align-items: center; min-height: 36px; padding-block: 6px; font-size: 13px; line-height: 1.5; color: #d0ddd5; }
body .footer .footer__mission { display: grid; grid-template-columns: 1.2fr 1.8fr auto; gap: 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid #ffffff26; }
body .footer .footer__mission p { margin: 0; font-size: 12px; line-height: 1.65; }
body .footer .footer__purpose { display: flex; align-items: center; gap: 16px; padding-right: 24px; border-right: 1px solid #ffffff26; }
body .footer .footer__purpose > svg { flex-shrink: 0; color: var(--brand-bright, #d6f76a); }
body .footer .footer__purpose strong { font-size: 13px; font-weight: 600; }
body .footer .footer__shop { font-size: 12px; gap: 8px; white-space: nowrap; }
body .footer .footer__bar { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 14px 0; }
body .footer .footer__copy { width: auto; font-size: 11px; }
body .footer .footer__legal { display: flex; flex: 1; flex-wrap: wrap; width: auto; gap: 0 20px; }
body .footer .footer__legal :is(a, button) { min-height: 36px; font-size: 11px; line-height: 1.5; color: #c2d1c8; }
body .footer .lang--footer { margin-left: auto; flex-shrink: 0; }
body .footer .lang--footer .lang__toggle { color: #fff; min-height: 40px; }
body .footer .lang--footer .lang__panel { top: auto; bottom: calc(100% + 8px); right: 0; }
body .footer a:hover, body .footer .footer__legal button:hover { color: var(--brand-bright, #d6f76a); }
body .footer a:focus-visible, body .footer button:focus-visible, body .footer summary:focus-visible { outline: 2px solid var(--brand-bright, #d6f76a); outline-offset: 3px; }
@media (max-width: 1099px) {
  body .footer .footer__top { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  body .footer .footer__devices { grid-column: 2; grid-row: 1 / 3; }
  body .footer .footer__cta { grid-column: 1; }
  body .footer .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  body .footer .footer__col--brand { grid-column: 1 / -1; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  body .footer .footer__brand { grid-column: 1 / -1; }
  body .footer .footer__contacts { grid-column: 2; grid-row: 2 / 4; margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid #ffffff26; align-content: start; }
  body .footer .footer__col:nth-child(2) { border-left: 0; padding-left: 0; }
  body .footer .footer__col { padding-inline: 16px; }
  body .footer .footer__mission { grid-template-columns: 1fr 1.5fr; gap: 20px; }
  body .footer .footer__shop { grid-column: 2; }
}
@media (max-width: 599px) {
  body .footer .footer__top { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 32px 0; }
  body .footer .footer__title { font-size: 30px; max-width: 20ch; }
  body .footer .footer__devices { grid-column: auto; grid-row: auto; max-width: 380px; width: 100%; margin: 0 auto; }
  body .footer .footer__cta { grid-column: auto; }
  body .footer .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 28px 0; }
  body .footer .footer__col, body .footer .footer__col:nth-child(2) { padding: 0; border: 0; }
  body .footer .footer__col--brand { display: block; grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid #ffffff26; }
  body .footer .footer__contacts { margin-top: 14px; padding-top: 12px; border-left: 0; border-top: 1px solid #ffffff26; }
  body .footer .footer__heading { font-size: 14px; gap: 8px; }
  body .footer .footer__heading svg { width: 21px; height: 21px; }
  body .footer .footer__links a { min-height: 44px; }
  body .footer .footer__mission { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .footer .footer__purpose { border-right: 0; padding: 0; }
  body .footer .footer__shop { grid-column: auto; }
  body .footer .footer__bar { gap: 8px 16px; padding-bottom: 24px; }
  body .footer .footer__legal { flex-basis: 100%; order: -1; gap: 0 18px; }
  body .footer .footer__legal :is(a, button) { min-height: 44px; font-size: 12px; }
}
