@charset "UTF-8";

:root {
  --cream: #fffaf2;
  --paper: #fffdf9;
  --archive: #f7ecdc;
  --orange: #f57b13;
  --orange-deep: #cb5600;
  --ink: #3f2515;
  --text: #5b4435;
  --muted: #876f60;
  --line: #e7cfb6;
  --page-width: 1200px;
  --header-height: 76px;
  --shadow: 0 18px 34px rgba(72, 38, 18, 0.13);
}

* {
  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,
ol {
  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;
}

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

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

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

.icon-shield::before {
  background-image: url("../icons/shield.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(--ink);
  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;
  gap: 30px;
  align-items: center;
}

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

.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;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--orange);
  color: var(--ink);
  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-deep);
  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(--ink);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

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

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-kicker::before {
  width: 26px;
  height: 2px;
  content: "";
  background: var(--orange);
}

.hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-copy {
  padding: 56px;
}

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

.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: 174px;
  margin-top: 28px;
}

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

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

.phone-frame {
  width: min(100%, 282px);
  padding: 10px;
  border: 9px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

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

.reading-note {
  position: absolute;
  z-index: 2;
  bottom: 102px;
  left: 80px;
  width: min(100%, 300px);
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.reading-note .note-title {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.reading-note > p:not(.note-title) {
  margin-top: 9px;
  color: var(--text);
  font-size: 13px;
}

.reading-note span {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
}

.reading-note .icon {
  width: 15px;
  height: 15px;
}

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

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

.screens-section {
  background: var(--archive);
}

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

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

.path-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.path-grid::before {
  position: absolute;
  top: 28px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: var(--line);
}

.path-grid article {
  position: relative;
  z-index: 1;
  padding: 0 22px;
  text-align: center;
}

.path-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.path-icon .icon {
  width: 30px;
  height: 30px;
}

.path-grid h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
}

.path-grid p {
  max-width: 250px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

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

.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: 3px;
  padding: 13px 2px 0;
}

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

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

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 58px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.archive-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

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

.archive-list b {
  color: var(--orange-deep);
  font-size: 18px;
}

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

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

.archive-shot {
  width: min(100%, 255px);
  justify-self: center;
  padding: 10px;
  border: 9px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

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

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

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

.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(--ink);
  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: 0 0 92px;
  background: var(--paper);
}

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

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

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

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

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

.reviews-section {
  background: var(--cream);
}

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

.review-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

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

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

.review-card footer {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  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(--ink);
  font-size: 12px;
}

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

.download-section {
  padding: 70px 0;
  background: var(--paper);
}

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

.download-panel h2 {
  margin-top: 8px;
  color: var(--ink);
  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;
  background: var(--ink);
  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;
  gap: 13px;
  align-items: center;
}

.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(330px, 1.1fr);
    gap: 16px;
  }

  .hero-copy {
    padding: 44px;
  }

  .hero-media {
    padding-right: 18px;
  }

  .reading-note {
    left: -12px;
    width: 280px;
  }
}

@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 {
    order: 2;
    min-width: 94px;
    min-height: 38px;
    margin-left: auto;
    padding: 0 9px;
    font-size: 12px;
  }

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

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

  .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: 12px;
    border: 0;
  }

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

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

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

  .primary-download {
    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%, 280px);
  }

  .reading-note {
    bottom: 84px;
    left: 0;
    width: min(80%, 290px);
  }

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

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

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

  .path-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
  }

  .path-grid::before {
    display: none;
  }

  .path-grid article {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 8px 16px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 4px 12px rgba(72, 38, 18, 0.06);
  }

  .path-icon {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(245, 123, 19, 0.12);
  }

  .path-icon .icon {
    width: 20px;
    height: 20px;
  }

  .path-grid h3 {
    margin-top: 2px;
    font-size: 15px;
  }

  .path-grid p {
    max-width: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .split-heading {
    display: block;
  }

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

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

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

  .archive-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px 18px;
  }

  .archive-shot {
    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: 52px 0;
  }

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

  .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-note {
    padding: 16px;
  }
}
