@charset "UTF-8";

:root {
  --ink: #151918;
  --muted: #66706d;
  --paper: #fffdf8;
  --warm: #f8f3e9;
  --line: #dce2dd;
  --green: #25ba96;
  --green-dark: #087b67;
  --yellow: #ffd725;
  --coral: #ff6f61;
  --white: #ffffff;
  --header-height: 76px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  touch-action: manipulation;
}

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

button {
  color: inherit;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.header-inner,
.hero-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint;
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 195px;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.brand-copy,
.footer-brand span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.3;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 19px;
  white-space: nowrap;
}

.brand-copy span,
.footer-brand small {
  max-width: 180px;
  overflow: visible;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-height);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--green);
  content: "";
  opacity: 0;
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-download,
.mobile-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.mobile-download,
.menu-toggle {
  display: none;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

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

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(37, 186, 150, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 186, 150, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 80px;
  left: -130px;
  width: 320px;
  height: 320px;
  background: rgba(37, 186, 150, 0.11);
}

.hero::after {
  right: -110px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  background: rgba(255, 215, 37, 0.16);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: 70px;
  padding: 74px 0 80px;
}

.eyebrow,
.section-index,
.desk-kicker {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(72px, 7vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-copy h1::first-letter {
  color: var(--green);
}

.hero-copy h2 {
  max-width: 570px;
  margin-bottom: 22px;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.22;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 28px;
  color: #4f5a57;
  font-size: 16px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-features span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
}

.feature-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mark-green { background: var(--green); }
.mark-yellow { background: var(--yellow); }
.mark-coral { background: var(--coral); }

.hero-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 222px;
  min-height: 56px;
  padding: 0 26px;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  font-weight: 900;
}

.age-label {
  color: var(--muted);
  font-size: 13px;
}

.editor-desk {
  position: relative;
  padding: 28px;
  border: 1px solid #cfd9d4;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 16px 16px 0 rgba(37, 186, 150, 0.13);
}

.editor-desk::before {
  position: absolute;
  top: -12px;
  left: 30px;
  width: 96px;
  height: 22px;
  background: var(--coral);
  content: "";
}

.desk-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.desk-head h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.25;
}

.desk-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--coral);
}

.desk-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  gap: 6px;
  border: 1px solid #ccebe2;
  border-radius: 4px;
  background: #effbf7;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.desk-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.desk-search {
  display: grid;
  align-items: center;
  min-height: 48px;
  margin-bottom: 14px;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  padding: 0 6px 0 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f4f7f5;
}

.desk-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.desk-search button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.desk-tabs,
.update-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.desk-tabs button,
.update-toolbar button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.desk-tabs button.is-active,
.update-toolbar button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.desk-feature {
  display: grid;
  align-items: center;
  margin-bottom: 14px;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
}

.desk-feature img {
  width: 120px;
  height: 150px;
  object-fit: contain;
  background: #edf4f1;
}

.desk-feature div {
  padding: 18px;
}

.desk-feature span,
.desk-feature strong {
  display: block;
  color: #71e8c8;
  font-size: 12px;
}

.desk-feature h3 {
  margin: 4px 0 4px;
  font-size: 26px;
}

.desk-feature p {
  margin-bottom: 8px;
  color: #d6dcda;
  font-size: 13px;
}

.desk-list {
  display: grid;
  gap: 8px;
}

.desk-list article {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.desk-list article[hidden] {
  display: none;
}

.desk-list img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 3px;
  background: #eff4f2;
}

.desk-list h3,
.desk-list p {
  overflow: hidden;
  margin-bottom: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desk-list h3 {
  font-size: 14px;
}

.desk-list p,
.desk-feedback {
  color: var(--muted);
  font-size: 12px;
}

.follow-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #bce6db;
  border-radius: 4px;
  background: #effbf7;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.follow-button.is-saved {
  border-color: #f4d867;
  background: #fff8d6;
  color: #705b00;
}

.desk-feedback {
  min-height: 20px;
  margin: 14px 0 0;
}

.section {
  padding: 104px 0;
}

.section-heading {
  margin-bottom: 46px;
}

.split-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 40px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--muted);
}

.genres {
  background: var(--white);
}

.genre-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.route-line {
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--coral), #8a6bd1, var(--green));
}

.genre-stop {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 180px;
  align-items: flex-start;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.genre-stop::before {
  width: 18px;
  height: 18px;
  margin: 5px 0 28px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--ink);
  content: "";
}

