@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #12251c;
  --ink-deep: #09150f;
  --lilac: #f0d8ff;
  --lilac-soft: #f7ebff;
  --lime: #d7ff3f;
  --tomato: #ff5e40;
  --blue: #7db5ff;
  --cream: #fff7ed;
  --muted: #625e68;
  --max: 1260px;
  --fp17-gap: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--lilac);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.topbar {
  width: min(calc(100% - 44px), var(--max));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 40;
}

.mark,
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.mark img,
.footer-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(18, 37, 28, .7);
  font-size: 14px;
  font-weight: 800;
}

.topnav a {
  transition: color .2s ease, transform .2s ease;
}

.topnav a:hover {
  color: var(--tomato);
  transform: translateY(-2px);
}

.top-download,
.primary-action,
.closing a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.top-download {
  min-height: 46px;
  padding: 0 23px;
  font-size: 14px;
}

.top-download:hover,
.primary-action:hover,
.closing a:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(9, 21, 15, .22);
}

.nav-trigger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

.opening {
  width: min(calc(100% - 44px), 1380px);
  min-height: 760px;
  margin: 24px auto 80px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  position: relative;
}

.opening-copy {
  max-width: 980px;
  position: relative;
  z-index: 3;
}

.micro-title,
.section-kicker {
  margin: 0 0 21px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-kicker.inverse {
  color: var(--lime);
}

.opening h1 {
  margin: 0;
  font-size: clamp(62px, 8.2vw, 122px);
  line-height: .9;
  letter-spacing: -.085em;
  font-weight: 900;
}

.opening h1 span {
  color: var(--ink);
}

.opening-text {
  max-width: 780px;
  margin: 31px auto 0;
  color: rgba(18, 37, 28, .68);
  font-size: 18px;
  line-height: 1.95;
}

.opening-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.primary-action {
  min-height: 60px;
  padding: 0 32px;
  background: var(--tomato);
  font-size: 16px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 900;
}

.secondary-action i {
  transition: transform .2s ease;
}

.secondary-action:hover i {
  transform: translateX(5px);
}

.opening-media {
  width: min(100%, 930px);
  min-height: 430px;
  margin: 42px 0 0;
  display: grid;
  place-items: center;
  position: relative;
}

.opening-media::before {
  content: "";
  position: absolute;
  width: 92%;
  aspect-ratio: 1.75;
  background: var(--lime);
  clip-path: polygon(7% 0, 93% 5%, 100% 44%, 87% 98%, 13% 100%, 0 61%);
}

.opening-media::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: 4%;
  top: 3%;
  background: var(--blue);
  border-radius: 50%;
}

.opening-media img {
  width: min(92%, 880px);
  max-height: 410px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 32px 38px rgba(18, 37, 28, .2));
}

.opening-footnote {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(18, 37, 28, .56);
  font-size: 13px;
  line-height: 1.75;
}

