:root {
  --ink: #17212b;
  --ink-soft: #263442;
  --paper: #f7f7f4;
  --white: #ffffff;
  --line: #d9dde0;
  --muted: #5f6973;
  --red: #e94f45;
  --red-dark: #c73d35;
  --yellow: #f2c14e;
  --teal: #2b8f89;
  --shadow: 0 16px 38px rgba(23, 33, 43, 0.12);
  --radius: 6px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(23, 33, 43, 0.98);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a:not(.button) {
  padding: 10px 13px;
  color: #dce2e7;
  font-size: 15px;
}

.main-nav a:not(.button):hover,
.main-nav a[aria-current="page"]:not(.button) {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
}

.button-primary:hover {
  background: #ffd66f;
}

.button-red {
  color: var(--white);
  background: var(--red);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  color: var(--white);
  background-color: var(--ink);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: 690px;
}

.hero-content {
  width: 100%;
  padding: 76px 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 38px 0;
}

.hero-visual img {
  width: min(58%, 300px);
  max-width: 400px;
  height: auto;
  transform: rotate(-3deg);
}

.hero-visual img + img {
  margin-left: -74px;
  transform: translateY(28px) rotate(3deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  content: "";
  background: var(--red);
}

.hero h1 {
  max-width: 600px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero .hero-copy {
  max-width: 580px;
  margin: 0 0 30px;
  color: #e4e8eb;
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 18px 0 0;
  color: #b9c1c8;
  font-size: 14px;
}

.signal-strip {
  color: var(--ink);
  background: var(--yellow);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 106px;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 24px;
  border-right: 1px solid rgba(23, 33, 43, 0.22);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-mark {
  font-size: 28px;
  font-weight: 900;
}

.signal-item strong,
.signal-item span {
  display: block;
}

.signal-item span {
  color: #4c4534;
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

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

.section-dark {
  color: var(--white);
  background: var(--ink);
}

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

.section-teal {
  color: var(--white);
  background: var(--teal);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.section-dark .section-kicker,
.section-teal .section-kicker {
  color: var(--yellow);
}

.section h2 {
  margin: 0 0 38px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-ledger {
  border-top: 3px solid var(--ink);
}

.feature-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 0.8fr) minmax(0, 1.8fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-index {
  color: var(--red);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.feature-row h3 {
  margin: 0;
  font-size: 22px;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.feature-tags span,
.tag {
  padding: 4px 9px;
  border: 1px solid #bfc6cb;
  border-radius: 999px;
  color: #49545e;
  font-size: 12px;
  font-weight: 700;
}

.gallery-layout {
  display: grid;
  grid-template-columns: 0.76fr 2fr;
  gap: 54px;
  align-items: start;
}

.gallery-intro {
  position: sticky;
  top: 105px;
}

.gallery-intro p {
  margin: -20px 0 0;
  color: #c9d0d5;
}

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

.screenshot-card {
  margin: 0;
}

.screenshot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 8px solid #344555;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.screenshot-button:hover img {
  border-color: var(--yellow);
  transform: translateY(-5px);
}

.screenshot-card figcaption {
  padding: 12px 2px 0;
  color: #d7dde1;
  font-size: 14px;
}

.screenshot-card:nth-child(2) {
  margin-top: 52px;
}

.screenshot-card:nth-child(4) {
  margin-top: -52px;
}

.screenshot-card:nth-child(5) {
  margin-top: 0;
}

.content-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.content-link {
  position: relative;
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 160ms ease, color 160ms ease;
}

.content-link:hover {
  color: var(--white);
  background: var(--ink);
}

.content-link .number {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.content-link h3 {
  margin: 42px 0 12px;
  font-size: 28px;
}

.content-link p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.content-link:hover p {
  color: #cad1d6;
}

.content-link .arrow {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 28px;
}

.review-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 58px;
  align-items: start;
}

.quote-list {
  border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.quote-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.quote-item blockquote {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.65;
}

.quote-item cite {
  color: #d7efed;
  font-size: 14px;
  font-style: normal;
}

.stat-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.stat {
  min-height: 150px;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.stat:nth-child(even) {
  border-right: 0;
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat strong {
  display: block;
  color: var(--yellow);
  font-size: 30px;
}

.faq-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-preview article {
  padding: 26px;
  border-top: 4px solid var(--red);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 33, 43, 0.08);
}

.faq-preview h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.faq-preview p {
  margin: 0;
  color: var(--muted);
}

.more-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--red-dark);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.download-band {
  color: var(--white);
  background: var(--ink);
  border-top: 8px solid var(--red);
}

.download-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 55px 0;
}

.download-band h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 45px);
}

.download-band p {
  margin: 0;
  color: #c9d0d5;
}

.site-footer {
  color: #c8ced3;
  background: #0d141b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 50px;
  padding: 58px 0 34px;
}

.footer-brand p {
  max-width: 470px;
  margin: 18px 0 0;
  color: #99a3aa;
}

.footer-title {
  margin: 0 0 15px;
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding: 22px 0 30px;
  border-top: 1px solid #2a343d;
  color: #8f9aa2;
  font-size: 13px;
}

.footer-bottom p {
  margin: 4px 0;
}

.page-hero {
  color: var(--white);
  background: var(--ink);
  border-bottom: 8px solid var(--yellow);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 64px;
  align-items: end;
  min-height: 445px;
  padding: 85px 0 70px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(39px, 5vw, 66px);
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd2d7;
  font-size: 18px;
}

.page-marker {
  display: grid;
  min-height: 210px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.27);
  color: var(--yellow);
  font-size: 82px;
  font-weight: 900;
}

.crumbs {
  padding: 14px 0;
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.crumbs a {
  color: var(--red-dark);
}

.guide-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 100px;
  padding: 20px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
}

.side-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.side-nav a:last-child {
  border-bottom: 0;
}

.side-nav a:hover {
  color: var(--red-dark);
}

.prose h2 {
  margin: 70px 0 26px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
  font-size: 34px;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 23px;
}

.prose p {
  margin: 0 0 18px;
  color: #3f4a54;
}

.step-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--red);
  font-size: 35px;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 8px;
}

.step p:last-child {
  margin-bottom: 0;
}

.notice {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--yellow);
  background: #fff8df;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 17px 18px 17px 45px;
  border: 1px solid var(--line);
  background: var(--white);
}

.check-list li::before {
  position: absolute;
  top: 16px;
  left: 17px;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.guide-shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: 42px;
  align-items: center;
  margin: 38px 0;
  padding: 32px;
  color: var(--white);
  background: var(--ink-soft);
}

.guide-shot img {
  width: 100%;
  max-width: 330px;
  height: auto;
  justify-self: center;
}

.guide-shot h3 {
  margin-top: 0;
  color: var(--yellow);
}

.guide-shot p {
  color: #d5dce1;
}

.feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  background: var(--white);
}

.feature-card:nth-child(2n) {
  border-top-color: var(--red);
}

.feature-card h3 {
  margin: 0 0 12px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card .mini-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-list summary {
  position: relative;
  padding: 23px 58px 23px 20px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--red);
  content: "+";
  font-size: 29px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 58px 23px 20px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.topic-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.topic-jump a {
  padding: 8px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.topic-jump a:hover {
  color: var(--white);
  background: var(--ink);
}

.lightbox {
  width: min(92vw, 520px);
  max-height: 92vh;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
}

.lightbox::backdrop {
  background: rgba(4, 9, 13, 0.86);
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 70px);
  margin: 0 auto;
}

.lightbox-close {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 0 8px auto;
  border: 1px solid #52606c;
  border-radius: var(--radius);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 16px 20px 24px;
    border-top: 1px solid #34414c;
    background: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a:not(.button) {
    padding: 13px 2px;
    border-bottom: 1px solid #34414c;
  }

  .main-nav .button {
    margin-top: 8px;
  }

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

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 33, 43, 0.22);
  }

  .gallery-layout,
  .review-layout,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .gallery-intro,
  .side-nav {
    position: static;
  }

  .gallery-intro p {
    margin-top: -20px;
  }

  .side-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
  }

  .side-nav strong {
    width: 100%;
  }

  .side-nav a {
    border-bottom: 0;
  }
}

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

  .brand {
    font-size: 16px;
  }

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

  .hero {
    min-height: auto;
  }

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

  .hero-content {
    width: 100%;
    padding: 0;
  }

  .hero-visual {
    min-height: auto;
    padding: 18px 0 4px;
  }

  .hero-visual img {
    width: min(39vw, 150px);
  }

  .hero-visual img + img {
    margin-left: -30px;
    transform: translateY(18px) rotate(3deg);
  }

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

  .hero .hero-copy {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .signal-item,
  .signal-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 33, 43, 0.22);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 0;
  }

  .feature-row {
    grid-template-columns: 55px 1fr;
    gap: 18px;
  }

  .feature-row > div:last-child {
    grid-column: 2;
  }

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

  .screenshot-card:nth-child(n) {
    margin-top: 0;
  }

  .content-links,
  .faq-preview,
  .feature-matrix,
  .check-list {
    grid-template-columns: 1fr;
  }

  .content-link {
    min-height: 230px;
    padding: 27px;
  }

  .stat-board {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(even),
  .stat:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .download-band-inner,
  .footer-grid,
  .page-hero-inner,
  .guide-shot {
    grid-template-columns: 1fr;
  }

  .download-band-inner .button {
    width: 100%;
  }

  .page-hero-inner {
    min-height: auto;
    padding: 70px 0 55px;
  }

  .page-marker {
    min-height: 120px;
    font-size: 54px;
  }

  .guide-grid {
    gap: 42px;
  }

  .step {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 14px;
  }

  .guide-shot {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 37px;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 18px;
  }

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

  .screenshot-card img {
    max-width: 330px;
    margin-inline: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
