:root {
  --navy: #0c326d;
  --blue: #1767ef;
  --sky: #eaf4ff;
  --paper: #fffefd;
  --ink: #172b4b;
  --muted: #61728b;
  --line: #d6e2f0;
  --white: #ffffff;
  --shadow: 0 18px 34px rgba(20, 73, 139, 0.12);
  --page: min(1200px, calc(100% - 48px));
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.page-width {
  width: var(--page);
  margin: 0 auto;
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

.icon-download::before {
  background-image: url("../icons/download.svg");
}

.icon-menu::before {
  background-image: url("../icons/menu.svg");
}

.icon-book::before {
  background-image: url("../icons/book.svg");
}

.icon-clock::before {
  background-image: url("../icons/clock.svg");
}

.icon-bookmark::before {
  background-image: url("../icons/bookmark.svg");
}

.icon-spark::before {
  background-image: url("../icons/spark.svg");
}

.icon-search::before {
  background-image: url("../icons/search.svg");
}

.icon-grid::before {
  background-image: url("../icons/grid.svg");
}

.icon-chevron::before {
  background-image: url("../icons/chevron.svg");
}

.icon-globe::before {
  background-image: url("../icons/globe.svg");
}

.icon-heart::before {
  background-image: url("../icons/heart.svg");
}

.icon-arrow::before {
  background-image: url("../icons/arrow.svg");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 253, 0.98);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--page);
  height: 100%;
  margin: 0 auto;
}

.brand,
.site-nav a,
.nav-download,
.button,
.menu-toggle,
.footer-social a {
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  gap: 28px;
}

.site-nav a {
  display: block;
  padding: 25px 0 22px;
  border-bottom: 3px solid transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  border-color: var(--blue);
  color: var(--blue);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.nav-download,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 800;
}

.nav-download,
.button-primary {
  color: var(--white);
  background: var(--blue);
}

.nav-download:hover,
.nav-download:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-2px);
}

.nav-download .icon,
.button-primary .icon {
  filter: brightness(0) invert(1);
}

.menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 5px;
  background: var(--white);
}

.hero {
  overflow: hidden;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  min-height: 560px;
}

.hero-copy {
  padding: 90px 0;
}

