@font-face {
  font-family: Inter;
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --separator: rgba(0, 0, 0, 0.08);
  --header-bg: rgba(245, 245, 247, 0.72);
  --link: #1d1d1f;
  --header-height: 52px;
}

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

html {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--separator);
}

.site-header__inner {
  max-width: 980px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

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

.lang-switch__item {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
}

.lang-switch__item:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-switch__item.is-active {
  color: var(--text);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px 96px;
}

.hero--home {
  min-height: calc(100vh - var(--header-height) - 88px);
  padding: 96px 24px 120px;
}

.hero__inner {
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero--page h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.hero__subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: var(--text-secondary);
}

.hero__body {
  margin: 36px auto 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--text);
  text-align: left;
}

.hero__body p {
  margin: 0 0 1em;
}

.hero__body p:last-child {
  margin-bottom: 0;
}

.hero__cta {
  margin: 32px 0 0;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.site-footer {
  padding: 28px 24px 36px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .hero--home {
    min-height: 0;
    padding: 72px 22px 88px;
  }

  .hero__body {
    font-size: 17px;
    text-align: center;
  }
}
