@font-face {
  font-family: Inter;
  src: url("Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101010;
  --surface: #191919;
  --text: #f5f5f5;
  --muted: #b9b9b9;
  --line: #3b3b3b;
  --active: #303030;
  font-family: Inter, system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  line-height: 1.5;
}

.frame {
  width: min(calc(100% - 2 * clamp(1rem, 5vw, 4.5rem)), 76rem);
  margin-inline: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

a[href]:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding-block: clamp(1rem, 4vh, 2rem);
}

.language-nav {
  display: flex;
  gap: 0.15rem;
  margin-inline-start: auto;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--background);
}

.language-nav a {
  display: grid;
  min-height: 2rem;
  place-items: center;
  padding-inline: 0.75rem;
  border-radius: 2rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 550;
  text-decoration: none;
}

.language-nav [aria-current="page"] {
  background: var(--active);
  color: var(--text);
}

.landing {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: clamp(2rem, 6vw, 4rem);
  padding-block: clamp(1.5rem, 5vh, 3.5rem) clamp(2.5rem, 7vh, 5rem);
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.hero-logo {
  display: block;
  width: clamp(6rem, 20vmin, 10rem);
  max-width: 100%;
  height: auto;
  margin-bottom: clamp(0.85rem, 3vw, 1.5rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 7vw, 4.5rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.brand-subtitle {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.32em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.studio-note {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.1vw, 1.125rem);
}

.game {
  width: min(100%, 34rem);
  padding: clamp(1.4rem, 5vw, 2.5rem) clamp(1rem, 5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

.game-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.game h2 {
  margin: 0.35rem 0 1.25rem;
  font-size: clamp(1.25rem, 5vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.game-artwork {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.game-description {
  max-width: 42ch;
  margin: 1.25rem auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.game-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.game-links a {
  display: inline-grid;
  min-width: 6rem;
  min-height: 2.75rem;
  place-items: center;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.game-links a[href]:hover {
  background: var(--active);
}

.site-footer {
  padding-block: 0.6rem;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a, .home-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.home-link {
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.privacy {
  flex: 1;
  max-width: 46rem;
  padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 10vw, 7rem);
  overflow-wrap: anywhere;
}

.privacy h1 {
  margin-block: 0 1.65rem;
  font-size: clamp(1.85rem, 5.5vw, 3.5rem);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: -0.045em;
  hyphens: auto;
}

.privacy h2 {
  margin-block: 0 0.9rem;
  scroll-margin-top: 1rem;
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.privacy h3 {
  margin-block: 1.6em 0.55em;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.privacy p, .privacy li {
  color: var(--muted);
  line-height: 1.68;
}

.privacy p, .privacy ul {
  margin-block: 0 0.9em;
}

.privacy ul {
  padding-inline-start: 1.55em;
}

.privacy li + li {
  margin-top: 0.25em;
}

.privacy section + section {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
