:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #fff;
  --muted: #a1a1a6;
  --line: #2a2a2c;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", "Segoe UI", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", sans-serif;
}

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

html {
  background: #000;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1, p {
  margin: 0;
}

h1 {
  font-family: var(--display);
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

:lang(en) h1 {
  letter-spacing: -0.03em;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 5;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

.shell {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 64px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff;
  font-weight: 640;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

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

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.lang a[aria-current="page"] {
  color: #fff;
  font-weight: 640;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  background: #fff;
  color: #000;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

.btn-primary {
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding: 12px 22px 13px;
}

.btn-primary .btn-title {
  font-size: 16px;
}

.btn-primary .btn-meta {
  font-size: 12px;
  font-weight: 520;
  opacity: 0.72;
}

.btn-line {
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: #fff;
  border: 1px solid #3a3a3c;
}

.hero {
  padding: 64px 0 36px;
  text-align: center;
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 20px;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
}

.sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.shot {
  margin: 8px auto 72px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.footer {
  padding: 8px 0 40px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.footer .legal {
  max-width: 36rem;
  margin: 8px auto 0;
  line-height: 1.5;
}

.miss {
  padding: 72px 0 96px;
  text-align: center;
}

.miss h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.miss .sub {
  margin-inline: auto;
  max-width: 28rem;
}

.miss .sub + .sub {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .shell,
  .bar {
    width: min(1040px, calc(100% - 28px));
  }

  .hero {
    padding-top: 40px;
  }

  .btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
