:root {
  --ink: #3d291e;
  --ink-soft: #755c4d;
  --orange: #f4772d;
  --amber: #ffb51e;
  --cream: #fffaf1;
  --paper: #fffdf8;
  --mist: #f7efe3;
  --line: #ebd8c2;
  --white: #ffffff;
  --shadow: 0 18px 36px rgba(89, 53, 26, 0.11);
  --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,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

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

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

ul {
  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;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.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-search::before {
  background-image: url("../icons/search.svg");
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  display: block;
  padding: 25px 0 22px;
  border-bottom: 3px solid transparent;
  font-weight: 700;
}

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

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  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 {
  color: var(--ink);
  background: var(--amber);
}

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

.nav-download .icon,
.button-primary .icon {
  filter: brightness(0) saturate(100%) invert(15%) sepia(17%) saturate(1471%) hue-rotate(340deg) brightness(90%);
}

.nav-download:hover .icon,
.nav-download:focus-visible .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(--ink);
  border-radius: 5px;
  background: var(--white);
}

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

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

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

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

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

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

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

.button-primary {
  margin-top: 28px;
  color: var(--ink);
  background: var(--amber);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange);
  transform: translateY(-2px);
}

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

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

.phone-frame {
  position: absolute;
  top: 20px;
  right: 14px;
  z-index: 1;
  width: 270px;
  padding: 9px;
  border: 8px solid #1e1e20;
  border-radius: 28px;
  background: #1e1e20;
  box-shadow: var(--shadow);
}

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

.progress-card {
  position: absolute;
  bottom: 92px;
  left: 0;
  z-index: 2;
  width: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.progress-top strong,
.progress-card b {
  font-size: 16px;
}

.progress-top .icon {
  width: 16px;
  height: 16px;
}

.progress-card b,
.progress-card span {
  display: block;
}

.progress-card b {
  margin-top: 13px;
}

.progress-card span {
  color: var(--ink-soft);
  font-size: 12px;
}

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

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

.progress-card a {
  display: block;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--orange);
  font-weight: 800;
  text-align: center;
}

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

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

.centered-heading {
  max-width: 720px;
  margin: 0 auto 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(--ink-soft);
  text-align: right;
}

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

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

.feature-card {
  min-height: 166px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.feature-card .icon {
  width: 31px;
  height: 31px;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 18px;
}

.feature-card p {
  margin-top: 5px;
  color: var(--ink-soft);
}

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

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

.screen-card {
  min-width: 0;
}

.screen-image {
  overflow: hidden;
  border: 1px solid var(--line);
  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: 11px;
}

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

.screen-card figcaption strong {
  font-size: 14px;
}

.screen-card figcaption span {
  color: var(--ink-soft);
  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(48px, 9vw, 140px);
}

.reading-shot {
  justify-self: center;
  width: min(100%, 270px);
  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-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
}

.reading-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.reading-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.reading-list .icon {
  width: 26px;
  height: 26px;
}

.reading-list b,
.reading-list small {
  display: block;
}

.reading-list b {
  font-size: 16px;
}

.reading-list small {
  color: var(--ink-soft);
  font-size: 12px;
}

.help {
  padding-bottom: 48px;
  background: var(--cream);
}

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

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

.faq-item {
  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(--ink);
  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 {
  padding: 0 16px 16px;
  color: var(--ink-soft);
}

.official {
  padding-top: 26px;
  background: var(--cream);
}

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

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

.official-row button span .icon {
  width: 18px;
  height: 18px;
}

.official-row div {
  padding: 0 16px 16px;
}

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

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

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

.review-card {
  min-height: 224px;
  padding: 20px;
  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(--ink);
  background: #ffe09a;
  font-style: normal;
  font-weight: 800;
}

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

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

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

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

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

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

.download-inner p {
  color: var(--amber);
}

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

.button-light {
  min-width: 164px;
  color: var(--ink);
  background: var(--amber);
}

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

.button-light .icon {
  filter: brightness(0) saturate(100%) invert(15%) sepia(17%) saturate(1471%) hue-rotate(340deg) brightness(90%);
}

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

.site-footer {
  padding: 48px 0 22px;
  color: #f7e6cf;
  background: #2c1a12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 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;
  font-size: 18px;
}

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

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

.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(--amber);
}

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

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

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

.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 #52382a;
  text-align: center;
}

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

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

  .hero-stage {
    width: 410px;
  }

  .progress-card {
    left: -22px;
  }

  .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(--orange);
    background: var(--cream);
  }

  .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: 510px;
  }

  .phone-frame {
    right: 0;
    left: auto;
  }

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

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

  .split-heading {
    display: block;
  }

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

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

  .feature-card {
    min-height: 0;
  }

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

  .reading-grid {
    gap: 34px;
  }

  .reading-shot {
    order: 2;
  }

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

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

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

  .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: 478px;
  }

  .phone-frame {
    width: 246px;
  }

  .progress-card {
    bottom: 38px;
    padding: 18px;
  }

  .footer-grid {
    gap: 22px 14px;
  }
}
