@charset "UTF-8";

:root {
  --cream: #fffaf2;
  --paper: #fffdf9;
  --soft: #fff3e5;
  --orange: #ff8617;
  --orange-dark: #d85e00;
  --brown: #47240f;
  --text: #563426;
  --muted: #876d5e;
  --line: #f1d7bd;
  --shadow: 0 16px 32px rgba(93, 45, 14, 0.12);
  --page-width: 1200px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

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

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

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

.page-width {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
}

.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  vertical-align: middle;
}

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

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

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

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

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.98);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.header-shell {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  object-fit: cover;
}

.main-navigation {
  margin: 0 auto;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-navigation a {
  position: relative;
  display: block;
  padding: 26px 0 24px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-active {
  color: var(--orange-dark);
}

.main-navigation a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
}

.header-download,
.primary-download,
.download-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--orange);
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-download {
  min-width: 126px;
}

.header-download:hover,
.header-download:focus-visible,
.primary-download:hover,
.primary-download:focus-visible,
.download-panel a:hover,
.download-panel a:focus-visible {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
}

.header-download:hover .icon,
.header-download:focus-visible .icon,
.primary-download:hover .icon,
.primary-download:focus-visible .icon,
.download-panel a:hover .icon,
.download-panel a:focus-visible .icon {
  filter: invert(1);
}

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

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

main section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: 54px;
}

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

.eyebrow,
.section-kicker,
.download-panel > div > p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-kicker::before,
.download-panel > div > p::before {
  width: 26px;
  height: 2px;
  content: "";
  background: var(--orange);
}

.hero h1 {
  margin-top: 14px;
  color: var(--brown);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-description {
  margin-top: 18px;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-download {
  min-width: 178px;
  margin-top: 28px;
}

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

.hero-media {
  position: relative;
  display: flex;
  min-height: 550px;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
}

.phone-frame {
  width: min(100%, 310px);
  padding: 12px;
  border: 10px solid #44240f;
  border-radius: 5px;
  background: #44240f;
  box-shadow: var(--shadow);
}

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

.reading-card {
  position: absolute;
  z-index: 2;
  bottom: 96px;
  left: 55px;
  width: min(100%, 322px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card-heading,
.card-heading span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-heading strong {
  color: var(--brown);
  font-size: 16px;
}

.card-heading span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

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

.reading-card p {
  margin-top: 14px;
  color: var(--text);
  font-size: 13px;
}

.progress-line {
  height: 5px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 5px;
  background: #f2e2d1;
}

.progress-line span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--orange);
}

.reading-card a {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.highlights-section,
.reading-section,
.reviews-section {
  padding: 96px 0;
  background: var(--paper);
}

.screens-section,
.faq-section,
.official-section {
  padding: 96px 0;
}

.reading-section {
  background: var(--soft);
}

.section-heading h2 {
  margin-top: 10px;
  color: var(--brown);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.centered-heading {
  text-align: center;
}

.centered-heading .section-kicker {
  justify-content: center;
}

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

.split-heading > span {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: 16px;
  margin-top: 46px;
}

.highlight-card {
  position: relative;
  display: grid;
  min-height: 190px;
  grid-template-columns: 46px 1fr;
  align-content: center;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream);
}

.highlight-card .icon {
  width: 38px;
  height: 38px;
}

.highlight-card h3 {
  color: var(--brown);
  font-size: 18px;
}

.highlight-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.highlight-card b {
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: var(--orange);
  font-size: 26px;
}

.screens-section {
  background: #fff2e4;
}

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

.screen-grid figure {
  min-width: 0;
}

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

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

.screen-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 2px 0;
}

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

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

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  align-items: center;
  gap: 88px;
}

.reading-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.feature-list {
  display: grid;
  gap: 0;
  max-width: 650px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  color: var(--brown);
  font-size: 16px;
}

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

.reading-shot {
  width: min(100%, 285px);
  justify-self: end;
  padding: 10px;
  border: 8px solid var(--brown);
  border-radius: 5px;
  background: var(--brown);
  box-shadow: var(--shadow);
}

.reading-shot img {
  width: 100%;
  height: auto;
}

.faq-section {
  background: var(--paper);
}

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

.faq-item {
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream);
}

