:root {
  --ink: #171719;
  --paper: #f7f6f2;
  --white: #ffffff;
  --coral: #ff5a4e;
  --mint: #26c6a0;
  --yellow: #ffd25a;
  --muted: #68686d;
  --line: #d8d6cf;
  --max: 1180px;
  --shadow: 8px 8px 0 var(--ink);
}

* {
  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.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--ink);
  background: rgba(247, 246, 242, 0.96);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

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

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

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

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

.button-dark {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--mint);
}

.hero {
  min-height: 680px;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background-color: var(--yellow);
  background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 32px), var(--max));
  min-height: 677px;
  margin: 0 auto;
  padding: 92px 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(610px, 55%);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--mint);
  font-size: 14px;
  font-weight: 900;
}

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

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 950;
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 30px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 18px;
  font-weight: 650;
}

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

.hero-note {
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: absolute;
  top: 44px;
  right: -18px;
  width: 500px;
  height: 610px;
}

.phone-shot {
  position: absolute;
  width: 248px;
  max-width: 400px;
  height: auto;
  border: 7px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-shot:first-child {
  top: 0;
  right: 184px;
  z-index: 2;
  transform: rotate(-5deg);
}

.phone-shot:last-child {
  top: 74px;
  right: 0;
  transform: rotate(6deg);
}

.sticker {
  position: absolute;
  right: 156px;
  bottom: 20px;
  z-index: 4;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  transform: rotate(-8deg);
}

.ticker {
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 26px;
  padding: 12px 0;
  animation: ticker 24s linear infinite;
  font-size: 14px;
  font-weight: 800;
}

.ticker-track span::after {
  content: "◆";
  margin-left: 26px;
  color: var(--mint);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 88px 0;
  border-bottom: 3px solid var(--ink);
}

.section-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

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

h2 {
  max-width: 780px;
  margin-bottom: 38px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 950;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

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

.feature-card {
  min-height: 252px;
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
}

.feature-card:nth-child(2) {
  background: var(--mint);
}

.feature-card:nth-child(3) {
  background: var(--yellow);
}

.feature-card:nth-child(5) {
  color: var(--white);
  background: var(--ink);
}

.feature-number {
  display: block;
  margin-bottom: 34px;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  font-weight: 800;
}

.feature-card p,
.step-card p,
.guide-panel p,
.answer p,
.content-block p {
  margin-bottom: 0;
}

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

.showcase .section-kicker {
  color: var(--mint);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.screenshot-card {
  margin: 0;
}

.screenshot-card:nth-child(even) {
  margin-top: 42px;
}

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

.screenshot-card figcaption {
  padding-top: 14px;
  color: #d4d4d4;
  font-size: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.route-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 34px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.route-card:first-child {
  background: var(--mint);
}

.route-card:last-child {
  background: var(--coral);
}

.route-card h3 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.route-card p {
  max-width: 470px;
  margin-bottom: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid var(--ink);
  font-weight: 900;
}

.text-link::after {
  content: "→";
  font-size: 22px;
}

.stat-review-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.rating-panel {
  min-height: 100%;
  padding: 36px;
  border: 3px solid var(--ink);
  background: var(--yellow);
}

.rating-value {
  display: block;
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 950;
  line-height: 1;
}

.rating-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
}

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

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

.review cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.faq-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

details {
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
}

summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 18px;
  font-family: Consolas, Monaco, monospace;
  font-size: 26px;
}

details[open] summary::after {
  content: "−";
}

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

.download-band {
  padding: 72px 0;
  color: var(--white);
  background: var(--coral);
}

.download-band-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.download-band h2 {
  margin-bottom: 10px;
}

.download-band-detail {
  font-weight: 700;
}

.site-footer {
  padding: 36px 0 26px;
  color: #d6d6d6;
  background: var(--ink);
}

.footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #414145;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
}

.footer-note {
  margin: 24px 0 0;
  color: #a9a9ad;
  font-size: 12px;
}

.sub-hero {
  padding: 86px 0 70px;
  border-bottom: 3px solid var(--ink);
  background: var(--mint);
}

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

.sub-hero-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.sub-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 72px);
}

.sub-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 650;
}

.article-layout {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding: 72px 0 90px;
}

.article-main {
  min-width: 0;
}

.article-section {
  padding-bottom: 56px;
}

.article-section:last-child {
  padding-bottom: 0;
}

.article-section h2 {
  margin-bottom: 26px;
  font-size: clamp(30px, 4vw, 44px);
}

.step-list {
  display: grid;
  gap: 18px;
}

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

.step-index {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
}

.guide-panel {
  padding: 26px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.guide-panel + .guide-panel {
  margin-top: 18px;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.article-aside strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
}

.article-aside a:not(.button) {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.article-aside .button {
  width: 100%;
  margin-top: 22px;
}

.function-table {
  border: 3px solid var(--ink);
  background: var(--white);
}

.function-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 2px solid var(--ink);
}

.function-row:last-child {
  border-bottom: 0;
}

.function-row strong,
.function-row span {
  padding: 20px;
}

.function-row strong {
  border-right: 2px solid var(--ink);
  background: var(--yellow);
}

.faq-stack {
  display: grid;
  gap: 14px;
}

.related-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.related-link {
  min-height: 150px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--mint);
  font-weight: 850;
}

.related-link:last-child {
  background: var(--yellow);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .ticker-track {
    animation: none;
  }

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

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

  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    padding: 24px 16px 30px;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

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

  .nav-links .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 850px;
    padding-top: 64px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-visual {
    top: 420px;
    right: 50%;
    width: 460px;
    height: 420px;
    transform: translateX(50%);
  }

  .phone-shot {
    width: 205px;
  }

  .phone-shot:first-child {
    right: 230px;
  }

  .phone-shot:last-child {
    top: 20px;
    right: 34px;
  }

  .sticker {
    right: 175px;
    bottom: 18px;
  }

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

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

  .route-grid,
  .stat-review-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 46px;
  }

  .hero-inner {
    min-height: 790px;
    padding-top: 44px;
  }

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

  .hero-visual {
    top: 448px;
    width: 340px;
  }

  .phone-shot {
    width: 160px;
    border-width: 5px;
    border-radius: 18px;
  }

  .phone-shot:first-child {
    right: 174px;
  }

  .phone-shot:last-child {
    right: 14px;
  }

  .sticker {
    right: 128px;
    bottom: 52px;
    width: 92px;
    height: 92px;
    font-size: 15px;
  }

  .feature-grid,
  .route-grid,
  .faq-preview,
  .related-links {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    gap: 12px;
  }

  .screenshot-card:nth-child(even) {
    margin-top: 24px;
  }

  .download-band-inner,
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .article-layout {
    gap: 36px;
    padding-top: 48px;
  }

  .step-card {
    grid-template-columns: 48px 1fr;
    padding: 20px;
  }

  .step-index {
    width: 44px;
    height: 44px;
  }

  .function-row {
    grid-template-columns: 1fr;
  }

  .function-row strong {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
}
