@font-face {
  font-family: "Bowlby One SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bowlby-one-sc/BowlbyOneSC-Regular.ttf")
    format("truetype");
}

:root {
  --bg: #10100f;
  --fg: #f1f0ed;
  --fg-muted: #aaa8a1;
  --link: #8fe6c6;
  --shadow: rgba(0, 0, 0, 0.38);
  --lm-font-wordmark: "Bowlby One SC", system-ui, sans-serif;
  --hero-width: 1120px;
  font-family:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--fg);
  color-scheme: dark;
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
}

[hidden] {
  display: none !important;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.brand-icon {
  width: auto;
  height: 24px;
  object-fit: contain;
}

.brand-wordmark {
  font-family: var(--lm-font-wordmark);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0;
}

.language-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: var(--fg-muted);
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    scale 150ms ease;
}

.language-button:hover,
.language-button[aria-expanded="true"] {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.08);
}

.language-button:active {
  scale: 0.96;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 150px;
  padding: 6px;
  background: #1b1b19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 45px var(--shadow);
}

.language-menu a {
  padding: 8px 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-muted);
  border-radius: 6px;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.08);
}

main {
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  color: var(--link);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.site-footer {
  width: 100%;
  margin: 0;
  color: #f5f5f5;
  background: #000000;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.1fr);
  gap: clamp(48px, 8vw, 140px);
  width: min(var(--hero-width), calc(100vw - 48px));
  padding: 72px 0 96px;
  margin: 0 auto;
}

.footer-brand-panel {
  display: grid;
  gap: 42px;
  align-content: start;
}

.footer-brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: #ffffff;
}

.footer-brand .brand-icon {
  height: 38px;
}

.footer-brand .brand-wordmark {
  display: inline;
  font-size: 32px;
  line-height: 40px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: #3a3a3a;
  border-radius: 9999px;
  transition:
    background-color 150ms ease,
    scale 150ms ease;
}

.footer-social a:hover {
  background: #525252;
}

.footer-social a:active {
  scale: 0.96;
}

.footer-language {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  width: fit-content;
}

.footer-language h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 18px;
  color: #8a8a8a;
  letter-spacing: 0.04em;
}

.footer-language-button {
  width: fit-content;
  color: #f2f2f2;
  border-color: #ffffff26;
}

.footer-language-button:hover,
.footer-language-button[aria-expanded="true"] {
  color: #ffffff;
  background: #ffffff12;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 92px);
}

.footer-links section {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 650;
  line-height: 18px;
  color: #8a8a8a;
  letter-spacing: 0.04em;
}

.footer-links a {
  width: fit-content;
  font-size: 18px;
  font-weight: 430;
  line-height: 25px;
  color: #f2f2f2;
  text-wrap: pretty;
  transition:
    color 150ms ease,
    opacity 150ms ease;
}

.footer-links a:hover {
  color: #ffffff;
  opacity: 0.76;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-inner {
    width: min(100vw - 28px, var(--hero-width));
    padding: 52px 0 68px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links a {
    font-size: 17px;
    line-height: 24px;
  }
}
