:root {
  --ink: #050505;
  --paper: #ffffff;
  --muted: #696969;
  --line: #dedede;
  --pink: #ff3c84;
  --yellow: #fff710;
  --blue: #173eff;
  --green: #00d85c;
  --orange: #ff650d;
  --brand-color: #00ed9a;
  --footer-blue: #003d54;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.site-brand__mark {
  position: relative;
  display: block;
  overflow: hidden;
  border-style: solid;
  border-color: var(--ink);
  border-radius: 50%;
  background: var(--brand-color);
}

.site-brand__mark img {
  position: absolute;
  object-fit: contain;
}

.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.11);
  transition: background 180ms ease, transform 180ms ease;
}

.youtube-link:hover,
.youtube-link:focus-visible {
  background: var(--paper);
  transform: translateY(-2px);
}

.youtube-link img {
  width: 32px;
  height: auto;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.language-switcher a {
  min-width: 32px;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  background: #dedede;
  outline-offset: 1px;
}

.language-switcher a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  background: var(--footer-blue);
  color: var(--paper);
}

.site-footer__inner {
  width: min(calc(100% - 40px), 960px);
  min-height: 168px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  margin: 0 auto;
}

.site-footer__brand {
  width: 112px;
  height: 112px;
  border-width: 7px;
}

.site-footer__brand img {
  inset: 17px;
  width: 64px;
  height: 64px;
}

.site-footer__links {
  display: grid;
  justify-items: center;
  font-size: 24px;
  font-weight: 300;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer__contact {
  margin-top: 4px;
  color: var(--brand-color);
  font-size: 20px;
}

@media (max-width: 620px) {
  .site-footer__inner {
    min-height: 220px;
    grid-template-columns: 90px 1fr;
    gap: 18px;
  }

  .site-footer__brand {
    width: 78px;
    height: 78px;
    border-width: 5px;
  }

  .site-footer__brand img {
    inset: 12px;
    width: 44px;
    height: 44px;
  }

  .site-footer__links,
  .site-footer__contact {
    justify-items: start;
    font-size: 16px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