.platform-section,
.detail-section,
.check-section {
  width: min(calc(100% - 44px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.platform-section {
  padding: 100px 0 145px;
}

.platform-heading {
  max-width: 910px;
}

.platform-heading h2,
.connect-intro h2,
.detail-heading h2,
.device-copy h2,
.check-title h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.06;
  letter-spacing: -.066em;
  font-weight: 900;
}

.platform-words {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 115px;
}

.platform-words > a {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 22px;
  align-items: center;
}

.platform-words > a > i {
  grid-row: 1 / span 3;
  color: var(--tomato);
  font-size: 46px;
}

.platform-words strong {
  font-size: clamp(42px, 4.8vw, 67px);
  line-height: .98;
  letter-spacing: -.06em;
}

.platform-words span {
  color: rgba(18, 37, 28, .62);
  font-size: 14px;
}

.platform-words b {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.platform-words b i {
  transition: transform .2s ease;
}

.platform-words > a:hover b i {
  transform: translateX(5px);
}

.platform-note {
  max-width: 800px;
  margin: 70px 0 0;
  color: rgba(18, 37, 28, .66);
  font-size: 16px;
  line-height: 1.85;
}

.connect-story {
  padding: 145px max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: .85fr 1.05fr;
  gap: 95px;
  align-items: center;
  color: var(--cream);
  background: var(--ink);
  clip-path: polygon(0 5%, 90% 0, 100% 9%, 96% 95%, 14% 100%, 0 91%);
}

.connect-intro > p {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(255, 247, 237, .7);
  font-size: 17px;
  line-height: 1.9;
}

.connect-media {
  margin: 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: var(--blue);
  clip-path: ellipse(49% 46% at 50% 50%);
}

.connect-media img {
  width: 88%;
  max-height: 490px;
  object-fit: contain;
}

.connect-sequence {
  grid-column: 1 / -1;
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 54px;
  list-style: none;
}

.connect-sequence li > span {
  display: block;
  margin-bottom: 22px;
  color: var(--lime);
  font-size: 74px;
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.08em;
}

.connect-sequence h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.connect-sequence p {
  margin: 0;
  color: rgba(255, 247, 237, .68);
  line-height: 1.8;
}

.detail-section {
  padding: 145px 0 150px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 105px;
  align-items: start;
}

.detail-heading {
  position: sticky;
  top: 105px;
}

.detail-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 65px;
}

.detail-copy article > span {
  color: var(--tomato);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
}

.detail-copy h3 {
  margin: 11px 0 11px;
  font-size: 25px;
}

.detail-copy p {
  margin: 0;
  color: rgba(18, 37, 28, .67);
  line-height: 1.85;
}

.detail-media {
  grid-column: 1 / -1;
  margin: 15px 0 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: var(--blue);
  clip-path: polygon(6% 1%, 94% 5%, 100% 42%, 88% 98%, 13% 100%, 0 62%);
}

.detail-media img {
  width: min(91%, 850px);
  max-height: 490px;
  object-fit: contain;
}

.device-section {
  padding: 135px max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 100px;
  align-items: center;
  color: var(--cream);
  background: var(--tomato);
}

.device-media {
  margin: 0;
  min-height: 540px;
  display: grid;
  place-items: center;
  background: var(--lilac-soft);
  clip-path: circle(48% at 50% 50%);
}

.device-media img {
  width: 87%;
  max-height: 510px;
  object-fit: contain;
}

.device-copy > p {
  max-width: 750px;
  margin: 24px 0 0;
  color: rgba(255, 247, 237, .75);
  font-size: 17px;
  line-height: 1.9;
}

.device-points {
  margin-top: 40px;
  display: grid;
  gap: 23px;
}

.device-points p {
  margin: 0;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  color: rgba(255, 247, 237, .77);
  line-height: 1.75;
}

.device-points strong {
  color: var(--lime);
}

.device-copy > a {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--lime);
  font-weight: 900;
}

.device-copy > a i {
  transition: transform .2s ease;
}

.device-copy > a:hover i {
  transform: translateX(5px);
}

.check-section {
  padding: 140px 0 145px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
}

.check-copy {
  display: grid;
  gap: 34px;
}

.check-copy p {
  margin: 0;
}

.check-copy strong,
.check-copy span {
  display: block;
}

.check-copy strong {
  font-size: 24px;
}

.check-copy span {
  margin-top: 9px;
  color: rgba(18, 37, 28, .66);
  line-height: 1.8;
}

.faq-section {
  padding: 145px max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 120px;
  align-items: start;
  color: var(--cream);
  background: var(--ink-deep);
}

.faq-heading {
  position: sticky;
  top: 100px;
}

.faq-copy {
  display: grid;
  gap: 34px;
}

.faq-copy summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 900;
}

.faq-copy summary::-webkit-details-marker {
  display: none;
}

.faq-copy summary i {
  margin-top: 8px;
  color: var(--lime);
  font-size: 14px;
  transition: transform .2s ease;
}

.faq-copy details[open] summary i {
  transform: rotate(45deg);
}