.faq-item button,
.official-panel > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

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

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

.faq-item > div {
  padding: 0 18px 16px;
}

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

.official-section {
  padding-top: 0;
  background: var(--paper);
}

.official-panel {
  overflow: hidden;
  border: 1px solid var(--brown);
  border-radius: 5px;
  background: var(--cream);
}

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

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

.official-panel > div {
  padding: 0 18px 18px;
}

.official-panel > div a {
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-section {
  padding-top: 52px;
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream);
}

.review-number {
  display: inline-flex;
  width: 30px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--soft);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
}

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

.review-card footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--orange);
  color: var(--brown);
  font-size: 12px;
}

.review-card time {
  margin-left: auto;
}

.download-section {
  padding: 72px 0;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
}

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

.download-panel a {
  min-width: 170px;
  flex: 0 0 auto;
}

.site-footer {
  padding: 42px 24px 18px;
  border-top: 1px solid var(--line);
  background: var(--brown);
  color: #fff4e8;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(130px, 0.6fr));
  gap: 38px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.footer-brand p {
  margin-top: 3px;
  color: #f4d8bf;
  font-size: 12px;
}

.footer-nav > p {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.footer-nav ul {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.footer-nav a {
  color: #f4d8bf;
  font-size: 12px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 244, 232, 0.25);
  color: #f4d8bf;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .main-navigation ul {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 24px;
  }

  .hero-media {
    padding-right: 0;
  }

  .reading-card {
    left: -12px;
    width: 290px;
  }

  .reading-layout {
    gap: 38px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .page-width {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .header-shell {
    gap: 10px;
  }

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

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

  .header-download {
    min-width: 94px;
    min-height: 38px;
    padding: 0 9px;
    font-size: 12px;
  }

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

  .menu-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 0;
  }

  .header-download {
    order: 2;
    margin-left: auto;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    display: grid;
    gap: 0;
  }

  .main-navigation a {
    padding: 10px 6px;
    font-size: 14px;
  }

  .main-navigation a.is-active::after {
    top: 7px;
    right: auto;
    bottom: 7px;
    left: 0;
    width: 2px;
    height: auto;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 62px;
  }

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

  .hero h1 {
    margin-top: 10px;
    font-size: 48px;
  }

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

  .primary-download {
    min-height: 46px;
    margin-top: 22px;
  }

  .update-time {
    margin-top: 12px;
  }

  .hero-media {
    min-height: 540px;
    justify-content: flex-end;
    padding-right: 0;
  }

  .phone-frame {
    width: min(76%, 290px);
    border-width: 9px;
    padding: 10px;
  }

  .reading-card {
    bottom: 82px;
    left: 0;
    width: min(80%, 300px);
    padding: 18px;
  }

  .highlights-section,
  .screens-section,
  .reading-section,
  .faq-section {
    padding: 70px 0;
  }

  .official-section {
    padding: 0 0 70px;
  }

  .reviews-section {
    padding: 18px 0 70px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .split-heading {
    display: block;
  }

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

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

  .highlight-card {
    min-height: 140px;
  }

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

  .screen-grid figcaption {
    padding-top: 10px;
  }

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

  .reading-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reading-shot {
    justify-self: center;
    width: min(100%, 250px);
  }

  .faq-list {
    margin-top: 28px;
  }

  .faq-item button,
  .official-panel > button {
    padding: 15px 14px;
    font-size: 13px;
  }

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

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

  .download-section {
    padding: 54px 0;
  }

  .download-panel {
    display: grid;
    justify-items: center;
    padding: 30px 18px;
    text-align: center;
  }

  .download-panel h2 {
    font-size: 26px;
  }

  .download-panel a {
    width: min(100%, 210px);
  }

  .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

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

  .footer-nav ul {
    justify-items: center;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14px;
  }

  .header-download {
    min-width: 88px;
    padding: 0 7px;
  }

  .hero-media {
    min-height: 515px;
  }

  .reading-card {
    width: 84%;
    padding: 15px;
  }
}
