.landing {
  --ink: #f0f4ee;
  --muted: #aebbb4;
  --green: #b2ef9e;
  --line: #2a3b33;
  --page-width: 1180px;
  color-scheme: dark;
  background: #101713;
  color: var(--ink);
}

.landing a:focus-visible { outline-color: var(--green); }
.landing .skip { background: #151f19; }
.landing .header-inner { min-block-size: 4.75rem; }
.landing .brand img { border: 0; background: transparent; }
.landing .site-nav { gap: .4rem 1.4rem; }
.landing .site-footer { background: #0d130f; }
.landing .footer-inner { padding-block: 1.5rem; }

.landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  column-gap: 1rem;
  min-block-size: 40rem;
  padding-block: 4rem;
}

.landing-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 78% 46%, #253b2d, transparent 58%);
  content: "";
}

.hero-copy { z-index: 1; }
.hero-copy h1 {
  font-size: clamp(3rem, 5.5vw, 5.35rem);
  line-height: .99;
  letter-spacing: -.052em;
  text-wrap: initial;
}
.landing:lang(zh-Hans) .hero-copy h1 { font-size: clamp(2.55rem, 5vw, 4.8rem); line-height: 1.12; letter-spacing: -.05em; }
.hero-copy h1 em { color: var(--green); font-style: normal; }
.landing .intro { max-width: 33rem; margin-top: 1.5rem; }
.store-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.store-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .72rem 1rem;
  min-width: 8.65rem;
  border: 1px solid #526957;
  border-radius: .75rem;
  background: #1b2a21;
  color: #f4fff0;
  text-decoration: none;
  line-height: 1.3;
}
.store-link:first-child { background: #c2f6ae; color: #122819; border-color: #c2f6ae; }
.store-link:hover { border-color: #e3fddb; }
.store-link:first-child:hover { background: #dcffd0; }
.store-link small { font-size: .73rem; }
.store-link strong { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.store-link strong span { font-size: .8rem; }
.store-note { margin-top: .75rem; font-size: .8rem; color: var(--muted); }

.hero-images { position: relative; min-height: clamp(21rem, 47vw, 34rem); }
.phone {
  position: absolute;
  width: 44%;
  max-width: 254px;
  padding: clamp(4px, .65vw, 9px);
  border: 1px solid #6f8176;
  border-radius: clamp(1.3rem, 3vw, 2.65rem);
  background: #18241e;
  box-shadow: 0 26px 54px #070c09a6;
}
.phone img { width: 100%; height: auto; border-radius: clamp(1rem, 2.4vw, 2.1rem); }
.phone-back { top: 2%; left: 9%; transform: rotate(-10deg) scale(.92); }
.phone-front { right: 7%; bottom: 1%; transform: rotate(9deg); }

.gallery, .tablet-panel { scroll-margin-top: 1.5rem; }
.gallery { padding-block: 2rem 4rem; }
.section-heading { margin-bottom: 1.7rem; }
.section-heading h2, .closing h2, .landing #faq h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.06em;
}
.section-heading p { margin-top: .65rem; color: var(--muted); }
.screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.screen-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.15rem;
  margin: 0;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(150deg, #23362b, #18231d 74%);
}
.screen-card:nth-child(3n + 2) { background: linear-gradient(150deg, #2c3123, #1f241a 74%); }
.screen-card:nth-child(3n) { background: linear-gradient(150deg, #24332f, #18251f 74%); }
.screen-card h3 { font-size: 1.17rem; line-height: 1.2; }
.screen-card p { color: var(--muted); font-size: .91rem; margin-top: .4rem; }
.screen-frame { margin: auto auto 0; width: min(100%, 12.5rem); }
.screen-frame img {
  width: 100%;
  height: auto;
  border: 3px solid #57685d;
  border-radius: 1.4rem;
  box-shadow: 0 12px 24px #0c110c88;
}
.tablet-panel {
  padding: clamp(1.4rem, 4vw, 3.6rem);
  border: 1px solid #384d41;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at bottom, #324b3d, #1c2922 75%);
}
.tablet { margin: 2rem auto 0; max-width: 58rem; }
.tablet img {
  width: 100%;
  height: auto;
  border: clamp(4px, .9vw, 12px) solid #151e18;
  border-radius: clamp(.9rem, 2vw, 1.65rem);
  box-shadow: 0 12px 30px #0b120e99;
}
.landing #faq { padding-block: 4rem; }
.landing #faq .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing #faq .card { background: #19251e; }
.landing #faq .card h3 { color: var(--ink); }
.closing {
  padding: clamp(1.3rem, 4vw, 2.75rem);
  margin-bottom: 3rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #19251e;
}

@media (max-width: 800px) {
  .landing-hero { grid-template-columns: 1fr; min-block-size: 0; padding-block: 3rem 2rem; gap: 1.5rem; }
  .landing-hero::before { background-position: bottom center; }
  .hero-images { width: min(100%, 29rem); justify-self: center; min-height: clamp(21rem, 75vw, 30rem); }
  .phone { width: 44%; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .landing .wrap { inline-size: calc(100% - 2rem); }
  .landing .header-inner { padding-block: .65rem; }
  .landing .site-nav { gap: .1rem .75rem; }
  .landing .site-nav a { font-size: .81rem; }
  .screen-grid { gap: .65rem; }
  .screen-card { padding: .75rem; }
  .screen-card p { font-size: .83rem; }
  .screen-frame img { border-radius: .75rem; }
  .landing #faq .feature-grid { grid-template-columns: 1fr; }
}

@media (min-width: 801px) {
  .tablet-panel {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4.5rem);
  }
  .tablet-panel .section-heading { margin-bottom: 0; }
  .tablet { margin: 0 auto; max-width: 30rem; }
}
