:root {
  --line: rgba(27, 22, 18, 0.12);
  --text: #161310;
  --muted: #6a6259;
  --container: 1180px;
  --footer-container: 1024px;
  --system-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 3vw, 32px);
  --screen-gutter: clamp(20px, 5vw, 56px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: #fff;
  color: var(--text);
  font-family: "Public Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  opacity: 0.48;
}

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

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 0 44px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 18vw, 174px);
  padding: 0;
  border: none;
  background: transparent;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 18px rgba(23, 21, 19, 0.18));
}

.store-badge {
  width: 100%;
  height: auto;
}

.hero {
  --hero-icon-start-y: calc(50vh - 122px);
  --hero-icon-start-scale: 4.929;
  --hero-copy-start-y: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 80px 0 108px;
  background: #fff;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 100%;
  padding-inline: var(--gutter);
}

.hero-mark {
  width: 84px;
  height: 84px;
  transform-origin: center;
}

.hero-app-name {
  margin: 17px 0 0;
  color: var(--text);
  font-family: var(--system-font);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2354;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-family: var(--system-font);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.0556;
  max-width: 25ch;
  text-wrap: balance;
  word-break: keep-all;
}

.hero-copy h1 {
  margin-top: 14px;
}

html[lang="zh-Hans"] .hero-copy h1,
html[lang="zh-Hant"] .hero-copy h1 {
  line-height: 1.12;
}

.hero-body {
  max-width: 900px;
  margin: 18px 0 23px;
  color: var(--text);
  font-family: var(--system-font);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3334;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
}

.device {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
}

.device img {
  border-radius: inherit;
}

.screens-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 43px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding-inline: var(--screen-gutter);
}

.screen-card {
  display: grid;
  justify-items: center;
}

html.js .hero-intro-pending .hero-mark,
html.js .hero-intro-pending .hero-app-name,
html.js .hero-intro-pending .hero-copy h1,
html.js .hero-intro-pending .hero-body,
html.js .hero-intro-pending .hero-actions,
html.js .hero-intro-pending .screen-card {
  will-change: transform, opacity;
}

html.js .hero-intro-pending .hero-mark {
  opacity: 1;
  transform: translateY(var(--hero-icon-start-y, 0)) scale(var(--hero-icon-start-scale, 1));
}

html.js .hero-intro-pending .hero-app-name,
html.js .hero-intro-pending .hero-copy h1,
html.js .hero-intro-pending .hero-body,
html.js .hero-intro-pending .hero-actions,
html.js .hero-intro-pending .screen-card {
  opacity: 0;
}

html.js .hero-intro-pending .hero-copy h1,
html.js .hero-intro-pending .hero-body,
html.js .hero-intro-pending .hero-actions,
html.js .hero-intro-pending .screen-card {
  transform: translateY(var(--hero-copy-start-y, 120px));
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 28px;
  width: min(calc(100% - (var(--screen-gutter) * 2)), var(--footer-container));
  margin-top: clamp(40px, 6vw, 72px);
  margin-inline: auto;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.33337;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-right: auto;
}

.footer-copyright {
  margin: 0;
  color: #6e6e73;
}

.footer-link-separator {
  color: #86868b;
}

.footer-links a {
  color: #424245;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #1d1d1f;
  text-decoration: underline;
}

.language-selector {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.33337;
}

.footer-language-selector {
  margin-left: 20px;
}

.language-selector select {
  min-height: auto;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #6e6e73;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: right;
  width: auto;
}

.language-selector select:focus,
.language-selector select:focus-visible {
  outline: none;
  box-shadow: none;
}

@media (max-width: 1080px) {
  .hero {
    --hero-icon-start-y: calc(50vh - 91px);
    --hero-icon-start-scale: 5.645;
    gap: 60px;
    padding: 60px 0 100px;
  }

  .hero-mark {
    width: 62px;
    height: 62px;
  }

  .hero-app-name {
    margin-top: 10px;
  }

  .hero-copy h1 {
    margin-top: 17px;
  }

  h1 {
    font-size: 2.75rem;
    line-height: 1.0909;
  }

  html[lang="zh-Hans"] .hero-copy h1,
  html[lang="zh-Hant"] .hero-copy h1 {
    line-height: 1.16;
  }

  .hero-body {
    max-width: 680px;
    margin-top: 14px;
    font-size: 1.1875rem;
    line-height: 1.2106;
  }

  .screens-grid {
    gap: 25px;
  }

  .site-footer {
    justify-content: center;
  }
}

@media (max-width: 1020px) {
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    --hero-icon-start-y: calc(50vh - 65px);
    --hero-icon-start-scale: 5.07;
    gap: 60px;
    padding: 40px 0 85px;
  }

  .hero-mark {
    width: 72px;
    height: 72px;
  }

  .store-button {
    width: 158px;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 1;
  }

  html[lang="zh-Hans"] .hero-copy h1,
  html[lang="zh-Hant"] .hero-copy h1 {
    line-height: 1.12;
  }

  .hero-body {
    max-width: 315px;
  }

  .hero-actions .store-button {
    width: auto;
  }

  .screens-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    margin-right: 0;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
  }

  .site-footer {
    justify-content: center;
  }

  .footer-language-selector {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .hero-intro-pending .hero-mark,
  .hero-intro-pending .hero-app-name,
  .hero-intro-pending .hero-copy h1,
  .hero-intro-pending .hero-body,
  .hero-intro-pending .hero-actions,
  .hero-intro-pending .screen-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
