:root {
  --green: #078b73;
  --green-dark: #075f50;
  --green-deep: #064b40;
  --mint: #e9f6f2;
  --mint-soft: #f5fbf8;
  --ink: #14201d;
  --text: #52625e;
  --muted: #81908c;
  --line: #d9e7e2;
  --paper: #fffefa;
  --white: #ffffff;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 38px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}

.brand span,
.footer-brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.7px;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.header-tag {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--muted);
  background: #f7faf9;
  font-size: 12px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  color: #3d4d49;
  font-size: 15px;
}

.main-nav a {
  padding: 27px 0 25px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: var(--green);
  color: var(--green-dark);
}

.main-nav a.active {
  border-bottom-color: var(--green);
  color: var(--green);
  font-weight: 720;
}

.header-download,
.button-primary,
.download-inner > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  font-weight: 720;
}

.header-download {
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
}

.header-download:hover,
.button-primary:hover,
.download-inner > a:hover {
  background: var(--green-dark);
}

.hero {
  overflow: hidden;
  color: var(--green-deep);
  background-color: #eef9f6;
  background-image: url("../images/hero-manga.webp");
  background-position: center;
  background-size: cover;
}

.hero-stage {
  display: flex;
  width: min(calc(100% - 72px), var(--container));
  min-height: 620px;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  padding: 54px 24px 48px;
}

.hero-branding {
  display: flex;
  width: min(100%, 820px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  text-align: center;
}

.hero-logo {
  width: 138px;
  height: 138px;
  margin-bottom: 28px;
  border-radius: 32px;
  box-shadow: 0 18px 42px rgba(7, 95, 80, 0.15);
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--green-deep);
  font-size: clamp(56px, 5.8vw, 76px);
  line-height: 1.05;
  letter-spacing: -3.5px;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--green-deep);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -1.2px;
}

.hero-description {
  max-width: 760px;
  margin-bottom: 32px;
  color: #5e7d76;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-primary {
  min-width: 280px;
  min-height: 58px;
  padding: 16px 32px;
  border-radius: 13px;
  font-size: 17px;
}

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-primary:hover {
  color: #fff;
  background: var(--green-dark);
}

.hero-version-note {
  margin: 16px 0 0;
  color: #77928c;
  font-size: 12px;
}

.features {
  padding: 86px 0 92px;
  background: var(--white);
}

.features-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.version-heading h2,
.help-intro h2,
.download-inner h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.18;
  letter-spacing: -2px;
}

.help-intro > p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-width: 0;
  padding: 30px 28px 32px;
}

.feature-grid article + article {
  border-left: 1px solid var(--line);
}

.feature-grid article:first-child {
  padding-left: 0;
}

.feature-grid article:last-child {
  padding-right: 0;
}

.feature-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 1px;
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}

.version {
  padding: 88px 0 96px;
  background: var(--mint-soft);
}

.version-container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.version-heading {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

.version-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 3.2vw, 48px);
  letter-spacing: -1.8px;
}

.version-heading > p:last-child {
  margin-bottom: 0;
  color: #66716e;
  font-size: 17px;
  line-height: 1.8;
}

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

.version-card {
  display: flex;
  min-width: 0;
  min-height: 374px;
  flex-direction: column;
  padding: 32px 34px;
  border: 1px solid #e5e9e8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 56, 51, 0.04);
}

.version-card-latest {
  border-color: #9ed8cc;
  box-shadow: 0 18px 40px rgba(7, 139, 115, 0.09);
}

.version-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.version-card-head img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 17px;
  object-fit: cover;
}

.version-card-head h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.version-card-head span {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 5px 13px;
  border-radius: 16px;
  color: #009789;
  background: rgba(0, 151, 137, 0.1);
  font-size: 13px;
  font-weight: 720;
}

