.s-13-footer {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding-block: 68.92px 72px;
}

.s-13-footer__wave {
  position: absolute;
  top: 0;
  left: calc(50% - 1293px);
  width: 2600px;
  height: 789px;
  max-width: none;
  transform: scaleY(-1);
  pointer-events: none;
}

.s-13-footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
}

.s-13-footer__brand {
  --logo-h: 32.43px;
  --logo-x: 1.95px;
  --logo-y: 5.78px;
  position: relative;
  display: block;
  margin-left: 112.03px;
  padding: 0;
  border: 0;
  background: none;
}

.s-13-footer__mark {
  display: block;
  width: 146.02px;
  height: 38.92px;
}

.s-13-footer__mark path {
  fill: var(--ink-strong);
}

.s-13-footer__mark text {
  font-family: var(--serif);
  font-size: 218px;
  font-weight: 600;
  letter-spacing: -5px;
  color: #000;
  fill: #16181d;
}

.s-13-footer__legal {
  width: 696px;
  margin-top: 57.16px;
  margin-left: 112px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 400;
  line-height: 21px;
  color: var(--ink-muted);
  word-break: break-word;
}

.s-13-footer__legal-paragraph { display: block; }
.s-13-footer__legal-paragraph + .s-13-footer__legal-paragraph { margin-top: 12px; }

.s-13-footer__hosting {
  margin-top: 16px;
  margin-left: 112px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 400;
  line-height: 21px;
  color: var(--ink-muted);
}

.s-13-footer__hosting a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-strong);
  font-weight: 500;
  vertical-align: baseline;
  transition: color 160ms ease;
}

.s-13-footer__hosting img {
  flex: none;
  width: 16px;
  height: 16px;
  object-fit: contain;
  transform: translateY(1px);
}

.s-13-footer__hosting a:hover {
  color: var(--ink);
}

.s-13-footer__credits {
  margin-top: 12px;
  margin-left: 112px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 400;
  line-height: 21px;
  color: var(--ink-muted);
}

.s-13-footer__credits a {
  color: var(--ink-strong);
  font-weight: 500;
  transition: color 160ms ease;
}

.s-13-footer__credit > a {
  display: inline;
  min-height: 0;
  line-height: inherit;
}

.s-13-footer__who-name,
.s-13-footer__figma {
  min-height: 0;
  line-height: inherit;
}

.s-13-footer__credit--translations {
  display: block;
  width: 100%;
  margin-top: 10px;
}

.s-13-footer__who {
  position: relative;
  display: inline-block;
}

.s-13-footer__who-name {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--ink-strong);
  cursor: pointer;
  transition: color 160ms ease;
}

.s-13-footer__who-name:hover {
  color: var(--ink);
}

.s-13-footer__pop {
  position: absolute;
  left: -10px;
  bottom: calc(100% + 10px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.s-13-footer__pop[hidden] {
  display: none;
}

.s-13-footer__pop a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 8px;
  border-radius: var(--r-xs);
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.s-13-footer__pop a:hover {
  background: var(--surface-page);
}

.s-13-footer__pop img {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: var(--r-xs);
  object-fit: contain;
  transform: none;
}

.s-13-footer__made {
  display: block;
  margin-top: 10px;
  white-space: nowrap;
}

.s-13-footer__made img {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 5px;
  object-fit: contain;
  vertical-align: -2px;
}

.s-13-footer__credits a:hover {
  color: var(--ink);
}

.s-13-footer__crowdin {
  display: inline;
  min-height: 0;
  white-space: nowrap;
  vertical-align: baseline;
}

.s-13-footer__crowdin img {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  object-fit: contain;
  transform: none;
  vertical-align: -3px;
}

.s-13-footer__figma {
  display: inline;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--ink-strong);
  vertical-align: baseline;
}
.s-13-footer__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: calc(66.67% + 5px + 363px);
  min-height: 40px;
  height: auto;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 72px;
  padding-left: 112px;
}

.s-13-footer__copy {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 400;
  line-height: 21px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.s-13-footer__end {
  display: flex;
  align-items: center;
  gap: 40px;
}

.s-13-footer__nav {
  display: flex;
}

.s-13-footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.s-13-footer__links li {
  flex: none;
}

.s-13-footer__links li:nth-child(1) {
  width: 41px;
}

.s-13-footer__links li:nth-child(2) {
  width: 61px;
}

.s-13-footer__links li:nth-child(3) {
  width: 49px;
}

.s-13-footer__links a {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  line-height: normal;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 160ms ease;
}

.s-13-footer__links a::after {
  content: "";
  position: absolute;
  inset: -13px 0;
}

.s-13-footer__links a:hover {
  color: var(--ink-strong);
}

.s-13-footer__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  min-height: 0;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--ink-strong);
  transition: background 160ms ease;
}

.s-13-footer__cta::after {
  content: "";
  position: absolute;
  inset: -2px 0;
}

.s-13-footer__cta span {
  width: 68px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  line-height: normal;
  color: var(--surface-page);
}

.s-13-footer__cta:hover {
  background: var(--ink);
}

@media (width < 1280px) {
  .s-13-footer { padding-block: 56px; }
  .s-13-footer__inner { padding-inline: clamp(24px, 4vw, 48px); }
  .s-13-footer__brand { margin-left: 0; }

  .s-13-footer__legal,
  .s-13-footer__hosting,
  .s-13-footer__credits,
  .s-13-footer__copy { font-size: 16px; line-height: 26px; }
  .s-13-footer__legal {
    width: auto;
    max-width: 68ch;
    margin: 32px 0 0;
    word-break: normal;
    text-wrap: pretty;
  }
  .s-13-footer__legal-paragraph { display: block; }
  .s-13-footer__legal-paragraph + .s-13-footer__legal-paragraph { margin-top: 12px; }
  .s-13-footer__hosting { max-width: 68ch; margin: 24px 0 0; text-wrap: pretty; }
  .s-13-footer__credits {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 16px 0 0;
  }
  .s-13-footer__credit { display: block; }

  .s-13-footer__hosting > a,
  .s-13-footer__credit > a,
  .s-13-footer__made > a,
  .s-13-footer__figma,
  .s-13-footer__who-name { min-height: 0; line-height: inherit; }
  .s-13-footer__hosting > a,
  .s-13-footer__made > a { vertical-align: baseline; }
  .s-13-footer__pop { left: auto; right: 0; }

  .s-13-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 32px;
    width: auto;
    height: auto;
    margin: 40px 0 0;
    padding: 0;
  }
  .s-13-footer__copy {
    flex: 1 1 380px;
    min-width: 0;
    margin: 0;
    white-space: normal;
    text-wrap: pretty;
  }
  .s-13-footer__end { flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 0; }
  .s-13-footer__links { gap: 24px; }
  .s-13-footer__links li:nth-child(n) { width: auto; }
  .s-13-footer__links a { display: inline-flex; min-height: 44px; font-size: 16px; line-height: 24px; }
  .s-13-footer__links a::after { content: none; }
  .s-13-footer__cta { height: 44px; min-height: 44px; }
  .s-13-footer__cta span { width: auto; font-size: 16px; }
}

@media (max-width: 700px) {
  .s-13-footer__links { flex-wrap: wrap; gap: 8px 24px; }
  .s-13-footer__credits { flex-direction: column; align-items: flex-start; }
  .s-13-footer__made { margin-top: 8px; }
  .s-13-footer__bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .s-13-footer__copy { flex: none; width: 100%; }
}

@media (max-width: 400px) {
  .s-13-footer__end { width: 100%; }
  .s-13-footer__nav { flex-basis: 100%; }
}
