@font-face {
  font-family: 'CorpSrcWinSong';
  src: url('/assets/CorpSrcWinSong-web.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #191919;
  --muted: #666666;
  --accent: #c5593b;
  --line: #e4e0d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, 'PingFang SC', sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

html[lang='zh-CN'] [lang='en'],
html[lang='en'] [lang='zh-CN'] {
  display: none;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

header,
main,
footer {
  width: min(1112px, calc(100% - 64px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}

.wordmark {
  display: block;
  flex-shrink: 0;
}

.wordmark img {
  display: block;
}

header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.language {
  width: 36px;
  flex: 0 0 36px;
  text-align: center;
  border: 0;
  padding: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

h1,
h2,
h3,
.tagline {
  font-family: 'CorpSrcWinSong', serif;
  font-weight: 400;
}

h2 {
  margin: 14px 0 22px;
  font-size: 41.5px;
  line-height: 1.4;
  letter-spacing: -1px;
}

.hero {
  display: grid;
  grid-template-columns: 276px 317px;
  align-items: start;
  column-gap: 104px;
  width: 800px;
  margin-inline: auto;
  padding: 122px 0 100px 103px;
}

.gallery-phone {
  position: relative;
  width: 276px;
  aspect-ratio: 276 / 600.06;
  margin: 0;
}

.gallery-phone img {
  position: absolute;
  top: -2.6316%;
  left: -14.5572%;
  width: 129.3478%;
  height: auto;
  max-width: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 42px;
  text-align: center;
}

.app-icon {
  display: block;
  width: 125px;
  height: 125px;
  border-radius: 28px;
}

.hero h1 {
  margin: 38px 0 0;
  font-size: 0;
  line-height: 0;
}

.hero h1 img {
  display: block;
}

.tagline {
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 30px;
}

.description {
  margin: 32px -20px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.app-store-button {
  display: block;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: default;
}

.app-store-button > span {
  display: block;
}

.app-store-button img {
  display: block;
  width: 120px;
  height: 40px;
}

.brand-indicator {
  position: relative;
  width: 317px;
  height: 149px;
  margin-top: 22px;
  overflow: hidden;
}

.brand-indicator img {
  position: absolute;
  top: 13.75px;
  left: 16.3px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 46px;
  padding: 10px 20px 150px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: Arial, 'PingFang SC', sans-serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.features article > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 55px;
  padding: 172px 40px 100px;
  border-top: 1px solid var(--line);
}

.detail-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.phone-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30.75px;
  width: 100%;
  max-width: 567.75px;
  justify-self: end;
}

.feature-phone {
  mix-blend-mode: darken;
  position: relative;
  width: 100%;
  aspect-ratio: 168.75 / 366.8843;
  margin: 0;
}

.feature-phone img {
  position: absolute;
  top: -2.6316%;
  left: -20.0145%;
  width: 140.4444%;
  height: auto;
  max-width: none;
}

.pricing {
  padding: 45px 0 93px;
  text-align: center;
}

.pricing h2 {
  margin: 0 0 24px;
}

.pricing p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.pro-logo {
  display: block;
  width: 300px;
  height: auto;
  margin: 44px auto 40px;
}

.capability-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 21px;
  margin: 26px auto 0;
}

.pro-icons {
  margin-top: 42px;
}

.studio-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 48px;
}

.studio,
.contact {
  padding: 98px 0 100px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.studio p:not(.eyebrow),
.contact p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.contact {
  padding-block: 75px 85px;
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid #aaa;
  font-size: 13px;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-registration {
  justify-self: start;
  font-size: 10px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
}

footer p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.document {
  max-width: 720px;
  margin: 60px auto 110px;
}

.document h1 {
  margin-bottom: 40px;
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -2px;
}

.document h2 {
  margin-top: 40px;
  font-size: 29px;
}

.document h3 {
  margin-top: 30px;
  font-size: 21px;
}

.document p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.document p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.document .subtitle {
  font-size: 32px;
}

.compact {
  min-height: 440px;
  padding-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 11px 21px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.button:hover {
  background: var(--accent);
  color: #fff;
}

.compact .button {
  margin: 18px 0 26px;
}

.small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 10;
  padding: 10px;
  background: #fff;
}

.skip:focus {
  top: 10px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 250px 317px;
    column-gap: 65px;
    width: 100%;
    justify-content: center;
    padding: 65px 0 80px;
  }

  .gallery-phone {
    width: 250px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 80px 30px 85px;
  }

  .detail-copy {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
  }

  .phone-trio {
    justify-self: center;
  }
}

@media (max-width: 650px) {
  header,
  main,
  footer {
    width: calc(100% - 40px);
  }

  header {
    height: 82px;
  }

  .wordmark img {
    width: 75px;
    height: auto;
  }

  header nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 65px;
    padding: 35px 0 75px;
  }

  .hero-copy {
    order: -1;
    width: 100%;
    padding: 0;
  }

  .app-icon {
    width: 110px;
    height: 110px;
    border-radius: 25px;
  }

  .hero h1 {
    margin-top: 28px;
  }

  .description {
    margin-inline: 0;
  }

  .brand-indicator {
    margin-top: 20px;
  }

  .gallery-phone {
    width: min(250px, calc(100% - 64px));
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 20px;
    padding: 10px 0 70px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  h3 {
    font-size: 19px;
  }

  .features article > p:last-child {
    font-size: 12px;
  }

  h2 {
    font-size: 32px;
  }

  .detail {
    gap: 45px;
    padding: 60px 10px 65px;
  }

  .phone-trio {
    width: calc(100% - 32px);
    gap: 13px;
  }

  .pricing {
    padding: 35px 5px 65px;
  }

  .pricing p {
    font-size: 13px;
  }

  .capability-icons {
    gap: 12px;
    max-width: 260px;
  }

  .studio-logo {
    width: 240px;
    margin-bottom: 36px;
  }

  .pro-logo {
    width: 250px;
    margin: 40px auto 30px;
  }

  .studio,
  .contact {
    padding: 65px 0;
  }

  .studio h2 {
    font-size: 29px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    padding: 28px 0;
  }

  .footer-registration,
  footer p {
    justify-self: center;
  }

  html[lang='en'] .footer-registration {
    display: none;
  }

  .document {
    margin: 35px 0 70px;
  }

  .document h1 {
    font-size: 39px;
  }

  .document h2 {
    font-size: 25px;
  }

  .document h3 {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }

  header nav {
    gap: 10px;
    font-size: 11px;
  }

  .brand-indicator {
    width: 100%;
  }

  .brand-indicator img {
    left: calc(50% - 142.264px);
  }
}

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

.support-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 48px;
  font-size: 14px;
}

html .support-document .support-translation {
  display: block;
  margin-top: 48px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.support-document h1 {
  overflow-wrap: anywhere;
}

/* Video stays inside the existing device bezel; dimensions follow its screen. */
.gallery-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14.925% / 6.865%;
  background: #000;
}
.gallery-screen video { display: block; width: 100%; height: 100%; object-fit: fill; }
.gallery-island {
  position: absolute;
  top: 3.2%; left: 35.3%; width: 29.4%; height: 4%;
  border-radius: 999px; background: #030303;
}
.gallery-island i {
  position: absolute; right: 10%; top: 28%; width: 13%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, #14264d, #04060c 65%);
}

.devices { padding: 30px 0 95px; text-align: center; }
.devices h2 { margin: 0 0 24px; }
.devices > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.4; }
.devices > img { display: block; width: min(100%, 760px); height: auto; margin: 48px auto 0; mix-blend-mode: darken; }
@media (max-width: 650px) {
  .devices { padding: 20px 0 65px; }
  .devices > p:not(.eyebrow) { font-size: 13px; }
  .devices > img { margin-top: 32px; }
}