.genre-stop:nth-of-type(3)::before,
.genre-stop:nth-of-type(6)::before { background: var(--yellow); }
.genre-stop:nth-of-type(4)::before { background: var(--coral); }
.genre-stop:nth-of-type(5)::before { background: #8a6bd1; }

.genre-stop span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.genre-stop strong {
  margin: 4px 0 3px;
  font-size: 20px;
}

.genre-stop small {
  color: var(--muted);
  font-size: 12px;
}

.genre-stop.is-active {
  border-color: var(--ink);
  background: #f0fbf7;
}

.genre-result {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.updates {
  background: #f1faf7;
}

.update-toolbar {
  margin-bottom: 22px;
}

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

.update-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 102px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cfe0da;
  border-radius: 4px;
  background: var(--white);
}

.update-card[hidden] {
  display: none;
}

.update-card img {
  width: 102px;
  height: 148px;
  object-fit: contain;
  background: #eef3f1;
}

.update-card div {
  min-width: 0;
  padding: 16px 13px;
}

.update-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.update-card h3 {
  overflow: hidden;
  margin: 7px 0 5px;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-card p,
.update-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.screenshot-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 70px;
}

.screenshot-track figure {
  width: 250px;
  flex: 0 0 250px;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid #cfd7d2;
  border-radius: 4px;
  background: var(--white);
}

.screenshot-media {
  width: 250px;
  height: 450px;
  overflow: hidden;
  border-bottom: 1px solid #cfd7d2;
  background: #f3f5f4;
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screenshot-track figcaption {
  display: grid;
  align-items: center;
  min-height: 86px;
  grid-template-columns: auto 1fr;
  padding: 14px 16px;
  column-gap: 12px;
}

.screenshot-track figcaption span {
  grid-row: 1 / 3;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.screenshot-track figcaption strong {
  font-size: 16px;
}

.screenshot-track figcaption small {
  color: var(--muted);
  font-size: 12px;
}

.help {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > button,
.official-site > button {
  display: grid;
  width: 100%;
  min-height: 76px;
  align-items: center;
  padding: 0 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-item > button {
  grid-template-columns: 48px 1fr 24px;
  gap: 12px;
}

.faq-item > button span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.faq-item > button strong {
  font-size: 16px;
}

.faq-item > button i,
.official-sign {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item > button i::before,
.faq-item > button i::after,
.official-sign::before,
.official-sign::after {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
}

.faq-item > button i::after,
.official-sign::after {
  transform: rotate(90deg);
}

.faq-item.is-open > button i::after,
.official-site.is-open .official-sign::after {
  transform: rotate(0);
}

.faq-answer,
.official-answer {
  display: none;
}

.faq-item.is-open .faq-answer,
.official-site.is-open .official-answer {
  display: block;
}

.faq-answer p {
  padding: 0 74px 22px;
  margin-bottom: 0;
  color: var(--muted);
}

.official-site {
  margin-top: 24px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.official-site > button {
  grid-template-columns: 1fr 20px;
}

.official-site > button span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.official-globe {
  width: 18px;
  height: 18px;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
}

.official-answer {
  padding: 0 22px 22px;
}

.official-answer a {
  color: var(--green-dark);
  font-weight: 700;
  word-break: break-all;
}

.reviews {
  background: #eff9f5;
}

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

.review-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #cfe0da;
  border-top: 4px solid var(--green);
  border-radius: 4px;
  background: var(--white);
}

.review-head {
  display: grid;
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink) url("../icons/avatar.svg") center / 22px 22px no-repeat;
}

.review-head strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #ffb800;
  font-size: 13px;
  white-space: nowrap;
}

.aiarticle-comment-rating-icon {
  display: inline-block;
  width: 14px;
  font-style: normal;
  text-align: center;
}

.aiarticle-comment-rating-icon::before {
  content: "☆";
}

.aiarticle-comment-rating-icon.fa-star::before {
  content: "★";
}

.review-card > p {
  margin-bottom: 20px;
  color: #37403d;
  font-size: 14px;
}

.review-card time {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

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

.download-book {
  position: relative;
  display: grid;
  min-height: 190px;
  align-items: stretch;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
}

.download-book::before,
.download-book::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translateY(-50%);
}

.download-book::before { left: -15px; }
.download-book::after { right: -15px; }

.download-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px dashed #a8b4af;
  background: var(--ink);
  color: var(--white);
  line-height: 1;
}

.download-cover span {
  color: var(--green);
  font-size: 54px;
  font-weight: 900;
}

.download-cover strong {
  margin-top: 6px;
  font-size: 28px;
}

.download-cover small {
  margin-top: 18px;
  color: #aeb8b5;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.download-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 34px 42px;
}

.download-copy .section-index {
  margin-bottom: 5px;
}

.download-copy h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.2;
}

.download-copy p {
  margin-bottom: 12px;
  color: var(--muted);
}

.download-copy span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.download-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--ink);
  background: var(--yellow);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.download-action .icon {
  width: 26px;
  height: 26px;
}

.site-footer {
  padding: 48px 0 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 34px;
}

.footer-brand img {
  border-color: #48514f;
}

.footer-brand small {
  color: #9eaaa7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
}

.footer-nav a {
  color: #d8dedd;
  font-size: 13px;
}

.footer-inner > p {
  grid-column: 1 / -1;
  padding-top: 24px;
  margin-bottom: 0;
  border-top: 1px solid #3c4543;
  color: #98a3a0;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--green);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) {
  .header-download:hover,
  .mobile-download:hover,
  .primary-action:hover,
  .download-action:hover {
    background: var(--ink);
    color: var(--yellow);
  }

  .header-download:hover .icon-download,
  .primary-action:hover .icon-download,
  .download-action:hover .icon-download {
    filter: invert(87%) sepia(96%) saturate(919%) hue-rotate(336deg) brightness(103%) contrast(104%);
  }

  .genre-stop:hover {
    border-color: var(--ink);
  }
}

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

  .header-download {
    padding: 0 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: 76px;
  }

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

  .screenshot-track {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

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

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    max-width: none;
  }

  .header-download {
    display: none;
  }

  .mobile-download,
  .menu-toggle {
    display: inline-flex;
  }

  .mobile-download {
    min-height: 40px;
    padding: 0 14px;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: 4px;
    background: var(--white);
    cursor: pointer;
  }

  .site-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
    background: var(--white);
  }

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

  .site-nav ul {
    display: block;
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    width: 100%;
    height: 54px;
  }

  .site-nav a::after {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    width: 18px;
    height: 2px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 66px 0 72px;
  }

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

  .hero-copy h1 {
    font-size: clamp(64px, 16vw, 92px);
    white-space: normal;
  }

  .hero-copy h2,
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-features,
  .hero-actions {
    justify-content: center;
  }

  .genre-route {
    grid-template-columns: repeat(3, 1fr);
  }

  .route-line {
    display: none;
  }

  .genre-stop::before {
    margin-bottom: 18px;
  }

  .screenshot-track {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px 18px;
    margin-right: -16px;
    margin-left: -16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .screenshot-track figure {
    scroll-snap-align: start;
  }

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

  .download-book {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .download-action {
    min-height: 80px;
    grid-column: 1 / -1;
    flex-direction: row;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

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

  .container,
  .header-inner,
  .hero-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 8px;
  }

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

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .mobile-download {
    padding: 0 11px;
  }

  .header-actions {
    gap: 7px;
  }

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

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(54px, 18vw, 76px);
  }

  .hero-copy h2 {
    font-size: 27px;
  }

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

  .hero-features span {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .primary-action {
    width: min(100%, 280px);
  }

  .editor-desk {
    padding: 20px;
    box-shadow: 8px 8px 0 rgba(37, 186, 150, 0.13);
  }

  .desk-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .desk-feature img {
    width: 96px;
    height: 136px;
  }

  .desk-feature div {
    padding: 14px;
  }

  .desk-feature h3 {
    font-size: 21px;
  }

  .desk-list article {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .desk-list img {
    width: 42px;
    height: 42px;
  }

  .section {
    padding: 74px 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading {
    margin-bottom: 32px;
    text-align: center;
  }

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

  .section-index {
    margin-bottom: 8px;
  }

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

  .genre-stop {
    min-height: 150px;
    padding: 14px;
  }

  .genre-result {
    text-align: center;
  }

  .update-toolbar {
    justify-content: center;
  }

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

  .update-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .update-card img {
    width: 112px;
    height: 150px;
  }

  .screenshot-track {
    gap: 16px;
  }

  .faq-item > button {
    min-height: 70px;
    grid-template-columns: 34px 1fr 20px;
    padding: 0 10px;
    gap: 7px;
  }

  .faq-item > button strong {
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 44px 20px;
    font-size: 13px;
  }

  .official-site > button {
    min-height: 68px;
    padding: 0 14px;
  }

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

  .review-card {
    min-height: 210px;
  }

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

  .download-book {
    grid-template-columns: 1fr;
  }

  .download-cover {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px dashed #a8b4af;
  }

  .download-copy {
    padding: 28px 22px;
    text-align: center;
  }

  .download-copy h2 {
    font-size: 25px;
  }

  .download-action {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-nav {
    justify-content: center;
    gap: 16px 22px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .brand-copy span {
    max-width: 105px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.1;
  }

  .mobile-download {
    padding: 0 9px;
  }

  .menu-toggle {
    width: 40px;
  }

  .editor-desk {
    padding: 16px;
  }

  .desk-tabs button {
    padding: 0 11px;
  }

  .desk-list article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .desk-list .follow-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
