:root {
  --paper: #fffaf2;
  --paper-deep: #fff4df;
  --ink: #3d2418;
  --muted: #795f4f;
  --orange: #f06a21;
  --orange-deep: #bd3d16;
  --yellow: #ffc63d;
  --line: #ead7c2;
  --white: #ffffff;
  --radius: 5px;
  --page: min(1200px, calc(100% - 48px));
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

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

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

button {
  font: inherit;
}

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

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

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

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

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

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

.nav-shell {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

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

.site-nav {
  margin: 0 auto;
}

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

.site-nav a {
  display: block;
  padding: 25px 0 20px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

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

.menu-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #fffaf2 0%, #fff7e8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  min-height: 610px;
  gap: 50px;
}

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

.section-label {
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-label::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: var(--yellow);
  content: "";
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-summary {
  max-width: 430px;
  margin-top: 22px;
  overflow: hidden;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero .button {
  margin-top: 28px;
  min-width: 174px;
}

.hero-points {
  display: flex;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-points li {
  padding: 0 15px;
  border-right: 1px solid var(--line);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
}

.hero-points li:first-child {
  padding-left: 0;
}

.hero-points li:last-child {
  border-right: 0;
}

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

.phone-frame {
  position: absolute;
  top: 24px;
  right: 0;
  width: 270px;
  border: 14px solid #202124;
  border-radius: var(--radius);
  background: #202124;
  box-shadow: 20px 22px 34px rgba(75, 45, 24, 0.18);
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--white);
}

.hero-card {
  position: absolute;
  bottom: 72px;
  left: 0;
  z-index: 1;
  width: 320px;
  padding: 23px 24px 18px;
  border: 1px solid #f3c797;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 12px 14px 30px rgba(75, 45, 24, 0.14);
}

.hero-card p {
  display: flex;
  justify-content: space-between;
  color: var(--orange-deep);
  font-size: 15px;
  font-weight: 800;
}

.hero-card p::after {
  content: "→";
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin-top: 13px;
  font-size: 17px;
}

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

.progress {
  height: 5px;
  margin: 16px 0;
  border-radius: var(--radius);
  background: #f2e9dd;
}

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

.hero-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
}

.hero-card a:hover,
.hero-card a:focus-visible {
  color: var(--white);
  background: var(--orange);
}

.features,
.screenshots,
.reading,
.help,
.reviews {
  padding: 92px 0;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.center-head {
  text-align: center;
}

.center-head .section-label::before {
  display: none;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  min-height: 165px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.feature-list article:last-child {
  border-right: 0;
}

.feature-list h3,
.reading h3 {
  font-size: 18px;
}

.feature-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  vertical-align: -0.22em;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  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-bolt::before {
  background-image: url("../icons/bolt.svg");
}

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

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

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

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

.feature-list .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid #facf99;
  border-radius: var(--radius);
  color: var(--orange);
  background: var(--paper-deep);
}

.feature-list .icon::before {
  width: 20px;
  height: 20px;
}

.screenshots {
  background: #fff4dc;
}

.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.split-head > p {
  max-width: 400px;
  color: var(--muted);
  font-size: 13px;
}

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

.screen-grid figure {
  overflow: hidden;
  border: 1px solid #efcfab;
  border-radius: var(--radius);
  background: var(--white);
}

.screen-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 10px 0;
}

.screen-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--white);
}

.screen-grid figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  padding: 14px 12px 16px;
  border-top: 1px solid var(--line);
}

.screen-grid figcaption b {
  color: var(--orange-deep);
  font-size: 12px;
}

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