.version-card .version-meta {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1.08fr;
  gap: 6px;
  margin: 25px 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.version-card .version-meta > div {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.version-card .version-meta dt {
  flex: 0 0 auto;
  line-height: 0;
}

.version-card .version-meta dt img {
  width: 17px;
  height: 17px;
  filter: invert(40%) sepia(39%) saturate(1143%) hue-rotate(121deg) brightness(91%) contrast(94%);
}

.version-card .version-meta dd {
  margin: 0;
  color: #7a8582;
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
}

.version-card > p {
  flex: 1;
  margin-bottom: 26px;
  color: #59645f;
  font-size: 15px;
  line-height: 1.78;
}

.version-card > a {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 12px;
  color: #fff;
  background: #009789;
  font-size: 17px;
  font-weight: 720;
}

.version-card > a img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.version-card > a:hover {
  background: #007f73;
}

.help {
  padding: 80px 0;
  background: #f5f7fa;
}

.help-layout {
  display: block;
}

.help-intro {
  position: static;
  margin-bottom: 48px;
  text-align: center;
}

.help-intro h2 {
  margin-bottom: 16px;
  font-size: 32px;
  letter-spacing: 0;
}

.help-intro p {
  margin-bottom: 0;
  color: #929b98;
  font-size: 16px;
}

.faq-list {
  display: grid;
  max-width: 800px;
  margin: 0 auto;
  gap: 16px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-list details[open] {
  border-color: rgba(0, 151, 137, 0.26);
  box-shadow: 0 8px 24px rgba(0, 151, 137, 0.1);
}

.faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  color: #333;
  font-size: 16px;
  font-weight: 650;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #f5f7fa url("../images/icons/arrow-down-s-line.svg") center / 16px 16px no-repeat;
  content: "";
}

.faq-list details[open] summary {
  color: #008d7f;
}

.faq-list details[open] summary::after {
  background-color: #e6f5f2;
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: none;
  margin: 0 30px;
  padding: 20px 0 26px;
  border-top: 1px dashed #e9eeec;
  color: #5f6966;
  font-size: 15px;
  line-height: 1.8;
}

.download-section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.download-inner h2 {
  margin-bottom: 13px;
}

.download-inner p:last-child {
  margin-bottom: 0;
  color: var(--text);
  line-height: 1.8;
}

.download-inner > a {
  min-width: 230px;
  min-height: 56px;
  padding: 15px 28px;
  border-radius: 10px;
}

.site-footer {
  padding: 60px 0 24px;
  color: #91a39d;
  background: #142722;
}

.footer-inner {
  display: block;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 72px;
  padding-bottom: 42px;
}

.footer-intro {
  max-width: 380px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
}

.footer-brand b {
  color: #fff;
  font-size: 21px;
}

.footer-brand small {
  margin-top: 4px;
  color: #9baca7;
  font-size: 13px;
  letter-spacing: 0;
}

.footer-intro > p {
  margin: 22px 0 14px;
  color: #9baca7;
  font-size: 14px;
  line-height: 1.9;
}

.footer-note {
  color: #6fc6b2;
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 64px;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
}

.footer-column a {
  display: block;
  margin-top: 12px;
  color: #91a39d;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #63cdb4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: #71847e;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 24px;
  }

  .header-tag {
    display: none;
  }

}

@media (max-width: 1020px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .main-nav a:nth-child(3) {
    display: none;
  }

  .hero-stage {
    width: min(calc(100% - 48px), var(--container));
    padding-inline: 16px;
  }

  .help-layout {
    grid-template-columns: 1fr;
  }

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

  .version-container {
    width: min(calc(100% - 48px), 920px);
  }

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

  .feature-grid article {
    padding: 28px;
  }

  .feature-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .feature-grid article:nth-child(3) {
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .screen-image {
    height: 440px;
  }

  .help-layout {
    gap: 58px;
  }

  .help-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand strong {
    font-size: 19px;
  }

  .brand small,
  .main-nav {
    display: none;
  }

  .header-download {
    min-height: 40px;
    margin-left: auto;
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero-stage {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 42px 6px 38px;
  }

  .hero-branding {
    padding: 0;
  }

  .hero-logo {
    width: 104px;
    height: 104px;
    margin-bottom: 22px;
    border-radius: 25px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(43px, 13vw, 54px);
    letter-spacing: -2px;
  }

  .hero-subtitle {
    margin-bottom: 14px;
    font-size: clamp(22px, 7vw, 28px);
    letter-spacing: -0.8px;
  }

  .hero-description {
    max-width: 340px;
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    width: 100%;
  }

  .button-primary {
    width: min(100%, 300px);
    min-width: 0;
    min-height: 54px;
    padding: 14px 22px;
    font-size: 16px;
  }

  .hero-version-note {
    max-width: 300px;
    margin-top: 14px;
    line-height: 1.6;
  }

  .features,
  .version,
  .help {
    padding: 78px 0;
  }

  .version {
    padding-bottom: 34px;
  }

  .help {
    padding-top: 42px;
  }

  .section-heading h2,
  .version-heading h2,
  .help-intro h2,
  .download-inner h2 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .features-heading {
    margin-bottom: 34px;
  }

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

  .feature-grid article,
  .feature-grid article:first-child,
  .feature-grid article:last-child {
    display: grid;
    grid-template-columns: 40px 1fr;
    padding: 22px 0;
    border-left: 0;
  }

  .feature-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature-grid span {
    grid-row: 1 / 3;
    margin: 6px 0 0;
  }

  .feature-grid h3 {
    margin-bottom: 7px;
    font-size: 18px;
  }

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

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

  .version-container {
    width: calc(100% - 32px);
  }

  .version-heading {
    margin-bottom: 38px;
  }

  .version-heading > p:last-child {
    font-size: 14px;
  }

  .version-card {
    min-height: 0;
    padding: 24px 22px;
    border-radius: 18px;
  }

  .version-card-head img {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  .version-card-head h3 {
    font-size: 19px;
    white-space: normal;
  }

  .version-card .version-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 19px;
    padding-bottom: 19px;
  }

  .version-card .version-meta > div {
    gap: 5px;
  }

  .version-card .version-meta dd {
    font-size: 11px;
  }

  .version-card .version-meta dt img {
    width: 16px;
    height: 16px;
  }

  .version-card > a {
    min-height: 54px;
    font-size: 16px;
  }

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

  .download-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .download-inner > a {
    width: 100%;
  }

  .footer-inner {
    display: block;
  }

  .footer-main {
    flex-direction: column;
    gap: 38px;
  }

  .footer-intro {
    max-width: 520px;
  }

  .footer-nav {
    gap: 36px;
  }
}

@media (max-width: 430px) {
  .site-footer {
    padding: 46px 0 22px;
  }

  .footer-main {
    padding-bottom: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .hero-stage {
    width: calc(100% - 20px);
  }
}