.eyebrow,
.section-heading > p,
.download-inner p {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.eyebrow::before,
.section-heading > p::before,
.download-inner p::before {
  display: inline-block;
  width: 25px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin-top: 14px;
  color: var(--blue);
  font-size: clamp(54px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -3px;
}

.hero-summary {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.button-primary {
  margin-top: 28px;
}

.update-label {
  display: block;
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  justify-self: end;
  width: 490px;
  height: 510px;
}

.phone-frame {
  position: absolute;
  top: 20px;
  right: 16px;
  z-index: 1;
  width: 300px;
  padding: 9px;
  border: 8px solid var(--navy);
  border-radius: 30px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.progress-card {
  position: absolute;
  bottom: 40px;
  left: -45px;
  z-index: 2;
  width: 306px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.progress-head strong {
  color: var(--blue);
  font-size: 18px;
}

.progress-card > p {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
}

.progress-card > p span {
  color: var(--muted);
}

.progress-line {
  height: 5px;
  margin: 10px 0;
  border-radius: 5px;
  background: #dce8f9;
}

.progress-line i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 5px;
  background: var(--blue);
}

.progress-card ul {
  display: grid;
  gap: 7px;
}

.progress-card li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.progress-card li .icon {
  width: 14px;
  height: 14px;
}

.section-space {
  padding: 88px 0;
}

.section-heading h2 {
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.centered-heading {
  margin-bottom: 35px;
  text-align: center;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.split-heading > span {
  max-width: 330px;
  color: var(--muted);
  text-align: right;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.features .section-heading {
  margin-bottom: 36px;
}

.feature-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.feature-panel .icon {
  width: 32px;
  height: 32px;
}

.feature-panel h3 {
  color: var(--navy);
  font-size: 17px;
}

.feature-panel p {
  margin-top: 2px;
  color: var(--muted);
}

.feature-panel > span {
  color: #a7c7f3;
  font-size: 24px;
  font-weight: 800;
}

.screens {
  background: var(--sky);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-image {
  overflow: hidden;
  border: 1px solid #cbdff8;
  border-radius: 5px;
  background: var(--white);
}

.screen-image img {
  width: 100%;
  height: auto;
}

.screen-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  margin-top: 10px;
}

.screen-card figcaption b {
  grid-row: span 2;
  color: var(--blue);
  font-size: 12px;
}

.screen-card figcaption strong {
  color: var(--navy);
  font-size: 14px;
}

.screen-card figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.reading {
  background: var(--paper);
}

.reading-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.reading-shot {
  justify-self: center;
  width: min(100%, 300px);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reading-shot img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.reading-summary {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.route-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.route-list::before {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 15px;
  width: 2px;
  background: #9fc3fa;
  content: "";
}

.route-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}

.route-list b {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
}

.route-list h3 {
  color: var(--navy);
  font-size: 16px;
}

.route-list p {
  color: var(--muted);
  font-size: 13px;
}

.help {
  padding-bottom: 48px;
  background: #f7fbff;
}

.faq-list {
  width: min(760px, 100%);
  margin: 0 auto;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item,
.official-row {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.faq-item button,
.official-row button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px;
  color: var(--navy);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.faq-item button .icon,
.official-row button > .icon {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] .icon,
.official-row button[aria-expanded="true"] > .icon {
  transform: rotate(180deg);
}

.faq-item div,
.official-row div {
  padding: 0 16px 16px;
  color: var(--muted);
}

.official {
  padding-top: 26px;
  background: #f7fbff;
}

.official-row button span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.official-row a {
  color: var(--blue);
  font-weight: 800;
}

.reviews {
  background: var(--paper);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  min-height: 218px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.review-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.review-meta > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.review-meta span,
.review-meta time {
  display: block;
}

.review-meta time {
  color: var(--muted);
  font-size: 12px;
}

.review-meta b {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 1px;
}

.review-card > p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.download-band {
  padding: 34px 0;
  background: var(--sky);
}

.download-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 32px 38px;
  border-radius: 5px;
  background: var(--white);
}

.download-inner h2 {
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}

.button-light {
  min-width: 160px;
  color: var(--white);
  background: var(--blue);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-2px);
}

.button-light .icon {
  filter: brightness(0) invert(1);
}

.site-footer {
  padding: 48px 0 22px;
  color: #dce9ff;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.8fr) 1fr;
  gap: 28px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 18px;
}

.footer-brand p,
.site-footer li,
.copyright {
  color: #a8c0e4;
  font-size: 12px;
}

.footer-brand p {
  margin-top: 6px;
  max-width: 170px;
}

.site-footer nav p,
.footer-social p {
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 800;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-social > div {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #7495c6;
  border-radius: 50%;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--white);
  background: var(--blue);
}

.footer-social .icon {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.copyright {
  width: var(--page);
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid #31558d;
  text-align: center;
}

@media (max-width: 900px) {
  .site-nav ul {
    gap: 16px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-stage {
    width: 418px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 0.8fr);
  }

  .footer-social {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 30px, 540px);
    --header-height: 64px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    isolation: isolate;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    display: none;
    width: var(--page);
    margin: 0 auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 2px;
  }

  .site-nav a {
    padding: 10px 12px;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    border-color: var(--blue);
    background: var(--sky);
  }

  .nav-download {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav-download .icon {
    display: none;
  }

  .hero-grid,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding: 58px 0 28px;
    text-align: center;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-stage {
    justify-self: center;
    width: min(100%, 400px);
    height: 520px;
  }

  .phone-frame {
    right: 0;
  }

  .progress-card {
    bottom: 90px;
    left: 0;
    width: min(286px, calc(100% - 44px));
  }

  .section-space {
    padding: 62px 0;
  }

  .split-heading {
    display: block;
  }

  .split-heading > span {
    display: block;
    margin-top: 12px;
    text-align: left;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .reading-grid {
    gap: 34px;
  }

  .reading-content {
    text-align: center;
  }

  .route-list li {
    text-align: left;
  }

  .reviews .split-heading,
  .reviews .split-heading > span {
    text-align: center;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .download-inner {
    display: grid;
    gap: 22px;
    padding: 28px 24px;
    text-align: center;
  }

  .download-inner .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-social {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    margin: 0 auto;
  }

  .footer-brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-social > div {
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .hero-stage {
    height: 490px;
  }

  .phone-frame {
    width: 270px;
  }

  .progress-card {
    bottom: 64px;
    padding: 17px;
  }

  .progress-card li:nth-child(n + 3) {
    display: none;
  }
}
