:root {
  color-scheme: dark;
  --bg: #161616;
  --text: #ffffff;
  --muted: #c7c7c7;
  --soft: #9f9f9f;
  --line: rgba(255, 255, 255, 0.42);
  --panel: #191919;
  --button: #f7f7f7;
  --button-text: #050505;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans Pro", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--bg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: saturate(1.28) contrast(1.02) brightness(1.14);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.28));
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 70px 24px 0;
  min-height: 120px;
}

.brand {
  display: inline-block;
  color: #f7f7f7;
  font-family: "Montserrat", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 4px;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  margin: auto;
  padding: 20px 0 64px;
  text-align: center;
  transform: translateY(-96px);
}

.summary,
.launching {
  margin: 0;
  opacity: 1;
}

.summary {
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0 auto;
  color: #f7f7f7;
  font-size: 31px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.summary + .launching {
  margin-top: 90px;
}

.summary .mobile-line {
  display: inline;
}

.launching {
  margin-top: 28px;
  color: #ffffff;
  font-family: "Source Sans Pro", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.subscribe,
.footer {
  position: relative;
  background: var(--bg);
}

.subscribe {
  padding: 56px 24px;
}

.subscribe-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(560px, 100%);
  margin: 0 auto;
}

.email-field {
  position: relative;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(22, 22, 22, 0);
}

.email-field input {
  width: 100%;
  height: 56px;
  border: 0;
  outline: 0;
  padding: 22px 16px 8px;
  background: transparent;
  color: #f7f7f7;
  font: inherit;
}

.email-field span {
  position: absolute;
  top: 18px;
  left: 16px;
  color: #bfbfbf;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transition: transform 160ms ease, color 160ms ease;
  transform-origin: left top;
}

.email-field input:focus + span,
.email-field input:not(:placeholder-shown) + span {
  color: #8f8f8f;
  transform: translateY(-10px) scale(0.78);
}

.subscribe-form button {
  min-width: 124px;
  min-height: 56px;
  border: 0;
  border-radius: 4px;
  padding: 0 28px;
  background: var(--button);
  color: var(--button-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: background 180ms ease, transform 180ms ease;
}

.subscribe-form button:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.subscribe-form button:active {
  transform: translateY(0);
}

.form-note {
  min-height: 24px;
  margin-top: 16px;
}

.footer-tagline {
  margin: 28px auto 0;
  color: #cfcfcf;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.footer-tagline p {
  margin: 0;
}

.footer-tagline p + p {
  margin-top: 4px;
}

.footer {
  padding: 48px 24px 56px;
}

.footer-inner {
  display: grid;
  gap: 12px 28px;
  align-items: center;
  justify-content: center;
  width: min(980px, 100%);
  margin: 0 auto;
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: #f7f7f7;
}

@media (max-width: 1200px) {
  .hero-content {
    transform: translateY(-62px);
  }

  .summary + .launching {
    margin-top: 82px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 84svh;
  }

  .nav {
    min-height: 96px;
    padding: 60px 18px 0;
  }

  .brand {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    padding-bottom: 56px;
    transform: translateY(-122px);
  }

  .summary {
    width: min(100%, 350px);
    font-size: 17px;
    line-height: 1.55;
    word-break: break-all;
  }

  .summary + .launching {
    margin-top: 70px;
  }

  .summary .mobile-line {
    display: block;
  }

  .launching {
    margin-top: 24px;
    font-size: 38px;
  }

  .subscribe {
    padding: 46px 16px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .subscribe-form button {
    width: 100%;
  }

  .footer {
    padding: 38px 16px 44px;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 21px;
  }

  .summary {
    width: min(100%, 300px);
    font-size: 16px;
  }

  .summary + .launching {
    margin-top: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
