@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/roboto-CWB0XYA8bzo0kSThX0UTuA.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/roboto-bold-d-6IYplOFocCacKzxwXSOFtXRa8TVwTICgirnJhmVJw.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #16171a;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.85);
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--fg);
  text-decoration: underline;
}

a:hover {
  color: var(--fg-muted);
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 80px;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo img {
  display: block;
  width: 170px;
  height: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch a {
  text-decoration: underline;
}

.lang-switch .current {
  font-weight: 700;
  text-decoration: none;
}

.lang-switch .sep {
  opacity: 0.5;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 60px 0;
}

.intro {
  flex: 1;
  max-width: 620px;
}

h1 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 32px;
}

.subheadline {
  color: var(--fg-muted);
  font-size: 20px;
  max-width: 480px;
}

.image {
  flex: 1;
}

.image img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .page {
    padding: 24px;
  }

  .logo img {
    width: 130px;
  }

  main {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 40px 0;
  }

  h1 {
    font-size: 32px;
  }

  .subheadline {
    max-width: none;
  }

  .intro {
    max-width: none;
  }
}
