:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0e0e0e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  color: #f2f2f2;
  background: #0e0e0e;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #0e0e0e;
  background: #f2f2f2;
}

p,
h1 {
  margin: 0;
}

.header {
  position: absolute;
  top: 20px;
  right: 26px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #444;
  font-size: 12px;
  line-height: 1;
}

.language-switch button {
  padding: 6px;
  border: 0;
  color: #666;
  background: none;
  font: inherit;
  cursor: pointer;
}

.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  color: #eee;
}

.language-switch button:focus-visible {
  outline: 1px solid #777;
  outline-offset: 2px;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.tagline {
  margin-top: 18px;
  color: #a0a0a0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.description {
  max-width: 470px;
  margin-top: 10px;
  color: #737373;
  font-size: 14px;
  line-height: 1.75;
}

.coming-soon {
  min-width: 154px;
  margin-top: 28px;
  padding: 10px 24px;
  border: 1px solid #2b2b2b;
  border-radius: 3px;
  color: #e5e5e5;
  background: #151515;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.availability {
  margin-top: 14px;
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}

.footer {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-top: 1px solid #222;
  color: #666;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .header {
    top: 16px;
    right: 18px;
  }

  .main {
    padding: 76px 20px 64px;
  }

  h1 {
    font-size: 42px;
  }

  .tagline {
    max-width: 320px;
    margin-top: 15px;
    font-size: 14px;
  }

  .description {
    max-width: 330px;
    font-size: 13px;
  }

  .coming-soon {
    margin-top: 24px;
  }

  .availability {
    max-width: 300px;
  }

  .footer {
    justify-content: center;
    padding: 12px 16px;
    text-align: center;
  }
}