.faq-copy p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 247, 237, .68);
  line-height: 1.85;
}

.closing {
  min-height: 500px;
  padding: 90px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: var(--lime);
}

.closing > p {
  margin: 0 0 17px;
  color: var(--tomato);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.closing h2 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(52px, 7vw, 98px);
  line-height: 1;
  letter-spacing: -.075em;
  font-weight: 900;
}

.closing a {
  min-height: 62px;
  margin-top: 40px;
  padding: 0 34px;
  font-size: 17px;
}

.closing > span {
  margin-top: 19px;
  color: rgba(18, 37, 28, .62);
  font-size: 13px;
}

.footer {
  width: 100%;
  min-height: 126px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
  color: var(--cream);
  background: var(--tomato);
  font-size: 13px;
}

.footer-mark {
  color: var(--cream);
  font-size: 18px;
}

.footer-mark img {
  width: 31px;
  height: 31px;
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
  }

  .topnav {
    display: none;
    position: fixed;
    inset: 78px 0 auto;
    width: 100%;
    padding: 35px 24px 39px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    color: var(--cream);
    background: rgba(18, 37, 28, .98);
    backdrop-filter: blur(18px);
  }

  .topnav.is-open {
    display: flex;
  }

  .nav-trigger {
    display: grid;
    place-items: center;
  }

  .top-download {
    justify-self: end;
  }

  .connect-story,
  .detail-section,
  .device-section,
  .check-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .connect-media,
  .device-media {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
  }

  .detail-heading,
  .faq-heading {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar {
    width: min(calc(100% - 28px), var(--max));
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
  }

  .top-download {
    display: none;
  }

  .opening,
  .platform-section,
  .detail-section,
  .check-section {
    width: min(calc(100% - 30px), var(--max));
  }

  .opening {
    min-height: auto;
    margin-top: 15px;
    margin-bottom: 35px;
  }

  .opening h1 {
    font-size: clamp(51px, 14.7vw, 72px);
  }

  .opening-text {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.85;
  }

  .opening-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .primary-action {
    width: 100%;
  }

  .secondary-action {
    justify-content: center;
  }

  .opening-media {
    min-height: 300px;
    margin-top: 34px;
  }

  .opening-media::before {
    width: 100%;
  }

  .opening-media::after {
    width: 95px;
    height: 95px;
  }

  .opening-media img {
    max-height: 290px;
  }

  .platform-section,
  .detail-section,
  .check-section {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .platform-words {
    margin-top: 55px;
    grid-template-columns: 1fr;
    gap: 53px;
  }

  .platform-words strong {
    font-size: 43px;
  }

  .connect-story {
    padding-top: 105px;
    padding-bottom: 115px;
    gap: 48px;
    clip-path: polygon(0 2%, 90% 0, 100% 3%, 97% 98%, 14% 100%, 0 96%);
  }

  .connect-media {
    min-height: 350px;
  }

  .connect-sequence {
    margin-top: 10px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .connect-sequence li > span {
    margin-bottom: 17px;
    font-size: 62px;
  }

  .detail-section {
    gap: 52px;
  }

  .detail-copy {
    grid-template-columns: 1fr;
    gap: 47px;
  }

  .detail-media {
    min-height: 340px;
  }

  .device-section {
    padding-top: 90px;
    padding-bottom: 95px;
    gap: 48px;
  }

  .device-media {
    min-height: 350px;
  }

  .device-points p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .check-section {
    gap: 52px;
  }

  .faq-section {
    padding-top: 95px;
    padding-bottom: 100px;
    gap: 52px;
  }

  .faq-copy summary {
    font-size: 18px;
  }

  .closing {
    min-height: 430px;
    padding: 75px 20px;
  }

  .closing h2 {
    font-size: clamp(48px, 13.8vw, 68px);
  }

  .footer {
    padding: 36px 20px;
    grid-template-columns: 1fr;
    gap: 13px;
    text-align: center;
  }

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

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

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