:root {
  --ink: #161a22;
  --paper: #fffaf7;
  --white: #ffffff;
  --coral: #ff5c5c;
  --coral-dark: #d83c49;
  --teal: #33c6c8;
  --teal-dark: #127c80;
  --sun: #ffd166;
  --blue: #3c65f5;
  --muted: #69707d;
  --line: #dedbd7;
  --shadow: 8px 8px 0 var(--ink);
  --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;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 247, 0.96);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

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

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

.site-nav a:not(.button) {
  padding: 9px 13px;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  font-weight: 700;
}

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

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

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--sun);
}

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

.button--dark {
  border-color: var(--white);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--teal);
}

.button--dark:hover {
  background: var(--sun);
  box-shadow: 2px 2px 0 var(--teal);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  background: var(--sun);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-bottom: 2px solid var(--ink);
  background-color: var(--paper);
}

.hero::after {
  position: absolute;
  right: -50px;
  bottom: 0;
  width: 470px;
  height: 100%;
  background: var(--teal);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
  align-items: center;
  gap: 52px;
  padding-block: 64px 54px;
}

.hero-copy {
  max-width: 670px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--coral-dark);
}

.hero-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #343943;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-facts li::before {
  margin-right: 7px;
  color: var(--teal-dark);
  content: "●";
}

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

.hero-phone {
  position: absolute;
  width: min(270px, 58vw);
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-phone img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
}

.hero-phone:first-child {
  top: 0;
  right: 150px;
  transform: rotate(-4deg);
}

.hero-phone:last-child {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.section {
  padding-block: 88px;
}

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

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

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

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

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

.section-kicker {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.stat {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-right: 2px solid var(--ink);
}

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

.stat strong {
  font-size: 28px;
  line-height: 1.2;
}

.stat span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

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

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.feature-card:nth-child(2) {
  background: #eafafa;
}

.feature-card:nth-child(3) {
  background: #fff3cf;
}

.feature-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  font-weight: 900;
}

.feature-card h3 {
  margin: 22px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: #4b515c;
}

.screenshot-toolbar {
  display: flex;
  gap: 10px;
}

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--coral);
  color: var(--ink);
}

.screenshot-track {
  display: grid;
  grid-auto-columns: 320px;
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 8px 26px 4px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--coral) #343943;
}

.screenshot {
  margin: 0;
  scroll-snap-align: start;
}

.screenshot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 3px solid var(--white);
  border-radius: 6px;
}

.screenshot figcaption {
  margin-top: 13px;
  color: #d8dce4;
  font-size: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.route-panel {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.route-panel:first-child {
  background: var(--coral);
}

.route-panel:last-child {
  background: var(--teal);
}

.route-panel h3 {
  max-width: 420px;
  margin: 10px 0;
  font-size: 32px;
  line-height: 1.2;
}

.route-panel p {
  max-width: 500px;
  margin: 0 0 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.review-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.rating-block {
  position: sticky;
  top: 110px;
}

.rating-value {
  display: block;
  color: var(--coral-dark);
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
}

.rating-stars {
  color: #d28b00;
  font-size: 24px;
  letter-spacing: 0;
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-card {
  margin: 0;
  padding: 24px;
  border-left: 6px solid var(--teal);
  background: var(--white);
}

.review-card p {
  margin: 0;
  font-size: 17px;
}

.review-card footer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.faq-list details {
  border-bottom: 2px solid var(--ink);
}

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "+";
  text-align: center;
  line-height: 29px;
}

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

.faq-list details p {
  max-width: 850px;
  margin: -4px 0 24px;
  color: #454b55;
}

.download-band {
  padding-block: 58px;
  border-top: 2px solid var(--ink);
  background: var(--coral);
}

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

.download-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 86px 76px;
  border-bottom: 2px solid var(--ink);
  background: var(--teal);
}

.page-hero--coral {
  background: var(--coral);
}

.page-hero::after {
  position: absolute;
  right: 6%;
  bottom: -145px;
  width: 250px;
  height: 250px;
  border: 34px solid var(--sun);
  content: "";
  transform: rotate(12deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 6vw, 72px);
}

.page-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: 18px;
}

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

.article-stack {
  display: grid;
  gap: 72px;
}

.content-block {
  scroll-margin-top: 108px;
}

.content-block > p {
  margin: 18px 0 0;
  color: #444a54;
}

.content-block h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.step-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 26px 28px 26px 88px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  counter-increment: steps;
}

.step-card::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  content: counter(steps);
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 7px;
}

.step-card p {
  margin: 0;
  color: #4b515c;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 2px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.check-item:has(input:checked) {
  border-color: var(--teal-dark);
  background: #eafafa;
}

.check-item input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--teal-dark);
}

.note {
  margin-top: 24px;
  padding: 20px 22px;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--coral);
  background: #fff3cf;
}

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

.side-nav {
  position: sticky;
  top: 105px;
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

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

.side-nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: #3f4651;
  font-size: 14px;
  font-weight: 700;
}

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

.function-table {
  width: 100%;
  margin-top: 25px;
  border-collapse: collapse;
  background: var(--white);
}

.function-table th,
.function-table td {
  padding: 16px;
  border: 2px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

.function-table th {
  background: var(--sun);
}

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

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

.feature-detail h3 {
  margin: 0 0 10px;
}

.feature-detail p {
  margin: 0;
  color: #4b515c;
}

.site-footer {
  padding-block: 52px 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 20px;
  font-weight: 700;
}

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

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #3d424b;
  color: #9ca3af;
  font-size: 13px;
}

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

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

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

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

  .reveal,
  .button {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    min-height: calc(100vh - 74px);
    align-items: stretch;
    flex-direction: column;
    padding: 28px 20px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

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

  .site-nav a:not(.button) {
    padding: 15px 6px;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-visual {
    min-height: 500px;
    max-width: 600px;
  }

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

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

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

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

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

  .site-header .button {
    width: 100%;
    margin-top: 12px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 40px 20px;
  }

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

  .hero-copy > p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-visual {
    min-height: 190px;
    margin-top: -6px;
  }

  .hero-phone {
    width: 124px;
    padding: 6px;
    border-width: 2px;
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .hero-phone:first-child {
    right: auto;
    left: 22px;
  }

  .hero-phone:last-child {
    right: 22px;
  }

  .section {
    padding-block: 62px;
  }

  .hero + .section {
    padding-top: 0;
  }

  .hero + .section .stat-strip {
    opacity: 1;
    transform: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .stat:nth-child(-n + 2) {
    border-bottom: 2px solid var(--ink);
  }

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

  .rating-block {
    position: static;
  }

  .download-band__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero {
    padding-block: 62px 56px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .step-card {
    padding: 82px 20px 22px;
  }

  .step-card::before {
    top: 20px;
    left: 20px;
  }

  .function-table,
  .function-table tbody,
  .function-table tr,
  .function-table th,
  .function-table td {
    display: block;
  }

  .function-table th {
    border-bottom: 0;
  }

  .function-table td + td {
    border-top: 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 18px;
  }

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

  .hero h1,
  .page-hero h1 {
    overflow-wrap: anywhere;
    font-size: 38px;
  }

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

  .hero-phone {
    width: 120px;
  }

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

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

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

  .route-panel {
    padding: 24px;
  }

  .route-panel h3 {
    font-size: 27px;
  }
}