.screen-grid figcaption span {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.reading-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 70px;
  padding: 56px 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.reading-copy > p:not(.section-label) {
  max-width: 530px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.reading-copy ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.reading-copy li {
  display: flex;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.reading-copy li .icon {
  color: var(--orange);
}

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

.reading-copy li strong {
  font-size: 13px;
}

.reading-copy li span span {
  color: var(--muted);
  font-size: 12px;
}

.reading-shot {
  justify-self: center;
  width: min(100%, 245px);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.reading-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--white);
}

.narrow {
  max-width: 870px;
}

.faq-list {
  display: grid;
  gap: 11px;
  margin-top: 38px;
}

.faq-list article,
.official article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list button,
.official button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.faq-list button .icon,
.official button .icon:last-child {
  margin-left: auto;
  color: var(--orange);
  transition: transform 160ms ease;
}

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

.faq-list article > div,
.official article > div {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 13px;
}

.official {
  padding: 0 0 20px;
}

.official button {
  gap: 10px;
}

.official button .icon:first-child {
  color: var(--orange);
}

.official a {
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 700;
}

.official a:hover,
.official a:focus-visible {
  text-decoration: underline;
}

.reviews {
  padding-top: 72px;
  background: #fff8ed;
}

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

.review-grid article {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.review-grid header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.review-grid header span {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--orange-deep);
  background: #ffe3bc;
  font-size: 13px;
  font-weight: 800;
}

.review-grid header b {
  font-size: 13px;
}

.review-grid article > p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
}

.review-grid time {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #987969;
  font-size: 12px;
}

.download {
  padding: 54px 0 84px;
  background: var(--paper);
}

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

.download .section-label {
  color: #ffe3a3;
}

.download .section-label::before {
  background: #ffe3a3;
}

.download h2 {
  margin-top: 7px;
  font-size: clamp(26px, 3vw, 39px);
  line-height: 1.18;
}

.button-light {
  min-width: 170px;
  color: var(--orange-deep);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  border-color: var(--white);
  background: transparent;
}

.site-footer {
  padding: 52px 0 20px;
  color: #f9e7d6;
  background: #452415;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr;
  gap: 50px;
}

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

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

.footer-brand p,
.site-footer li {
  margin-top: 8px;
  color: #d6b8a4;
  font-size: 12px;
}

.site-footer h2 {
  font-size: 14px;
}

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

.copyright {
  width: var(--page);
  margin: 36px auto 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #ba9581;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .nav-shell {
    gap: 12px;
  }

  .nav-download {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    color: var(--orange-deep);
    background: transparent;
    cursor: pointer;
  }

  .site-nav.is-open {
    display: block;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 16px 22px rgba(72, 41, 22, 0.12);
  }

  .site-nav.is-open ul {
    display: grid;
    gap: 4px;
  }

  .site-nav.is-open a {
    display: block;
    padding: 10px 12px;
    border-left: 3px solid transparent;
    border-bottom: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
  }

  .site-nav.is-open a:hover,
  .site-nav.is-open a:focus-visible {
    border-color: var(--orange);
    color: var(--orange-deep);
    background: #fff1dc;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

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

  .hero-summary {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 490px);
    height: 515px;
  }

  .phone-frame {
    right: max(0px, 7vw);
  }

  .hero-card {
    bottom: 58px;
    left: 0;
  }

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

  .reading-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .reading-copy ul {
    max-width: 610px;
  }

  .reading-shot {
    order: -1;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100% - 30px, 1200px);
    --header-height: 62px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

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

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

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

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

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

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .site-nav.is-open {
    padding: 8px 15px 14px;
  }

  .hero-copy {
    padding-top: 48px;
  }

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

  .hero-summary {
    margin-top: 14px;
    font-size: 14px;
  }

  .hero .button {
    margin-top: 23px;
  }

  .hero-points {
    margin-top: 25px;
  }

  .hero-points li {
    padding: 0 10px;
  }

  .hero-visual {
    width: 100%;
    height: 480px;
  }

  .phone-frame {
    top: 24px;
    right: 0;
    width: 240px;
    border-width: 12px;
  }

  .hero-card {
    bottom: 34px;
    left: 0;
    width: min(88%, 306px);
    padding: 17px 18px 15px;
  }

  .hero-card strong {
    margin-top: 9px;
    font-size: 15px;
  }

  .features,
  .screenshots,
  .reading,
  .help,
  .reviews {
    padding: 62px 0;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .feature-list article {
    min-height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-list article:last-child {
    border-bottom: 0;
  }

  .split-head {
    display: block;
  }

  .split-head > p {
    margin-top: 12px;
  }

  .screen-grid {
    gap: 10px;
    margin-top: 30px;
  }

  .screen-image {
    padding: 6px 6px 0;
  }

  .screen-grid figcaption {
    display: block;
    padding: 10px 9px 12px;
  }

  .screen-grid figcaption strong {
    margin-left: 7px;
  }

  .screen-grid figcaption span {
    display: block;
    margin-top: 3px;
  }

  .reading-panel {
    padding: 30px 20px;
  }

  .reading-copy ul {
    grid-template-columns: 1fr;
  }

  .reading-copy li {
    padding: 11px 0;
  }

  .review-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .review-grid article {
    min-height: auto;
  }

  .download {
    padding: 44px 0 60px;
  }

  .download-inner {
    display: grid;
    justify-content: center;
    gap: 22px;
    padding: 30px 22px;
    text-align: center;
  }

  .button-light {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
    text-align: center;
  }

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

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