:root {
  --ink: #13213f;
  --paper: #fffdf8;
  --white: #ffffff;
  --coral: #f24f45;
  --coral-dark: #c83231;
  --jade: #149d82;
  --yellow: #ffd166;
  --mist: #edf5f3;
  --line: #d9e1df;
  --muted: #5b6577;
  --shadow: 8px 8px 0 #13213f;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: -999px;
  z-index: 1000;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--coral);
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 2px;
}

.btn-small {
  min-height: 40px;
  padding: 7px 17px;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100svh - 106px));
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 3px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.hero::before {
  top: -180px;
  left: 42%;
  background: var(--coral);
}

.hero::after {
  right: -175px;
  bottom: -170px;
  background: var(--jade);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 60px;
  padding-block: 46px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 26px;
  font-size: 18px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.version-note {
  font-size: 13px;
  font-weight: 700;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 4px 11px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-visual .app-shot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(330px, 88vw);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 16px 16px 0 var(--coral);
  transform: translate(-50%, -50%) rotate(3deg);
}

.stamp {
  position: absolute;
  right: 0;
  bottom: 46px;
  z-index: 3;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--jade);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-10deg);
}

.section {
  padding: 88px 0;
}

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

.section-alt {
  border-block: 2px solid var(--ink);
  background: var(--mist);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section h2,
.content-shell h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-index {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.feature-item {
  min-height: 238px;
  padding: 28px 24px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

.feature-item:nth-child(2) {
  background: #ffe9e6;
}

.feature-item:nth-child(3) {
  background: #e1f6ef;
}

.feature-item:nth-child(4) {
  background: #fff2c7;
}

.feature-no {
  display: block;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-item p,
.review blockquote,
.route-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.screen-figure {
  margin: 0;
}

.screen-frame {
  max-width: 400px;
  margin-inline: auto;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
}

.screen-frame img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 21px;
}

.screen-figure figcaption {
  max-width: 360px;
  margin: 22px auto 0;
}

.screen-figure strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.screen-figure span {
  color: var(--muted);
  font-size: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.route-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 170px;
  padding: 28px;
}

.route-item + .route-item {
  border-left: 2px solid var(--ink);
}

.route-number {
  color: var(--coral);
  font-size: 38px;
  font-weight: 900;
}

.route-item h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.text-link {
  color: var(--coral-dark);
  font-weight: 900;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.stat {
  padding: 22px;
  text-align: center;
}

.stat + .stat {
  border-left: 2px solid var(--ink);
}

.stat strong {
  display: block;
  font-size: 27px;
  line-height: 1.2;
}

.stat span {
  font-size: 13px;
  font-weight: 700;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.review {
  padding: 26px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--jade);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-stars {
  color: #b82d2b;
  font-size: 18px;
  letter-spacing: 0;
}

.review cite {
  font-style: normal;
  font-weight: 900;
}

.faq-list {
  border-top: 2px solid currentColor;
}

.faq-item {
  border-bottom: 2px solid currentColor;
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 32px;
  align-items: center;
  gap: 20px;
  padding: 22px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 22px;
  line-height: 25px;
  text-align: center;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 880px;
  padding: 0 0 22px;
  color: #dbe5f5;
}

.faq-item.open .faq-answer {
  display: block;
}

.download-band {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  background: var(--coral);
  color: var(--white);
}

.download-band .container {
  position: relative;
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 50px;
}

.download-band h2 {
  max-width: 650px;
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
}

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

.download-band .btn {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
}

.site-footer {
  padding: 44px 0 28px;
  background: #0e1930;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 30px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 430px;
  margin: 14px 0 0;
  color: #aebbd0;
  font-size: 14px;
}

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

.footer-links {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

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

.disclaimer {
  padding-top: 22px;
  border-top: 1px solid #34415a;
  font-size: 12px;
}

.copyright {
  margin-top: 8px;
  font-size: 12px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--mist);
}

.page-hero::after {
  position: absolute;
  top: 22px;
  right: 7%;
  width: 180px;
  height: 180px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  content: "";
  transform: rotate(12deg);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-block: 76px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}

.content-shell {
  min-width: 0;
}

.content-shell > section {
  padding: 12px 0 62px;
  scroll-margin-top: 100px;
}

.content-shell h2 {
  margin-bottom: 24px;
}

.content-shell h3 {
  margin: 26px 0 8px;
  font-size: 21px;
}

.content-shell p {
  margin: 0 0 16px;
  color: #354158;
}

.side-index {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}

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

.side-index a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid rgba(19, 33, 63, 0.25);
  font-size: 14px;
  font-weight: 700;
}

.step-list {
  display: grid;
  gap: 24px;
  margin: 28px 0;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 26px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.step-num {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--coral);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.step h3 {
  margin-top: 0;
}

.notice {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 7px solid var(--jade);
  background: #e7f7f2;
}

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

.check-list {
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid var(--line);
}

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

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

.feature-detail {
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.feature-detail:nth-child(3n + 2) {
  background: #fff2c7;
}

.feature-detail h3 {
  margin-top: 0;
}

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

.faq-page .faq-answer {
  color: #354158;
}

.faq-page .faq-list {
  margin-bottom: 36px;
}

.inline-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 30px 0;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.inline-download p {
  margin: 0;
}

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

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 24px 20px 30px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .site-nav .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr 320px;
    gap: 20px;
  }

  .hero-visual {
    min-height: 440px;
  }

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

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding: 0 10px 20px 0;
    scroll-snap-type: x mandatory;
  }

  .screen-figure {
    scroll-snap-align: start;
  }

  .route-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .route-item + .route-item {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .side-index {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    font-size: 17px;
  }

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

  .hero-inner {
    display: block;
    height: 100%;
    padding-block: 28px;
  }

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

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

  .hero-visual {
    position: absolute;
    right: 18px;
    bottom: -105px;
    width: 220px;
    min-height: 360px;
    margin: 0;
  }

  .hero-visual .app-shot {
    width: 168px;
    border-radius: 18px;
    box-shadow: 10px 10px 0 var(--coral);
  }

  .stamp {
    right: -3px;
    bottom: 90px;
    width: 78px;
    height: 78px;
    font-size: 12px;
  }

  .hero {
    height: calc(100svh - 104px);
    min-height: 650px;
    max-height: 740px;
  }

  .hero .hero-tags {
    display: none;
  }

  .hero .version-note {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    align-items: start;
  }

  .section-index {
    font-size: 38px;
  }

  .feature-grid,
  .review-grid,
  .feature-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: auto;
  }

  .route-item {
    grid-template-columns: 48px 1fr;
  }

  .route-item .text-link {
    grid-column: 2;
  }

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

  .stat:nth-child(3) {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .stat:nth-child(4) {
    border-top: 2px solid var(--ink);
  }

  .download-band .container,
  .inline-download {
    align-items: stretch;
    flex-direction: column;
  }

  .download-band .btn,
  .inline-download .btn {
    width: 100%;
  }

  .page-hero .container {
    padding-block: 54px;
  }

  .page-hero::after {
    right: -100px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
